/* ==========================================================================
   N's Finance and Learning: design system & styles
   Mobile-first. Tokens → base → layout → components → pages → utilities → print
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0c1830;
  --navy-900: #13233f;
  --navy-800: #1b2f52;
  --navy-700: #2a4170;
  --navy-200: #c9d2e3;
  --navy-100: #e8ecf3;
  --gold-600: #a07c45;
  --gold-500: #b8925a;
  --gold-400: #c9a96e;
  --gold-100: #f5eedf;
  --teal-700: #245d5a;
  --teal-600: #2d6f6c;
  --teal-100: #e2efed;
  --ink: #17202e;
  --body: #3a4455;
  --muted: #5f6b7d;
  --line: #e4dfd5;
  --line-cool: #dfe4ec;
  --paper: #fbfaf7;
  --tint: #f4f1ea;
  --white: #ffffff;
  --danger: #b3261e;
  --danger-bg: #fdf0ef;
  --success: #1f6b4a;
  --success-bg: #eaf5ef;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.1rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.25rem + 0.55vw, 1.65rem);
  --step-3: clamp(1.65rem, 1.45rem + 1vw, 2.2rem);
  --step-4: clamp(2rem, 1.65rem + 1.8vw, 3rem);
  --step-5: clamp(2.3rem, 1.8rem + 2.6vw, 3.7rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;

  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(19, 35, 63, .06), 0 1px 1px rgba(19, 35, 63, .04);
  --shadow: 0 10px 30px -12px rgba(19, 35, 63, .18), 0 2px 6px rgba(19, 35, 63, .05);
  --shadow-lg: 0 30px 60px -25px rgba(12, 24, 48, .35);
  --container: 1180px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.65; color: var(--body); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); font-weight: 600; line-height: 1.18; letter-spacing: -0.012em; margin: 0 0 var(--space-4); text-wrap: balance; }
h1 { font-size: var(--step-5); letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.2em; margin: 0 0 var(--space-4); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }
::selection { background: var(--gold-100); color: var(--ink); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--navy-900); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.section-lg { padding-block: var(--space-9); }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy-900); color: var(--navy-200); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--space-3); display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; display: inline-block; }
.center .eyebrow::before { display: none; }
.eyebrow-light { color: var(--gold-400); }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.6; }
.grid { display: grid; gap: var(--space-5); }
.split { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split-60 { grid-template-columns: 1.35fr 1fr; }
  .split-40 { grid-template-columns: 1fr 1.35fr; }
  .split.center-y { align-items: center; }
}
.stack > * + * { margin-top: var(--space-4); }

/* ---------- Buttons ---------- */
.btn { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); font: 600 .98rem/1.2 var(--font-sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --btn-bg: var(--navy-800); }
.btn-gold { --btn-bg: var(--gold-400); --btn-fg: var(--navy-950); --btn-bd: var(--gold-400); }
.btn-gold:hover { --btn-bg: #d4b780; --btn-bd: #d4b780; }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-200); }
.btn-outline:hover { --btn-bd: var(--navy-900); --btn-bg: #fff; }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.btn-ghost-light:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,.06); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.text-link { font-weight: 600; color: var(--navy-700); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link span { transition: transform .2s var(--ease); }
a:hover .text-link span, .text-link:hover span { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251, 250, 247, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(19,35,63,.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--space-4); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.22rem; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--gold-400); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: var(--space-5) 1.25rem var(--space-7); overflow-y: auto; display: none; flex-direction: column; gap: var(--space-5); border-top: 1px solid var(--line); }
.site-nav.is-open { display: flex; animation: navIn .25s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-list > li { border-bottom: 1px solid var(--line); }
.nav-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem .25rem; font: 600 1.06rem var(--font-sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.nav-link[aria-current="page"] { color: var(--teal-700); }
.chev { width: 14px; height: 14px; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 0 0 .75rem .5rem; display: none; }
.sub-menu.is-open { display: block; }
.sub-menu a { display: block; padding: .55rem .5rem; color: var(--body); text-decoration: none; border-radius: 8px; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { color: var(--teal-700); background: var(--teal-100); }
.nav-cta { align-self: stretch; }
body.nav-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; flex-direction: row; align-items: center; padding: 0; background: none; border: 0; overflow: visible; gap: var(--space-5); animation: none; }
  .nav-list { flex-direction: row; align-items: center; gap: .15rem; }
  .nav-list > li { border: 0; position: relative; }
  .nav-link { padding: .55rem .75rem; font-size: .95rem; font-weight: 500; color: var(--body); border-radius: 999px; gap: .35rem; }
  .nav-link:hover { color: var(--ink); background: rgba(19,35,63,.05); }
  .nav-link[aria-current="page"] { color: var(--navy-900); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold-400); border-radius: 0; }
  .sub-menu { position: absolute; top: calc(100% + 10px); left: -.5rem; min-width: 250px; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .sub-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .nav-cta { align-self: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--space-7) var(--space-8); }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 85% -10%, rgba(201,169,110,.16), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(45,111,108,.09), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 980px) { .hero { padding-block: var(--space-8) var(--space-9); } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-8); } }
