/* doricwealth.com — the public page. Brand tokens match the app (web/src/styles.css).
   Layout: a navy hero whose chart is the column mark growing month by month, then the
   five benefits as five columns (capital, fluted body, base), then privacy, then
   pricing with the founding-pilot offer. */
:root {
  --navy: #0F1B2D;
  --ivory: #FAF8F4;
  --stone: #E7E2D6;
  --bronze: #B78A4A;
  --bronze-text: #8A6530;
  --ink: #23262B;
  --ink-soft: #4A4F57;
  --surface: #FFFFFF;
  --hairline: rgba(15, 27, 45, 0.12);
  --hero-bg: #0F1B2D;
  --hero-fg: #FAF8F4;
  --hero-soft: #A9B2BF;
  --soon-bg: #EFECE5;
  --soon-fg: #5C6068;
  --soon-border: #9A9488;
  --pilot-bg: #0F1B2D;
  --display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --measure: 62ch;
  --page: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ivory: #0D1726; --stone: #26334A; --bronze: #CFA266; --bronze-text: #D9B47E;
    --ink: #ECE8DF; --ink-soft: #B4BCC8; --surface: #142236; --hairline: rgba(236, 232, 223, 0.14);
    --hero-bg: #08111E; --hero-fg: #F3EFE6; --hero-soft: #9AA6B6;
    --soon-bg: #1C2A40; --soon-fg: #A9B2BF; --soon-border: #4A5A72; --pilot-bg: #08111E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ivory: #0D1726; --stone: #26334A; --bronze: #CFA266; --bronze-text: #D9B47E;
  --ink: #ECE8DF; --ink-soft: #B4BCC8; --surface: #142236; --hairline: rgba(236, 232, 223, 0.14);
  --hero-bg: #08111E; --hero-fg: #F3EFE6; --hero-soft: #9AA6B6;
  --soon-bg: #1C2A40; --soon-fg: #A9B2BF; --soon-border: #4A5A72; --pilot-bg: #08111E;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
p { margin: 0; }
i { font-style: normal; }

/* Each full-width band pads its own inner wrapper. */
.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---- Top bar + hero (one navy band) ---- */
.hero { background: var(--hero-bg); color: var(--hero-fg); overflow: hidden; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: 0.04em; }
.brand svg { width: 30px; height: 30px; color: var(--bronze); }
.topnav { display: flex; align-items: center; gap: 28px; font: 600 13px/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.topnav a { text-decoration: none; color: var(--hero-soft); padding: 10px 0; }
.topnav a:hover { color: var(--hero-fg); }
.topnav .signin { color: var(--hero-fg); border: 1px solid rgba(250, 248, 244, 0.28); border-radius: 6px; padding: 12px 18px; }
.topnav .signin:hover { border-color: var(--hero-fg); }

.hero-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 64px; padding-block: 48px 80px; }
.eyebrow { font: 600 13px/1 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.hero h1 { font-size: clamp(36px, 4.8vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--bronze); }
.lede { margin-top: 24px; max-width: 46ch; font-size: 19px; color: var(--hero-soft); }
.reassure { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--hero-soft); }
.reassure svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--bronze); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 6px; font: 600 15px/1 var(--display); letter-spacing: 0.03em; text-decoration: none; }
.btn-primary { background: var(--bronze); color: #0F1B2D; }
.btn-primary:hover { background: #C99B5A; }
.btn-quiet { border: 1px solid rgba(250, 248, 244, 0.28); color: var(--hero-fg); }
.btn-quiet:hover { border-color: var(--hero-fg); }

/* The growth chart: the column mark repeated, each one taller than the last. It spans
   the full height of the text beside it: the caption lines up with the eyebrow, the
   months with the buttons. */
.growth { margin: 0; display: flex; flex-direction: column; min-height: 0; }
.growth-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; font: 600 12px/1.3 var(--display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--hero-soft); }
.growth-note { margin-top: 12px; font-size: 12.5px; color: var(--hero-soft); text-align: center; }
.growth .up { color: var(--bronze); letter-spacing: 0.04em; text-transform: none; font: 500 13px/1 var(--body); }
.colonnade { flex: 1; min-height: 260px; display: flex; align-items: flex-end; gap: clamp(6px, 1.2vw, 14px); }
/* Each column's height (% of the chart) and shade. Set here, not inline: the site's
   Content-Security-Policy blocks style attributes. */
.col:nth-child(1) { --h: 30; --o: .42; } .col:nth-child(2) { --h: 38; --o: .48; }
.col:nth-child(3) { --h: 35; --o: .55; } .col:nth-child(4) { --h: 47; --o: .61; }
.col:nth-child(5) { --h: 56; --o: .68; } .col:nth-child(6) { --h: 53; --o: .74; }
.col:nth-child(7) { --h: 66; --o: .81; } .col:nth-child(8) { --h: 77; --o: .87; }
.col:nth-child(9) { --h: 87; --o: .94; } .col:nth-child(10) { --h: 100; --o: 1; }
.col { flex: 1 1 0; height: calc(var(--h) * 1%); min-height: 40px; display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: var(--o); }
.col .cap { width: 100%; height: 9px; flex: none; border-radius: 2px; background: var(--bronze); }
.col .abacus { width: 86%; height: 5px; flex: none; border-radius: 1px; background: var(--bronze); }
.col .shaft { width: 78%; flex: 1; display: flex; gap: 3px; }
.col .shaft b { flex: 1; border-radius: 2px; background: var(--bronze); }
.stylobate { height: 2px; margin-top: 10px; background: color-mix(in srgb, var(--bronze) 45%, transparent); }
.months { display: flex; gap: clamp(6px, 1.2vw, 14px); margin-top: 10px; }
.months span { flex: 1 1 0; text-align: center; font-size: 12px; color: var(--hero-soft); }

/* ---- Sections ---- */
.section { padding-block: 88px; }
.section-head { max-width: var(--measure); }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; font-weight: 700; margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }
.eyebrow-dark { color: var(--bronze-text); }

