:root {
  --fb-navy: #0a2442;
  --fb-blue: #1763da;
  --fb-blue-dark: #0b4fb9;
  --fb-ink: #18324f;
  --fb-muted: #61748a;
  --fb-line: #d9e3ed;
  --fb-soft: #f4f7fb;
  --fb-business: #1763da;
  --fb-business-rgb: 23, 99, 218;
  --fb-estate: #0c7b7f;
  --fb-estate-rgb: 12, 123, 127;
  --fb-family: #7654a7;
  --fb-family-rgb: 118, 84, 167;
  --fb-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --fb-sans: Inter, "Segoe UI", Arial, sans-serif;
  --content: min(1240px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--fb-ink); background: #fff; font: 16px/1.55 var(--fb-sans); }
img, video { max-width: 100%; }
button, select, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2 { color: var(--fb-navy); font-family: var(--fb-serif); font-weight: 500; letter-spacing: -.04em; }
h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); line-height: .98; }
h2 em { color: var(--fb-blue); font-style: normal; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #2477e8; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; color: #fff; background: var(--fb-navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }
.chapter-label { margin-bottom: 18px; color: var(--fb-blue); font-size: .78rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }

/* Navigation */
.site-nav { width: var(--content); height: 64px; margin: 0 auto; display: flex; align-items: center; position: relative; z-index: 10; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--fb-navy); font-size: 1.08rem; font-weight: 760; text-decoration: none; white-space: nowrap; }
.site-brand b { color: var(--fb-blue); font-weight: 600; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; position: relative; border: 3px solid var(--fb-navy); border-top-color: transparent; border-radius: 50%; transform: rotate(-20deg); }
.brand-mark::before, .brand-mark::after { content: ""; width: 4px; height: 4px; position: absolute; top: -1px; border-radius: 50%; background: var(--fb-blue); }
.brand-mark::before { left: 1px; }.brand-mark::after { right: 1px; }
.brand-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--fb-blue); }
/* Hero */
.hero-section { min-height: calc(100svh - 64px); display: grid; align-items: center; position: relative; overflow: hidden; background: #fff; }
.hero-art { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.hero-copy { width: var(--content); margin: 0 auto; padding: 28px 0 30px; position: relative; z-index: 1; }
.hero-copy > * { max-width: 520px; }
.hero-copy h1 { margin: 0 0 20px; color: var(--fb-navy); font-size: clamp(3.6rem, 5.6vw, 6.1rem); line-height: .95; letter-spacing: -.025em; }
.hero-lede { margin-bottom: 28px; color: #50657d; font-size: 1.2rem; line-height: 1.55; }
.hero-actions { max-width: 610px; display: flex; align-items: center; gap: 22px; }
.hero-actions > span { color: #5d7188; font-size: .78rem; font-weight: 700; }
.button { min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border: 0; border-radius: 99px; font-size: .9rem; font-weight: 750; text-decoration: none; }
.button-dark { color: #fff; background: var(--fb-navy); }
.button-dark:hover { background: var(--fb-blue); }
.try-question { margin-top: 20px; display: inline-flex; align-items: baseline; gap: 8px; color: var(--fb-navy); font: 500 1.05rem/1.4 var(--fb-serif); text-decoration: none; }
.try-question span { color: var(--fb-estate); font: 800 .7rem/1 var(--fb-sans); letter-spacing: .12em; text-transform: uppercase; }
.try-question:hover { color: var(--fb-blue); }

/* Simulator */
.simulation-section { width: min(1480px, calc(100% - 72px)); margin: 0 auto; padding: 94px 0 98px; }
.section-intro { max-width: 850px; margin: 0 auto 42px; text-align: center; }
.section-intro h2 { margin: 0; }
.category-switcher { max-width: 1060px; margin: 0 auto 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-tab { min-height: 88px; padding: 15px 17px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--fb-line); border-radius: 16px; color: var(--fb-ink); background: #fff; text-align: left; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.category-tab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(18, 48, 82, .08); }
.category-tab b, .category-tab small { display: block; }
.category-tab b { margin-bottom: 3px; color: var(--fb-navy); font-size: .95rem; }
.category-tab small { color: var(--fb-muted); font-size: .75rem; line-height: 1.35; }
.category-icon { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; }
.category-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.category-business .category-icon { color: var(--fb-business); background: rgba(var(--fb-business-rgb), .1); }
.category-estate .category-icon { color: var(--fb-estate); background: rgba(var(--fb-estate-rgb), .1); }
.category-family .category-icon { color: var(--fb-family); background: rgba(var(--fb-family-rgb), .1); }
.category-tab[aria-selected="true"] { border-color: var(--category); background: rgba(var(--category-rgb), .055); box-shadow: inset 0 0 0 1px var(--category), 0 10px 30px rgba(var(--category-rgb), .1); }
.category-business { --category: var(--fb-business); --category-rgb: var(--fb-business-rgb); }
.category-estate { --category: var(--fb-estate); --category-rgb: var(--fb-estate-rgb); }
.category-family { --category: var(--fb-family); --category-rgb: var(--fb-family-rgb); }

.simulator { --accent: var(--fb-business); --accent-rgb: var(--fb-business-rgb); min-height: 0; display: grid; grid-template-columns: minmax(300px, .85fr) 34px minmax(185px, .5fr) 34px minmax(450px, 1.65fr); grid-template-rows: auto auto; align-items: stretch; position: relative; background: #fff; }
.simulator[data-group="estate"] { --accent: var(--fb-estate); --accent-rgb: var(--fb-estate-rgb); }
.simulator[data-group="family"] { --accent: var(--fb-family); --accent-rgb: var(--fb-family-rgb); }
.sim-panel { min-width: 0; padding: 24px; position: relative; background: #fff; }
.brain-panel { display: flex; flex-direction: column; align-items: stretch; }
.step-heading { min-height: 48px; display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.step-heading > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 50%; color: var(--accent); font-size: .8rem; font-weight: 800; }
.step-heading small, .step-heading h3 { display: block; margin: 0; }
.step-heading small { margin-bottom: 2px; color: var(--fb-muted); font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.step-heading h3 { color: var(--fb-navy); font: 500 1.32rem/1.1 var(--fb-serif); }
.question-label { display: block; margin-bottom: 9px; color: var(--fb-navy); font-size: .78rem; font-weight: 750; }
.select-shell { position: relative; }
.select-shell select { width: 100%; min-height: 78px; padding: 15px 44px 15px 16px; border: 1px solid #b9cbe0; border-radius: 12px; color: var(--fb-navy); background: #fff; font-size: 1rem; font-weight: 650; line-height: 1.35; appearance: none; }
.select-shell > span { position: absolute; right: 16px; top: 50%; color: var(--accent); font-size: 1.2rem; transform: translateY(-50%); pointer-events: none; }
.question-help { margin: 9px 0 22px; color: var(--fb-muted); font-size: .76rem; }
.typed-question { min-height: 124px; margin-bottom: 18px; padding: 15px; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 12px; background: rgba(var(--accent-rgb), .045); }
.typed-question span { display: block; margin-bottom: 8px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.typed-question p { margin: 0; color: var(--fb-navy); font: 500 1.22rem/1.35 var(--fb-serif); }
.typed-question p.is-typing::after { content: "▏"; color: var(--accent); animation: fb-blink .6s step-end infinite; }
.ask-action { width: 100%; color: #fff; background: var(--accent); border-radius: 10px; }
.ask-action:hover { filter: brightness(.9); }
.ask-action:disabled { opacity: .65; cursor: wait; }
.sample-note { margin: 13px 0 0; color: var(--fb-muted); font-size: .7rem; text-align: center; }
.flow-arrow { display: flex; align-items: center; justify-content: center; position: relative; color: var(--accent); background: transparent; overflow: hidden; }
.flow-arrow i { width: 45px; height: 2px; display: block; background: #7896ba; }
.flow-arrow span { margin-left: -3px; font-size: 2.6rem; line-height: 1; }
.simulator[data-stage="typing"] .flow-arrow-in i, .simulator[data-stage="reading"] .flow-arrow-in i, .simulator[data-stage="building"] .flow-arrow i, .simulator[data-stage="result"] .flow-arrow i { background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 200% 100%; animation: fb-current 1.15s linear infinite; }
.brain-card { width: 100%; padding: 20px 15px 16px; display: flex; flex-direction: column; align-items: center; border: 1px solid rgba(122, 180, 239, .2); border-radius: 18px; color: #fff; background: radial-gradient(circle at 50% 33%, rgba(37, 117, 219, .42), transparent 48%), linear-gradient(150deg, #0a2f5b, #071d38 75%); box-shadow: 0 17px 38px rgba(7, 29, 56, .2); }
.brain-stage { width: min(150px, 100%); height: 150px; flex: 0 0 150px; margin: 0 auto 10px; display: grid; place-items: center; position: relative; }
.brain-stage::before { content: ""; width: 78%; height: 78%; position: absolute; border-radius: 50%; background: rgba(29, 143, 255, .18); filter: blur(18px); opacity: .45; }
.brain-stage img { width: 88%; height: auto; aspect-ratio: 1; display: block; position: relative; z-index: 2; object-fit: contain; filter: saturate(.9) drop-shadow(0 0 22px rgba(30, 144, 255, .35)); }
.electric-orbit { position: absolute; inset: 3%; z-index: 1; border: 1px solid rgba(91, 179, 255, .18); border-radius: 48% 52% 55% 45%; opacity: .55; }
.orbit-two { inset: 12%; transform: rotate(52deg); }
.electric-spark { width: 7px; height: 7px; position: absolute; z-index: 3; border-radius: 50%; background: #bfe8ff; box-shadow: 0 0 8px 3px #36b8ff; opacity: .2; }
.spark-a { left: 20%; top: 32%; }.spark-b { right: 17%; top: 48%; }.spark-c { left: 45%; bottom: 11%; }
.simulator:is([data-stage="reading"],[data-stage="building"]) .brain-stage img { animation: fb-brain-pulse 1.25s ease-in-out infinite; filter: saturate(1.2) drop-shadow(0 0 28px rgba(36, 165, 255, .85)); }
.simulator:is([data-stage="reading"],[data-stage="building"]) .electric-orbit { opacity: .9; animation: fb-orbit 2.6s linear infinite; border-color: rgba(91, 179, 255, .72); box-shadow: 0 0 14px rgba(34, 150, 255, .4); }
.simulator:is([data-stage="reading"],[data-stage="building"]) .orbit-two { animation-direction: reverse; animation-duration: 1.9s; }
.simulator:is([data-stage="reading"],[data-stage="building"]) .electric-spark { animation: fb-spark 1.1s ease-in-out infinite alternate; }
.simulator:is([data-stage="reading"],[data-stage="building"]) .spark-b { animation-delay: .25s; }.simulator:is([data-stage="reading"],[data-stage="building"]) .spark-c { animation-delay: .5s; }
.brain-status { min-height: 0; margin: 0; color: #e3effe; font: 500 1.02rem/1.35 var(--fb-serif); text-align: center; }
.brain-panel .reading-records { width: 100%; margin-top: 14px; display: grid; gap: 7px; }
.record-chip { min-height: 38px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(164, 204, 250, .24); border-radius: 8px; color: #b9cde4; background: rgba(255,255,255,.05); font-size: .72rem; line-height: 1.25; opacity: .6; }
.record-chip::before { content: ""; width: 13px; height: 16px; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 2px; }
.record-chip.is-reading { color: #fff; border-color: #69b6ff; background: rgba(35, 132, 231, .25); opacity: 1; }
.record-chip.is-read { color: #e8f4ff; opacity: .9; }
.record-chip.is-read::after { content: "✓"; margin-left: auto; color: #80d9c6; }
.result-preview { min-height: 490px; border: 1px solid #d7e1ec; border-radius: 14px; background: #fbfdff; overflow: hidden; }
.result-empty { min-height: 490px; padding: 42px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.document-icon { width: 64px; height: 82px; margin-bottom: 25px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border: 1px solid #aabfd7; border-radius: 7px; background: #fff; box-shadow: 12px 12px 0 #eef4fb; }
.document-icon i { width: 28px; height: 2px; margin: 0 auto; background: #9cb4cd; }
.result-empty h4 { margin-bottom: 8px; color: var(--fb-navy); font: 500 1.8rem/1.15 var(--fb-serif); }
.result-empty p { margin-bottom: 16px; color: var(--fb-muted); }
.result-empty small { color: #526d88; font-size: .76rem; letter-spacing: .02em; }
.result-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.result-actions button { min-height: 44px; padding: 9px 12px; border: 1px solid var(--fb-line); border-radius: 7px; color: var(--fb-navy); background: #fff; font-size: .75rem; }
.result-actions button:hover { border-color: var(--accent); color: var(--accent); }
.result-actions span { align-self: center; color: #13715f; font-size: .75rem; }
.simulation-status { width: 1px; height: 1px; position: absolute; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.simulation-disclosure { margin: 16px 0 0; color: var(--fb-muted); font-size: .72rem; text-align: center; }

/* Reuse the mature report layouts inside the new result panel. */
.simulator .sample-report { border: 0; border-radius: 0; box-shadow: none; animation: fb-reveal .35s ease-out; }
.simulator .sample-masthead { padding: 16px 17px; }
.simulator .sample-report-scroll { max-height: none; padding: 20px 17px; overflow: visible; }
.simulator .sample-report-footer { padding: 14px 17px; }
.simulator .sample-takeaway { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.simulator .sample-boundary { font-size: .71rem; }
.simulator .open-report { min-height: 44px; }
.simulator .compact-item { padding: 10px; }
.simulator .compact-item h5 { font-size: .84rem; }
.simulator .compact-item p { font-size: .74rem; }
.simulator .source-link { min-height: 36px; padding: 7px 9px; font-size: .72rem; }
.full-report-section { margin-top: 28px; padding: 28px; border: 1px solid var(--fb-line); border-radius: 20px; background: #f7faff; }
.full-report-heading { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.full-report-heading span { color: var(--fb-blue); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.full-report-heading h3 { margin: 5px 0 0; color: var(--fb-navy); font: 500 1.8rem/1.2 var(--fb-serif); }
.full-report-heading button { min-height: 44px; border: 0; color: var(--fb-blue); background: transparent; font-weight: 700; }
.full-report-section .report { max-width: 900px; margin: 0 auto; }

/* Records mechanism */
.records-section { padding: 0 0 100px; overflow: hidden; background: #fff; text-align: center; }
.records-feature { width: 100%; min-height: 560px; aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #fff url("media/records-brain-desktop.webp") center/cover no-repeat; }
.records-feature video { width: 100%; height: 100%; position: absolute; inset: 0; display: block; object-fit: cover; }
.records-heading { width: min(920px, calc(100% - 40px)); margin: 0 auto; position: absolute; top: 7%; left: 50%; z-index: 1; transform: translateX(-50%); }
.records-heading h2 { margin-bottom: 12px; font-size: clamp(3.5rem, 6.1vw, 7.2rem); }
.records-summary { margin: 24px auto 0; padding: 0 16px; color: var(--fb-navy); font-size: 1.05rem; font-weight: 650; }
.source-chips { max-width: 1080px; margin: 10px auto 0; padding: 0 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; list-style: none; }
.source-chips li { min-height: 40px; padding: 9px 15px; display: inline-flex; align-items: center; border: 1px solid var(--fb-line); border-radius: 99px; color: #405873; background: #fff; font-size: .78rem; font-weight: 700; }
.media-limit { margin: 14px auto 0; padding: 0 16px; color: var(--fb-muted); font-size: .75rem; }
.ownership-grid { width: min(1240px, calc(100% - 64px)); margin: 70px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; text-align: left; }
.ownership-grid article { min-width: 0; }
.ownership-grid h3 { margin: 26px 0 9px; color: var(--fb-navy); font-family: var(--fb-serif); font-size: 1.65rem; line-height: 1.1; }
.ownership-grid p { max-width: 340px; margin: 0; color: var(--fb-muted); font-size: .94rem; line-height: 1.55; }
.ownership-visual { height: 250px; padding: 22px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #dbe5f0; border-radius: 18px; background: #f6f9fd; box-shadow: 0 18px 35px rgba(17, 49, 84, .06); }
.visual-window-title { margin-bottom: 13px; color: var(--fb-navy); font-size: .78rem; font-weight: 800; }
.input-row { min-height: 43px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid #d9e4ef; background: #fff; font-size: .8rem; }
.input-row + .input-row { border-top: 0; }
.input-row:first-of-type { border-radius: 9px 9px 0 0; }
.input-row:last-of-type { border-radius: 0 0 9px 9px; }
.input-row b { color: #0a746b; font-size: .72rem; white-space: nowrap; }
.input-row b.input-off { color: #73879b; }
.passkey-visual { align-items: center; background: radial-gradient(circle at 50% 30%, #e4f1ff, #f7faff 67%); text-align: center; }
.passkey-mark { width: 54px; height: 54px; margin-bottom: 13px; display: grid; place-items: center; border: 1px solid #a9caee; border-radius: 16px; color: var(--fb-blue); background: #fff; font-size: 1.8rem; }
.passkey-visual strong { color: var(--fb-navy); font-size: 1rem; }
.passkey-visual > span { color: var(--fb-muted); font-size: .78rem; }
.passkey-dots { margin-top: 18px; display: flex; gap: 7px; }
.passkey-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--fb-blue); }
.access-visual { gap: 12px; }
.access-owner, .access-support { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 10px; background: #fff; }
.access-owner { border: 1px solid #a9caee; }.access-support { border: 1px solid #d9e4ef; }
.access-owner span, .access-support span { color: #61748a; font-size: .75rem; font-weight: 700; }
.access-owner strong, .access-support strong { color: var(--fb-navy); font-size: .75rem; text-align: right; }
.access-line { height: 1px; margin: 0 18px; background: #bfd2e6; }
.ownership-note { margin: 26px 16px 0; color: var(--fb-muted); font-size: .75rem; }

/* Supporting narrative */
.value-section { width: var(--content); margin: 0 auto; padding: 0; }
.value-heading { max-width: 930px; margin-bottom: 42px; }
.value-heading h2 { margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-grid article { min-width: 0; display: flex; flex-direction: column; }
.value-visual { min-height: 240px; margin-bottom: 24px; padding: 23px; display: flex; flex-direction: column; border: 1px solid #dbe5f0; border-radius: 16px; background: #f8fbff; box-shadow: 0 14px 34px rgba(17, 49, 84, .05); }
.value-visual small { margin-bottom: 14px; color: var(--fb-blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.source-visual strong { color: var(--fb-navy); font-size: .9rem; }.source-visual > span { margin: 5px 0 13px; color: var(--fb-navy); font: 500 2.3rem/1 var(--fb-serif); }
.source-visual > div { margin-top: auto; padding: 10px 12px; border: 1px solid #bad4f3; border-radius: 8px; color: var(--fb-blue); background: #fff; font-size: .78rem; font-weight: 750; }
.gap-visual { gap: 7px; }.gap-visual small { margin-bottom: 7px; }.gap-visual > div { padding: 8px 10px; display: flex; justify-content: space-between; gap: 8px; border-radius: 7px; background: #fff; font-size: .76rem; }.gap-visual b { color: var(--fb-navy); }.gap-visual span { color: #556e87; text-align: right; }
.handoff-visual { gap: 10px; }.handoff-visual small { margin-bottom: 4px; }.handoff-visual > div { display: flex; align-items: center; gap: 10px; color: var(--fb-navy); font-size: .8rem; }.handoff-visual > div span { width: 24px; height: 24px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--fb-blue); background: #e8f2ff; font-size: .68rem; font-weight: 800; }
.value-grid h3 { margin: 0 0 10px; color: var(--fb-navy); font: 500 1.6rem/1.14 var(--fb-serif); }
.value-grid p { margin: 0; color: var(--fb-muted); font-size: .92rem; }
.onboarding-section { padding: 96px max(32px, calc((100% - 1240px)/2)); background: #f5f9fd; }
.onboarding-intro { max-width: 660px; margin-bottom: 44px; }.onboarding-intro h2 { margin-bottom: 16px; }.onboarding-intro > p:last-child { margin: 0; color: var(--fb-muted); font-size: 1.05rem; }
.onboarding-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; }
.onboarding-steps li { padding: 28px 26px; border-top: 3px solid var(--fb-blue); background: #fff; }
.onboarding-steps span { color: var(--fb-blue); font-size: .78rem; font-weight: 800; }.onboarding-steps h3 { margin: 28px 0 9px; color: var(--fb-navy); font: 500 1.55rem/1.1 var(--fb-serif); }.onboarding-steps p { margin: 0; color: var(--fb-muted); font-size: .9rem; }
.onboarding-icon { width: 76px; height: 76px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg,#edf5ff,#fff); box-shadow: 0 18px 38px #174f8f18,inset 0 0 0 1px #cfe1f5; }.onboarding-icon svg { width: 45px; height: 45px; fill: none; stroke: #1763da; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }.onboarding-steps li:nth-child(2) .onboarding-icon { background: linear-gradient(145deg,#edf9f8,#fff); }.onboarding-steps li:nth-child(2) .onboarding-icon svg { stroke: #078f98; }.onboarding-steps li:nth-child(3) .onboarding-icon { background: linear-gradient(145deg,#f6f0ff,#fff); }.onboarding-steps li:nth-child(3) .onboarding-icon svg { stroke: #7550bc; }.onboarding-steps .onboarding-icon + span { display: block; }.onboarding-steps .onboarding-icon ~ h3 { margin-top: 14px; }
.experts-section, .founders-section, .invitation-section { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; position: relative; overflow: hidden; }
.experts-section { background: #fff; }
.experts-section > img { width: 100%; height: 100%; grid-column: 1; object-fit: cover; object-position: left center; }
.experts-section > div { max-width: 650px; padding: 90px 8vw 80px 6vw; display: flex; flex-direction: column; justify-content: center; }
.experts-section h2 { margin-bottom: 26px; font-size: clamp(3rem, 4.8vw, 5.1rem); }
.experts-section > div > p:not(.chapter-label) { max-width: 560px; color: var(--fb-muted); font-size: 1.05rem; }
.experts-section ul { margin: 25px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.experts-section li { min-height: 48px; display: flex; align-items: center; gap: 13px; color: var(--fb-navy); font-weight: 650; }
.experts-section li span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--fb-blue); background: #edf4ff; font-size: .72rem; }

.founders-section { min-height: 1120px; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: stretch; isolation: isolate; overflow: clip; background: linear-gradient(105deg, #fff 0 57%, #eef5fd 57% 100%); }
.founders-copy { width: 100%; margin: 0; padding: 70px 0 54px max(52px, calc((100vw - 1320px)/2 + 84px)); box-sizing: border-box; position: relative; z-index: 2; }
.founders-copy h2 { max-width: 700px; margin-bottom: 32px; font-size: clamp(3.15rem, 5.1vw, 6rem); line-height: 1.04; }
.founders-copy h2 em { color: var(--fb-blue); font-style: normal; }
.founders-copy > .founders-intro { max-width: 560px; color: var(--fb-muted); font-size: 1.1rem; line-height: 1.8; }
.founder-roles { max-width: 656px; margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder-roles article { min-width: 0; min-height: 216px; padding: 22px 21px 23px; border: 1px solid #d5e2ef; border-top: 3px solid var(--fb-blue); border-radius: 13px; box-sizing: border-box; background: rgba(248, 251, 255, .92); }
.founder-roles span { display: block; margin-bottom: 12px; color: var(--fb-blue); font-size: .75rem; font-weight: 800; letter-spacing: .055em; line-height: 1.35; text-transform: uppercase; }
.founder-roles h3 { margin-bottom: 9px; color: var(--fb-navy); font: 500 1.45rem/1.05 var(--fb-serif); }
.founder-roles p { margin: 0; color: var(--fb-muted); font-size: .84rem; line-height: 1.52; }
.founder-process { max-width: 656px; margin-top: 26px; padding-top: 21px; border-top: 1px solid #d7e2ed; }
.founder-process > strong { display: block; margin-bottom: 12px; color: var(--fb-navy); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.founder-process ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; list-style: none; counter-reset: founder-step; }
.founder-process ol::before { content: ""; height: 1px; position: absolute; top: 11px; left: 11px; right: 11px; background: #cbdbea; }
.founder-process li { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 8px; position: relative; color: #3d5b78; font-size: .76rem; font-weight: 650; line-height: 1.35; counter-increment: founder-step; }
.founder-process li::before { content: counter(founder-step); width: 22px; height: 22px; display: grid; place-items: center; position: relative; z-index: 1; border-radius: 50%; color: var(--fb-blue); background: #e8f2ff; box-shadow: 0 0 0 5px #fff; font-size: .65rem; font-weight: 800; }
.founders-portrait { min-width: 0; min-height: 100%; display: grid; align-items: start; position: relative; overflow: hidden; background: radial-gradient(circle at 53% 42%, rgba(52, 132, 225, .16), transparent 34%); }
.founders-portrait::before { content: ""; width: 520px; aspect-ratio: 1; position: absolute; left: 48%; bottom: -175px; border: 1px solid rgba(23, 99, 218, .13); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 52px rgba(23, 99, 218, .035), 0 0 0 105px rgba(23, 99, 218, .025); }
.founders-portrait img { width: 125%; height: auto; max-width: none; margin-top: clamp(34px, 5vh, 64px); justify-self: end; position: sticky; top: clamp(22px, 4vh, 48px); z-index: 1; filter: drop-shadow(0 22px 28px rgba(12, 39, 70, .12)); }

.invitation-section { min-height: 600px; display: block; background: #fff; }
.invitation-section > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.invitation-section > div { width: var(--content); margin: 0 auto; padding: 90px 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; position: relative; z-index: 1; text-align: left; }
.invitation-section > div > * { width: min(560px, 44%); }
.invitation-section h2 { margin-bottom: 22px; font-size: clamp(3.2rem, 5vw, 5.7rem); }
.invitation-section p:not(.chapter-label) { color: var(--fb-muted); font-size: 1.05rem; }
.invitation-section .button { width: auto; align-self: flex-end; }

.site-footer { width: var(--content); min-height: 130px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(280px, 1fr) auto; align-items: center; gap: 42px; border-top: 1px solid var(--fb-line); }
.site-footer p { max-width: 650px; margin: 0 auto; color: var(--fb-muted); font-size: .75rem; text-align: center; }
.site-footer > a:last-child { color: var(--fb-blue); font-size: .8rem; font-weight: 700; text-decoration: none; }

/* Dialog refinements */
#source-dialog { z-index: 100; }
#source-dialog::backdrop, #share-dialog::backdrop { background: rgba(5, 22, 43, .58); backdrop-filter: blur(3px); }
.source-choices { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.source-choices button { min-height: 36px; padding: 7px 10px; border: 1px solid var(--fb-line); border-radius: 7px; color: var(--fb-blue); background: #fff; font-size: .72rem; }
.source-choices button[aria-pressed="true"] { color: #fff; background: var(--fb-blue); border-color: var(--fb-blue); }

@keyframes fb-blink { 50% { opacity: 0; } }
@keyframes fb-current { to { background-position: -200% 0; } }
@keyframes fb-brain-pulse { 50% { transform: scale(1.035); } }
@keyframes fb-orbit { to { transform: rotate(360deg); } }
@keyframes fb-spark { from { opacity: .2; transform: scale(.75); } to { opacity: 1; transform: scale(1.25); } }
@keyframes fb-reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 921px) {
  .brain-panel { align-self: start; padding-inline: 14px; }
  .flow-arrow { height: 72px; align-self: start; margin-top: 220px; }
  .result-preview { min-height: 560px; display: flex; flex-direction: column; }
  .result-empty { width: 100%; min-height: 0; flex: 1; }
  .simulator .sample-report { min-height: 0; padding: 0; display: flex; flex: 1; flex-direction: column; }
  .simulator .sample-masthead, .simulator .sample-report-footer { flex: 0 0 auto; }
  .simulator .sample-report-scroll { min-height: 0; max-height: none; flex: 1; overflow: visible; }
}

@media (max-width: 1160px) {
  :root { --content: min(100% - 40px, 1180px); }
  .hero-copy h1 { font-size: clamp(3.6rem, 7.2vw, 5.8rem); }
  .simulator { grid-template-columns: minmax(230px, .88fr) 34px minmax(190px, .59fr) 34px minmax(340px, 1.28fr); }
  .sim-panel { padding: 22px; }
  .flow-arrow i { width: 28px; }
}

@media (max-width: 920px) {
  h2 { font-size: clamp(2.7rem, 8vw, 4.3rem); }
  .hero-section { min-height: 0; padding-bottom: 0; display: block; }
  .hero-art { height: 410px; position: relative; display: block; object-position: 72% center; }
  .hero-copy { padding: 54px 0 38px; display: grid; }
  .hero-copy h1 { font-size: clamp(3.3rem, 11vw, 5.2rem); line-height: .98; }
  .hero-copy > * { max-width: 620px; }
  .hero-art { order: 2; }
  .simulation-section { width: var(--content); padding-block: 86px; }
  .category-switcher { gap: 8px; }
  .category-tab { min-height: 78px; padding: 12px; }
  .category-tab small { display: none; }
  .simulator { max-width: 680px; margin: 0 auto; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 52px auto 52px auto auto; border: 1px solid #d5e1ed; border-radius: 18px; overflow: hidden; }
  .ask-panel, .result-panel { border: 0; }
  .flow-arrow { min-height: 52px; }
  .flow-arrow i { width: 2px; height: 30px; }
  .flow-arrow span { margin: -5px 0 0; transform: rotate(90deg); }
  .brain-panel { min-height: 0; }
  .brain-card { padding: 18px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px 16px; }
  .brain-card .brain-stage { width: 96px; height: 96px; flex-basis: 96px; grid-column: 1; grid-row: 1; margin: 0; }
  .brain-card .brain-status { grid-column: 2; grid-row: 1; text-align: left; }
  .brain-card .reading-records { max-width: none; grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .ownership-grid { grid-template-columns: 1fr; max-width: 600px; gap: 42px; }
  .ownership-visual { max-width: 600px; }
  .result-preview, .result-empty { min-height: 390px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid { gap: 44px; }
  .value-visual { min-height: 220px; }
  .onboarding-section { padding-inline: 20px; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .onboarding-steps li { padding: 22px; }
  .onboarding-steps h3 { margin-top: 14px; }
  .experts-section, .founders-section { min-height: 0; grid-template-columns: 1fr; }
  .experts-section > img { min-height: 400px; object-position: left center; }
  .experts-section > div { padding: 72px 8vw; }
  .founders-section { background: linear-gradient(180deg, #fff 0 62%, #eef5fd 62% 100%); }
  .founders-copy { width: var(--content); margin: 0 auto; padding: 82px 0 34px; }
  .founders-portrait { min-height: 500px; }
  .founders-portrait img { width: min(820px, 105%); margin-top: 0; position: relative; top: auto; }
  .founder-process ol { grid-template-columns: 1fr 1fr; gap: 13px 18px; }
  .founder-process ol::before { display: none; }
  .invitation-section { min-height: 560px; }
  .invitation-section > img { object-position: 34% center; opacity: .42; }
  .invitation-section > div { align-items: flex-end; }
  .invitation-section > div > * { width: min(620px, 70%); }
}

@media (max-width: 700px) {
  :root { --content: calc(100% - 32px); }
  html { scroll-padding-top: 58px; }
  .site-nav { height: 58px; }
  .site-brand { font-size: .92rem; }
  .brand-mark { width: 25px; height: 25px; }
  .hero-copy { padding-top: 40px; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .hero-art { height: 315px; object-position: 72% center; }
  .try-question { font-size: .92rem; flex-wrap: wrap; }
  .simulation-section { padding-block: 72px; }
  .section-intro { margin-bottom: 32px; text-align: left; }
  .category-switcher { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0; overflow: visible; }
  .category-tab { width: 100%; min-height: 64px; padding: 10px 12px; }
  .category-icon { width: 38px; height: 38px; }
  .sim-panel { padding: 20px; }
  .step-heading { margin-bottom: 22px; }
  .select-shell select { min-height: 88px; }
  .brain-panel { min-height: 0; }
  .brain-card { grid-template-columns: 84px minmax(0, 1fr); padding: 16px; }
  .brain-card .brain-stage { width: 84px; height: 84px; flex-basis: 84px; }
  .result-panel { padding-inline: 14px; }
  .result-panel > .step-heading { margin-inline: 6px; }
  .result-preview, .result-empty { min-height: 370px; }
  .result-actions { padding-inline: 4px; }
  .simulator .source-link { min-height: 44px; padding: 10px 11px; }
  .full-report-section { padding: 15px; border-radius: 14px; }
  .full-report-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .records-section { padding-bottom: 78px; }
  .records-feature { min-height: 0; aspect-ratio: 4 / 5; background-image: url("media/records-brain-mobile.webp"); }
  .records-heading { width: calc(100% - 32px); top: 5%; text-align: center; }
  .records-heading h2 { margin-bottom: 9px; font-size: clamp(2.8rem, 11vw, 4.6rem); }
  .records-summary { max-width: 470px; text-align: left; font-size: .95rem; }
  .source-chips { justify-content: flex-start; }
  .media-limit { text-align: left; }
  .ownership-grid { width: var(--content); margin-top: 54px; }
  .ownership-visual { height: 230px; }
  .value-section { padding-block: 0; }
  .value-heading { margin-bottom: 36px; }
  .value-visual { min-height: 215px; }
  .onboarding-section { padding: 78px 16px; }
  .experts-section > img { min-height: 300px; }
  .experts-section > div { padding: 64px 24px; }
  .experts-section h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .founder-roles { grid-template-columns: 1fr; gap: 16px; }
  .founder-process ol { gap: 11px 14px; }
  .founders-portrait { min-height: clamp(220px, 66vw, 360px); }
  .founders-portrait img { width: 118%; }
  .invitation-section { min-height: 600px; }
  .invitation-section > img { height: 48%; top: 0; object-position: 27% center; opacity: 1; }
  .invitation-section > div { padding: 260px 0 64px; align-items: flex-start; justify-content: flex-end; }
  .invitation-section .button { align-self: flex-start; }
  .invitation-section > div > * { width: 100%; }
  .site-footer { min-height: 190px; padding: 30px 0; grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .site-footer p { margin: 0; text-align: left; }
  #source-dialog { width: 100%; border-radius: 14px 14px 0 0; }
  .source-choices button, #source-dialog .drawer-header button, #share-dialog .drawer-header button { min-width: 44px; min-height: 44px; }
}

@media (max-width: 420px) {
  .hero-art { height: 270px; }
  .category-tab { min-width: 0; flex-basis: auto; }
  .sim-panel { padding: 17px; }
  .typed-question p { font-size: 1.08rem; }
  .result-panel { padding-inline: 10px; }
  .simulator .sample-report-scroll { padding-inline: 12px; }
  .simulator .sample-masthead, .simulator .sample-report-footer { padding-inline: 12px; }
}

@media (max-width: 360px) {
  .full-report-section .sample-kpis { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .records-feature video { display: none; }
}

/* The logo belongs to the hero, without a separate navigation row. */
.hero-section { min-height: 100svh; }
.hero-brand { position: absolute; z-index: 4; top: 24px; left: max(32px, calc((100vw - 1240px) / 2)); }

/* The answer flows through a standalone Brain on white. */
.brain-card { border: 0; background: transparent; color: var(--fb-navy); box-shadow: none; }
.brain-status { color: #385773; }
.record-chip { border-color: #cedff0; color: #496888; background: #f6faff; opacity: .75; }
.record-chip.is-reading { border-color: #55a8f3; color: #174e86; background: #eaf5ff; }
.record-chip.is-read { color: #365b7e; background: #fff; }
.record-chip.is-read::after { color: #0c7b7f; }
.electric-orbit { border-color: rgba(42, 125, 220, .22); }
.simulator:is([data-stage="reading"],[data-stage="building"]) .electric-orbit { border-color: rgba(42, 125, 220, .45); }

/* A single clear direction replaces typographic arrows. Motion occurs only during Ask. */
.flow-arrow { gap: 0; overflow: visible; }
.flow-arrow::before { content: ""; width: 20px; height: 2px; background: #7c9fc8; }
.flow-arrow::after { content: ""; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 8px solid var(--accent); }
.flow-arrow .flow-pulse { width: 7px; height: 7px; position: absolute; left: 3px; top: calc(50% - 3.5px); margin: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(var(--accent-rgb), .55); opacity: 0; }
.simulation-disclosure a { color: #155fbc; font-weight: 700; white-space: nowrap; }
.simulator:is([data-stage="typing"],[data-stage="reading"]) .flow-arrow-in .flow-pulse,
.simulator[data-stage="building"] .flow-arrow-out .flow-pulse { animation: fb-flow-across .8s ease-in-out infinite; }
@keyframes fb-flow-across { 0% { opacity: 0; transform: translateX(0); } 20% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(23px); } }
@media (max-width: 920px) {
  .hero-section { min-height: 0; }
  .flow-arrow { flex-direction: column; }
  .flow-arrow::before { width: 2px; height: 23px; }
  .flow-arrow::after { border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--accent); border-bottom: 0; }
  .flow-arrow .flow-pulse { top: 6px; left: calc(50% - 3.5px); }
  .simulator:is([data-stage="typing"],[data-stage="reading"]) .flow-arrow-in .flow-pulse,
  .simulator[data-stage="building"] .flow-arrow-out .flow-pulse { animation-name: fb-flow-down; }
  .hero-brand { top: 22px; }
}
@keyframes fb-flow-down { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(22px); } }
@media (max-width: 700px) { .hero-brand { left: 20px; top: 17px; } }

/* Release 18: clearer promise, buyer-first setup, and one focused proof loop. */
.hero-copy > * { max-width: 650px; }
.hero-copy h1 { max-width: 700px; font-size: clamp(3.45rem, 5.15vw, 5.7rem); line-height: .97; }
.hero-lede { max-width: 590px; font-size: 1.08rem; }
.hero-actions { align-items: center; flex-wrap: wrap; gap: 15px 22px; }
.hero-secondary { min-height: 44px; padding-block: 10px; display: inline-flex; align-items: center; color: #164f91; font-size: .875rem; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.hero-microcopy { margin: 14px 0 0; color: #657a8f; font-size: .76rem; }
.result-actions a { min-height: 44px; padding: 9px 11px; display: inline-flex; align-items: center; border: 1px solid #bfd3e8; border-radius: 6px; color: #185a9e; font-size: .78rem; font-weight: 700; text-decoration: none; }
.result-actions a:hover { background: #eaf4ff; }
.records-heading h2 { font-size: clamp(3.2rem, 5.55vw, 6.45rem); line-height: .93; }
.records-summary { max-width: 720px; line-height: 1.55; }
.value-grid { position: relative; }
.value-grid article { padding-top: 28px; border-top: 1px solid #dbe7f2; }
.value-grid article + article::before { content: ""; width: 1px; position: absolute; top: 28px; bottom: 10px; margin-left: -28px; background: #dbe7f2; }
.onboarding-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: setup; }
.onboarding-steps li { min-height: 220px; padding: 25px 23px; }
.onboarding-steps h3 { margin: 18px 0 9px; font-size: 1.35rem; }
.invitation-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.invitation-section .invitation-actions { width: min(620px, 46%); }
.invitation-section .invitation-actions .button { align-self: auto; }
@media (max-width: 980px) {
  .hero-copy h1 { max-width: 620px; }
  .value-grid article + article::before { display: none; }
  .onboarding-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero-copy h1 { font-size: clamp(2.85rem, 13vw, 4.25rem); }
  .hero-actions { align-items: flex-start; }
  .records-heading h2 { font-size: clamp(2.55rem, 11vw, 4.2rem); }
  .onboarding-steps { grid-template-columns: 1fr; }
  .onboarding-steps li { min-height: 0; }
  .invitation-section .invitation-actions { width: 100%; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 360px) {
  .hero-art { height: 200px; }
  .hero-copy h1 { font-size: 2.5rem; }
}

.record-chip { color: #365b7e; font-size: .8125rem; opacity: 1; }
@media (max-width: 700px) { .hero-art { height: 240px; } .hero-copy { padding-top: 30px; } }

@media print {
  main, .site-footer, dialog { display: none !important; }
  #print-area { display: block !important; }
}

/* UX review fixes: visible focus, clear contact paths, and mobile answer readability. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: #2477e8;
}

[aria-busy="true"],
[aria-disabled="true"] {
  cursor: progress;
  opacity: .78;
}

.result-preview :is(h3, h4):focus {
  outline: 3px solid #2477e8;
  outline-offset: 4px;
  border-radius: 4px;
}

.simulation-disclosure-top {
  max-width: 720px;
  margin: 12px auto 0;
}

.midpage-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid #d8e4f1;
  border-bottom: 1px solid #d8e4f1;
}
.midpage-cta p { margin: 0; color: #263f5b; }
.midpage-cta a { color: #145fbc; font-weight: 750; }

.contact-fallback,
.free-guide-link { font-size: .9rem; color: #536a80; }
.contact-fallback { margin-top: 18px; }
.contact-fallback a,
.free-guide-link a { color: #145fbc; }
.contact-fallback button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #145fbc;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.beta-form {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid #cbdced;
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 38px rgba(18, 52, 89, .08);
}
.beta-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.beta-form label { display: grid; gap: 6px; color: var(--fb-navy); font-size: .78rem; font-weight: 750; }
.beta-form > label { margin-top: 12px; }
.beta-form label span small { color: var(--fb-muted); font-weight: 500; }
.beta-form input,
.beta-form textarea {
  width: 100%;
  border: 1px solid #b9cde1;
  border-radius: 8px;
  padding: 10px 11px;
  color: var(--fb-ink);
  background: #fff;
  font: 1rem/1.35 var(--fb-sans);
}
.beta-form textarea { resize: vertical; }
.beta-form .invitation-actions { width: 100%; margin-top: 16px; }
.beta-form-status { min-height: 1.4em; margin: 12px 0 0; color: #126956; font-size: .82rem; font-weight: 700; }
.beta-form-status.is-error { color: #9a2d22; }
.beta-form-note { margin: 7px 0 0; color: var(--fb-muted); font-size: .72rem; line-height: 1.45; }
.beta-form-trap { width: 1px; height: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}
.site-footer nav a { font-size: .8rem; }

@media (min-width: 701px) {
  .hero-section::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0 auto 0 0;
    width: 62%;
    pointer-events: none;
    background: linear-gradient(90deg, #fff 0%, #fffffff8 78%, #ffffff00 100%);
  }
  .hero-brand,
  .hero-copy { z-index: 2; }
  .hero-copy { width: var(--content); max-width: none; }
  .hero-copy > * { max-width: 500px; }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .hero-art { object-position: 70% center; }
}

@media (max-width: 650px) {
  .midpage-cta { display: grid; gap: 12px; }
  .site-footer nav { justify-content: flex-start; margin-top: 14px; }
  .result-preview .source-link,
  .full-report-section .source-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 4px;
    font-size: .875rem;
  }
  .sample-table { font-size: .8rem; }
  .beta-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-copy h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.15rem);
    line-height: 1;
    letter-spacing: -.02em;
  }
}

/* Release 21: clean layout pass. One header, one type scale, one section rhythm,
   and nothing laid over photography. Each section's layout is settled here for
   desktop, tablet (<=920px) and phone (<=700px), so it no longer depends on the
   order of the release blocks above. */
.nowrap { white-space: nowrap; }

/* Header */
.home-header { width: var(--content); height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 5; }
.home-header nav { display: flex; align-items: center; gap: 28px; }
.home-header nav a { color: var(--fb-ink); font-size: .9rem; font-weight: 650; text-decoration: none; }
.home-header nav a:hover { color: var(--fb-blue); }
.home-header .home-header-cta { min-height: 42px; padding: 10px 18px; display: inline-flex; align-items: center; border-radius: 99px; color: #fff; background: var(--fb-navy); font-weight: 750; }
.home-header .home-header-cta:hover { color: #fff; background: var(--fb-blue); }

/* Hero */
.hero-section { min-height: calc(100svh - 76px); }

/* One type scale for every section heading. */
.section-intro h2, .records-heading h2, .value-heading h2, .onboarding-intro h2,
.experts-section h2, .founders-copy h2, .invitation-section h2 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; }

/* Simulator: give the middle column room so record names stop wrapping. */
.simulation-section { padding: 96px 0 88px; }
@media (min-width: 1161px) {
  .simulator { grid-template-columns: minmax(280px, .9fr) 34px minmax(240px, .7fr) 34px minmax(420px, 1.5fr); }
}

/* Records: the headline sits above the video instead of on it, and the
   video's grey ground fades into the page instead of ending in a hard line. */
.records-section { padding: 88px 0 96px; }
.records-heading { width: min(920px, calc(100% - 40px)); margin: 0 auto 36px; position: static; transform: none; text-align: center; }
.records-heading h2 { margin: 0; }
@media (min-width: 921px) {
  /* The loop's top band is empty; let the headline sit in it. */
  .records-heading { margin-bottom: -48px; position: relative; top: auto; left: auto; z-index: 2; }
}
.records-feature::before, .records-feature::after { content: ""; height: 14%; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.records-feature::before { top: 0; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
.records-feature::after { bottom: 0; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }

/* Value: "Source" is a label like the others, not a display word. */
.value-section { padding-bottom: 96px; }
.source-visual > span { margin: 18px 0 10px; color: var(--fb-blue); font: 800 .72rem/1 var(--fb-sans); letter-spacing: .08em; text-transform: uppercase; }

/* Founders: two clean columns, the portrait in a soft panel, no stray rings. */
.founders-section { width: var(--content); min-height: 0; margin: 0 auto; padding: 96px 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; overflow: visible; background: none; }
.founders-copy { width: auto; margin: 0; padding: 0; }
.founders-portrait { min-height: 0; aspect-ratio: 4 / 3.4; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg, #eef5fd 0%, #f8fbff 100%); }
.founders-portrait::before { display: none; }
.founders-portrait img { width: 112%; max-width: none; height: auto; margin: 0; position: static; filter: none; }

/* Invitation: photo and form side by side; nothing overlaps the headline. */
.invitation-section { width: var(--content); min-height: 0; margin: 0 auto; padding: 96px 0; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; overflow: visible; }
.invitation-section > img { width: 100%; height: auto; position: static; aspect-ratio: 1; border-radius: 24px; object-fit: cover; object-position: 0% 50%; opacity: 1; }
.invitation-section > div { width: auto; margin: 0; padding: 0; display: block; }
.invitation-section > div > * { width: auto; }
/* p.class to outrank `.invitation-section p:not(.chapter-label)` above. */
.invitation-section p.beta-form-note { font-size: .78rem; }
.invitation-section p.beta-form-status { font-size: .85rem; }
.invitation-section p.contact-fallback, .invitation-section p.free-guide-link { font-size: .9rem; }

/* Tablet and phone: the copy leads and the photo sits behind it as a soft,
   washed background. It is drawn taller than the screen so the tabletop
   clutter (calculator, phone) falls below the fold, leaving the owner as a
   faint presence behind the headline and the blue Brain behind the button;
   the wash fades to white at both edges so it never ends in a hard line. */
@media (max-width: 920px) {
  .home-header nav a:not(.home-header-cta) { display: none; }
  .hero-section { min-height: calc(100svh - 76px); padding-bottom: 40px; display: block; position: relative; isolation: isolate; overflow: hidden; }
  .hero-section::after { display: none; }
  .hero-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, .86) 14%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, .4) 82%, #fff 100%); }
  .hero-copy { width: var(--content); padding: 28px 0 0; }
  .hero-copy > * { max-width: 580px; }
  .hero-copy h1 { font-size: clamp(3rem, 7vw, 3.8rem); line-height: 1; }
  .hero-art { width: 100%; height: 125%; margin: 0; position: absolute; inset: 0 0 auto 0; z-index: -2; object-fit: cover; object-position: 74% 100%; opacity: .45; }
  .founders-section { grid-template-columns: 1fr; gap: 40px; padding: 72px 0; }
  .founders-portrait { max-width: 640px; }
  .invitation-section { grid-template-columns: 1fr; gap: 32px; padding: 72px 0; }
  .invitation-section > img { aspect-ratio: 16 / 9; }
}

/* Phone */
@media (max-width: 700px) {
  .home-header { height: 64px; }
  .home-header .home-header-cta { min-height: 40px; padding: 8px 14px; font-size: .82rem; }

  .hero-copy { padding-top: 20px; }
  .hero-copy .chapter-label { margin-bottom: 12px; font-size: .7rem; letter-spacing: .1em; }
  .hero-copy h1 { margin-bottom: 16px; font-size: 2.5rem; line-height: 1.02; letter-spacing: -.02em; }
  .hero-lede { margin-bottom: 22px; font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 4px; }
  .hero-actions .button { width: 100%; gap: 14px; }
  .hero-actions .hero-secondary { align-self: center; }
  .try-question { width: 100%; margin-top: 8px; justify-content: center; font-size: .92rem; }
  .hero-section { min-height: calc(100svh - 64px); }

  .section-intro h2, .records-heading h2, .value-heading h2, .onboarding-intro h2,
  .experts-section h2, .founders-copy h2, .invitation-section h2 { font-size: clamp(2.1rem, 9vw, 2.6rem); line-height: 1.05; letter-spacing: -.025em; }

  .simulation-section { padding: 56px 0 48px; }
  .category-switcher { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .category-tab { min-width: 0; min-height: 76px; padding: 10px 6px; flex-direction: column; justify-content: center; gap: 6px; border-radius: 12px; text-align: center; }
  .category-tab b { margin: 0; font-size: .78rem; line-height: 1.2; }
  .category-icon { width: 32px; height: 32px; border-radius: 9px; }
  .category-icon svg { width: 20px; }
  .select-shell select { min-height: 60px; }
  .typed-question { min-height: 0; }

  .records-section { padding: 56px 0 64px; }
  .records-heading { margin-bottom: 24px; }
  .ownership-grid { gap: 36px; }
  .ownership-visual { height: auto; min-height: 0; padding: 18px; }
  .ownership-grid h3 { margin: 18px 0 6px; font-size: 1.45rem; }

  .value-section { padding-bottom: 64px; }
  .value-grid { gap: 40px; }
  .value-visual { min-height: 0; }

  .onboarding-section { padding: 64px 16px; }
  .onboarding-intro { margin-bottom: 28px; }
  .onboarding-steps { gap: 10px; }
  .onboarding-steps li { min-height: 0; padding: 18px 18px 18px 60px; position: relative; border-top: 0; border-left: 3px solid var(--fb-blue); border-radius: 12px; }
  .onboarding-steps span { position: absolute; left: 18px; top: 21px; }
  .onboarding-steps h3 { margin: 0 0 4px; font-size: 1.2rem; }
  .onboarding-steps p { font-size: .88rem; }

  .experts-section > img { min-height: 0; height: 240px; }
  .experts-section > div { padding: 40px 16px 48px; }
  .founders-section { gap: 28px; padding: 48px 0 56px; }
  .founders-portrait { aspect-ratio: 4 / 3; border-radius: 18px; }
  .invitation-section { padding: 48px 0 56px; }
  /* Mostly white space at phone width, and it pushed the form down a screen. */
  .invitation-section > img { display: none; }
}

/* Desktop: the menu floats over the hero photo instead of sitting in a white
   strip above it. The links sit beside the logo, on the white side of the
   hero; only the solid button is over the photo, so the owner's hair never
   sits behind menu text. */
@media (min-width: 921px) {
  .home-header { position: absolute; top: 0; left: 0; right: 0; justify-content: flex-start; }
  .home-header nav { flex: 1; margin-left: 48px; }
  .home-header .home-header-cta { margin-left: auto; }
  .hero-section { min-height: 100svh; }
  .hero-copy { padding-top: 76px; }
}

/* The footer's Privacy choices control is a button (it opens the consent banner). */
.site-footer nav [data-privacy-choices] { font-size: .8rem; }

/* Release 22: cross-browser QA fixes (Chromium + WebKit, 360px to 1920px). */

/* Laptops and iPad landscape (921-1280px): three columns left the question
   select about 220px wide, cutting labels mid-word ("Cross-check bookkeeping
   re"). Question and Brain share the first row; the answer takes the full
   width below, where it also reads better. */
@media (min-width: 921px) and (max-width: 1280px) {
  .simulator { grid-template-columns: minmax(0, 1fr) 34px minmax(0, .82fr); grid-template-rows: auto auto; }
  .ask-panel { grid-column: 1; grid-row: 1; }
  .flow-arrow-in { grid-column: 2; grid-row: 1; }
  .brain-panel { grid-column: 3; grid-row: 1; }
  .flow-arrow-out { display: none; }
  .result-panel { grid-column: 1 / -1; grid-row: 2; }
  .result-preview { min-height: 420px; }
}
/* Wider screens keep three columns, with enough room in the first for the
   longest question label. */
@media (min-width: 1281px) {
  .simulator { grid-template-columns: minmax(300px, 1fr) 34px minmax(230px, .62fr) 34px minmax(420px, 1.45fr); }
}
@media (min-width: 921px) {
  .select-shell select { padding-right: 38px; font-size: .95rem; }
}

/* "Open the full simulator" was 11.5px text in a 12px-tall target. */
.simulation-disclosure a { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; }

/* Tablets (701-920px) get the wide loop at its own 16:9 shape instead of a
   560px-tall box that cut the side cards off mid-word. */
@media (min-width: 701px) and (max-width: 920px) {
  .records-feature { min-height: 0; }
}

/* Phones: footer links and the contact line were 20-22px tall tap targets. */
@media (max-width: 700px) {
  .site-footer nav { gap: 0 18px; }
  .site-footer nav a, .site-footer nav [data-privacy-choices] { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-fallback a, .contact-fallback button, .free-guide-link a { display: inline-block; padding-block: 11px; margin-block: -11px; }
}

/* Small text that sat just under 4.5:1 contrast. */
.input-row b.input-off { color: #5a6e83; }
.sample-question { color: #52697f; }
.sample-masthead > span:last-child { color: #52667b; }
.directory-location { color: #5b6a7c; }

/* Release 23: rotating "Try asking" prompt, and a contact section without the photo. */
.try-prompt { display: inline-block; }
.try-prompt.is-entering { animation: fb-try-in .42s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes fb-try-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Old links (and the review build) point at #section-8; this zero-height marker
   sits directly above #contact so they land in the same place. */
.anchor-alias { height: 0; }

/* The photo is gone: the section is the pitch and the form. Side by side on
   desktop, stacked below 920px. */
.invitation-section { display: block; }
@media (min-width: 921px) {
  .invitation-section > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .invitation-section > div > * { grid-column: 1; }
  .invitation-section > div > .beta-form { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; }
}
