:root {
  color-scheme: light;

  --teal: #0f5c5c;
  --teal-deep: #0a4545;
  --teal-soft: #246a69;
  --gold: #c9a86a;
  --gold-deep: #a9884c;
  --ivory: #f4f1ea;

  --page: #faf8f3;
  --paper: #ffffff;
  --paper-2: #f4f1ea;
  --tint: #e7f0ee;
  --line: #dde6e3;
  --line-strong: #b9cdc8;
  --stage: #0f5c5c;
  --stage-deep: #0a4545;
  --on-stage: #f4f1ea;
  --on-stage-soft: rgba(244, 241, 234, 0.8);
  --on-stage-faint: rgba(244, 241, 234, 0.18);

  --ink: #12302f;
  --ink-soft: #4f6361;
  --ink-mute: #5f7270;
  --accent: #0f5c5c;
  --accent-ink: #0c4d4d;

  --ok: #2b7257;
  --ok-bg: #e4f1ea;
  --warn: #8a5a0b;
  --warn-bg: #f6ecd6;
  --danger: #a3432f;
  --danger-bg: #f8e9e4;

  --font-display: "Figtree Variable", "Figtree", system-ui, sans-serif;
  --font-text: "Inter Variable", "Inter", system-ui, sans-serif;

  --r-stage: 22px;
  --r-paper: 16px;
  --r-control: 10px;
  --shadow-stage: 0 20px 44px -26px rgba(10, 69, 69, 0.6);
  --shadow-float: 0 12px 32px -14px rgba(18, 48, 47, 0.35);

  --gutter: 20px;
  --tab-h: 62px;
  --rail-w: 236px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-fast: 120ms;
  --t-base: 220ms;
}

/* Corners keep the October 7 values until the public site has its own pass. */
:root {
  --radius: 14px;
  --radius-sm: 8px;
}