/* ---- The five benefits, each a column: capital, abacus, fluted body, abacus, base ---- */
.pillars { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pillar { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pillar .cap { width: 100%; height: 12px; flex: none; border-radius: 3px; background: var(--bronze); }
.pillar .abacus { width: 95%; height: 6px; flex: none; border-radius: 2px; background: var(--bronze); }
.pillar-body {
  width: 90%; flex: 1; padding: 24px 15px 22px;
  display: flex; flex-direction: column; gap: 12px;
  background-color: var(--surface);
  /* Faint vertical flutes behind the text. */
  background-image: repeating-linear-gradient(90deg, transparent 0 22px, color-mix(in srgb, var(--bronze) 8%, transparent) 22px 23px);
  border-inline: 1px solid var(--hairline);
}
.pillar-top { display: flex; align-items: center; justify-content: space-between; }
.numeral { font: 700 22px/1 var(--display); color: var(--bronze); }
.pillar-top svg { width: 26px; height: 26px; fill: none; stroke: var(--bronze-text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 19px; line-height: 1.25; font-weight: 700; margin-top: 4px; }
.pillar p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.pillar ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.4; }
.pillar ul li { padding-left: 13px; position: relative; }
.pillar ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; background: var(--bronze); border-radius: 1px; }
.pillars-base { height: 10px; margin-top: 6px; border-radius: 2px; background: var(--stone); }

/* ---- The Doric philosophy: a short navy band with a classical Doric column ---- */
.philosophy { background: var(--hero-bg); color: var(--hero-fg); }
.philosophy-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.philosophy .section-head p { color: var(--hero-soft); }
.philosophy .section-head p + p { margin-top: 12px; }
.philosophy h2 { color: var(--hero-fg); }
.doric-column { width: 190px; height: auto; color: var(--bronze); margin-right: 40px; }
.doric-column .stone { fill: currentColor; }
.doric-column .step2 { fill-opacity: 0.8; }
.doric-column .step3 { fill-opacity: 0.6; }
.doric-column .flutes path { stroke: var(--hero-bg); stroke-opacity: 0.45; stroke-width: 1.4; fill: none; }

/* ---- Privacy ---- */
.privacy { background: var(--stone); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.facts { margin: 0; display: grid; gap: 0; }
.fact { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 20px; padding-block: 18px; border-top: 1px solid var(--hairline); }
.fact:last-child { border-bottom: 1px solid var(--hairline); }
.fact dt { font: 600 14px/1.4 var(--display); letter-spacing: 0.02em; }
.fact dd { margin: 0; font-size: 15.5px; color: var(--ink-soft); }
.privacy .more { margin-top: 22px; font-size: 15px; }
.privacy .more a { color: var(--bronze-text); font-weight: 600; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-top: 4px solid var(--bronze); border-radius: 6px; padding: 32px 28px; }
.plan h3 { font-size: 18px; line-height: 1.3; font-weight: 700; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; font-size: 15px; color: var(--ink-soft); }
.price span { font: 700 44px/1 var(--display); color: var(--ink); }
.plan-note { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.plan ul li { padding-left: 22px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--bronze-text); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan ul { margin-bottom: 28px; }
.plan-foot { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--soon-fg); }
.badge { position: absolute; top: -14px; right: 24px; background: var(--bronze); color: #0F1B2D; border-radius: 999px; padding: 6px 12px; font: 700 11px/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
/* Sign-ups aren't open yet: a greyed, dashed button that can't be pressed. */
.btn-soon { width: 100%; border: 1px dashed var(--soon-border); background: var(--soon-bg); color: var(--soon-fg); cursor: not-allowed; }
.plan-pilot { background: var(--pilot-bg); color: #FAF8F4; border: 1px solid color-mix(in srgb, var(--bronze) 55%, transparent); }
.plan-pilot h3 { color: #D4AF6A; }
.plan-pilot .price span { color: #FAF8F4; }
.plan-pilot .plan-note, .plan-pilot .plan-foot, .plan-pilot .plan-terms { color: #B9C1CC; }
.plan-label { margin-top: 24px; font: 600 12px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: #A9B2BF; }
.plan-pilot ul { margin-top: 12px; }
.plan-pilot ul li::before { color: #D4AF6A; }
.plan-pilot .btn { width: 100%; }
.fine-print { margin-top: 28px; font-size: 13px; color: var(--soon-fg); }
/* Subscriptions aren't open yet: one quiet note above the plans. */
.plans-notice { margin-top: 28px; display: inline-block; padding: 8px 14px; border: 1px solid var(--hairline); border-radius: 999px; font-size: 14px; color: var(--ink-soft); background: var(--surface); }
.plans-notice + .plans { margin-top: 24px; }
.save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--bronze) 18%, transparent); color: var(--bronze-text); font: 700 11px/1.5 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.plan-note strong { color: var(--ink); font-weight: 600; }
.plan-terms { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(250, 248, 244, 0.14); font-size: 12.5px; line-height: 1.5; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--hairline); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-block: 28px; font-size: 14px; color: var(--ink-soft); }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 20px; height: 20px; color: var(--bronze); }
.footer-brand span { font: 700 15px/1 var(--display); letter-spacing: 0.04em; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---- Narrow screens ---- */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:last-child { grid-column: 1 / -1; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 860px) {
  .hero-body { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 24px 64px; }
  .colonnade { flex: none; height: 240px; min-height: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .philosophy-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .doric-column { width: 120px; margin: 0 auto; }
  .topnav a:not(.signin) { display: none; }
  .section { padding-block: 64px; }
  .privacy-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fact { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar:last-child { grid-column: auto; }
  .months span:nth-child(even) { visibility: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease, border-color 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- Legal pages (terms.html, pilot-terms.html): a short navy band, then prose ---- */
.legal-band { background: var(--hero-bg); color: var(--hero-fg); }
.legal-band .wrap:last-child { padding-block: 24px 56px; }
.legal-band h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; font-weight: 700; margin-top: 16px; }
.legal-band .updated { margin-top: 12px; color: var(--hero-soft); font-size: 15px; }
.legal { max-width: 72ch; padding-block: 48px 88px; }
.legal h2 { font-size: 21px; line-height: 1.3; font-weight: 700; margin-top: 40px; }
.legal p, .legal ul { margin-top: 12px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--bronze-text); }
.draft-note { border: 1px solid var(--bronze); background: var(--surface); border-radius: 8px; padding: 14px 18px; color: var(--ink); font-size: 15px; }
