/* Leonard — public site. Tokens copied from the Leonard design kit (styles/globals.css). */
@font-face {
  font-family: "Inter";
  src: url("/assets/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #f3f1eb;
  --panel: #ffffff;
  --panel-2: #f6f4ef;
  --ink: rgb(17 20 23);
  --ink-2: rgb(17 20 23 / 0.62);
  --ink-3: rgb(17 20 23 / 0.48);
  --line: #e6e2da;
  --line-2: #d6d1c6;
  --action: #0b6da4;
  --action-hover: #095a88;
  --action-pressed: #084c73;
  --action-tint: #e3eff6;
  --good: #1f7a4d;
  --cream: #f4f1ea;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1080px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.009em;
  font-feature-settings: "cv11", "ss01", "tnum" 0;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--action); text-decoration: none; }
a:hover { color: var(--action-hover); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 4px; }

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

/* Top bar — 56 */
.bar { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.bar .wordmark { display: block; height: 42px; width: auto; margin-left: -12px; }
.bar nav { display: flex; gap: 24px; align-items: center; }
.bar nav a:not(.btn) { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.bar nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px; border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; font-weight: 500; letter-spacing: -0.006em;
  background: var(--action); color: #fff; border: 0; cursor: pointer;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--action-hover); color: #fff; text-decoration: none; }
.btn:active { background: var(--action-pressed); transform: scale(0.98); }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn.quiet { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.quiet:hover { background: var(--panel-2); color: var(--ink); }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 64px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: -0.003em; margin: 0 0 16px; }
h1 {
  font-size: 48px; line-height: 1.05; letter-spacing: -0.022em; font-weight: 600;
  margin: 0; max-width: 820px;
}
.lede { font-size: 20px; line-height: 1.35; letter-spacing: -0.017em; color: var(--ink-2); max-width: 640px; margin: 20px 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The net card — the one figure on the page */
.net {
  margin-top: 48px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 16px; align-items: end;
}
.net .label { font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.net .fig { font-size: 24px; line-height: 1.2; letter-spacing: -0.019em; font-weight: 600; font-variant-numeric: tabular-nums; }
.net .fig.hero-fig { font-size: 32px; letter-spacing: -0.022em; }
.net .fig .cents { font-size: 0.6em; color: var(--ink-3); vertical-align: 0.5em; margin-left: 1px; font-weight: 500; }
.net .verdict {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  background: var(--action); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.net .note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; }

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 600; margin: 0 0 12px; }
.sub { font-size: 17px; line-height: 1.35; letter-spacing: -0.013em; color: var(--ink-2); max-width: 640px; margin: 0 0 32px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.013em; font-weight: 600; margin: 12px 0 8px; }
.card p { margin: 0; color: var(--ink-2); }
.icon { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--action-tint); display: grid; place-items: center; }
.icon svg { width: 18px; height: 18px; stroke: var(--action); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border-top: 2px solid var(--ink); padding-top: 16px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 17px; line-height: 1.35; font-weight: 600; margin: 8px 0 6px; letter-spacing: -0.013em; }
.step p { margin: 0; color: var(--ink-2); font-size: 14px; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.terms > div { padding: 20px; }
.terms > div + div { border-left: 1px solid var(--line); }
.terms .big { font-size: 48px; line-height: 1.05; letter-spacing: -0.022em; font-weight: 600; font-variant-numeric: tabular-nums; }
.terms .big small { font-size: 20px; color: var(--ink-3); font-weight: 500; margin-left: 4px; letter-spacing: -0.017em; }
.terms p { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 12px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; }
.fit li:first-child { border-top: 0; }
.fit li svg { flex: none; width: 18px; height: 18px; margin-top: 1px; stroke: var(--good); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cta { background: var(--action); color: var(--cream); border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: var(--cream); margin: 0 0 8px; }
.cta p { margin: 0; color: rgb(244 241 234 / 0.8); font-size: 17px; letter-spacing: -0.013em; max-width: 520px; }
.cta .btn { background: var(--cream); color: var(--action); }
.cta .btn:hover { background: #fff; color: var(--action-hover); }

footer { padding: 32px 0 48px; color: var(--ink-3); font-size: 13px; }
footer .row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
footer a { color: var(--ink-2); }
footer .links { display: flex; gap: 20px; }
footer .disclaim { margin-top: 12px; max-width: 720px; }

/* Legal documents */
.doc { max-width: 720px; margin: 32px auto 64px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 32px 32px; }
.doc h1 { font-size: 32px; line-height: 1.2; letter-spacing: -0.022em; }
.doc .updated { color: var(--ink-3); font-size: 13px; margin: 8px 0 24px; }
.doc h2 { font-size: 17px; line-height: 1.35; letter-spacing: -0.013em; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); font-weight: 600; }

/* Arrival — one quiet rise, off for reduced motion */
.rise { opacity: 0; transform: translateY(8px); animation: rise 520ms var(--ease) forwards; }
.rise.d1 { animation-delay: 60ms; } .rise.d2 { animation-delay: 120ms; } .rise.d3 { animation-delay: 200ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .grid3, .terms, .fit { grid-template-columns: 1fr; }
  .terms > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .net { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .bar nav a:not(.btn) { display: none; }
  .hero { padding-top: 48px; padding-bottom: 40px; }
  h1 { font-size: 32px; line-height: 1.2; }
  .lede { font-size: 17px; }
  h2 { font-size: 24px; }
  section { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; }
  .cta { padding: 32px 24px; }
  .doc { padding: 20px; margin: 16px 16px 48px; }
  .terms .big { font-size: 32px; }
}