.hero h1 { max-width: 19ch; font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.5rem); }
.hero h1 em { font-style: italic; color: var(--teal-700); font-weight: 400; }
.hero-sub { font-size: var(--step-1); color: var(--muted); max-width: 56ch; margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; font-size: var(--step--1); color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 16px; height: 16px; color: var(--teal-600); flex: none; }

/* Hero illustration: "month-end close" ledger card (pure HTML/CSS) */
.ledger { position: relative; max-width: 470px; margin-inline: auto; width: 100%; }
.ledger-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1.5rem; z-index: 2; }
.ledger-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.1rem; }
.ledger-title { font-family: var(--font-serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.ledger-period { font-size: .8rem; color: var(--muted); font-weight: 500; }
.ledger-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; }
.ledger-list li { display: flex; align-items: center; gap: .75rem; padding: .7rem .85rem; border-radius: 10px; background: var(--paper); border: 1px solid #efebe3; font-size: .93rem; color: var(--ink); }
.ledger-list .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.ledger-list .tick svg { width: 12px; height: 12px; }
.ledger-list .status { margin-left: auto; font-size: .75rem; font-weight: 600; color: var(--teal-700); letter-spacing: .02em; }
.ledger-list li.pending .tick { background: var(--gold-100); color: var(--gold-600); }
.ledger-list li.pending .status { color: var(--gold-600); }
.ledger-bars { display: flex; align-items: flex-end; gap: 8px; height: 74px; padding-top: .5rem; border-top: 1px dashed var(--line); }
.ledger-bars span { flex: 1; background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); border-radius: 5px 5px 2px 2px; opacity: .9; transform-origin: bottom; animation: grow 1s var(--ease) both; }
.ledger-bars span:nth-child(odd) { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); }
@keyframes grow { from { transform: scaleY(.1); } to { transform: scaleY(1); } }
.ledger-caption { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin-top: .4rem; }
.ledger-back { position: absolute; inset: 18px -14px -18px 22px; background: var(--navy-900); border-radius: var(--radius-lg); z-index: 1; }
.ledger-back::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(255,255,255,.05) 27px 28px); }
.ledger-chip { position: absolute; z-index: 3; left: -10px; bottom: -22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .85rem; box-shadow: var(--shadow); font-size: .8rem; color: var(--ink); display: flex; gap: .55rem; align-items: center; }
.ledger-chip b { font-weight: 600; }
.ledger-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
@media (min-width: 560px) { .ledger-chip { left: -34px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-block: var(--space-7) var(--space-7); background: var(--navy-900); color: var(--navy-200); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% 0%, rgba(201,169,110,.18), transparent 65%), repeating-linear-gradient(0deg, transparent 0 35px, rgba(255,255,255,.025) 35px 36px); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--step-5); max-width: 20ch; }
.page-hero .lede { color: var(--navy-200); max-width: 62ch; }
.page-hero .btn-row { margin-top: var(--space-5); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--step--1); color: var(--navy-200); }
.breadcrumb a { color: var(--navy-200); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6) var(--space-5); box-shadow: var(--shadow-sm); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--space-3); }
.card p:last-child { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-100); color: var(--navy-800); margin-bottom: var(--space-4); }
.icon svg { width: 24px; height: 24px; }
.icon-gold { background: var(--gold-100); color: var(--gold-600); }
.icon-teal { background: var(--teal-100); color: var(--teal-700); }

