/* ==========================================================================
   Profound Finance design system
   Navy = trust, emerald = growth/"done", warm paper neutrals = approachable.
   Signature: the ruled ledger. Hairline rules and a statement serif organise the page
   the way a set of financial statements does, instead of boxes and icon cards.
   ========================================================================== */

:root {
  --ink: #0b1f33;
  --navy: #0f2c4c;
  --navy-2: #173e68;
  --navy-3: #22517f;
  --accent: #0a7a5f;
  --accent-600: #09654e;
  --accent-300: #5fd0b0;
  --accent-50: #e7f5f0;
  --gold: #c9a24a;

  --text: #22303f;
  --muted: #5a6a7b;
  --line: #e2e5e9;
  --rule: #cdd3da;
  --bg: #fdfcfa;
  --bg-soft: #f3f5f7;
  --bg-warm: #f6f3ec;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 44, 76, .06);
  --shadow: 0 1px 2px rgba(15, 44, 76, .05), 0 10px 30px -8px rgba(15, 44, 76, .14);
  --shadow-lg: 0 2px 4px rgba(15, 44, 76, .05), 0 24px 60px -16px rgba(15, 44, 76, .28);

  --max: 1180px;
  --header-h: 72px;
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Libre Caslon Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
/* Display serif for h1/h2 only; it is a single-weight face drawn for large sizes. */
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.06; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.6rem, 3vw + 1.6rem, 4.4rem); }
h2 { font-size: clamp(2rem, 1.8vw + 1.3rem, 3rem); }
h3, h4 { font-family: var(--font); font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
html { scrollbar-color: #b9c2cc var(--bg); caret-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }
.steps li::before { font-variant-numeric: tabular-nums lining-nums; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 14px; height: 14px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 7vw, 112px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-head { max-width: 760px; margin: 0 0 clamp(36px, 4vw, 56px); }
.section-head h2:last-child { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.split-head { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 64px; align-items: end; }
.split-head h2, .split-head p { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.lead { font-size: clamp(1.1rem, .4vw + 1rem, 1.3rem); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.skip-link:hover { color: #fff; }

/* Placeholder content that must be replaced before launch (see README). */
.todo { background: #fff4c2; box-shadow: 0 0 0 2px #fff4c2; border-radius: 3px; color: #6b5200; }
.todo-note { display: block; font-size: .8rem; font-weight: 600; color: #8a6a00; background: #fff8d6; border: 1px dashed #e0c24a; border-radius: var(--radius-sm); padding: 8px 12px; margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1; padding: 15px 22px; border-radius: 10px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 1px 2px rgba(11, 31, 51, .2), 0 6px 16px -8px rgba(11, 31, 51, .5); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 6px 16px -8px rgba(0, 0, 0, .45); }
.btn-accent:hover { background: var(--accent-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--rule); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu and break it. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(253, 252, 250, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); }
.nav-open .site-header::before { background: #fff; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.16rem; letter-spacing: -0.02em; }
.brand span { white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent); }
.brand-light { color: #fff; }
.brand-light em { color: var(--accent-300); }

.main-nav { margin-right: auto; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; }
.main-nav > ul > li > a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav > ul > li > a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-mobile-cta { display: none; }

.has-dropdown { position: relative; }
.dropdown { position: absolute; left: -12px; top: calc(100% + 8px); width: 420px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .icon { color: var(--accent); margin-top: 2px; }
.dropdown strong { display: block; font-size: .95rem; color: var(--ink); }
.dropdown small { display: block; font-size: .83rem; color: var(--muted); line-height: 1.4; }
.dropdown-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dropdown-all a { font-weight: 600; font-size: .9rem; color: var(--accent-600); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.header-phone:hover { color: var(--accent-600); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1060px) {
  .header-phone span { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
  .header-inner { justify-content: space-between; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px 24px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0; }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { font-size: 1.15rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); width: 100%; }
  .main-nav > ul > li > a .icon { display: none; }
  .dropdown { position: static; width: auto; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 4px 0 8px; }
  .dropdown small, .dropdown-all { display: none; }
  .dropdown a { padding: 9px 8px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 7vw, 112px) 0 clamp(64px, 7vw, 104px); background: linear-gradient(var(--bg), var(--bg-warm)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .hl { color: var(--accent-600); }
.hero .lead { max-width: 34em; margin-bottom: 36px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: .93rem; }
.hero-assurances li { display: inline-flex; align-items: center; gap: 7px; }
.hero-assurances .icon { color: var(--accent); width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--accent-50); color: var(--accent-600); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* A statement-style sheet: real content, double rule under the heading like a ledger total. */
.ledger { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 28px 60px -28px rgba(11, 31, 51, .28); }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 3px double var(--ink); }
.ledger-head h2 { font-size: clamp(1.45rem, 1vw + 1rem, 1.8rem); margin: 0; }
.ledger-rows { margin: 0; }
.ledger-rows > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ledger dt { font-weight: 600; color: var(--ink); font-size: .97rem; }
.ledger dd { margin: 0; text-align: right; color: var(--text); font-size: .95rem; }
.ledger dd small { display: block; color: var(--muted); font-size: .82rem; }
.ledger-foot { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 6px; background: var(--bg-soft); color: var(--text); text-decoration: none; font-size: .93rem; transition: background-color .18s; }
.ledger-foot strong { color: var(--ink); }
.ledger-foot > .icon:first-child { color: var(--accent); }
.ledger-foot > .icon:last-child { margin-left: auto; color: var(--navy); transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.ledger-foot:hover { background: var(--accent-50); color: var(--text); }
.ledger-foot:hover > .icon:last-child { transform: translateX(3px); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ledger { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero .btn-row .btn { width: 100%; }
  .ledger-rows > div { grid-template-columns: 1fr; }
  .ledger dd { text-align: left; }
}

/* ---------- Works-with strip ---------- */
.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.logo-strip .container { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 14px 44px; padding-top: 22px; padding-bottom: 22px; }
.logo-strip p { margin: 0; font-size: .9rem; color: var(--muted); }
.logo-strip ul { display: flex; flex-wrap: wrap; gap: 12px 40px; list-style: none; margin: 0; padding: 0; }
.logo-strip li { font-weight: 650; font-size: 1.05rem; color: #66768a; letter-spacing: -0.01em; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card-link { text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8e2; color: inherit; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .93rem; color: var(--accent-600); }
.card-link:hover .card-more .icon { transform: translateX(3px); }
.card-more .icon { transition: transform .2s; }

.icon-badge { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--accent-50); color: var(--accent-600); flex: none; }

/* Ruled list: the page's default way to present a set of points. */
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 4vw, 64px); }
.rule-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.rule-grid > div { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.rule-grid h3 { margin-bottom: 8px; }
.rule-grid p { margin: 0; color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) { .rule-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rule-grid, .rule-grid.cols-3 { grid-template-columns: 1fr; } }

.answer-line { margin: 40px 0 0; padding-top: 28px; border-top: 3px double var(--ink); font-family: var(--font-display); font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); line-height: 1.3; color: var(--ink); text-wrap: balance; }
.answer-line span { color: var(--accent-600); }

/* Services as ledger rows */
.svc-list { border-top: 3px double var(--ink); }
.svc-row { display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr 40px; gap: 8px 40px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--rule); color: var(--text); text-decoration: none; transition: background-color .2s, padding .3s cubic-bezier(.16, 1, .3, 1); }
.svc-name { font-family: var(--font-display); font-size: clamp(1.45rem, 1vw + 1rem, 1.85rem); line-height: 1.2; color: var(--ink); }
.svc-desc { color: var(--muted); }
.svc-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule); color: var(--navy); transition: background-color .2s, color .2s, border-color .2s; }
.svc-row:hover { background: #fff; padding-left: 16px; padding-right: 16px; color: var(--text); }
.svc-row:hover .svc-go { background: var(--navy); border-color: var(--navy); color: #fff; }
@media (max-width: 720px) {
  .svc-row { grid-template-columns: 1fr 40px; padding: 22px 0; }
  .svc-desc { grid-column: 1; grid-row: 2; }
  .svc-go { grid-column: 2; grid-row: 1 / 3; }
  .svc-row:hover { padding-left: 0; padding-right: 0; }
}

.why-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why-intro p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 900px) { .why-layout { grid-template-columns: 1fr; } .why-intro { position: static; } }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7259' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
@media (max-width: 640px) { .checklist.cols-2 { grid-template-columns: 1fr; } }
.checklist.light li::before { background-color: rgba(95, 208, 176, .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd0b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

/* ---------- Dark bands ---------- */
.band-dark { position: relative; background: var(--navy); color: #d6e0ea; }
.band-dark .container { position: relative; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark p { color: #c3d0dd; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.cra-panel { background: var(--ink); border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.cra-panel h3 { font-size: 1.1rem; margin-bottom: 0; padding-bottom: 16px; border-bottom: 3px double rgba(255, 255, 255, .35); }
.cra-panel .checklist { margin-top: 20px; }
.cra-panel .checklist li { color: #e3eaf2; }
.cra-callout { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius); background: rgba(201, 162, 74, .12); border: 1px solid rgba(201, 162, 74, .35); color: #f1e6c8; font-size: .95rem; }
.cra-callout .icon { color: var(--gold); margin-top: 2px; }
.cra-callout p { margin: 0; color: inherit; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 22px 0 0; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent-600); margin-bottom: 18px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.audience-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px double var(--ink); }
.audience-card { padding: 28px clamp(20px, 3vw, 40px) 8px; border-left: 1px solid var(--rule); }
.audience-card:first-child { padding-left: 0; border-left: 0; }
.audience-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.65rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; }
.audience-card > p { color: var(--muted); }
.audience-card .checklist { font-size: .95rem; margin-top: 18px; }
@media (max-width: 860px) {
  .audience-cols { grid-template-columns: 1fr; }
  .audience-card, .audience-card:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule); }
  .audience-card:first-child { border-top: 0; }
}

/* ---------- Quote / testimonial ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink); }
.quote-card cite { font-style: normal; font-size: .9rem; color: var(--muted); }
.quote-card cite strong { display: block; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.faq-item summary:hover { color: var(--accent-600); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2c4c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 56px 24px 0; color: var(--muted); max-width: 70ch; }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { font-size: clamp(1.6rem, 1vw + 1.2rem, 2.1rem); max-width: 860px; margin: 0 0 14px; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.faq-toc { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.faq-toc a { display: block; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 550; }
.faq-toc a:hover { background: var(--bg-soft); }
.faq-layout .faq-group > h2, .faq-layout .faq-list { margin-left: 0; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } .faq-toc { position: static; } .faq-toc ul { display: flex; flex-wrap: wrap; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr auto; gap: 32px; align-items: center; padding: clamp(36px, 5vw, 60px); border-radius: 8px; background: var(--navy); color: #d6e0ea; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; color: #c3d0dd; font-size: 1.08rem; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); background: linear-gradient(var(--bg), var(--bg-warm)); border-bottom: 1px solid var(--line); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 880px; font-size: clamp(2.4rem, 2.4vw + 1.5rem, 3.8rem); }
.page-hero .lead { max-width: 720px; margin-bottom: 28px; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 28px; } }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .88rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b3bfcb; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-600); }

.fit-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 28px; box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 24px 50px -28px rgba(11, 31, 51, .25); }
.fit-card h2 { font-size: 1.5rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px double var(--ink); }
.fit-card .checklist { font-size: .96rem; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.detail-grid > aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid > aside { position: static; } }
.prose h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose .checklist { margin: 18px 0 8px; }
.side-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.side-card h3 { font-size: 1.05rem; }
.side-card p { font-size: .95rem; color: var(--muted); }
.side-card.dark { background: var(--navy); border-color: var(--navy); color: #c3d0dd; }
.side-card.dark h3 { color: #fff; }
.side-card.dark p { color: #c3d0dd; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 550; font-size: .95rem; }
.side-links a:hover { background: #fff; color: var(--accent-600); }
.side-links .icon { color: var(--accent); }

.deadline-table { width: 100%; border-collapse: collapse; margin: 18px 0 10px; font-size: .96rem; border-top: 3px double var(--ink); }
.deadline-table th, .deadline-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.deadline-table th { color: var(--ink); font-weight: 650; font-size: .88rem; border-bottom-color: var(--rule); }
.deadline-table tr:last-child td { border-bottom: 0; }
.deadline-table td:first-child { font-weight: 600; color: var(--ink); width: 42%; }

.service-block:first-child { border-top: 3px double var(--ink); }
.service-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12px clamp(32px, 5vw, 80px); padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: calc(var(--header-h) + 24px); }
.service-block > div { display: contents; }
.service-block h2 { grid-column: 1; font-size: clamp(1.7rem, 1.2vw + 1.2rem, 2.3rem); margin: 0; }
.service-block > div > :not(h2) { grid-column: 2; }
.service-block > div > p { margin: 0; font-size: 1.08rem; }
.service-block > div > .btn { justify-self: start; }
.service-block > div > p { color: var(--muted); }
.service-block .icon-badge { width: 56px; height: 56px; }
.service-block .checklist { font-size: .97rem; margin: 18px 0 22px; }
@media (max-width: 800px) { .service-block { grid-template-columns: 1fr; } .service-block h2, .service-block > div > :not(h2) { grid-column: 1; } }

.alert-band { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: #fdf6e7; border: 1px solid #efd9a4; color: #5c4610; }
.alert-band .icon { color: #b4610b; margin-top: 2px; }
.alert-band p { margin: 0; }
.alert-band a { color: #7a4a06; font-weight: 650; }

/* ---------- About ---------- */
.team-card { text-align: left; }
.avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-3), var(--navy)); color: #fff; font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.team-card .role { color: var(--accent-600); font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.mission { position: relative; padding: 28px 0 0; border-top: 3px double var(--ink); }
.mission p { font-family: var(--font-display); font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem); color: var(--ink); line-height: 1.3; margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-row div { padding: 16px 0 0; border-top: 1px solid var(--rule); }
.stat-row strong { display: block; font-size: 1rem; color: var(--ink); }
.stat-row span { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(11, 31, 51, .04), 0 28px 60px -30px rgba(11, 31, 51, .25); padding: clamp(24px, 3.5vw, 44px); }
.form-card h2 { font-size: clamp(1.7rem, 1vw + 1.2rem, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--rule); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 138, 108, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2412f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #aab4bf; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.form-foot p { margin: 0; font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.form-foot .icon { width: 16px; height: 16px; color: var(--accent); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--accent-50); color: var(--accent-600); font-weight: 550; }
.form-status[hidden] { display: none; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-list a, .contact-list span.v { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent-600); }
.map-wrap { margin-top: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal li { margin-bottom: .4em; }

/* ---------- 404 ---------- */
.notfound { text-align: center; } .notfound h1, .notfound .lead { margin-left: auto; margin-right: auto; max-width: 30em; } .notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound .code { font-family: var(--font-display); font-size: clamp(5rem, 12vw, 8rem); color: var(--accent-600); line-height: 1; margin-bottom: 12px; }
.notfound .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0c2; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin: 16px 0 22px; max-width: 320px; }
.footer-h { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; font-weight: 650; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c7d3df; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .btn, .site-footer .btn:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--accent-300); margin-top: 3px; }
.site-footer .todo { background: rgba(255, 244, 194, .15); box-shadow: 0 0 0 2px rgba(255, 244, 194, .15); color: #f5e3a0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; padding-bottom: 28px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .skip-link { display: none; }
  .todo { background: none; box-shadow: none; }
}

/* Steps used inside long-form service pages */
.prose .steps { margin: 24px 0 8px; gap: 28px; }
.prose .steps h3 { margin-top: 0; }
@media (max-width: 560px) { .prose .steps { grid-template-columns: 1fr !important; } }
