/* The hidden attribute must always win over display rules on the same element. */
[hidden] { display: none !important; }
/* Borderfolio for Advisors — marketing site.
   Art direction: .claude/rules/landing-design.md (binding). Product tokens mirror
   ../B2B/.claude/rules/advisor-ui.md so the replicas read as the real workspace. */

:root {
  --navy: #101B2D;
  --navy-2: #172438;
  --navy-3: #26344A;
  --ink: #172236;
  --ivory: #F8F7F4;
  --white: #FFFFFF;
  --gold: #B89B69;
  --gold-deep: #9C8152;
  --stone: #E8E4DC;
  --stone-2: #F1EEE7;
  --slate: #758092;
  --slate-2: #3B4658;
  --bluegrey: #DCE4EC;
  --blue: #284D7F;
  --sage: #487D66;
  --burgundy: #A55D64;
  --line: #E9E7E2;
  --line-soft: #F0EEE9;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: 48px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ivory); color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.6; background: var(--ivory); font-feature-settings: "cv11", "ss01"; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(184, 155, 105, .3); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* Type roles */
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.012em; }
.display { font-family: var(--font-serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.022em; font-feature-settings: "kern", "liga"; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.onum { font-variant-numeric: oldstyle-nums proportional-nums; }
.lede { font-size: 20px; line-height: 1.55; color: var(--slate-2); max-width: 54ch; }
.copy { font-size: 17px; line-height: 1.65; color: var(--slate-2); max-width: 60ch; }
.small { font-size: 14px; line-height: 1.55; color: var(--slate); }
.caption { font-family: var(--font-serif); font-style: italic; font-size: 14.5px; color: var(--slate); letter-spacing: 0; }
.marker { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--gold-deep); }
.eyebrow { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.wrap { width: min(var(--wrap), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 16px; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 6px; font-size: 15px; font-weight: 500; letter-spacing: .005em; border: 1px solid transparent; white-space: nowrap; transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-3); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: #CFCBC2; }
.btn-secondary:hover { border-color: var(--ink); background: rgba(23,34,54,.03); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--stone-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248,247,244,.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 34px; }
.brand-name { font-family: var(--font-serif); font-size: 22px; line-height: 1; letter-spacing: -0.012em; display: block; }
.brand-sub { display: block; font-size: 9.5px; letter-spacing: .16em; color: var(--slate); margin-top: 4px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--slate-2); font-size: 14.5px; transition: color .18s var(--ease); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .nav-actions { display: flex; align-items: center; gap: 18px; margin-left: 12px; padding-left: 28px; border-left: 1px solid var(--line); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; color: #fff; }
.nav-toggle { display: none; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 0; overflow: hidden; }
.hero .grid { align-items: center; min-height: 640px; }
.hero-text { grid-column: 1 / span 5; padding: 24px 0 56px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 82px); margin: 26px 0 0; color: var(--ink); }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-support { margin-top: 22px; font-size: 14px; color: var(--slate); }

.hero-visual { grid-column: 6 / span 7; position: relative; height: 640px; margin-right: calc(-1 * (100vw - var(--wrap)) / 2 + 24px); }
.hero-stage { position: absolute; inset: 0; }
.ws-frame { position: absolute; left: 0; top: 36px; width: 100%; max-width: none; }
/* The hero column is narrower than the showcase: tighten the replica's chrome
   so the greeting row, all four KPI tiles and the three panels stay inside it. */
.hero .ws-greet h3 { font-size: 21px; }
.hero .ws-btn { padding: 0 8px; font-size: 10px; }
.hero .ws-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hero .ws-kpi { padding: 10px 10px 9px; }
.hero .ws-kpi small { padding-right: 28px; line-height: 1.2; }
.hero .ws-kpi b { font-size: 19px; }
.hero .ws-row { grid-template-columns: 1.15fr 1fr .9fr; gap: 8px; }
.hero .ws-search { width: 240px; }
.hero .finding-card { position: absolute; left: -36px; bottom: 84px; width: 352px; }
.hero .report-page { position: absolute; right: 56px; bottom: -40px; width: 300px; }
.hero-caption { padding: 20px 0 0; border-top: 1px solid var(--line); margin-top: 0; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ledger strip under the hero */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 26px 32px 26px 0; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 32px; }
.fact b { font-family: var(--font-serif); font-weight: 400; font-size: 34px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.fact span { font-size: 14px; color: var(--slate); line-height: 1.5; max-width: 26ch; }

/* ── Workspace replica (mirrors ../B2B shell + overview) ─────────────────── */
.ws { display: grid; grid-template-columns: 196px 1fr; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 0 rgba(23,34,54,.04), 0 40px 80px -40px rgba(16,27,45,.35); font-size: 11.5px; line-height: 1.4; color: var(--ink); }
.ws-side { background: var(--navy); color: rgba(255,255,255,.66); padding: 18px 14px; display: flex; flex-direction: column; gap: 0; position: relative; }
.ws-side::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(16,27,45,0), rgba(9,16,28,.55)); pointer-events: none; }
.ws-brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 18px; color: #fff; }
.ws-brand img { width: 20px; height: 22px; }
.ws-brand b { font-family: var(--font-serif); font-weight: 400; font-size: 14px; display: block; line-height: 1; }
.ws-brand small { display: block; font-size: 7px; letter-spacing: .14em; color: rgba(255,255,255,.55); margin-top: 3px; }
.ws-nav { display: flex; flex-direction: column; gap: 2px; }
.ws-nav span { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 6px; font-size: 11px; }
.ws-nav span.on { background: var(--navy-3); color: #fff; }
.ws-nav svg { width: 13px; height: 13px; flex: none; opacity: .8; }
.ws-nav span.on svg { opacity: 1; }
.ws-foot { margin-top: auto; position: relative; z-index: 1; }
.ws-foot small { display: block; font-size: 9px; color: rgba(255,255,255,.4); margin-bottom: 6px; padding-left: 6px; }
.ws-card { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 7px; padding: 7px 8px; color: #fff; }
.ws-card .mono { width: 22px; height: 22px; border-radius: 6px; background: rgba(184,155,105,.22); color: var(--gold); display: grid; place-items: center; font-family: var(--font-serif); font-size: 11px; }
.ws-card b { display: block; font-weight: 500; font-size: 10.5px; }
.ws-card span { display: block; font-size: 8.5px; color: rgba(255,255,255,.5); }
.ws-main { padding: 0 0 18px; min-width: 0; }
.ws-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--ivory); }
.ws-search { display: flex; align-items: center; gap: 8px; width: 300px; max-width: 70%; height: 28px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 10px; color: var(--slate); font-size: 10.5px; }
.ws-search kbd { margin-left: auto; font: inherit; font-size: 9px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--slate); }
.ws-avatar { width: 26px; height: 26px; border-radius: 999px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 9.5px; font-weight: 500; }
.ws-body { padding: 18px 20px 0; }
.ws-greet { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ws-greet h3 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.ws-greet p { color: var(--slate); font-size: 11px; margin-top: 4px; }
.ws-actions { display: flex; gap: 6px; }
.ws-btn { height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 10.5px; display: inline-flex; align-items: center; white-space: nowrap; flex: none; }
.ws-btn.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.ws-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.ws-kpi { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px 10px; position: relative; }
.ws-kpi small { display: block; font-size: 10px; color: var(--slate); }
.ws-kpi b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; margin-top: 5px; line-height: 1; }
.ws-kpi em { display: block; font-style: normal; font-size: 9.5px; color: var(--slate); margin-top: 6px; }
.ws-kpi i { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 999px; background: var(--stone-2); }
.ws-kpi i.b { background: #EDF1F7; } .ws-kpi i.r { background: #F7ECED; } .ws-kpi i.v { background: #EFEDF6; }
.ws-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.ws-panel { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 12px 12px 10px; min-width: 0; }
.ws-panel h4 { font-family: var(--font-serif); font-weight: 400; font-size: 13px; margin: 0 0 8px; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: baseline; }
.ws-panel h4 span { font-family: var(--font-sans); font-size: 9.5px; color: var(--slate); }
.ws-donut { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; }
.ws-donut svg { width: 92px; height: 92px; }
.ws-donut .legend { display: grid; gap: 4px; font-size: 10px; }
.ws-donut .legend span { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.ws-donut .legend span i { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.ws-donut .legend span em { font-style: normal; color: var(--slate); margin-left: auto; }
.ws-list { display: grid; gap: 0; font-size: 10.5px; }
.ws-list > div { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.ws-list > div:last-child { border-bottom: 0; }
.ws-list .av { width: 20px; height: 20px; border-radius: 999px; background: var(--stone-2); color: var(--slate-2); display: grid; place-items: center; font-size: 8px; font-weight: 500; flex: none; }
.ws-list .t { flex: 1; min-width: 0; } .ws-list .t b { display: block; font-weight: 500; } .ws-list .t span { display: block; color: var(--slate); font-size: 9.5px; }
.ws-list .st { font-size: 9.5px; white-space: nowrap; } .st.ok { color: var(--sage); } .st.wait { color: var(--blue); } .st.fail { color: var(--burgundy); } .st.muted { color: var(--slate); }
.ws-bar { height: 6px; border-radius: 999px; overflow: hidden; display: flex; background: var(--line-soft); }
.ws-bar span { display: block; height: 100%; }

/* ── Finding card (cross-border panel, mirrors the app) ──────────────────── */
.finding-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px 14px; box-shadow: 0 30px 60px -30px rgba(16,27,45,.3), 0 1px 0 rgba(23,34,54,.04); font-size: 12px; line-height: 1.45; position: relative; }
.finding-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--gold); border-radius: 2px; }
.finding-card.risk::before { background: var(--burgundy); }
.finding-card.info::before { background: var(--blue); }
.finding-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.finding-head b { font-family: var(--font-serif); font-weight: 400; font-size: 15px; letter-spacing: -0.01em; }
.finding-head em { font-style: normal; font-size: 9.5px; letter-spacing: .08em; color: var(--slate); white-space: nowrap; }
.finding-card p { margin-top: 8px; color: var(--ink); }
.finding-card dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 10.5px; color: var(--slate); }
.finding-card dt { font-weight: 500; color: var(--slate-2); }
.finding-card dd { margin: 0; }
.finding-card .src { margin-top: 10px; font-size: 10px; color: var(--slate); }

/* ── Report page replica ─────────────────────────────────────────────────── */
.report-page { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 30px 70px -30px rgba(16,27,45,.4), 0 1px 0 rgba(23,34,54,.04); aspect-ratio: 210 / 297; overflow: hidden; display: flex; flex-direction: column; font-size: 9.5px; color: var(--ink); }
.report-page .rp-band { background: var(--navy); color: #fff; padding: 20px 20px 18px; display: flex; flex-direction: column; min-height: 42%; position: relative; }
.report-page .rp-band img { position: absolute; right: 18px; top: 16px; width: 22px; height: 25px; }
.rp-firm { font-size: 9px; color: rgba(255,255,255,.7); }
.rp-title { font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; margin-top: 26px; line-height: 1; }
.rp-sub { font-size: 9px; color: rgba(255,255,255,.72); margin-top: 7px; }
.rp-for { margin-top: auto; font-size: 8.5px; color: rgba(255,255,255,.6); }
.rp-client { font-family: var(--font-serif); font-weight: 400; font-size: 16px; margin-top: 3px; }
.rp-body { padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.rp-facts { display: grid; gap: 6px; font-size: 9px; }
.rp-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.rp-facts small { color: var(--slate); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.rp-foot { margin-top: auto; padding: 10px 20px 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 8px; color: var(--slate); }
.rp-h { font-family: var(--font-serif); font-weight: 400; font-size: 13px; letter-spacing: -0.01em; display: flex; gap: 10px; align-items: baseline; }
.rp-h i { font-style: normal; color: var(--slate); font-size: 9px; }
.rp-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.rp-tile { border: 1px solid var(--line); border-radius: 5px; padding: 7px 8px; }
.rp-tile small { display: block; font-size: 7.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.rp-tile b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 13px; margin-top: 3px; }
.rp-table { width: 100%; border-collapse: collapse; font-size: 8.5px; }
.rp-table th { text-align: left; font-weight: 500; color: var(--slate); font-size: 7.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid var(--line); }
.rp-table td { padding: 4px 0; border-bottom: 1px solid var(--line-soft); }
.rp-table .r { text-align: right; }
.rp-bar { display: grid; gap: 4px; }
.rp-bar .ws-bar { height: 5px; }
.rp-bar .legend { display: flex; gap: 10px; font-size: 8px; color: var(--slate); flex-wrap: wrap; }
.rp-bar .legend i { display: inline-block; width: 6px; height: 6px; border-radius: 1px; margin-right: 4px; vertical-align: 1px; }
.rp-finding { border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: 5px; padding: 7px 9px; font-size: 8.5px; }
.rp-finding b { font-family: var(--font-serif); font-weight: 400; font-size: 10.5px; display: block; }
.rp-finding p { margin-top: 3px; } .rp-finding small { display: block; color: var(--slate); margin-top: 4px; font-size: 7.5px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 128px 0; }
.sec-marker { display: flex; align-items: center; gap: 18px; margin-bottom: 36px; color: var(--slate); font-size: 13px; }
.sec-marker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-marker .marker { color: var(--gold-deep); }
h2.display { font-size: clamp(34px, 3.8vw, 52px); margin: 0; }
h3.serif { font-size: 26px; line-height: 1.2; margin: 0; }

/* Statement */
.statement { padding: 150px 0 120px; }
.statement .display { grid-column: 1 / span 11; font-size: clamp(38px, 5vw, 72px); max-width: 21ch; }
/* Two measured columns under the headline, separated from it by a hairline. */
.statement .copy { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 18px; }
.statement .copy:nth-of-type(1) { grid-column: 1 / span 6; }
.statement .copy:nth-of-type(2) { grid-column: 7 / span 6; }

/* Three steps */
.steps { border-top: 1px solid var(--line); }
.steps-head { padding: 96px 0 64px; }
.steps-head .display { grid-column: 1 / span 7; }
.steps-head .copy { grid-column: 9 / span 4; align-self: end; }
.step-list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.step { padding: 0 28px 72px 0; position: relative; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-no { font-family: var(--font-serif); font-weight: 400; font-size: 112px; line-height: .9; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.step-no::after { content: ""; display: block; width: 36px; height: 1px; background: var(--gold); margin: 22px 0 28px; }
.step h3 { font-size: 30px; line-height: 1.12; }
.step .copy { margin-top: 14px; font-size: 16px; }
.step-figure { margin-top: 36px; }

/* mini interface excerpts inside the steps */
.mini { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-size: 11px; color: var(--ink); box-shadow: 0 1px 0 rgba(23,34,54,.04); }
.mini-title { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; color: var(--slate); margin-bottom: 10px; }
.mini-title b { font-family: var(--font-serif); font-weight: 400; color: var(--ink); font-size: 13px; }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th { text-align: left; color: var(--slate); font-weight: 500; font-size: 9.5px; letter-spacing: .04em; padding: 4px 0 6px; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line-soft); }
.mini-table th { padding-right: 12px; }
.mini-table .r { text-align: right; }
.mini-table .flag { display: inline-block; font-size: 9px; padding: 1px 6px; border-radius: 999px; background: #EDF1F7; color: var(--blue); }
.mini-table .flag.new { background: #ECF3EF; color: var(--sage); }
.mini-drop { border: 1px dashed #CFCBC2; border-radius: 6px; padding: 14px; text-align: center; color: var(--slate); font-size: 10.5px; margin-bottom: 10px; }
.mini-rows { display: grid; gap: 6px; }
.mini-rows div { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 10.5px; }
.mini-rows .ws-bar { grid-column: 1 / -1; }
.mini-metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label value" "label note"; column-gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.mini-metric span { grid-area: label; color: var(--slate); align-self: start; }
.mini-metric b { grid-area: value; font-family: var(--font-serif); font-weight: 400; font-size: 15px; text-align: right; white-space: nowrap; }
.mini-metric i { grid-area: note; font-style: normal; color: var(--slate); font-size: 9.5px; text-align: right; }

/* Showcase (navy) */
.showcase { background: var(--navy); color: #fff; padding: 128px 0 0; position: relative; overflow: hidden; }
.showcase .display { color: #fff; grid-column: 1 / span 7; }
.showcase .copy { color: rgba(255,255,255,.72); grid-column: 1 / span 5; margin-top: 24px; }
.showcase .sec-marker { color: rgba(255,255,255,.55); }
.showcase .sec-marker::after { background: rgba(255,255,255,.14); }
.showcase .sec-marker .marker { color: var(--gold); }
.showcase-grid { margin-top: 72px; display: grid; grid-template-columns: 3fr 1fr; gap: 48px; align-items: start; }
.showcase-stage { position: relative; min-width: 0; }
.showcase .ws { box-shadow: 0 60px 120px -40px rgba(0,0,0,.6); font-size: 12px; }
.showcase .ws-side { padding: 20px 16px; }
.showcase .ws-body { padding-bottom: 20px; }
.showcase-toc { border-top: 1px solid rgba(255,255,255,.14); }
.showcase-toc li { list-style: none; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.showcase-toc li span:first-child { font-family: var(--font-serif); color: var(--gold); font-size: 15px; font-variant-numeric: lining-nums; }
.showcase-toc li b { display: block; font-weight: 500; font-size: 15px; }
.showcase-toc li p { font-size: 13.5px; color: rgba(255,255,255,.62); margin-top: 3px; line-height: 1.5; }
.showcase-foot { margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 13.5px; }
.showcase-foot .caption { color: rgba(255,255,255,.6); }

/* Cross-border dossier */
.dossier .grid { align-items: start; }
.dossier-text { grid-column: 1 / span 4; position: sticky; top: 112px; }
.dossier-text .display { font-size: clamp(34px, 3.6vw, 50px); }
.dossier-text .copy { margin-top: 24px; font-size: 16px; }
.dossier-notes { margin-top: 36px; border-top: 1px solid var(--line); }
.dossier-notes li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--slate-2); display: grid; grid-template-columns: 16px 1fr; gap: 12px; }
.dossier-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--gold); margin-top: 8px; }
.sheet { grid-column: 6 / span 7; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(23,34,54,.04), 0 30px 70px -40px rgba(16,27,45,.35); min-width: 0; }
.sheet-head { padding: 26px 32px 22px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.sheet-head h3 { font-size: 22px; margin: 0; }
.sheet-head .small { margin-top: 4px; }
.sheet-head .stamp { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold); padding: 6px 10px; border-radius: 3px; white-space: nowrap; }
.sheet-row { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.sheet-row:last-of-type { border-bottom: 0; }
.sheet-row h4 { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 17px; letter-spacing: -0.01em; }
.sheet-row h4 small { display: block; font-family: var(--font-sans); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.sheet-row h4 small.est { color: var(--gold-deep); } .sheet-row h4 small.src { color: var(--sage); } .sheet-row h4 small.asm { color: var(--slate); }
.sheet-row .body { min-width: 0; font-size: 14.5px; color: var(--slate-2); }
.sheet-bar { display: grid; gap: 8px; }
.sheet-bar .ws-bar { height: 10px; border-radius: 2px; }
.sheet-bar .legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 18px; font-size: 13px; color: var(--ink); }
.sheet-bar .legend span { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-soft); padding: 4px 0; }
.sheet-bar .legend span em { font-style: normal; color: var(--slate); }
.sheet-bar .legend i { display: inline-block; width: 8px; height: 8px; border-radius: 1px; margin-right: 8px; vertical-align: 0; }
.pair { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pair th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); padding: 0 0 8px; border-bottom: 1px solid var(--line); }
.pair td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.pair .r { text-align: right; }
.pair .dom { display: inline-block; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: var(--stone-2); color: var(--slate-2); margin-left: 6px; }
.pair .dom.us { background: #F6F1E6; color: var(--gold-deep); } .pair .dom.ie { background: #ECF3EF; color: var(--sage); }
.figure-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.figure-row div b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); }
.figure-row div span { display: block; font-size: 12.5px; color: var(--slate); margin-top: 4px; }
.sheet-foot { padding: 18px 32px 22px; background: var(--stone-2); font-size: 12.5px; color: var(--slate); border-top: 1px solid var(--line); }

/* Reports spread */
.reports { background: var(--stone-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.reports .grid { align-items: center; }
.reports-text { grid-column: 8 / span 5; }
.reports-text .display { font-size: clamp(34px, 3.8vw, 52px); }
.reports-text .copy { margin-top: 24px; font-size: 16px; }
.toc { margin-top: 32px; border-top: 1px solid #DAD5CB; }
.toc li { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid #DAD5CB; font-size: 15px; }
.toc li span:last-child { color: var(--slate); font-variant-numeric: tabular-nums; }
.spread { grid-column: 1 / span 7; position: relative; height: 620px; }
.spread .report-page { position: absolute; width: 250px; }
.spread .pg-1 { left: 0; top: 40px; z-index: 3; }
.spread .pg-2 { left: 232px; top: 0; z-index: 2; }
.spread .pg-3 { left: 460px; top: 60px; z-index: 1; opacity: .96; }

/* Security */
.security .grid { align-items: start; }
.security-text { grid-column: 1 / span 5; }
.security-text .display { font-size: clamp(34px, 3.8vw, 50px); }
.security-text .copy { margin-top: 24px; font-size: 16px; }
.security-text .btn { margin-top: 32px; }
.deflist { grid-column: 7 / span 6; border-top: 1px solid var(--line); margin: 0; }
.deflist > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.deflist dt { font-family: var(--font-serif); font-size: 19px; letter-spacing: -0.01em; }
.deflist dd { margin: 0; font-size: 15px; color: var(--slate-2); line-height: 1.6; }

/* Audience */
.audience-head .display { grid-column: 1 / span 8; font-size: clamp(34px, 3.8vw, 50px); }
.audience-list { margin-top: 56px; border-top: 1px solid var(--line); }
.audience-list li { list-style: none; display: grid; grid-template-columns: 5fr 7fr; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.audience-list h3 { font-size: 26px; }
.audience-list p { font-size: 16px; color: var(--slate-2); max-width: 60ch; }

/* Early access */
.access { border-top: 1px solid var(--line); }
.access .grid { align-items: start; }
.access-text { grid-column: 1 / span 5; }
.access-text .display { font-size: clamp(34px, 3.8vw, 50px); }
.access-text .copy { margin-top: 24px; font-size: 16px; }
.access-text .small { margin-top: 20px; }
.form { grid-column: 7 / span 6; display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; letter-spacing: .04em; color: var(--slate); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #CFCBC2; padding: 8px 0 10px; border-radius: 0; transition: border-color .18s var(--ease); }
.field textarea { min-height: 92px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #A9B0BC; }
.field .hint { font-size: 12.5px; color: var(--slate); margin-top: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copy-email { font-size: 13.5px; color: var(--slate-2); border-bottom: 1px solid #CFCBC2; padding-bottom: 2px; }
.copy-email:hover { border-bottom-color: var(--ink); }

/* FAQ */
.faq-head .display { grid-column: 1 / span 6; font-size: clamp(34px, 3.8vw, 50px); }
.faq { grid-column: 1 / span 8; margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; stroke: var(--slate); fill: none; stroke-width: 1.4; transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--slate-2); font-size: 16px; max-width: 64ch; line-height: 1.65; }
.faq .answer p + p { margin-top: 10px; }

/* Closing */
.closing { background: var(--navy); color: #fff; padding: 150px 0; position: relative; overflow: hidden; }
.closing .display { color: #fff; grid-column: 1 / span 8; font-size: clamp(38px, 4.8vw, 64px); }
.closing .copy { grid-column: 1 / span 5; color: rgba(255,255,255,.72); margin-top: 26px; }
.closing-actions { grid-column: 1 / span 8; margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.closing-rule { grid-column: 1 / span 2; height: 1px; background: var(--gold); margin-bottom: 36px; }

/* Footer */
.site-footer { padding: 72px 0 36px; font-size: 14px; color: var(--slate); background: var(--ivory); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.site-footer .footer-col a { display: block; color: var(--slate-2); padding: 4px 0; font-size: 14.5px; }
.site-footer .footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-brand p { margin-top: 16px; max-width: 40ch; line-height: 1.6; }
.footer-legal { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--slate); }

/* Secondary pages (legal, security, 404) */
.page { padding: 72px 0 112px; }
.page .prose { max-width: 70ch; }
.prose h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4vw, 54px); letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 12px; }
.prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; letter-spacing: -0.015em; margin: 52px 0 0; }
.prose h3 { font-family: var(--font-serif); font-weight: 400; font-size: 21px; margin: 30px 0 0; }
.prose p, .prose li { color: var(--slate-2); font-size: 16.5px; line-height: 1.65; margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--blue); }
.prose .muted { color: var(--slate); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--slate); font-weight: 500; font-size: 12.5px; letter-spacing: .04em; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 16px; }
.tbl table { margin-top: 0; min-width: 560px; }
.page-404 { padding: 140px 0; }
.page-404 .display { font-size: clamp(60px, 10vw, 140px); }

/* Reveal (one class, headline-level only) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero-text > * { animation: rise .9s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; } .hero-text > :nth-child(3) { animation-delay: .16s; } .hero-text > :nth-child(4) { animation-delay: .24s; } .hero-text > :nth-child(5) { animation-delay: .32s; }
.hero-stage > * { animation: settle 1.1s var(--ease) both; animation-delay: .25s; }
.hero-stage > .finding-card { animation-delay: .55s; } .hero-stage > .report-page { animation-delay: .7s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .hero-stage > * { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

/* Consent bar (injected by the shared analytics.js with the investor site's
   violet; restated in this palette, scoped to the injected id). */
#bf-consent.consent-bar { background: var(--navy); color: #fff; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--font-sans); }
#bf-consent.consent-bar a, #bf-consent .consent-text a { color: #fff; }
#bf-consent .consent-btn { border-radius: 6px; font-family: var(--font-sans); font-weight: 500; }
#bf-consent .consent-btn.consent-allow { background: #fff; color: var(--navy); border-color: #fff; }
#bf-consent .consent-btn.consent-allow:hover { background: var(--stone-2); }
#bf-consent .consent-btn.consent-deny { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
#bf-consent .consent-btn:focus-visible { outline-color: #fff; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --gutter: 36px; }
  .hero-visual { margin-right: calc(-1 * var(--gutter)); }
  .ws-frame { width: 860px; }
  .spread .report-page { width: 220px; } .spread .pg-2 { left: 204px; } .spread .pg-3 { left: 400px; }
}
@media (max-width: 1080px) {
  .section { padding: 96px 0; }
  .hero .grid { min-height: 0; }
  .hero-text { grid-column: 1 / span 12; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(42px, 8vw, 72px); }
  .hero-visual { grid-column: 1 / span 12; height: 560px; margin-right: calc(-1 * var(--gutter)); }
  .ws-frame { width: 820px; }
  .hero .finding-card { left: 0; }
  .statement .display { grid-column: 1 / span 12; max-width: none; }
  .statement .copy:nth-of-type(1), .statement .copy:nth-of-type(2) { grid-column: 1 / span 12; margin-top: 24px; }
  .statement .copy:nth-of-type(1) { margin-top: 40px; }
  .statement .copy:nth-of-type(2) { border-top: 0; padding-top: 0; }
  .steps-head .display, .steps-head .copy { grid-column: 1 / span 12; }
  .steps-head .copy { margin-top: 24px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .showcase .display, .showcase .copy { grid-column: 1 / -1; }
  .showcase .ws-side { display: none; } .showcase .ws { grid-template-columns: 1fr; }
  .dossier-text { grid-column: 1 / span 12; position: static; }
  .sheet { grid-column: 1 / span 12; margin-top: 48px; }
  .reports-text { grid-column: 1 / span 12; }
  .spread { grid-column: 1 / span 12; height: 520px; margin-top: 56px; }
  .spread .report-page { width: 260px; } .spread .pg-2 { left: 244px; } .spread .pg-3 { left: 450px; }
  .security-text, .deflist, .access-text, .form, .faq, .audience-head .display, .faq-head .display { grid-column: 1 / span 12; }
  .deflist, .form { margin-top: 40px; }
  .closing .display, .closing .copy, .closing-actions { grid-column: 1 / span 12; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 18px var(--gutter) 24px; gap: 16px; }
  .nav.open { display: flex; }
  .nav .nav-actions { border-left: 0; padding-left: 0; margin-left: 0; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  .nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; }
  .step-list { grid-template-columns: 1fr; }
  .step { padding: 48px 0; border-top: 1px solid var(--line); }
  .step + .step { padding-left: 0; border-left: 0; }
  .step:first-child { border-top: 0; padding-top: 0; }
  .step-no { font-size: 88px; }
  .facts .wrap { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .sheet-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 24px; }
  .sheet-head { padding: 22px 24px 18px; grid-template-columns: 1fr; align-items: start; }
  .sheet-foot { padding: 16px 24px; }
  .deflist > div { grid-template-columns: 1fr; gap: 8px; }
  .audience-list li { grid-template-columns: 1fr; gap: 10px; }
  .form-row { grid-template-columns: 1fr; }
  .faq summary { font-size: 19px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .lede { font-size: 18px; }
  .hero-visual { height: 420px; }
  .ws-frame { width: 640px; top: 20px; }
  .hero .finding-card { width: 280px; bottom: 40px; }
  .hero .report-page { display: none; }
  .section, .statement { padding: 72px 0; }
  .statement .display { font-size: clamp(32px, 9vw, 44px); }
  .ws-kpis { grid-template-columns: repeat(2, 1fr); }
  .ws-row { grid-template-columns: 1fr; }
  .figure-row { grid-template-columns: 1fr; }
  /* One unclipped cover on phones: the page grows to its content instead of
     keeping the A4 ratio, and the overlapping pages are dropped. */
  .spread { height: auto; }
  .spread .report-page { position: static; width: min(300px, 100%); margin: 0 auto; aspect-ratio: auto; }
  .spread .pg-1 .rp-band { min-height: 0; }
  .spread .pg-2, .spread .pg-3 { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .closing { padding: 96px 0; }
}

/* Access form: band radios, hidden fields, success/failure states */
.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; }
.band { display: flex; flex-wrap: wrap; gap: 8px; }
.band-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.band-opt span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #CFCBC2; border-radius: 999px; font-size: 14px; color: var(--slate-2); cursor: pointer; transition: border-color .18s var(--ease), background .18s var(--ease); }
.band-opt input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.band-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field .hint:empty { display: none; }
.field [aria-invalid="true"] { border-bottom-color: var(--burgundy); }
.field .hint[role="alert"] { color: var(--burgundy); }
.failure { border-left: 2px solid var(--burgundy); padding: 4px 0 4px 16px; font-size: 15px; color: var(--ink); }
.failure a { color: var(--blue); }
.success { border-top: 1px solid var(--line); padding-top: 28px; }
.success h3 { font-size: 34px; }
.success:focus { outline: none; }
