/* Barrow Digital — site styles.
   Every colour below was sampled from the owner's wallpapers
   (~/Pictures/Barrow Digital Wallpapers, 3072x1920 PNG). */
:root {
  /* navy grounds */
  --navy-0: #0a0d14;   /* Monogram ground */
  --navy-1: #0d1424;   /* Grid Mark ground */
  --navy-2: #101a30;   /* Tideline ground */
  --navy-3: #131b2e;   /* Dawn sky, top */
  --navy-4: #1b2949;   /* Dawn sky, 40% */
  --navy-card: #121c33;
  /* gold mark */
  --gold: #b08d57;      /* Grid Mark / Wordmark Field mark, Dawn bottom */
  --gold-deep: #9f8050; /* Monogram mark */
  --gold-ink: #7a5f35;  /* bronze for small text on cream (5.3:1) */
  --sun: #e2d0b0;       /* Dawn sun core */
  --horizon: #48403d;   /* Dawn horizon band */
  /* paper */
  --cream: #f4f1e9;     /* Wordmark Field ground */
  --paper: #f7f5ef;     /* Ledger Lines ground */
  --card: #fbfaf6;
  --ink: #1b2a4a;       /* navy ink on cream */
  --ink-2: #46516a;     /* Ledger Lines small ink */
  --taupe: #8a7f68;     /* tagline caps on cream (large only) */
  --taupe-ink: #6e6452; /* taupe for small text on cream (5.2:1) */
  --slate: #6b7690;     /* Grid Mark tagline (large/caps only on navy) */
  --mist: #8a90a6;      /* small muted text on navy (5.8:1) */
  --mist-2: #a3abc0;    /* body text on navy (7.5:1) */
  --rule-cream: #e8e7e3;/* ledger rule */
  --rule-margin: #ded0b9;/* ledger margin rule */
  --rule-navy: rgba(176, 141, 87, .22);
  --line-navy: rgba(163, 171, 192, .14);

  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(13, 20, 36, .05), 0 8px 24px -12px rgba(13, 20, 36, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-1); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- wordmark pieces ---------- */
.caps {
  font: 600 12px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--taupe-ink); margin-bottom: 18px; }
.eyebrow::before, .eyebrow.both::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .55; }
.dark .eyebrow { color: var(--mist); }
.center .eyebrow { justify-content: center; }
.italic { font-family: var(--serif); font-style: italic; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 640px; }
.dark .lede { color: var(--mist-2); }
.center .lede { margin-left: auto; margin-right: auto; }
.mark { display: inline-block; width: 36px; height: auto; vertical-align: middle; }
.mark path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 7; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 3px; border: 1px solid transparent;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--navy-1); }
.btn-gold:hover { background: var(--sun); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--navy-1); }
.btn-line { border-color: rgba(244, 241, 233, .35); color: var(--cream); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--sun); }
.light .btn-line, .btn-line.on-light { border-color: rgba(27, 42, 74, .35); color: var(--ink); }
.light .btn-line:hover, .btn-line.on-light:hover { border-color: var(--ink); color: var(--ink); background: rgba(27,42,74,.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btn-row { justify-content: center; }
.link-arrow { font: 600 13px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--gold-ink); border-bottom: 1px solid var(--rule-margin); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--gold-ink); }
.dark .link-arrow { color: var(--gold); border-color: var(--rule-navy); }
.dark .link-arrow:hover { border-color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(13, 20, 36, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-navy); color: var(--cream);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); white-space: nowrap; }
.brand .mark { width: 34px; color: var(--gold); }
.brand span { font: 400 21px/1 var(--serif); letter-spacing: .005em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .drop > button {
  font: 500 14px/1 var(--sans); color: var(--mist-2); text-decoration: none; padding: 10px 12px; border-radius: 3px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .drop > button:hover, .nav > a[aria-current="page"], .nav .drop.current > button { color: var(--cream); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; min-height: 40px; padding: 0 18px; font-size: 12px; }
.drop { position: relative; }
.drop > button svg { width: 10px; height: 10px; transition: transform .2s; }
.drop.open > button svg { transform: rotate(180deg); }
.drop-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; padding: 10px;
  background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: var(--radius);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); display: none;
}
.drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; color: var(--cream); font-size: 15px; }
.drop-menu a small { display: block; color: var(--mist); font-size: 13px; margin-top: 2px; }
.drop-menu a:hover, .drop-menu a[aria-current="page"] { background: rgba(176, 141, 87, .1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-navy); color: var(--cream); width: 44px; height: 44px; border-radius: 4px; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
    background: var(--navy-1); border-bottom: 1px solid var(--line-navy); display: none;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .drop > button { padding: 14px 4px; font-size: 16px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line-navy); border-radius: 0; }
  .nav > a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .drop-menu { position: static; display: block; min-width: 0; background: none; border: 0; box-shadow: none; padding: 4px 0 8px 12px; }
  .drop > button { pointer-events: none; }
  .drop > button svg { display: none; }
  .nav .btn { margin: 18px 0 0; min-height: 48px; }
}

