/* ============================================================
   COMPOUND X — Concept 2: "The Clarity Grid"
   Editorial, structured, trust-first. Luxury planning desk.
   Display: Instrument Serif · Body: DM Sans · Mark: Cinzel
   ============================================================ */

:root {
  --font-display: "Instrument Serif", serif;
  --font-body: "DM Sans", sans-serif;
  --font-mark: "Cinzel", serif;
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

[data-theme="light"] {
  --bg: #faf7f0;
  --bg-2: #f1ecdf;
  --surface: #fffdf8;
  --line: rgba(16, 28, 44, .16);
  --line-soft: rgba(16, 28, 44, .09);
  --text: #101c2c;
  --text-2: #3c4655;
  --muted: #76796b;
  --gold: #9a7b2d;
  --gold-bright: #b8943c;
  --green: #2d4a3a;
  --green-soft: #5d7a68;
  --sage: #e7ebe2;
  --nav-bg: rgba(250, 247, 240, .85);
  --shadow: 0 18px 44px -20px rgba(16, 28, 44, .18);
  --btn-text: #faf7f0;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #131419;
  --bg-2: #0e1015;
  --surface: #1b1d25;
  --line: rgba(240, 237, 228, .16);
  --line-soft: rgba(240, 237, 228, .08);
  --text: #f0ede4;
  --text-2: #c4c1b4;
  --muted: #8b8a7d;
  --gold: #d6b36a;
  --gold-bright: #e6c87f;
  --green: #8fae9a;
  --green-soft: #6f8d7b;
  --sage: #1f242120;
  --nav-bg: rgba(19, 20, 25, .85);
  --shadow: 0 18px 44px -20px rgba(0, 0, 0, .6);
  --btn-text: #131419;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .45s var(--ease), color .45s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
h1 em, h2 em, .gold-it { font-style: italic; color: var(--gold); }
h4 { font-family: var(--font-body); }
p { text-wrap: pretty; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

/* faint editorial column grid overlay */
.page-grid { position: fixed; inset: 0; pointer-events: none; z-index: 0; max-width: var(--max); margin: 0 auto; padding: 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); }
.page-grid i { border-left: 1px solid var(--line-soft); opacity: .5; }
.page-grid i:last-child { border-right: 1px solid var(--line-soft); }
main, .nav, footer { position: relative; z-index: 1; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 13px; }
.brand .cx { font-family: var(--font-mark); font-weight: 700; font-size: 20px; color: var(--gold); border: 1px solid var(--line); width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.brand .name { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand .name small { display: block; font-size: 8.5px; letter-spacing: .3em; color: var(--gold); font-weight: 600; line-height: 1.5; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--nav-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-soft); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 36px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); transition: color .25s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: border-color .25s, color .25s; }
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { width: 17px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), opacity .25s; }
.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 96px 36px 110px; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: clamp(28px, 7.5vw, 38px); padding: 14px 0; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: baseline; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.mobile-menu a small { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.menu-open .mobile-menu a { transform: none; opacity: 1; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 17px 32px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: all .3s var(--ease); will-change: transform; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: var(--btn-text); }
.btn-gold { background: var(--gold); color: var(--btn-text); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-sm { padding: 13px 22px; font-size: 11.5px; }

/* ---------- Labels ---------- */
.kicker { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.kicker.center { justify-content: center; }
.kicker.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ---------- Hero ---------- */
.hero { padding: 180px 0 100px; border-bottom: 1px solid var(--line-soft); position: relative; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(46px, 5.8vw, 78px); margin-bottom: 26px; }
.hero-sub { font-size: clamp(16px, 1.55vw, 19px); color: var(--text-2); max-width: 480px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.hero-meta div { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero-meta b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text); margin-bottom: 2px; }

/* ---------- Dashboard stack (hero right) ---------- */
.dash { position: relative; display: grid; gap: 16px; }
.dash-card { background: var(--surface); border: 1px solid var(--line); padding: 24px 26px; box-shadow: var(--shadow); transform: translateY(26px); opacity: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.dash.in .dash-card { transform: none; opacity: 1; }
.dash.in .dash-card:nth-child(2) { transition-delay: .15s; }
.dash.in .dash-card:nth-child(3) { transition-delay: .3s; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.dash-head b { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dash-head span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dash-goal { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.dash-goal span { font-size: 14px; color: var(--text-2); }
.dash-goal b { font-family: var(--font-display); font-size: 17px; font-weight: 400; }
.bar { height: 4px; background: var(--line-soft); margin-top: 7px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); width: 0; transition: width 1.4s var(--ease) .3s; }
.dash.in .bar i { width: var(--w, 60%); }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 14px; border: 1px solid var(--line); color: var(--muted); }
.pill.on { background: var(--green); border-color: var(--green); color: var(--bg); }
[data-theme="dark"] .pill.on { color: var(--btn-text); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-line { border-top: 1px solid var(--line-soft); }
.section-tint { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.sec-num { font-family: var(--font-display); font-size: 15px; color: var(--gold); border: 1px solid var(--line); width: 52px; height: 52px; display: grid; place-items: center; }
.sec-head h2 { font-size: clamp(32px, 4vw, 52px); max-width: 720px; }
.sec-sub { color: var(--text-2); font-size: 17px; max-width: 560px; margin-top: 14px; }
.center-head { text-align: center; max-width: 660px; margin: 0 auto 64px; }
.center-head h2 { font-size: clamp(32px, 4vw, 52px); }

/* ---------- Problem / editorial statement ---------- */
.statement { font-family: var(--font-display); font-size: clamp(28px, 3.8vw, 48px); line-height: 1.25; max-width: 900px; }
.statement .dim { color: var(--muted); }

/* ---------- Clarity grid (solution blocks) ---------- */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-right: none; }
.cgrid-cell { border-right: 1px solid var(--line); padding: 36px 30px 42px; position: relative; transition: background .4s; }
.cgrid-cell:hover { background: var(--surface); }
.cgrid-cell .num { font-family: var(--font-display); font-size: 14px; color: var(--gold); display: block; margin-bottom: 38px; }
.cgrid-cell h3 { font-size: 25px; margin-bottom: 12px; }
.cgrid-cell p { font-size: 14.5px; color: var(--muted); }

/* ---------- Why list ---------- */
.why-list { border-top: 1px solid var(--line); }
.why-row { display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 36px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding-left .4s var(--ease); }
.why-row:hover { padding-left: 14px; }
.why-row .num { font-family: var(--font-display); font-size: 15px; color: var(--gold); }
.why-row h3 { font-size: 28px; }
.why-row p { color: var(--text-2); font-size: 15.5px; }

/* ---------- Education blocks ---------- */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); }
.edu-card { padding: 40px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.edu-card:nth-child(2n) { border-right: none; }
.edu-card:nth-last-child(-n+2) { border-bottom: none; }
.edu-card:hover { background: var(--surface); }
.edu-card .tag { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 16px; }
.edu-card h3 { font-size: 26px; margin-bottom: 10px; }
.edu-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.tlink { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 8px; align-items: center; }
.tlink svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.edu-card:hover .tlink svg, .topic-row:hover .tlink svg { transform: translateX(5px); }

/* ---------- Chart card ---------- */
.chart-card { background: var(--surface); border: 1px solid var(--line); padding: 30px; box-shadow: var(--shadow); }
.chart-card canvas { width: 100%; height: 320px; display: block; }
.chart-legend { display: flex; gap: 24px; margin-top: 18px; font-size: 12.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; flex-wrap: wrap; }
.chart-legend i { display: inline-block; width: 18px; height: 2px; margin-right: 8px; vertical-align: middle; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat b { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; display: block; }
.stat b .accent { color: var(--green); }
.stat span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: 70px; align-items: center; }
.founder-photo { aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--bg-2); display: grid; place-items: center; position: relative; }
.founder-photo::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-soft); pointer-events: none; }
.founder-photo .ph { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.founder-photo .ph .cx-big { font-family: var(--font-mark); font-size: 58px; color: var(--gold); display: block; margin-bottom: 12px; }
.founder-quote { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; margin-bottom: 30px; }
.founder-byline b { font-size: 15px; font-weight: 700; display: block; letter-spacing: .04em; }
.founder-byline span { font-size: 13.5px; color: var(--muted); }
.cred-row { display: flex; gap: 0; margin-top: 26px; border: 1px solid var(--line); width: fit-content; flex-wrap: wrap; }
.cred-row span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 12px 20px; border-right: 1px solid var(--line); color: var(--text-2); }
.cred-row span:last-child { border-right: none; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.testi { padding: 40px 36px; border-right: 1px solid var(--line); }
.testi:last-child { border-right: none; }
.testi q { font-family: var(--font-display); font-size: 20px; line-height: 1.45; display: block; margin-bottom: 24px; quotes: "“" "”"; }
.testi span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-size: 22px; padding: 26px 44px 26px 0; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform .3s var(--ease); font-family: var(--font-body); font-weight: 300; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 0 28px; font-size: 15px; color: var(--text-2); max-width: 640px; }

/* ---------- Calculator ---------- */
.calc-layout { display: grid; grid-template-columns: 420px 1fr; gap: 30px; align-items: start; }
.calc-panel { background: var(--surface); border: 1px solid var(--line); padding: 34px; position: sticky; top: 100px; box-shadow: var(--shadow); }
.calc-panel h3 { font-size: 26px; margin-bottom: 26px; }
.ctl { margin-bottom: 28px; }
.ctl-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ctl-head label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctl-head output { font-family: var(--font-display); font-size: 19px; color: var(--gold); }
input[type="range"] { width: 100%; height: 2px; appearance: none; -webkit-appearance: none; background: linear-gradient(90deg, var(--gold) var(--fill, 50%), var(--line) var(--fill, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--gold); }
.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.switch-row label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.switch { position: relative; width: 46px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; cursor: pointer; z-index: 2; margin: 0; }
.switch i { position: absolute; inset: 0; background: var(--line); transition: background .3s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--bg); transition: transform .3s var(--ease); }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(22px); }
.result-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); margin-bottom: 26px; background: var(--surface); }
.result-card { padding: 26px 24px; border-right: 1px solid var(--line); }
.result-card:last-child { border-right: none; }
.result-card span { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.result-card b { font-family: var(--font-display); font-size: clamp(21px, 2vw, 30px); font-weight: 400; }
.result-card.highlight b { color: var(--green); }

/* ---------- Forms ---------- */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; font-family: var(--font-body); font-size: 15px; background: transparent; border: 1px solid var(--line); color: var(--text); outline: none; transition: border-color .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.radio-pills { display: flex; }
.radio-pills label { flex: 1; text-align: center; padding: 14px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; color: var(--muted); transition: all .25s; margin: 0 0 0 -1px; }
.radio-pills label:first-child { margin-left: 0; }
.radio-pills input { display: none; }
.radio-pills label:has(input:checked) { border-color: var(--green); background: var(--green); color: var(--bg); position: relative; z-index: 1; }
[data-theme="dark"] .radio-pills label:has(input:checked) { color: var(--btn-text); }

.assure { display: grid; gap: 0; border: 1px solid var(--line); }
.assure > div { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.assure > div:last-child { border-bottom: none; }
.assure svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.assure b { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.assure span { font-size: 13.5px; color: var(--muted); }

/* ---------- Learn page ---------- */
.cat-tabs { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 54px; border: 1px solid var(--line); width: fit-content; }
.cat-tab { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 14px 24px; background: transparent; border: none; border-right: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: all .25s; }
.cat-tab:last-child { border-right: none; }
.cat-tab:hover { color: var(--text); }
.cat-tab.active { background: var(--text); color: var(--bg); }
.topic-list { border-top: 1px solid var(--line); }
.topic-row { display: grid; grid-template-columns: 170px 1fr 1.1fr auto; gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding-left .35s var(--ease); }
.topic-row:hover { padding-left: 12px; }
.topic-row.hide { display: none; }
.topic-row .tag { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); }
.topic-row h3 { font-size: 24px; }
.topic-row p { font-size: 14px; color: var(--muted); }

/* ---------- Principles / about ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-right: none; }
.principle { padding: 36px 30px 44px; border-right: 1px solid var(--line); }
.principle .num { font-family: var(--font-display); font-size: 14px; color: var(--gold); display: block; margin-bottom: 30px; }
.principle b { font-family: var(--font-display); font-size: 26px; font-weight: 400; display: block; margin-bottom: 10px; }
.principle p { font-size: 14px; color: var(--muted); }
.big-quote { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.25; text-align: center; max-width: 920px; margin: 0 auto; }

/* ---------- Solutions page ---------- */
.sol-list { border-top: 1px solid var(--line); }
.sol-row { display: grid; grid-template-columns: 90px 1fr 1.3fr auto; gap: 36px; padding: 42px 0; border-bottom: 1px solid var(--line); align-items: start; }
.sol-row .num { font-family: var(--font-display); font-size: 16px; color: var(--gold); padding-top: 6px; }
.sol-row h3 { font-size: 30px; margin-bottom: 8px; }
.sol-row .who { font-size: 13.5px; color: var(--muted); }
.sol-row .why-txt { font-size: 15.5px; color: var(--text-2); padding-top: 6px; }
.sol-row .why-txt b { color: var(--green); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.sol-row .btn { align-self: center; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 120px 0; }
.cta-band h2 { font-size: clamp(36px, 5vw, 64px); max-width: 780px; margin: 0 auto 20px; }
.cta-band p { color: var(--text-2); font-size: 17px; margin-bottom: 40px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 0; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 54px; }
.footer h4 { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 14.5px; color: var(--text-2); transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer .brand { margin-bottom: 20px; }
.footer-desc { font-size: 14px; color: var(--muted); max-width: 300px; }
.footer-contact { display: grid; gap: 12px; font-size: 14.5px; color: var(--text-2); }
.footer-contact a:hover { color: var(--gold); }
.disclaimer { border-top: 1px solid var(--line-soft); padding: 28px 0 36px; }
.disclaimer p { font-size: 12px; color: var(--muted); line-height: 1.7; max-width: 980px; }
.disclaimer p + p { margin-top: 8px; }
.disclaimer b { color: var(--text-2); }

/* ---------- Page hero ---------- */
.page-hero { padding: 180px 0 80px; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-bottom: 18px; max-width: 820px; }
.page-hero p { font-size: 17.5px; color: var(--text-2); max-width: 560px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
  .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--nav-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line-soft); gap: 12px; }
.sticky-cta .btn { flex: 1; padding: 14px 10px; font-size: 11px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero-split, .split, .founder-grid { grid-template-columns: 1fr; gap: 50px; }
  .cgrid { grid-template-columns: repeat(2, 1fr); }
  .cgrid-cell:nth-child(2n) { border-right: 1px solid var(--line); }
  .cgrid-cell { border-bottom: 1px solid var(--line); }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-panel { position: static; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle { border-bottom: 1px solid var(--line); }
  .testi-grid { grid-template-columns: 1fr; }
  .testi { border-right: none; border-bottom: 1px solid var(--line); }
  .testi:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topic-row { grid-template-columns: 1fr; gap: 8px; }
  .sol-row { grid-template-columns: 1fr; gap: 18px; }
  .why-row { grid-template-columns: 50px 1fr; }
  .why-row p { grid-column: 2; }
}
@media (max-width: 768px) {
  .container, .nav-inner { padding-inline: 22px; }
  .nav-inner { height: 66px; }
  .section { padding: 78px 0; }
  .hero { padding: 150px 0 70px; }
  .hero-ctas .btn { width: 100%; }
  .cgrid { grid-template-columns: 1fr; border-right: 1px solid var(--line); }
  .cgrid-cell { border-right: none; }
  .edu-grid { grid-template-columns: 1fr; }
  .edu-card { border-right: none; }
  .edu-card:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .field-row, .result-cards { grid-template-columns: 1fr; }
  .result-card { border-right: none; border-bottom: 1px solid var(--line); }
  .result-card:last-child { border-bottom: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .page-hero { padding: 140px 0 60px; }
  .brand .name small { display: none; }
  .page-grid { display: none; }
}
@media (max-width: 480px) {
  .principle-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cred-row { flex-direction: column; }
  .cred-row span { border-right: none; border-bottom: 1px solid var(--line); }
  .cred-row span:last-child { border-bottom: none; }
}