/* D-062: client base, stage, buttons, fields and landing components. */
@font-face { font-family: "Figtree Variable"; src: url("/fonts/Figtree-Variable-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: optional; }
@font-face { font-family: "Inter Variable"; src: url("/fonts/Inter-Variable-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: optional; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter Variable"; src: url("/fonts/Inter-Variable-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: optional; unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  background: var(--page);
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 17px;
}
p {
  margin: 0;
}
a {
  color: var(--teal);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.num {
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--ink-soft);
}
.small {
  font-size: 14px;
}
.tiny {
  font-size: 13px;
}

.stage {
  background: var(--teal);
  color: var(--ivory);
  border-radius: 22px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-stage);
  position: relative;
  overflow: hidden;
}
.stage .label {
  color: rgba(244, 241, 234, 0.78);
  font-size: 14px;
}
.stage .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 4px;
}
.stage .amount.small {
  font-size: 28px;
}
.stage .note {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(244, 241, 234, 0.85);
  max-width: 34ch;
}
.stage a {
  color: var(--ivory);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.btn.primary {
  background: var(--teal);
  color: var(--ivory);
}
.btn.primary:hover {
  background: var(--teal-deep);
}
.btn.gold {
  background: var(--gold);
  color: var(--ink);
}
.btn.gold:hover {
  background: var(--gold-deep);
}
.btn.quiet {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--teal);
}
.btn.quiet:hover {
  background: rgba(15, 92, 92, 0.06);
}
.btn.danger {
  background: transparent;
  border-color: var(--danger);
  color: var(--danger);
}
.btn.block {
  width: 100%;
}
.btn.sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn:disabled {
  opacity: 0.55;
  cursor: default;
}
.link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: inherit;
}
.on-stage .link {
  color: var(--ivory);
}

.field {
  display: block;
}
.field > label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}
.hint {
  font-weight: 400;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
}
.field > .hint {
  margin-top: 6px;
}
.input,
.select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
}
.input:focus,
.select:focus {
  border-color: var(--teal);
  outline: none;
}
.input.code {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.3em;
  text-align: center;
}
.input-money {
  position: relative;
}
.input-money .input {
  padding-left: 30px;
}
.input-money::before {
  content: "$";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-mute);
}
.landing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}
.hero {
  padding: 36px 0 28px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  max-width: 14ch;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 18px;
  max-width: 44ch;
  margin-top: 16px;
  color: var(--ink-soft);
}
.hero .actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.preview {
  margin-top: 30px;
}
.preview .stage {
  max-width: 420px;
}
.preview .caption {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 8px;
}
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.steps > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.steps .n {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1.3;
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  color: var(--ink-soft);
  margin-top: 3px;
}
.promises {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 10px;
}
.promises div {
  background: var(--ivory);
  border-radius: var(--radius);
  padding: 14px;
}
.promises h3 {
  font-size: 16px;
}
.promises p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.landing-foot {
  padding: 36px 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* Client mute/gold colours are decorative. Text and control outlines use the
   client's darker tokens to meet AA, without changing the shared token block. */
html { color-scheme: light; }
:focus-visible { outline-color: var(--teal); outline-offset: 3px; }
a { text-underline-offset: 3px; }
[hidden] { display: none !important; }
.input, .select { border-color: var(--teal-soft); min-width: 0; }
.input:focus-visible, .select:focus-visible { outline: 3px solid var(--teal); }
.btn.quiet { border-color: var(--teal-soft); }
.btn { cursor: pointer; }
.btn.gold { border-color: var(--teal-soft); }
.btn.gold:hover { background: var(--gold); text-decoration: underline; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--teal); border: 1px solid var(--teal); border-radius: var(--radius-sm); }
.skip:focus { top: 10px; }
.site-main, .site-top-in, .site-foot-in { width: 100%; max-width: 760px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.site-main { padding-bottom: 36px; }
.site-top-in { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
.site-brand { margin-right: auto; }
.logo-mark, .nb-mark { display: block; width: 30px; height: 30px; flex: none; }
.logo-name { font: 600 19px var(--font-display); }
.logo-sub { display: none; }
.site-signin { min-height: 36px; }
.site-hero { padding-top: 36px; padding-bottom: 0; }
.site-hero .site-eyebrow { margin: 0 0 12px; font-size: 13px; color: var(--teal); }
.site-hero .site-note { font-size: 13px; }
.site-lead { color: var(--ink-soft); font-size: 18px; line-height: 1.6; max-width: 44ch; }
.site-section { padding-top: 36px; }
.site-section > h2 { margin-bottom: 12px; }
.site-section > .site-lead { margin-bottom: 18px; }
.site-pagehead { padding: 24px 0 18px; }
.site-pagehead h1 { font-size: 30px; margin: 8px 0 14px; }
.site-eyebrow { color: var(--teal); font-size: 13px; }
.site-small, .site-note, .site-quiet { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.site-note { margin-top: 14px; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.site-grid, .site-faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.site-card { padding: 18px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.site-card h3 { margin-bottom: 6px; }
.site-card p, .site-card li { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.site-card p + p, .site-card p + ul, .site-card ul + p { margin-top: 8px; }
.site-card ul { padding-left: 20px; }
.site-compare { margin-top: 18px; }
.promises > article { background: var(--ivory); padding: 14px; border: 0; border-radius: var(--radius); }
.site-landing .promises { grid-template-columns: 1fr; gap: 10px; }
/* Native disclosures keep the working available without adding a script. */
.site-fold { min-width: 0; border-bottom: 1px solid var(--line); }
.site-fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 44px; padding: 10px 0; color: var(--teal); cursor: pointer;
  list-style: none; overflow-wrap: anywhere;
}
.site-fold > summary::-webkit-details-marker { display: none; }
.site-fold > summary::after {
  content: ""; width: 8px; height: 8px; flex: none; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.site-fold[open] > summary::after { transform: rotate(225deg); }
.site-fold > summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.site-fold > summary h3 { margin: 0; }
.site-fold > :not(summary) { margin-top: 12px; margin-bottom: 16px; }
.site-fold .site-compare { margin-left: 0; margin-right: 0; }
.site-faq > .site-fold > p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.site-steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps > li::before { content: counter(step); grid-row: 1 / 3; font: 600 18px var(--font-display); color: var(--teal); }
.steps h3, .steps p { grid-column: 2; }
.site-preview { margin: 0; border: 0; }
.site-preview p, .site-preview .site-small, .site-preview .site-stamp, .site-preview .site-demo-cap { color: var(--ivory); }
.site-preview .site-demo-cap { font-size: 13px; margin-bottom: 18px; }
.site-preview .site-preview-label { font-size: 14px; }
.site-preview .site-preview-amount { color: var(--ivory); font: 600 44px/1.05 var(--font-display); letter-spacing: -.02em; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.site-preview-year { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.site-year-ring { width: 112px; height: 112px; position: relative; flex: none; }
.site-year-ring svg { display: block; width: 112px; height: 112px; fill: none; stroke-width: 8; }
.site-ring-track { stroke: rgba(244,241,234,.2); }
.site-ring-progress { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 56px 56px; }
.site-ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; }
.site-ring-label strong { font: 600 28px var(--font-display); }
.site-year-title { font-weight: 600; margin-bottom: 6px; }
.site-preview .site-preview-caption { font-size: 13px; margin-top: 20px; }
.site-stamp { font-size: 13px; color: var(--ink-soft); padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.site-preview .site-stamp { border-color: rgba(244,241,234,.25); }
.paper { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px 22px; }
.site-example-work { display: grid; gap: 18px; }
.site-example-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.site-example-table caption { text-align: left; font: 600 18px var(--font-display); margin-bottom: 14px; }
.site-example-table th, .site-example-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: right; font-variant-numeric: tabular-nums; }
.site-example-table th:first-child { width: 48%; text-align: left; }
.site-example-table thead th { font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.site-example-table tbody th { font-weight: 500; }
.site-example-table th span { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 13px; font-weight: 400; }
.site-dl { margin: 12px 0; }
.site-dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.site-dl dt { font-weight: 500; }
.site-dl dd { margin: 4px 0 0; color: var(--ink-soft); line-height: 1.6; }
.site-example-totals .site-dl > div { display: flex; justify-content: space-between; gap: 16px; }
.site-example-totals dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; } /* an amount never breaks across lines */
.site-example-totals .site-dl > div:last-child { font-weight: 600; }
.site-example-totals dt { min-width: 0; overflow-wrap: anywhere; }
.site-plans { display: grid; gap: 24px; }
.site-plan { display: flex; flex-direction: column; gap: 10px; }
.site-plan > .site-btn { align-self: flex-start; }
.site-price .site-amt { font: 600 34px var(--font-display); color: var(--ink); }
.site-badge { display: inline-block; padding: 4px 10px; background: var(--ivory); border-radius: 99px; color: var(--ink-soft); font-size: 13px; }
.site-waitlist { display: flex; flex-direction: column; gap: 6px; }
.site-waitlist label { font-size: 14px; color: var(--ink-soft); }
.site-wl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.site-wl-row .input { flex: 1 1 180px; }
.site-wl-row .site-btn { flex: 0 1 auto; }
.site-wl-status { min-height: 1.2em; color: var(--danger); font-size: 14px; }
.site-wl-status.ok { color: var(--teal); }
.site-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.site-toc a { display: inline-flex; padding: 8px 12px; border: 1px solid var(--teal-soft); border-radius: 99px; color: var(--teal); text-decoration: none; font-size: 14px; }
.site-band { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.site-band p { margin-top: 8px; color: var(--ink-soft); }
.site-foot-in { border-top: 1px solid var(--line); padding-top: 36px; padding-bottom: 20px; }
.site-foot nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 32px; }
.site-foot p { font-size: 13px; color: var(--ink-soft); }
.legal { width: 100%; max-width: 640px; margin: 24px auto 40px; padding: 0 20px; }
.legal h1 { margin-bottom: 4px; font-size: 30px; }
.legal h2 { margin: 28px 0 8px; font-size: 18px; }
.legal h3 { margin-top: 16px; font-size: 16px; }
.legal p, .legal li, .legal dd { font-size: 15px; line-height: 1.6; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .card { border-bottom: 1px solid var(--line); padding: 16px 0; }
.legal .card > h2:first-child { margin-top: 0; }
.legal .meta, .card-sub, .quiet, .foot { color: var(--ink-soft); }
.legal .eyebrow { color: var(--teal); font-size: 13px; margin-bottom: 8px; }
.legal .toc { margin-top: 24px; }
.legal .kv > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal .kv dt { font-weight: 500; }
.legal .kv dd { margin: 4px 0 0; color: var(--ink-soft); }
.alert { margin: 20px 0; padding: 14px; background: var(--ivory); border-radius: var(--radius); }
.alert p + p { margin-top: 8px; }
.legal .foot { margin-top: 20px; font-size: 13px; }
.auth { max-width: 520px; margin: auto; padding: 20px; }
.auth-logo { display: flex; gap: 10px; align-items: center; padding: 18px 0; margin-bottom: 24px; }
.auth-title { font-size: 30px; margin-bottom: 12px; }
.auth .card-sub { margin: 8px 0 24px; }
.auth .btn { margin-top: 14px; }
.auth-form { display: grid; gap: 14px; margin-top: 24px; }
.form-error { color: var(--danger); margin-top: 8px; font-size: 14px; }
.hint { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 13px; }
body, main, section, article, figure { min-width: 0; }
p, li, dd, th, td, a { overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .site-landing .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .promises { grid-template-columns: 1fr; }
  .site-example-holdings { padding: 16px 10px; }
  .site-example-table { font-size: 12px; }
  .site-example-table th span { font-size: 12px; }
  .site-preview-year { gap: 12px; }
  .site-preview .site-preview-amount { font-size: 38px; }
}
@media print {
  .site-top, .site-foot, .skip, .site-actions, .site-waitlist { display: none !important; }
  main, .legal { max-width: none; padding: 0; margin: 0; }
  .paper, .stage { box-shadow: none; break-inside: avoid; }
  /* Override the native closed-content box as well as older browsers' child hiding. */
  .site-fold::details-content { display: block !important; content-visibility: visible !important; height: auto !important; }
  .site-fold > :not(summary) { display: block !important; }
  .site-fold > summary { break-after: avoid; }
}

@media (min-width: 960px) {
  .site-landing .site-main { max-width: 1100px; }
  .site-landing .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .site-landing .hero-grid > .preview { margin-top: 36px; }
}

/* Text links and compact controls keep a full touch target on the public pages. */
a[href], button, summary { min-width: 44px; min-height: 44px; }
a[href] { display: inline-flex; align-items: center; max-width: 100%; }
summary { align-content: center; }
.site-foot nav a, .site-signin, .btn.sm { min-height: 44px; }