/* ---------- sections & patterns ---------- */
.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow: hidden; }
.sec-tight { padding: clamp(56px, 7vw, 88px) 0; }
.dark { background: var(--navy-1); color: var(--cream); }
.dark h2, .dark h3 { color: var(--cream); }
.light { background: var(--paper); color: var(--ink); }
.cream { background: var(--cream); }
.sec > .wrap { position: relative; z-index: 1; }

/* Ledger Lines: ruled cream paper with a margin rule */
.ledger {
  background-color: var(--paper);
  background-image: linear-gradient(to bottom, var(--rule-cream) 1px, transparent 1px);
  background-size: 100% 32px;
}
.ledger::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: max(16px, calc(50% - var(--wrap) / 2 - 28px));
  width: 1px; background: var(--rule-margin);
}
@media (max-width: 760px) { .ledger::before { display: none; } }

/* Grid Mark: faint dot field fading out from the centre */
.dots::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(196, 180, 150, .2) 1px, transparent 1.4px);
  background-size: 30px 30px; background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 55%, #000 0%, transparent 75%);
}
/* Horizon: giant faint arches + top-right glow */
.horizon { background: radial-gradient(ellipse 40% 45% at 76% 12%, #1c1f27 0%, transparent 70%), linear-gradient(160deg, #10182c 0%, #0c1220 55%, #080b14 100%); }
.horizon .arches { position: absolute; right: -6%; bottom: -4%; width: min(72vw, 820px); height: auto; color: #ffffff; opacity: .045; pointer-events: none; }
.horizon .arches path { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
/* Tideline: shallow curves across the bottom */
.tide { background: var(--navy-2); }
.tide .tides { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; pointer-events: none; }
.tide .tides path { fill: none; vector-effect: non-scaling-stroke; stroke-width: 1; }

/* ---------- hero: Dawn ----------
   Sky = wallpaper 0-62% (navy to horizon), ground = 62-100% (horizon to bronze),
   stops re-based from the sampled Dawn column so the horizon always sits under the copy. */
.hero-dawn { position: relative; overflow: hidden; color: var(--cream); display: flex; flex-direction: column; min-height: min(920px, 100svh); }
.hero-sky {
  flex: 1; position: relative;
  background: linear-gradient(180deg, #131b2e 0%, #151f35 16%, #17223b 32%, #192642 48%, #1b2949 65%, #222d48 73%, #2d3345 81%, #383942 89%, #433e3f 97%, #48403d 100%);
}
.hero-sky .wrap { position: relative; z-index: 2; padding-top: clamp(64px, 11vh, 132px); padding-bottom: clamp(110px, 16vh, 170px); }
.hero-ground {
  position: relative; height: clamp(250px, 32vh, 330px); text-align: center;
  background: linear-gradient(180deg, #48403d 0%, #4e443b 8%, #594938 21%, #644f35 34%, #715736 47%, #81653f 61%, #917247 74%, #a0804f 87%, #b08d57 100%);
}
.hero-ground::before { /* horizon line, sampled #8c8681 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(140, 134, 129, .95) 15%, rgba(140, 134, 129, .95) 85%, transparent);
}
.hero-dawn .sun {
  position: absolute; left: 50%; top: 0; width: clamp(200px, 30vh, 320px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, #e2d0b0 0%, rgba(214, 196, 166, .85) 18%, rgba(154, 141, 123, .55) 48%, rgba(99, 90, 82, .22) 74%, rgba(72, 64, 61, 0) 100%);
  animation: rise 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes rise { from { transform: translate(-50%, -36%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.ground-mark { position: absolute; left: 0; right: 0; bottom: clamp(22px, 5vh, 46px); z-index: 2; color: var(--cream); }
.ground-mark .mark { width: 40px; color: var(--cream); display: block; margin: 0 auto 10px; }
.ground-mark b { display: block; font: 400 clamp(24px, 2.4vw, 30px)/1.1 var(--serif); }
.ground-mark .caps { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .3em; color: rgba(244, 241, 233, .9); }
.hero-dawn h1 { color: var(--cream); max-width: 12ch; margin-bottom: 22px; }
.hero-dawn .lede { color: #c9cfdd; }
.hero-dawn .eyebrow { color: var(--mist); }
@media (max-width: 640px) {
  .hero-dawn { min-height: 0; }
  .hero-sky .wrap { padding-bottom: 120px; }
  .hero-ground { height: 240px; }
  .hero-dawn .eyebrow::before { display: none; }
}

/* inner page hero */
.page-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 7vw, 88px); }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 60px); max-width: 18ch; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; }
.crumbs { font-size: 13px; color: var(--mist); margin-bottom: 26px; }
.crumbs a { color: var(--mist-2); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.light .crumbs, .light .crumbs a { color: var(--taupe-ink); }

/* ---------- grids & cards ---------- */
.head { margin-bottom: clamp(36px, 5vw, 56px); }
.head p { max-width: 620px; }
.center.head p, .head.center p { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

.card {
  position: relative; background: var(--card); border: 1px solid #e3ded1; border-radius: var(--radius);
  padding: 28px 26px 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; margin-bottom: 0; }
.dark .card { background: var(--navy-card); border-color: var(--line-navy); box-shadow: none; }
.dark .card p { color: var(--mist-2); }
a.card { display: block; text-decoration: none; transition: transform .25s, border-color .25s; }
a.card:hover { transform: translateY(-3px); border-color: var(--gold); }
a.card .link-arrow { display: inline-block; margin-top: 18px; }
.ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-margin); color: var(--gold-ink); margin-bottom: 18px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dark .ico { border-color: var(--rule-navy); color: var(--gold); }
.num { font: 400 15px/1 var(--serif); font-style: italic; color: var(--gold-ink); margin-bottom: 14px; display: block; }
.dark .num { color: var(--gold); }

/* feature list (ruled, ledger feel) */
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-cream); }
.ruled li { padding: 18px 0 18px 34px; border-bottom: 1px solid var(--rule-cream); position: relative; }
.ruled li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 14px; height: 7px; border: solid var(--gold-ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.ruled li b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 2px; color: var(--ink); }
.ruled li span { color: var(--ink-2); font-size: 16px; }
.dark .ruled, .dark .ruled li { border-color: var(--line-navy); }
.dark .ruled li::before { border-color: var(--gold); }
.dark .ruled li b { color: var(--cream); }
.dark .ruled li span { color: var(--mist-2); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 7px 0 7px 26px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 11px; height: 5px; border: solid var(--gold-ink); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }
.dark .ticks li::before { border-color: var(--gold); }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-navy); }
.steps li { list-style: none; padding: 34px 28px 10px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-navy); }
.steps h3 { font-size: 26px; }
.steps p { color: var(--mist-2); font-size: 16px; }
.light .steps, .light .steps li + li { border-color: var(--rule-cream); }
.light .steps p { color: var(--ink-2); }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 28px 0 6px; border-left: 0; border-bottom: 1px solid var(--line-navy); }
  .light .steps li { border-color: var(--rule-cream); }
}
ol.steps { padding: 0; margin: 0; }

