:root {
  --navy: #0f1f3a;
  --navy-2: #13274a;
  --navy-3: #2a4270;
  --gold: #b8904a;
  --gold-light: #d9b77a;
  --cream: #f3e3c3;
  --ivory: #f7f4ee;
  --paper: #ffffff;
  --ink: #1b2233;
  --muted: #5b6475;
  --line: #e4ddd0;
  --ok: #1f7a4d;
  --err: #a8322d;
  --radius: 10px;
  --shadow: 0 18px 40px -22px rgba(15, 31, 58, .35);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.sr-only, .hp { position: absolute !important; left: 0; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .9em; }
.lead { font-size: 1.15rem; color: #d7dcea; max-width: 34em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font: 600 .95rem var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 24px -12px rgba(184, 144, 74, .8); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border-color: rgba(243, 227, 195, .55); color: var(--cream); }
.btn-ghost:hover { background: rgba(243, 227, 195, .1); }
.btn-ghost-dark { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--gold); }
.btn-danger { background: transparent; color: var(--err); border-color: #e6c4c1; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(15, 31, 58, .96); box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 30px; height: 35px; flex: none; transition: transform .3s; }
.brand-word { font: 600 1.45rem/1 var(--serif); letter-spacing: .2em; margin-right: -.2em; padding-top: 2px; }
.brand:hover .brand-mark { transform: translateY(-2px); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #e7ebf5; text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.site-nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s; }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { right: 0; }
.site-nav .nav-cta { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: radial-gradient(ellipse at 20% 10%, #1c3563 0%, var(--navy) 55%, #0a1629 100%); color: #fff; overflow: hidden; padding: 120px 0 90px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: drift 18s ease-in-out infinite alternate; }
.orb-1 { width: 420px; height: 420px; background: #b8904a; top: -120px; right: -80px; opacity: .22; }
.orb-2 { width: 360px; height: 360px; background: #2f5aa8; bottom: -140px; left: -100px; animation-delay: -6s; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; color: #c5cde0; font-size: .92rem; }
.hero-points li::before { content: '◆'; color: var(--gold); font-size: .6rem; margin-right: 10px; vertical-align: middle; }
.hero-visual { position: relative; }
.growth-chart { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
.growth-chart .bars rect { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); animation: grow 1s cubic-bezier(.2,.8,.2,1) forwards; }
.growth-chart .bars rect:nth-child(2) { animation-delay: .12s; }
.growth-chart .bars rect:nth-child(3) { animation-delay: .24s; }
.growth-chart .bars rect:nth-child(4) { animation-delay: .36s; }
.growth-chart .bars rect:nth-child(5) { animation-delay: .48s; }
.growth-chart .line { stroke-dasharray: 460; stroke-dashoffset: 460; animation: draw 1.8s .6s ease forwards; }
.growth-chart .area { opacity: 0; animation: fade 1s 1.6s forwards; }
.growth-chart .dot { opacity: 0; animation: fade .4s 2.3s forwards, pulse 2.4s 2.7s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { transform: scale(1.5); } }
.float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--navy); padding: 12px 16px; border-radius: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: .8rem; line-height: 1.3; border-left: 3px solid var(--gold); animation: bob 6s ease-in-out infinite; }
.float-card strong { font: 700 1.1rem var(--serif); }
.float-card span { color: var(--muted); }
.float-card-1 { top: 16%; left: -28px; }
.float-card-2 { bottom: 10%; left: 12%; animation-delay: -2s; }
.float-card-3 { top: 38%; right: -22px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.two-col.align-start { align-items: start; }
.who p { color: var(--muted); font-size: 1.05rem; }
.signature { display: flex; align-items: center; gap: 14px; font: italic 600 1.3rem var(--serif); color: var(--navy); margin-top: 28px; }
.sig-line { width: 48px; height: 2px; background: var(--gold); }
.who-visual svg { width: min(420px, 100%); margin: auto; }
.spin { transform-origin: 200px 190px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.pillars { background: var(--paper); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pillar { display: flex; flex-direction: column; padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--ivory); transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden; }
.pillar::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar svg { width: 44px; height: 44px; color: var(--gold); margin-bottom: 20px; }
.pillar p { color: var(--muted); font-size: .95rem; flex: 1; }
.more { color: var(--navy); font-weight: 600; font-size: .9rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { background: var(--paper); padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.step-num { font: 700 3rem var(--serif); color: var(--gold); opacity: .5; display: block; line-height: 1; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

.ribbon { background: var(--navy); color: var(--cream); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--navy-3); }
.ribbon-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ribbon span { font: italic 600 1.6rem var(--serif); padding: 0 34px; white-space: nowrap; }
.ribbon span::after { content: '✦'; color: var(--gold); font-style: normal; font-size: .9rem; margin-left: 68px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.quote-section { background: var(--paper); text-align: center; padding: 90px 0; }
blockquote { margin: 0; }
blockquote p { font: italic 500 clamp(1.5rem, 3vw, 2.1rem)/1.4 var(--serif); color: var(--navy); }
cite { color: var(--gold); font-style: normal; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; font-weight: 600; }

/* ---------- Forms ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.form { padding: 36px; }
.form h3 { margin-bottom: .3em; }
.form-note, .hint { color: var(--muted); font-size: .9rem; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; color: var(--navy); }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #d8d0c1; border-radius: 6px; font: inherit; color: var(--ink); background: #fffdf9; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 144, 74, .2); }
input[type=file] { padding: 10px; background: var(--ivory); }
textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #d8d0c1; border-radius: 999px; font-size: .88rem; transition: all .2s; background: #fffdf9; }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .88rem; margin: 6px 0 22px; }
.consent input { margin-top: 4px; accent-color: var(--navy); width: 17px; height: 17px; flex: none; }
.form-status { margin: 14px 0 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { padding: 8px 0 8px 34px; position: relative; color: var(--muted); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-size: .75rem; display: grid; place-items: center; }
.check-in-frame { max-width: 860px; margin: 0 auto; }
.check-in-frame iframe { display: block; width: 100%; height: 640px; border: 0; border-radius: 22px; }
.newsletter { background: linear-gradient(180deg, var(--ivory), #efe8da); }

/* ---------- Media ---------- */
.media-section.alt { background: var(--paper); }
.media-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 20px; border: 1px dashed #d8d0c1; border-radius: var(--radius); background: rgba(255,255,255,.5); }
.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .3s, transform .3s; }
.alt .media-card { background: var(--ivory); }
.media-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.media-card h3 { font-size: 1.35rem; margin: 0; }
.media-card .meta { color: var(--muted); font-size: .82rem; letter-spacing: .03em; }
.media-card p { color: var(--muted); font-size: .93rem; margin: 0; white-space: pre-line; }
.media-card audio, .media-card video { width: 100%; border-radius: 8px; }
.media-card video { background: #000; aspect-ratio: 16 / 9; }
.media-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.upload-panel { margin: 0 0 32px; box-shadow: none; }
.upload-panel summary { padding: 18px 24px; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; align-items: center; gap: 10px; }
.upload-panel summary::before { content: '+'; font-size: 1.3rem; color: var(--gold); width: 20px; }
.upload-panel[open] summary::before { content: '−'; }
.upload-panel .form { padding: 0 24px 24px; }
.badge { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--cream); color: var(--navy); padding: 3px 8px; border-radius: 4px; }
progress { width: 100%; height: 8px; margin-bottom: 14px; accent-color: var(--gold); }

/* ---------- Resources ---------- */
.resources { background: var(--ivory); }
.resource { display: grid; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; overflow: hidden; }
.resource-media { background: #0b1511; }
.brand-banner { display: grid; place-items: center; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.brand-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 38%, rgba(255, 255, 255, .14), transparent 70%); pointer-events: none; }
.brand-banner a { position: relative; display: grid; justify-items: center; gap: 10px; padding: 24px; text-align: center; text-decoration: none; }
.brand-banner img { width: clamp(88px, 15vw, 140px); height: auto; border-radius: 22%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 22px 40px -14px rgba(0, 0, 0, .55); }
.brand-banner .bb-name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; color: #fff; margin-top: 6px; }
.brand-banner .bb-tag { font-size: clamp(.9rem, 1.6vw, 1.05rem); color: rgba(255, 255, 255, .78); max-width: 34ch; }
.brand-banner a:hover img { transform: translateY(-2px); transition: transform .2s; }
.fp-resource-media { background: linear-gradient(160deg, #0f1f3a 0%, #1d3461 55%, #2a4270 100%); }
.fp-resource-media .bb-tag { color: var(--gold-light); }
.brain-resource-media { background: linear-gradient(160deg, #04221a 0%, #0b3b2c 55%, #0f5a41 100%); }
.brain-resource-media .bb-tag { color: #a7f3d0; }
.resource-media video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #0b1511; }
.resource-body { padding: 34px 44px 38px; display: flex; flex-direction: column; gap: 16px; }
.resource-body > p { color: var(--muted); }
.resource-title { display: flex; align-items: center; gap: 16px; }
.resource-title img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.resource-title h3 { margin: 0; font-size: 1.9rem; }
.resource-tag { margin: 0; color: #08784a; font-weight: 600; font-size: .9rem; }
.resource .check-list { margin: 0; }
.resource-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.resource-link { color: var(--muted); font-size: .9rem; }
.install-help { border-top: 1px solid var(--line); padding-top: 12px; font-size: .9rem; color: var(--muted); }
.install-help summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.install-help p { margin: 8px 0 0; }

/* ---------- Adviser ---------- */
.adviser { background: linear-gradient(180deg, var(--ivory), #ece4d4); }
.adviser-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { padding: 9px 14px; border: 1px solid #d8d0c1; background: #fffdf9; border-radius: 6px; font: 500 .9rem var(--sans); cursor: pointer; transition: all .2s; }
.slot:hover:not(:disabled) { border-color: var(--gold); }
.slot[aria-pressed='true'] { background: var(--navy); color: #fff; border-color: var(--navy); }
.slot:disabled { text-decoration: line-through; opacity: .45; cursor: not-allowed; }

.chat { display: flex; flex-direction: column; height: 720px; position: sticky; top: 96px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--navy); color: #fff; }
.chat-head h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.chat-head .btn { margin-left: auto; color: #fff; border-color: rgba(255,255,255,.3); }
.chat-sub { margin: 0; font-size: .8rem; color: #b8c2d8; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font: 700 1.4rem var(--serif); flex: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #fbf9f4; }
.msg { max-width: 86%; padding: 12px 16px; border-radius: 14px; font-size: .94rem; white-space: pre-wrap; overflow-wrap: anywhere; animation: pop .25s ease; }
.msg.bot { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.error { background: #fbeeed; color: var(--err); border: 1px solid #efcfcb; }
.msg.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--gold); animation: typing 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; }
.msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.chat-suggest { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; background: #fbf9f4; }
.chat-suggest button { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 12px; font: .82rem var(--sans); color: var(--navy); cursor: pointer; }
.chat-suggest button:hover { border-color: var(--gold); }
.chat-form { display: flex; gap: 10px; padding: 14px 16px; background: #fbf9f4; border-top: 1px solid var(--line); }
.chat-form textarea { resize: none; max-height: 140px; }
.chat-disclaimer { font-size: .75rem; color: var(--muted); padding: 10px 18px 14px; margin: 0; background: #fbf9f4; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b8c2d8; padding: 70px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .contact { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; overflow-wrap: anywhere; }
.site-footer .social { display: flex; gap: 12px; }
.site-footer .social li { margin: 0; }
.site-footer .social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--navy-3); border-radius: 50%; color: var(--cream); transition: color .2s, border-color .2s, background .2s, transform .2s; }
.site-footer .social a:hover, .site-footer .social a:focus-visible { color: var(--navy); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.site-footer .social svg { width: 17px; height: 17px; fill: currentColor; }
.site-footer h4 { color: #fff; font-size: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d7dcea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.brand-light { margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--navy-3); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; }
.disclaimer { max-width: 560px; }

/* ---------- Simple pages (legal, admin) ---------- */
.page { padding: 140px 0 90px; min-height: 80vh; }
.page .site-header { background: var(--navy); }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose p, .prose li { color: #384155; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.notice { background: var(--cream); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 6px; font-size: .92rem; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; padding: 12px 16px; font: 600 .95rem var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button[aria-selected='true'] { color: var(--navy); border-color: var(--gold); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--paper); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--ivory); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.card-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.card-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }
.card-grid .reveal:nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .growth-chart .bars rect { transform: none; }
  .growth-chart .line { stroke-dashoffset: 0; }
  .growth-chart .area, .growth-chart .dot { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) and (max-width: 1180px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .86rem; }
  .site-nav .nav-cta { padding: 8px 12px; }
}
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .adviser-grid { grid-template-columns: 1fr; }
  .chat { position: static; height: 620px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 10px 16px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.6); transform: translateY(-120%); transition: transform .3s; visibility: hidden; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--navy-3); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin-top: 14px; border: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header { background: rgba(15, 31, 58, .96); }
  .page .site-nav { position: static; flex-direction: row; align-items: center; gap: 14px; background: none; padding: 0; box-shadow: none; transform: none; visibility: visible; }
  .page .site-nav a { padding: 0; border: 0; }
  .hero-inner, .two-col { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin: auto; }
  .float-card-1 { left: 0; }
  .float-card-3 { right: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}
@media (max-width: 400px) {
  .brand { gap: 9px; }
  .brand-mark { width: 26px; height: 30px; }
  .brand-word { font-size: 1.2rem; letter-spacing: .16em; margin-right: -.16em; }
}
@media (max-width: 560px) {
  .resource-body { padding: 24px 20px 28px; }
  .card-grid, .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .media-list { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero { padding-top: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Admin: secondary text in table cells */
.muted { color: #6b7280; font-size: .9em; margin-top: 2px; }

/* ---------- Advisory Assistant Plus ---------- */
.chat-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.chat-head .chat-actions .btn { margin-left: 0; }
.chat-quota { margin: 0; padding: 8px 22px 0; font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.msg.paywall { background: #fbf3e4; border: 1px solid var(--gold-light); color: var(--ink); }
.msg.paywall .btn { margin-top: 8px; }
.btn-link { background: none; border: 0; color: var(--navy); text-decoration: underline; padding: 6px 0; font-weight: 500; }
.plan-dialog { border: 0; border-radius: 14px; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: var(--shadow); color: var(--ink); }
.plan-dialog::backdrop { background: rgba(15, 31, 58, .55); }
.plan-body { padding: 26px 24px 22px; display: grid; gap: 12px; position: relative; overflow-y: auto; }
.plan-body h2 { margin: 0 34px 0 0; font-size: 1.7rem; }
.plan-body p { margin: 0; }
.plan-body .small { font-size: .92rem; }
.plan-body .tiny { font-size: .8rem; color: var(--muted); }
.plan-body .muted { color: var(--muted); }
.plan-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--navy); }
.plan-what { margin: 0; }
.plan-what li { padding-top: 4px; padding-bottom: 4px; }
.plan-status { padding: 10px 12px; border-radius: var(--radius); font-size: .9rem; }
.plan-status.ok { background: #e8f3ec; color: var(--ok); }
.plan-status.err { background: #f8e9e8; color: var(--err); }
.plan-status.busy { background: #f3efe6; color: var(--navy); }
.plan-form { display: grid; gap: 12px; }
.plan-field { display: grid; gap: 5px; font-size: .88rem; font-weight: 500; color: var(--navy); }
.plan-field input { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
.plan-body .consent { margin: 2px 0 4px; }
.paybox { border: 1px solid var(--gold-light); background: #fbf8f1; border-radius: var(--radius); padding: 6px 14px; }
.paybox .kv { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.paybox .kv:last-child { border-bottom: 0; }
.paybox .kv > span { color: var(--muted); font-size: .85rem; min-width: 120px; }
.paybox .kv .btn { margin-left: auto; }
.num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.num.big { font-size: 1.25rem; }
.plan-row { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-meter { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.plan-meter i { display: block; height: 100%; background: var(--gold); }
@media (max-width: 520px) { .chat-head { flex-wrap: wrap; } .chat-actions { width: 100%; justify-content: flex-start; } }

.resource + .resource { margin-top: 36px; }

.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.social-card { overflow: hidden; }
.social-banner { position: relative; aspect-ratio: 4 / 1; overflow: hidden; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-size: .85rem; }
.social-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.social-body { position: relative; padding: 40px 20px 20px; }
.social-pic { position: absolute; top: -32px; left: 20px; width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--paper); }
.social-body h3 { margin: 0; }
.social-actions { display: flex; gap: 8px; margin-top: 14px; }

/* ---------- Start-up Course page ---------- */
.course-page .site-header { position: sticky; }
.course-nav { display: flex; gap: 18px; align-items: center; }
.course-hero { background: var(--navy); color: #d7dcea; padding-top: 120px; }
.course-hero h1, .course-hero h2 { color: var(--ivory); }
.course-hero h1 em { color: var(--gold-light); }
.course-hero .check-list li { color: #d7dcea; }
.course-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.course-hero .btn { margin-top: 24px; }
.course-teaser video { width: 100%; border-radius: 14px; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.outline-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.outline-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.outline-card h3 { font-size: 1.35rem; }
.outline-chapters { margin: 0; padding-left: 20px; font-size: .95rem; }
.outline-chapters li { margin: 4px 0; }
.course-app { padding: 32px; }
#enrol .narrow:has(.course-app.wide) { width: min(1180px, 100% - 32px); }
.course-status { margin-bottom: 20px; }
.course-player { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.course-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; border-right: 1px solid var(--line); padding-right: 14px; }
.toc-head { font-weight: 600; color: var(--navy); margin: 14px 0 4px; font-size: .92rem; }
.toc-item { display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; }
.toc-item:hover { background: var(--ivory); color: var(--navy); }
.toc-item.current { background: var(--navy); color: var(--ivory); }
.course-video { width: 100%; border-radius: 12px; background: #000; aspect-ratio: 16 / 9; margin: 8px 0 18px; }
.takeaways { background: var(--ivory); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.takeaways h3 { font-size: 1.2rem; }
.takeaways ol { margin: 0; padding-left: 20px; }
.transcript summary { cursor: pointer; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.transcript p { font-size: .95rem; }
@media (max-width: 900px) {
  .course-hero-grid, .course-player { grid-template-columns: 1fr; }
  .course-toc { position: static; max-height: none; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .course-app { padding: 20px 16px; }
}
.featured-course { display: block; padding: 26px 28px; margin-bottom: 28px; text-decoration: none; border-left: 5px solid var(--gold); }
.featured-course p { color: var(--muted); }
.featured-course:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .brand-banner { aspect-ratio: auto; padding: 30px 0 26px; } .brand-banner img { width: 84px; } .brand-banner a { padding: 0 18px; gap: 8px; } }

/* ---------- Clarity booking card ---------- */
.clarity-steps { margin: 22px 0 26px; padding: 0; list-style: none; counter-reset: clarity; display: grid; gap: 14px; }
.clarity-steps li { counter-increment: clarity; position: relative; padding-left: 46px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.clarity-steps li::before { content: counter(clarity); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font: 700 .85rem var(--sans); display: grid; place-items: center; }
.clarity-steps strong { color: var(--navy); }
.clarity-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
@media (max-width: 520px) { .clarity-actions .btn { width: 100%; } }