.service-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy-200); color: inherit; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .text-link { margin-top: var(--space-4); }
.service-card.featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--navy-200); }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: var(--navy-200); }
.service-card.featured .text-link { color: var(--gold-400); }
.service-card.featured .icon { background: rgba(201,169,110,.15); color: var(--gold-400); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); margin-bottom: var(--space-3); align-self: flex-start; }
.service-card.featured .tag { background: rgba(201,169,110,.18); color: var(--gold-400); }

/* Tick lists */
.ticks { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23245d5a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/.7rem no-repeat; }
.ticks.cols { gap: .55rem 2rem; }
@media (min-width: 700px) { .ticks.cols { grid-template-columns: 1fr 1fr; } }
.ticks-light li { color: var(--navy-200); }
.ticks-light li::before { background-color: rgba(201,169,110,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23c9a96e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dashes { list-style: none; padding: 0; display: grid; gap: .45rem; }
.dashes li { padding-left: 1.3rem; position: relative; }
.dashes li::before { content: ""; position: absolute; left: 0; top: .8em; width: .7rem; height: 1.5px; background: var(--gold-500); }

/* ---------- Service detail blocks ---------- */
.service-block { padding-block: var(--space-8); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block .split { align-items: start; }
.service-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); }
.service-aside h3 { font-size: var(--step-1); }
.service-aside .price-line { font-family: var(--font-serif); font-size: var(--step-2); color: var(--ink); margin-bottom: var(--space-2); }
.service-aside .btn { margin-top: var(--space-3); }
.service-num { font-family: var(--font-serif); font-size: .95rem; color: var(--gold-600); font-style: italic; margin-bottom: var(--space-2); display: block; }
.who-for { display: flex; flex-wrap: wrap; gap: .4rem; margin: var(--space-3) 0 var(--space-5); padding: 0; list-style: none; }
.who-for li { font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line-cool); background: #fff; color: var(--body); }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: .85rem .9rem; white-space: nowrap; color: var(--body); text-decoration: none; font-size: .92rem; font-weight: 500; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--navy-900); border-bottom-color: var(--gold-400); }

/* ---------- Spotlight band ---------- */
.spotlight { background: var(--navy-900); border-radius: var(--radius-lg); padding: var(--space-7) var(--space-5); color: var(--navy-200); position: relative; overflow: hidden; }
.spotlight::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(201,169,110,.25); box-shadow: 0 0 0 40px rgba(201,169,110,.04), 0 0 0 80px rgba(201,169,110,.03); pointer-events: none; }
.spotlight h2 { color: #fff; }
.spotlight .lede { color: var(--navy-200); }
@media (min-width: 900px) { .spotlight { padding: var(--space-8); } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: var(--space-5); align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); box-shadow: var(--shadow-sm); }
.price-card.is-featured { border: 2px solid var(--navy-900); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--navy-900); color: var(--gold-400); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; white-space: nowrap; }
.price-name { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); margin-bottom: var(--space-2); }
.price-for { color: var(--muted); margin-bottom: var(--space-4); min-height: 1.6em; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .2rem; color: var(--ink); }
.price .from { font-size: .85rem; color: var(--muted); align-self: center; }
.price .amount { font-family: var(--font-serif); font-size: clamp(2.4rem, 2rem + 1.5vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price .per { color: var(--muted); font-size: .95rem; }
.price-note { font-size: .82rem; color: var(--muted); margin-bottom: var(--space-5); }
.price-card .ticks { flex: 1; font-size: .95rem; }
.price-card .btn { margin-top: auto; }
.price-limits { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--space-5); }
.price-limits span { font-size: .8rem; font-weight: 600; padding: .3rem .65rem; border-radius: 8px; background: var(--navy-100); color: var(--navy-800); }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 1rem 1.25rem; font-weight: 600; color: var(--ink); caption-side: top; }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid #efebe3; vertical-align: top; }
thead th { background: var(--navy-900); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; }
thead th:first-child { border-top-left-radius: 0; }
tbody th { font-weight: 500; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fcfbf8; }
.compare td { text-align: center; }
.compare thead th:not(:first-child) { text-align: center; }
.compare th[scope="row"] { min-width: 200px; }
.yes { color: var(--teal-700); font-weight: 700; }
.no { color: #a3a9b4; }
.price-table td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }

.fine-print { font-size: .88rem; color: var(--muted); }
.notes-box { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-400); border-radius: var(--radius-sm); padding: var(--space-5); }
.notes-box h3 { font-size: var(--step-1); }
.notes-box ul { margin-bottom: 0; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { display: flex; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.why-item .icon { flex: none; margin: 0; background: rgba(201,169,110,.14); color: var(--gold-400); width: 44px; height: 44px; }
.why-item h3 { font-family: var(--font-sans); font-size: 1.02rem; font-weight: 600; color: #fff; margin-bottom: .3rem; letter-spacing: 0; }
.why-item p { margin: 0; font-size: .94rem; color: var(--navy-200); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 900px) { .steps-row { grid-template-columns: repeat(5, 1fr); gap: var(--space-4); } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold-500); line-height: 1; margin-bottom: var(--space-3); }
.step h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin-bottom: .4rem; letter-spacing: 0; }
.step p { margin: 0; font-size: .94rem; color: var(--muted); }
.steps-detailed .step { display: grid; gap: var(--space-3); padding: var(--space-6) var(--space-5); }
@media (min-width: 800px) { .steps-detailed .step { grid-template-columns: 80px 1fr; padding: var(--space-6); } .steps-detailed .step::before { font-size: 2.5rem; margin: 0; } }
.steps-detailed .step h3 { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 600; }
.steps-detailed .step p { color: var(--body); font-size: 1rem; margin-bottom: var(--space-3); }
.steps-detailed .step ul { margin: 0; }

/* ---------- Testimonials (placeholders) ---------- */
.testimonial-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); position: relative; }
.testimonial .q-mark { font-family: var(--font-serif); font-size: 3rem; line-height: .6; color: var(--gold-400); display: block; margin-bottom: .6rem; }
.testimonial blockquote { margin: 0 0 var(--space-4); font-family: var(--font-serif); font-size: 1.08rem; color: var(--ink); font-style: italic; }
.testimonial figcaption { font-size: .88rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--space-3); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--navy-200); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.25rem; position: relative; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--navy-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v7M2.5 6h7' stroke='%231b2f52' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--navy-700); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--body); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: var(--space-7); }
.faq-group h2 { font-size: var(--step-3); margin-bottom: var(--space-5); }
.faq-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 240px 1fr; } .faq-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.faq-toc a { display: block; padding: .45rem .75rem; border-radius: 8px; color: var(--body); text-decoration: none; font-size: .95rem; }
.faq-toc a:hover { background: var(--tint); color: var(--ink); }
.faq-toc h2 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-950); color: var(--navy-200); padding-block: var(--space-8); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 100%, rgba(45,111,108,.25), transparent 65%), radial-gradient(500px 260px at 100% 0%, rgba(201,169,110,.18), transparent 65%); }
.cta-inner { position: relative; display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }
.cta-band h2 { color: #fff; font-size: var(--step-4); }
.cta-copy { color: var(--navy-200); max-width: 56ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Resources & newsletter ---------- */
.resource-grid { display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
@media (min-width: 800px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
.resource-card { display: flex; gap: var(--space-4); padding: var(--space-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s; }
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.resource-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; flex: none; }
.resource-icon svg { width: 26px; height: 26px; }
.resource-body { display: flex; flex-direction: column; gap: .3rem; }
.resource-title { font-family: var(--font-serif); font-size: var(--step-1); font-weight: 600; color: var(--ink); }
.resource-desc { color: var(--muted); font-size: .95rem; }
.newsletter { display: grid; gap: var(--space-5); padding: var(--space-6) var(--space-5); background: #fff; border-radius: var(--radius); border: 1px solid var(--line); align-items: center; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.1fr; padding: var(--space-6); } }
.newsletter-title { font-size: var(--step-1); margin-bottom: .4rem; }
.newsletter p { margin: 0; color: var(--muted); font-size: .95rem; }
.newsletter-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.newsletter-row input { flex: 1 1 220px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: var(--space-7) var(--space-6); } }
.form-grid { display: grid; gap: var(--space-5) var(--space-4); }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label, .field legend, .field .label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field .req { color: var(--danger); }
.field .hint { font-size: .85rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d9d4ca; border-radius: 10px; padding: .75rem .9rem; min-height: 48px; transition: border-color .2s, box-shadow .2s; appearance: none; }
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%231b2f52' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .9rem center/12px no-repeat; padding-right: 2.4rem; }
textarea { min-height: 130px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #bdb6a8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(42,65,112,.12); }
.is-invalid input, .is-invalid select, .is-invalid textarea, input.is-invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; font-weight: 500; margin: 0; display: none; }
.is-invalid .field-error { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: .55rem; }
.choice-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1.5px solid #e1dcd2; border-radius: 10px; cursor: pointer; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: #bdb6a8; }
.choice input { accent-color: var(--navy-900); width: 18px; height: 18px; margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--navy-900); background: var(--navy-100); }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { accent-color: var(--navy-900); width: 20px; height: 20px; margin: .15rem 0 0; flex: none; }
.check-sm { font-size: .85rem; color: var(--muted); }
.check-sm input { width: 17px; height: 17px; }
.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-2); }
.form-status { margin: var(--space-3) 0 0; font-size: .92rem; }
.form-status:empty { display: none; }
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius-sm); font-size: .93rem; line-height: 1.55; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice p { margin: 0; }
.notice p + p { margin-top: .4rem; }
.notice-info { background: var(--navy-100); color: var(--navy-800); }
.notice-warn { background: var(--gold-100); color: #5d4520; border: 1px solid #e9dcc2; }
.notice-success { background: var(--success-bg); color: var(--success); border: 1px solid #cfe7da; }
.notice-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f2d3d0; }
.notice-teal { background: var(--teal-100); color: var(--teal-700); }

.contact-layout { display: grid; gap: var(--space-7); }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.55fr 1fr; align-items: start; } .contact-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-side .card + .card { margin-top: var(--space-4); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.contact-list li { display: flex; gap: .6rem; }
.contact-list b { min-width: 64px; color: var(--ink); font-weight: 600; }

/* ---------- About ---------- */
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); overflow: hidden; display: grid; place-items: center; color: var(--navy-200); text-align: center; padding: var(--space-6); max-width: 440px; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,169,110,.35); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.portrait svg { width: 72px; height: 72px; margin: 0 auto var(--space-4); color: var(--gold-400); opacity: .8; }
.portrait p { font-size: .9rem; margin: 0; }
.cred-list { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.cred { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cred .icon { margin: 0; flex: none; width: 42px; height: 42px; }
.cred h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin: 0 0 .15rem; letter-spacing: 0; }
.cred p { margin: 0; font-size: .92rem; color: var(--muted); }
.principles { counter-reset: p; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(2, 1fr); } .principles li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.principles li { counter-increment: p; padding: var(--space-5); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.principles li::before { content: counter(p, upper-roman) "."; font-family: var(--font-serif); color: var(--gold-500); font-size: 1.1rem; display: block; margin-bottom: .4rem; font-style: italic; }
.principles h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.principles p { margin: 0; color: var(--muted); }

.is-not { display: grid; gap: var(--space-4); }
@media (min-width: 800px) { .is-not { grid-template-columns: 1fr 1fr; } }
.is-not .card h3 { display: flex; gap: .5rem; align-items: center; }

/* ---------- Prose (legal & checklists) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-3); margin-top: var(--space-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-6); }
.prose ul, .prose ol { margin-bottom: var(--space-5); }
.prose li { margin-bottom: .35rem; }
.prose .updated { color: var(--muted); font-size: .92rem; }
.legal-note { margin-bottom: var(--space-6); }

.checklist-doc { max-width: 860px; }
.checklist-section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); margin-bottom: var(--space-5); break-inside: avoid; }
.checklist-section h2 { font-size: var(--step-2); margin-bottom: var(--space-3); display: flex; align-items: center; gap: .6rem; }
.checklist-section h2 .badge { font-family: var(--font-sans); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: .25rem .55rem; border-radius: 6px; background: var(--navy-100); color: var(--navy-800); }
.boxes { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.boxes li { display: flex; gap: .8rem; padding: .6rem 0; border-bottom: 1px dashed #ebe6dc; align-items: flex-start; }
.boxes li:last-child { border-bottom: 0; }
.boxes .box { width: 18px; height: 18px; border: 1.6px solid var(--navy-700); border-radius: 4px; flex: none; margin-top: .25rem; }
.boxes small { display: block; color: var(--muted); font-size: .86rem; }
.doc-toolbar { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin-bottom: var(--space-6); }
.doc-header-print { display: none; }

/* ---------- Misc ---------- */
.badges-row { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 0; }
.badges-row li { font-size: .85rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-800); }
.software-strip { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.software-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line-cool); background: #fff; font-weight: 600; color: var(--navy-800); font-size: .92rem; }
.software-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-600); display: inline-block; }
.kicker-stat { font-family: var(--font-serif); font-size: var(--step-3); color: var(--ink); line-height: 1.1; margin-bottom: .2rem; }
.mini-facts { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: var(--space-6); }
.mini-facts div { border-left: 2px solid var(--gold-400); padding-left: var(--space-4); }
.mini-facts span { font-size: .9rem; color: var(--muted); display: block; }
.section-navy .mini-facts span { color: var(--navy-200); }
.section-navy .kicker-stat { color: #fff; }
.err-page { text-align: center; padding-block: var(--space-9); }
.err-code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--gold-400); line-height: 1; margin-bottom: var(--space-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b4c8; padding-top: var(--space-8); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--space-6); padding-bottom: var(--space-7); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-tag { margin: var(--space-4) 0 var(--space-2); color: #d2d9e6; max-width: 36ch; }
.footer-meta { font-size: .88rem; }
.footer-h { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: var(--space-4); }
.footer-links { list-style: none; padding: 0; margin: 0 0 var(--space-4); display: grid; gap: .5rem; }
.site-footer a { color: #d2d9e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn { text-decoration: none; color: var(--navy-950); }
.site-footer .btn:hover { color: var(--navy-950); text-decoration: none; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-block: var(--space-5) var(--space-6); }
.footer-disclaimer { font-size: .84rem; max-width: 90ch; color: #8f9bb1; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print (checklists & legal pages) ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff; font-size: 11pt; color: #111; }
  .site-header, .site-footer, .cta-band, .doc-toolbar, .skip-link, .subnav, .no-print, .newsletter { display: none !important; }
  .page-hero { background: #fff !important; color: #111; padding: 0 0 8mm; }
  .page-hero::after { display: none; }
  .page-hero h1 { color: #111; font-size: 22pt; }
  .page-hero .lede, .breadcrumb { color: #444; }
  .breadcrumb { display: none; }
  .section { padding-block: 0; }
  .checklist-section { border: 1px solid #bbb; box-shadow: none; padding: 5mm; margin-bottom: 5mm; }
  .doc-header-print { display: block; font-size: 9pt; color: #555; margin-bottom: 4mm; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { color: #111; text-decoration: none; }
}

/* Grid children may shrink below their content width (prevents mobile overflow) */
.contact-layout > *, .split > *, .hero-grid > *, .faq-layout > *, .footer-grid > *, .cta-inner > * { min-width: 0; }

/* backdrop-filter creates a containing block for fixed children, so the
   mobile menu panel needs a solid header below the desktop breakpoint. */
@media (max-width: 1079.98px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .site-nav { height: calc(100dvh - var(--header-h)); }
}

/* ---------- Inquiry form: Tally embed & "not yet available" state ---------- */
.form-unavailable { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: var(--space-6) var(--space-5); background: var(--paper); }
.form-unavailable .icon { margin-bottom: var(--space-3); }
.form-unavailable h3 { font-size: var(--step-2); margin-bottom: var(--space-2); }
.form-unavailable p { color: var(--muted); }
.form-unavailable .contact-list { margin-top: var(--space-4); }
.tally-wrap[hidden], .form-unavailable[hidden] { display: none; }
.tally-test-banner { margin-bottom: var(--space-4); }
.tally-test-banner code { font-size: .9em; background: rgba(0,0,0,.06); padding: 0 .3em; border-radius: 4px; }
.tally-frame { position: relative; min-height: 420px; }
.tally-frame iframe { display: block; width: 100%; border: 0; min-height: 420px; }
.tally-loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .95rem; }
.tally-loading::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--navy-100); border-top-color: var(--navy-900); animation: spin .8s linear infinite; margin-bottom: 4.5rem; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }
.tally-fallback { margin-top: var(--space-4); }
.tally-note { margin-top: var(--space-2); }

/* ---------- About: portrait photo or branded panel ---------- */
.portrait-photo { width: 100%; max-width: 440px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.portrait .portrait-mark { width: 88px; height: 88px; color: var(--gold-400); opacity: 1; }
.portrait-name { font-family: var(--font-serif); font-size: 1.35rem; color: #fff; margin: 0 0 .35rem !important; }
.portrait-sub { font-size: .78rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