/* offer band */
.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.offer .panel { border: 1px solid var(--rule-navy); border-radius: var(--radius); padding: 28px; background: rgba(13, 20, 36, .55); }
.offer .panel .caps { color: var(--gold); display: block; margin-bottom: 14px; }
@media (max-width: 880px) { .offer { grid-template-columns: minmax(0, 1fr); } }

/* chat mock */
.chat {
  background: var(--paper); color: var(--ink); border-radius: 10px; overflow: hidden; max-width: 420px; margin-left: auto;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.04);
}
.chat-top { background: var(--ink); color: var(--cream); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.chat-top .mark { width: 26px; color: var(--gold); }
.chat-top b { font: 500 16px/1.2 var(--serif); display: block; }
.chat-top small { font-size: 12px; color: var(--mist-2); }
.chat-top i { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #7fb08a; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.bub.show { opacity: 1; transform: none; }
.bub.bot { background: #fff; border: 1px solid #e3ded1; border-bottom-left-radius: 4px; }
.bub.me { background: var(--ink); color: var(--cream); margin-left: auto; border-bottom-right-radius: 4px; }
.bub.lead { background: #f1ead9; border: 1px dashed var(--gold); font-size: 13.5px; }
.chat-note { font-size: 12px; color: var(--taupe-ink); padding: 10px 18px 14px; border-top: 1px solid var(--rule-cream); }
@media (max-width: 880px) { .chat { margin: 0 auto; } }

/* industry chips + preview */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: 500 14px/1 var(--sans); padding: 11px 16px; border-radius: 40px; border: 1px solid #d9d3c4;
  background: var(--card); color: var(--ink); cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.browser { border-radius: 10px; overflow: hidden; border: 1px solid #d9d3c4; background: #fff; box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #ece8dd; border-bottom: 1px solid #ddd6c6; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc7b5; }
.browser-bar span { margin-left: 10px; flex: 1; min-width: 0; font-size: 12px; color: var(--taupe-ink); background: var(--card); padding: 5px 10px; border-radius: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini { --c: #1b2a4a; font-size: 13px; color: #222; }
.mini-nav { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid #eee; gap: 10px; }
.mini-nav b { font: 600 14px/1.2 var(--serif); color: var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-nav span { display: flex; gap: 12px; color: #666; font-size: 11.5px; }
.mini-hero { padding: 34px 22px; background: var(--c); color: #fff; }
.mini-hero h4 { font: 500 24px/1.15 var(--serif); margin: 0 0 6px; color: #fff; }
.mini-hero p { margin: 0 0 14px; opacity: .85; }
.mini-hero em { display: inline-block; font-style: normal; background: #fff; color: var(--c); padding: 8px 14px; border-radius: 3px; font-weight: 600; font-size: 12px; }
.mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 18px 20px; }
.mini-row div { border: 1px solid #eee; border-radius: 4px; padding: 10px; }
.mini-row b { display: block; color: var(--c); font-size: 12.5px; margin-bottom: 3px; }
.mini-row small { color: #666; font-size: 11.5px; line-height: 1.35; display: block; }
.mini-extras { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 18px; }
.mini-extras span { font-size: 11px; padding: 4px 8px; border-radius: 20px; background: #f3f0e8; color: #5a5242; }
@media (max-width: 520px) {
  .mini-nav span { display: none; }
  .mini-row { grid-template-columns: minmax(0, 1fr); }
}
.preview-note { font-size: 13px; color: var(--taupe-ink); margin-top: 12px; }

/* pricing */
.toggle { display: inline-flex; padding: 4px; border: 1px solid #d9d3c4; border-radius: 40px; background: var(--card); }
.toggle button { font: 600 13px/1 var(--sans); letter-spacing: .06em; padding: 10px 18px; border: 0; background: none; border-radius: 40px; cursor: pointer; color: var(--ink-2); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.toggle small { font-weight: 500; color: var(--gold-ink); margin-left: 4px; }
.toggle button[aria-pressed="true"] small { color: var(--sun); }
.plan { display: flex; flex-direction: column; }
.plan.rec { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--navy-1); font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 3px; }
.plan .tag { color: var(--ink-2); font-size: 15px; min-height: 2.6em; }
.price { font: 500 46px/1 var(--serif); color: var(--ink); margin: 14px 0 4px; }
.price small { font: 400 15px var(--sans); color: var(--ink-2); }
.price-note { font-size: 13px; color: var(--gold-ink); min-height: 20px; margin-bottom: 14px; font-weight: 600; }
.plan .ticks { flex: 1; margin-bottom: 22px; border-top: 1px solid var(--rule-cream); padding-top: 8px; }
.plan .btn { width: 100%; }
.price.word { font-size: 30px; line-height: 1.1; }
.fine { font-size: 13.5px; color: var(--taupe-ink); }
.dark .fine { color: var(--mist); }

/* builder (build your plan) */
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .builder { grid-template-columns: minmax(0, 1fr); } }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .opts { grid-template-columns: minmax(0, 1fr); } }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #e0dacb; border-radius: var(--radius); background: var(--card); cursor: pointer; transition: border-color .2s, background .2s; }
.opt:hover { border-color: var(--ink); }
.opt input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: #1b2a4a; flex: none; }
.opt b { display: block; font: 500 17px/1.25 var(--serif); }
.opt span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 3px; }
.opt em { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--gold-ink); margin-top: 6px; letter-spacing: .02em; }
.opt.on { border-color: var(--ink); background: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.opt-group { margin: 26px 0 10px; }
.opt-group:first-child { margin-top: 0; }
.summary { position: sticky; top: 92px; background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 26px; }
.summary h3 { color: var(--cream); font-size: 24px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line-navy); }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-navy); font-size: 15px; }
.summary li span:last-child { color: var(--sun); white-space: nowrap; }
.summary .empty { color: var(--mist); font-size: 15px; padding: 14px 0; }
.summary .btn { width: 100%; }
.summary .fine { color: var(--mist); margin-top: 14px; margin-bottom: 0; }

/* recommender */
.rec-form { display: grid; gap: 22px; }
.rec-form label.q { font: 500 18px/1.3 var(--serif); display: block; margin-bottom: 10px; color: var(--cream); }
.dark select, .field select { font: inherit; }
.goal-chips .chip { background: transparent; color: var(--cream); border-color: rgba(163,171,192,.3); }
.goal-chips .chip[aria-pressed="true"] { background: var(--gold); color: var(--navy-1); border-color: var(--gold); }
.rec-out { display: grid; gap: 12px; }
.rec-item { border: 1px solid var(--line-navy); border-radius: var(--radius); padding: 18px 20px; background: var(--navy-card); }
.rec-item h4 { font: 500 19px/1.25 var(--serif); margin: 0 0 6px; color: var(--cream); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rec-item h4 small { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.rec-item p { margin: 0 0 10px; color: var(--mist-2); font-size: 15px; }
.rec-item button { font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: none; border: 1px solid var(--rule-navy); color: var(--gold); padding: 9px 12px; border-radius: 3px; cursor: pointer; }
.rec-item button[disabled] { opacity: .6; cursor: default; }
.select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 4px; border: 1px solid rgba(163,171,192,.3); background: var(--navy-card); color: var(--cream); font: 400 16px var(--sans); }

/* FAQ */
.faq { border-top: 1px solid var(--rule-cream); }
.faq details { border-bottom: 1px solid var(--rule-cream); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 20px/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 30px; width: 10px; height: 10px; border: solid var(--gold-ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { color: var(--ink-2); padding-right: 40px; margin-bottom: 22px; }
.dark .faq, .dark .faq details { border-color: var(--line-navy); }
.dark .faq summary::after { border-color: var(--gold); }
.dark .faq details p { color: var(--mist-2); }

/* forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: minmax(0, 1fr); } }
.field label, .field legend { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid #d9d3c4; border-radius: 4px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(176, 141, 87, .25); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field .err { display: none; color: #9b2c2c; font-size: 13.5px; margin-top: 6px; }
.field.bad input, .field.bad textarea { border-color: #9b2c2c; }
.field.bad .err { display: block; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.checks label { display: flex; gap: 10px; align-items: center; font: 400 15.5px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 10px 12px; border: 1px solid #e0dacb; border-radius: 4px; background: #fff; margin: 0; cursor: pointer; }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: #1b2a4a; margin: 0; flex: none; }
.form-status { font-size: 15px; padding: 14px 16px; border-radius: 4px; background: #efe8d6; border-left: 3px solid var(--gold); display: none; }
.form-status.show { display: block; }
.hp { position: absolute; left: -9999px; }
.contact-aside .card + .card { margin-top: 16px; }
.contact-aside a { color: var(--ink); }

/* CTA band (small dawn) */
.cta-dawn { position: relative; overflow: hidden; color: var(--cream); text-align: center;
  background: linear-gradient(180deg, #131b2e 0%, #1b2949 38%, #2d3345 56%, #433e3f 70%, #644f35 86%, #81653f 100%); }
.cta-dawn::before { content: ""; position: absolute; left: 0; right: 0; top: 78%; height: 1px; background: linear-gradient(90deg, transparent, rgba(140,134,129,.8) 20%, rgba(140,134,129,.8) 80%, transparent); }
.cta-dawn::after { content: ""; position: absolute; left: 50%; top: 78%; width: 260px; height: 260px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(226,208,176,.75) 0%, rgba(154,141,123,.35) 45%, rgba(72,64,61,0) 72%); }
.cta-dawn .wrap { position: relative; z-index: 1; padding-bottom: 60px; }
.cta-dawn h2 { color: var(--cream); }
.cta-dawn p { color: #c9cfdd; }

/* prose (legal/about) */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }
.draft { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: #efe8d6; color: var(--gold-ink); border: 1px solid var(--rule-margin); padding: 8px 12px; border-radius: 3px; margin-bottom: 22px; }

/* also-available list */
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-cream); }
.also div { padding: 20px 22px 20px 0; border-bottom: 1px solid var(--rule-cream); }
.also b { font: 500 18px/1.3 var(--serif); display: block; margin-bottom: 4px; }
.also span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .also { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .also { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-0); color: var(--mist-2); padding: 72px 0 36px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; border-bottom: 1px solid var(--line-navy); }
@media (max-width: 860px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: minmax(0, 1fr); } }
.foot-word { display: flex; align-items: center; gap: 14px; color: var(--cream); margin-bottom: 14px; }
.foot-word .mark { width: 38px; color: var(--gold); }
.foot-word span { font: 700 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.foot-word::after { content: ""; width: 40px; height: 1px; background: var(--slate); opacity: .6; }
.foot-brand .italic { color: var(--mist-2); font-size: 17px; }
.site-footer h4 { font: 600 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mist); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--mist-2); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 13.5px; color: var(--mist); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }
