/* The Last 10% — editorial / private-bank lead page
   Palette: warm off-white #FAF8F5, near-black ink #1A1A1A, deep bronze accent #6B4F2E */

:root {
  --bg: #faf8f5;
  --ink: #1a1a1a;
  --muted: #6b6660;
  --accent: #6b4f2e;
  --accent-dark: #543d22;
  --rule: #e4ded4;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: 38rem; /* ~ 65ch */
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0.2em 0 0.35em;
}

h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.subhead {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 2rem;
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

p {
  margin: 0 0 1.4rem;
  max-width: 65ch;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-dark);
}

/* ---------- Layout / sections ---------- */

header.hero {
  padding: clamp(3.5rem, 12vw, 6rem) 0 0;
}

section {
  padding: clamp(2.75rem, 8vw, 4rem) 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.lead-in {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 2rem;
}

/* ---------- What's inside list ---------- */

.inside-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.inside-list li {
  margin: 0 0 1.6rem;
  padding: 0;
}

.inside-list li:last-child {
  margin-bottom: 0;
}

.inside-list .lead {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  color: #ffffff;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: default;
}

.microcopy {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.inline-cta {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 0;
}

/* ---------- Form ---------- */

.form-section {
  padding-bottom: clamp(3rem, 9vw, 5rem);
}

form {
  margin: 1.75rem 0 0;
}

/* Name fields: stacked on mobile, side-by-side from the form breakpoint up */
.name-row {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1rem;
}

@media (min-width: 30rem) {
  .name-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: #fffdfa;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1.4rem;
  transition: border-color 0.18s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}

/* Honeypot — visually removed but not display:none on the input */
.hp-field {
  position: absolute;
  left: -5000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Thanks page ---------- */

.thanks-main {
  padding: clamp(4.5rem, 14vw, 8rem) 0;
}

.secondary-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--muted);
}

.secondary-block p {
  margin-bottom: 0.6rem;
}

.secondary-block a {
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0 3rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: underline;
}

footer a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
