/* Country Real Estate — value.country-re.com
   Tokens from the Country design system spec (Font Book 03, royal blue plaque, everyday tier). */

@font-face { font-family: 'Super Clarendon'; src: url('/assets/fonts/SuperClarendon-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Super Clarendon'; src: url('/assets/fonts/SuperClarendon-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Super Clarendon'; src: url('/assets/fonts/SuperClarendon-Black.ttf') format('truetype'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Charter'; src: url('/assets/fonts/Charter-Roman.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Charter'; src: url('/assets/fonts/Charter-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Charter'; src: url('/assets/fonts/Charter-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Aller'; src: url('/assets/fonts/Aller-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Aller Display'; src: url('/assets/fonts/Aller-Display.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root{
  --blue-700:#1C479B; --blue-800:#163A86; --blue-900:#112C66; --blue-950:#0C2150; --blue-50:#EFF3FA;
  --gold-500:#C4953D; --gold-700:#A87E2F; --gold-400:#D4AC5E; --gold-200:#EFDDB6; --gold-50:#FBF6EA;
  --ink:#1F2024; --gray-600:#535355; --gray-500:#6E6F72; --gray-200:#DAD9D5;
  --paper:#FBFAF6; --white:#FFFFFF;
  --text-strong:#1F2024; --text-body:#2E2F32; --text-muted:#6E6F72;
  --brand-gradient:linear-gradient(135deg,#1C479B,#112C66);
  --gold-gradient:linear-gradient(135deg,#D4AC5E,#C4953D);
  --font-display:'Super Clarendon',Georgia,serif;
  --font-serif:'Charter',Georgia,serif;
  --font-sans:'Aller',system-ui,sans-serif;
  --font-condensed:'Aller Display','Aller',sans-serif;
  --shadow-sm:0 1px 2px rgba(31,32,36,.06),0 1px 1px rgba(31,32,36,.04);
  --shadow-lg:0 8px 24px rgba(31,32,36,.10),0 2px 6px rgba(31,32,36,.06);
  --shadow-xl:0 18px 48px rgba(31,32,36,.14),0 6px 14px rgba(31,32,36,.08);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{ background:var(--paper); color:var(--text-body); font-family:var(--font-serif); font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; height:auto; display:block; }
.wrap{ max-width:1080px; margin:0 auto; padding:0 20px; }

h1,h2,h3{ font-family:var(--font-display); color:var(--text-strong); line-height:1.14; letter-spacing:-0.01em; }
h2{ font-size:32px; font-weight:700; margin-bottom:14px; }
h3{ font-size:19px; font-weight:700; }

.eyebrow{ font-family:var(--font-condensed); text-transform:uppercase; letter-spacing:0.16em; font-size:13px; color:var(--gold-700); margin-bottom:12px; }
.eyebrow-light{ color:var(--gold-200); }

.btn{ display:inline-block; font-family:var(--font-sans); font-weight:700; font-size:16px; color:#fff; background:var(--brand-gradient); border:none; border-radius:10px; padding:14px 26px; cursor:pointer; text-decoration:none; box-shadow:var(--shadow-sm); transition:opacity .2s ease, transform .2s ease; }
.btn:hover{ opacity:.92; }
.btn:active{ transform:translateY(1px); }
.btn-gold{ background:var(--gold-gradient); color:var(--ink); font-size:17px; padding:16px 32px; }
.btn-secondary{ background:var(--white); color:var(--blue-700); border:1px solid var(--gray-200); box-shadow:none; }
.btn[disabled]{ opacity:.55; cursor:wait; }

/* Top bar */
.topbar{ background:var(--ink); }
.topbar-in{ display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
.topbar-logo{ width:168px; }
.topbar-phone{ font-family:var(--font-sans); font-weight:700; font-size:15px; color:var(--gold-200); text-decoration:none; letter-spacing:.02em; }

/* Hero */
.hero{ position:relative; overflow:hidden; background:var(--blue-950); }
.hero-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-shade{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(12,33,80,.52) 0%, rgba(12,33,80,.30) 42%, rgba(12,33,80,.78) 100%); }
.hero-in{ position:relative; text-align:center; padding:72px 20px 84px; }
.hero-logo{ width:290px; margin:0 auto 26px; filter:drop-shadow(0 4px 18px rgba(0,0,0,.35)); }
.hero h1{ color:#fff; font-size:52px; font-weight:900; text-shadow:0 2px 22px rgba(0,0,0,.35); margin-bottom:18px; }
.hero .subhead{ color:#F6ECD6; font-size:20px; line-height:1.55; max-width:640px; margin:0 auto 30px; }
.hero-note{ color:rgba(251,250,246,.82); font-family:var(--font-sans); font-size:14px; margin-top:20px; }

/* How it works */
.steps-strip{ padding:64px 0 8px; }
.steps-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:8px; }
.step-card{ background:var(--white); border:1px solid #E6E2D8; border-radius:12px; box-shadow:var(--shadow-sm); padding:26px 24px; }
.step-num{ width:40px; height:40px; border-radius:999px; background:var(--brand-gradient); color:#fff; font-family:var(--font-display); font-weight:700; font-size:19px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.step-card p{ font-size:15.5px; color:var(--text-body); margin-top:6px; }

/* Split */
.split{ padding:64px 0; }
.split-in{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.split-img img{ border-radius:14px; box-shadow:var(--shadow-lg); width:100%; height:100%; object-fit:cover; }
.ticks{ list-style:none; margin-top:16px; }
.ticks li{ font-family:var(--font-sans); font-size:15.5px; padding:7px 0 7px 30px; position:relative; border-bottom:1px solid #EFECE3; }
.ticks li:last-child{ border-bottom:none; }
.ticks li::before{ content:""; position:absolute; left:2px; top:13px; width:14px; height:8px; border-left:2.5px solid var(--gold-500); border-bottom:2.5px solid var(--gold-500); transform:rotate(-45deg); }

/* Photo band */
.photo-band{ position:relative; overflow:hidden; }
.photo-band img{ width:100%; height:420px; object-fit:cover; }
.photo-band-in{ position:absolute; inset:auto 0 0 0; padding:64px 20px 34px; text-align:center; background:linear-gradient(180deg, rgba(31,32,36,0) 0%, rgba(31,32,36,.72) 78%); }
.band-quote{ font-family:var(--font-display); font-weight:900; font-size:34px; color:#fff; }
.band-sub{ color:rgba(251,250,246,.9); max-width:620px; margin:8px auto 0; font-size:16.5px; }

/* Intake */
.intake{ padding:72px 0 80px; background:linear-gradient(180deg, var(--paper) 0%, var(--gold-50) 100%); }
.intake-head{ text-align:center; max-width:640px; margin:0 auto 34px; }
.intake-sub{ color:var(--text-muted); }
.form-card{ background:var(--white); border:1px solid #E6E2D8; border-radius:14px; box-shadow:var(--shadow-xl); max-width:720px; margin:0 auto; padding:34px 36px 26px; }
.progress{ display:flex; align-items:center; gap:10px; margin-bottom:28px; }
.progress-step{ display:flex; align-items:center; gap:8px; font-family:var(--font-condensed); text-transform:uppercase; letter-spacing:.1em; font-size:12px; color:var(--gray-500); white-space:nowrap; }
.progress-step span{ width:26px; height:26px; border-radius:999px; border:1.5px solid var(--gray-200); display:flex; align-items:center; justify-content:center; font-size:13px; background:var(--white); }
.progress-step.is-active{ color:var(--blue-700); }
.progress-step.is-active span{ background:var(--brand-gradient); border-color:transparent; color:#fff; }
.progress-step.is-done{ color:var(--gold-700); }
.progress-step.is-done span{ background:var(--gold-500); border-color:transparent; color:#fff; }
.progress-line{ flex:1; height:1.5px; background:var(--gray-200); }
fieldset.fstep{ border:none; display:none; }
fieldset.fstep.is-active{ display:block; }
fieldset.fstep legend{ font-family:var(--font-display); font-weight:700; font-size:21px; color:var(--text-strong); margin-bottom:18px; }
label{ display:block; font-family:var(--font-sans); font-size:14px; font-weight:700; color:var(--text-strong); margin-bottom:14px; }
input, select, textarea{ display:block; width:100%; margin-top:6px; font-family:var(--font-sans); font-weight:400; font-size:16px; color:var(--text-body); background:var(--paper); border:1px solid var(--gray-200); border-radius:6px; padding:11px 12px; }
input:focus, select:focus, textarea:focus{ outline:2px solid var(--blue-700); outline-offset:1px; border-color:var(--blue-700); background:#fff; }
textarea{ resize:vertical; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.row3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.field-note{ font-family:var(--font-sans); font-size:13.5px; color:var(--text-muted); margin-top:2px; }
.consent{ font-family:var(--font-sans); font-size:13.5px; color:var(--text-muted); background:var(--gold-50); border:1px solid var(--gold-200); border-radius:6px; padding:12px 14px; margin:6px 0 4px; }
.form-error{ font-family:var(--font-sans); font-size:14px; font-weight:700; color:#A8392E; min-height:20px; margin-top:6px; }
.fnav{ display:flex; justify-content:space-between; gap:12px; margin-top:14px; }
.form-disclaimer{ font-family:var(--font-sans); font-size:12.5px; color:var(--text-muted); border-top:1px solid #EFECE3; margin-top:22px; padding-top:14px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* Confirmation */
.confirm-card{ background:var(--white); border:2.5px solid var(--blue-700); outline:1px solid var(--blue-700); outline-offset:3px; border-radius:6px; max-width:720px; margin:0 auto; padding:40px 38px; text-align:center; box-shadow:var(--shadow-lg); }
.confirm-oak{ margin:0 auto 10px; }
.confirm-body{ max-width:520px; margin:0 auto; }
.confirm-list{ text-align:left; max-width:440px; margin:14px auto 4px; }
.confirm-ref{ font-family:var(--font-sans); font-size:14px; color:var(--text-muted); margin-top:18px; }
.confirm-ref span{ font-weight:700; color:var(--blue-700); }
.confirm-ref a{ color:var(--blue-700); font-weight:700; text-decoration:none; }

/* Receive */
.receive{ padding:70px 0; }
.receive-in{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.receive-img img{ border-radius:14px; box-shadow:var(--shadow-lg); width:100%; height:100%; object-fit:cover; }

/* Footer */
.footer{ background:var(--ink); color:#EAE9E4; }
.footer-in{ text-align:center; padding:52px 20px 40px; }
.footer-logo{ width:220px; margin:0 auto 18px; }
.footer-line{ font-family:var(--font-sans); font-size:15px; margin:2px 0; }
.gold-rule{ width:56px; height:1.5px; background:var(--gold-500); margin:22px auto; }
.footer-disclaimer{ font-family:var(--font-sans); font-size:12.5px; line-height:1.6; color:#BDBEC0; max-width:760px; margin:0 auto; }
.footer-small{ font-family:var(--font-sans); font-size:12.5px; color:#939497; margin-top:16px; }

@media (max-width: 760px){
  .hero-in{ padding:52px 20px 60px; }
  .hero-logo{ width:218px; }
  .hero h1{ font-size:34px; }
  .hero .subhead{ font-size:17.5px; }
  h2{ font-size:26px; }
  .steps-grid{ grid-template-columns:1fr; }
  .split-in, .receive-in{ grid-template-columns:1fr; gap:26px; }
  .photo-band img{ height:340px; }
  .band-quote{ font-size:27px; }
  .form-card{ padding:26px 20px 20px; }
  .row2, .row3{ grid-template-columns:1fr; }
  .progress-step{ font-size:10.5px; }
  .topbar-logo{ width:138px; }
  .topbar-phone{ font-size:13.5px; }
}
