@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/cabinet-grotesk-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Cabinet Grotesk'; src: url('fonts/cabinet-grotesk-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --paper: #f7f6f1;
  --paper-2: #efede4;
  --card: #fdfdfa;
  --ink: #17251d;
  --ink-2: #44524a;
  --ink-3: #66726b;
  --line: rgba(23, 37, 29, 0.13);
  --forest: #14241b;
  --forest-2: #1d3327;
  --green: #236245;
  --green-hover: #1b4f37;
  --lime: #a6cf5f;
  --amber: #b86e12;
  --on-dark: #eef1e6;
  --on-dark-2: #b9c4b3;

  --font-display: 'Cabinet Grotesk', 'Satoshi', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  --text-hero: clamp(2.75rem, 1.5rem + 5.2vw, 5.75rem);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shadow: 0 1px 2px rgba(20, 36, 27, 0.06), 0 8px 24px -12px rgba(20, 36, 27, 0.18);
  --shadow-lg: 0 2px 4px rgba(20, 36, 27, 0.06), 0 24px 60px -24px rgba(20, 36, 27, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.015em; }
h1, h2 { font-family: var(--font-display); font-weight: 800; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--card); padding: 0.6rem 1rem; border-radius: var(--radius-sm); }
.eyebrow { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.lede { font-size: var(--text-lg); color: var(--ink-2); line-height: 1.5; max-width: 40ch; }
.muted { color: var(--ink-3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.35rem; border-radius: var(--radius-sm);
  font: 700 var(--text-sm)/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); color: #fff; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: #b8dc78; color: var(--forest); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { border-color: rgba(238, 241, 230, 0.35); color: var(--on-dark); }
.btn-ghost-dark:hover { border-color: var(--on-dark); color: #fff; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 241, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ink); text-decoration: none; font: 800 1.35rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; color: var(--green); }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.nav .btn { margin-left: 0.5rem; min-height: 42px; padding: 0.6rem 1rem; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0.85rem 0.5rem; font-size: var(--text-base); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 1rem 0 0; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: var(--on-dark); background: var(--forest); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 19, 0.88) 0%, rgba(14, 26, 19, 0.66) 42%, rgba(14, 26, 19, 0.12) 75%), linear-gradient(0deg, rgba(14, 26, 19, 0.7) 0%, rgba(14, 26, 19, 0) 45%); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(6rem, 16vh, 10rem) clamp(3rem, 8vh, 5rem); }
.hero h1 { font-size: var(--text-hero); max-width: 11ch; line-height: 0.98; letter-spacing: -0.025em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lede { color: var(--on-dark); margin-top: 1.5rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-note { margin-top: 1.75rem; font-size: var(--text-sm); color: var(--on-dark-2); display: flex; align-items: center; gap: 0.6rem; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
@media (max-width: 700px) {
  .hero { min-height: 0; }
  .hero::after { background: linear-gradient(0deg, rgba(14, 26, 19, 0.94) 0%, rgba(14, 26, 19, 0.82) 55%, rgba(14, 26, 19, 0.45) 100%); }
  .hero-media img { object-position: 30% 50%; }
}

/* Proof ledger */
.ledger { border-bottom: 1px solid var(--line); background: var(--card); }
.ledger-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ledger-item { padding: 1.75rem 1.5rem 1.9rem; border-left: 1px solid var(--line); }
.ledger-item:first-child { border-left: 0; padding-left: 0; }
.ledger-item strong { display: block; font: 800 var(--text-xl)/1 var(--font-display); color: var(--green); letter-spacing: -0.02em; }
.ledger-item span { display: block; margin-top: 0.55rem; color: var(--ink-2); font-size: var(--text-sm); max-width: 30ch; }
@media (max-width: 760px) {
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-item { border-left: 0; border-top: 1px solid var(--line); padding: 1.35rem 0; }
  .ledger-item:first-child { border-top: 0; }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { font-size: var(--text-2xl); margin-top: 0.75rem; }
.section-head p { margin-top: 1rem; color: var(--ink-2); font-size: var(--text-lg); line-height: 1.5; max-width: 38rem; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: var(--text-xl); margin-top: 0.75rem; }
.feature-copy > p { margin-top: 1rem; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.7rem; }
.checks li { position: relative; padding-left: 1.75rem; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.screen { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--card); }
.screen img { width: 100%; }
@media (max-width: 900px) {
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
}

/* Photo + phone composition */
.combo { position: relative; padding-bottom: 2.5rem; }
.combo-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.combo-photo img { width: 100%; height: 100%; object-fit: cover; }
.phone {
  position: absolute; right: 4%; bottom: 0; width: clamp(150px, 30%, 230px);
  border-radius: 28px; padding: 7px; background: #101a14; box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 22px; width: 100%; aspect-ratio: 600 / 1100; object-fit: cover; object-position: top; }
.combo.left .phone { right: auto; left: 4%; }

.split-band { background: var(--paper-2); }

/* Calculator */
.calc-section { background: var(--forest); color: var(--on-dark); }
.calc-section .eyebrow { color: var(--lime); }
.calc-section .section-head h2 { color: #fff; }
.calc-section .section-head p { color: var(--on-dark-2); }
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; align-content: start; }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); font-weight: 500; color: var(--on-dark); }
.field .hint { font-size: var(--text-xs); color: var(--on-dark-2); }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .pre, .input-wrap .post { position: absolute; color: var(--on-dark-2); font-size: var(--text-sm); pointer-events: none; }
.input-wrap .pre { left: 0.9rem; }
.input-wrap .post { right: 0.9rem; }
.field input {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: var(--forest-2); border: 1px solid rgba(238, 241, 230, 0.18); color: #fff;
  font: 500 var(--text-base)/1.2 var(--font-body); font-variant-numeric: tabular-nums;
  transition: border-color .2s;
}
.input-wrap .pre ~ input { padding-left: 1.8rem; }
.input-wrap input.has-post { padding-right: 4.5rem; }
.field input:hover { border-color: rgba(238, 241, 230, 0.38); }
.field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(166, 207, 95, 0.25); }
.calc-result { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; }
.calc-result .label { font-size: var(--text-sm); color: var(--ink-2); font-weight: 500; }
.big { font: 800 clamp(3rem, 2rem + 4vw, 4.75rem)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); margin-top: 0.4rem; }
.big small { font-size: 0.38em; font-weight: 700; color: var(--ink-3); letter-spacing: 0; margin-left: 0.15em; }
.breakdown { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: var(--text-sm); }
.breakdown li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.breakdown li.hl span:last-child { color: var(--green); }
.calc-foot { margin-top: auto; padding-top: 1.25rem; font-size: var(--text-xs); color: var(--ink-3); }
.calc-error { color: #ffcf9a; font-size: var(--text-xs); min-height: 1.2em; grid-column: 1 / -1; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .calc-inputs { grid-template-columns: 1fr; } }

/* Pricing */
.billing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); margin-top: 1.5rem; }
.billing-toggle button { min-height: 40px; padding: 0.5rem 1.1rem; border-radius: 999px; border: 0; background: transparent; font: 700 var(--text-sm)/1 var(--font-body); color: var(--ink-2); cursor: pointer; transition: background-color .2s, color .2s; }
.billing-toggle button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--green); font-weight: 700; margin-left: 0.35rem; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.featured { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.plan.featured .plan-for, .plan.featured .per, .plan.featured .billed { color: var(--on-dark-2); }
.plan.featured .checks li { color: var(--on-dark); }
.plan.featured .checks li::before { border-color: var(--lime); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.plan h3 { font: 800 1.6rem/1 var(--font-display); }
.tag { font-size: var(--text-xs); font-weight: 700; color: var(--forest); background: var(--lime); padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.plan-for { color: var(--ink-3); font-size: var(--text-sm); margin-top: 0.5rem; }
.price { margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.3rem; }
.price .amt { font: 800 3.25rem/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.per { color: var(--ink-3); font-size: var(--text-sm); }
.billed { font-size: var(--text-xs); color: var(--ink-3); margin-top: 0.4rem; min-height: 1.3em; }
.plan .checks { margin-top: 1.5rem; font-size: var(--text-sm); }
.plan .btn { margin-top: auto; width: 100%; }
.plan .checks + .btn { margin-top: 1.75rem; }
.plan-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.extra { border: 1px dashed rgba(23, 37, 29, 0.28); border-radius: var(--radius-lg); padding: 1.35rem 1.5rem; display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; }
.extra h3 { font-size: var(--text-base); }
.extra p { font-size: var(--text-sm); color: var(--ink-2); margin-top: 0.25rem; }
.extra .amt { font: 800 1.75rem/1 var(--font-display); white-space: nowrap; }
.extra .amt small { font: 500 var(--text-xs) var(--font-body); color: var(--ink-3); }
.trial-note { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: var(--text-sm); color: var(--ink-2); }
.trial-note span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trial-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan-extra { grid-template-columns: 1fr; max-width: 520px; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font-weight: 700; font-size: var(--text-base); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 1.35rem; color: var(--ink-2); max-width: 62ch; }
.faq .answer p + p { margin-top: 0.75rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Closing CTA */
.closer { background: var(--forest); color: var(--on-dark); position: relative; overflow: hidden; }
.closer-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: end; }
.closer h2 { font-size: var(--text-2xl); color: #fff; max-width: 14ch; }
.closer p { color: var(--on-dark-2); margin-top: 1.1rem; max-width: 40ch; }
.closer-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.closer-actions .small { font-size: var(--text-xs); color: var(--on-dark-2); }
@media (max-width: 860px) { .closer-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #0e1a13; color: var(--on-dark-2); padding-block: 3.5rem 2.5rem; font-size: var(--text-sm); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand svg { color: var(--lime); }
.site-footer h2 { font: 700 var(--text-xs)/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; display: inline-block; padding: 0.3rem 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { margin-top: 1rem; max-width: 34ch; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(238, 241, 230, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; font-size: var(--text-xs); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Inner pages */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--text-2xl); margin-top: 0.75rem; max-width: 18ch; }
.page-hero .lede { margin-top: 1.1rem; max-width: 44rem; }
.page-hero .meta { margin-top: 1rem; font-size: var(--text-sm); color: var(--ink-3); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6rem); }
.toc { position: sticky; top: 92px; align-self: start; font-size: var(--text-sm); }
.toc p { font-weight: 700; margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: 0.3rem; color: var(--ink-3); }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--green); text-decoration: underline; }
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-lg); letter-spacing: -0.005em; line-height: 1.3; margin: 2.5rem 0 0.75rem; scroll-margin-top: 92px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-base); margin: 1.5rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.5rem; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 700; }
.prose td { color: var(--ink-2); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0 0 1.5rem; }
.callout p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .doc { grid-template-columns: 1fr; } .toc { position: static; } }

.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.sec-item { background: var(--card); padding: 1.75rem; }
.sec-item.wide { grid-column: 1 / -1; background: var(--paper-2); }
.sec-item h2 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }
.sec-item ul { margin: 0.85rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: var(--text-sm); display: grid; gap: 0.45rem; }
.sec-item p { margin-top: 0.75rem; color: var(--ink-2); font-size: var(--text-sm); }
@media (max-width: 760px) { .sec-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.contact-card.primary { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.contact-card.primary p { color: var(--on-dark-2); }
.contact-card.primary a.mail { color: var(--lime); }
.contact-card p { color: var(--ink-2); font-size: var(--text-sm); }
.contact-card a.mail { font-weight: 700; font-size: var(--text-base); word-break: break-word; margin-top: auto; padding-top: 0.75rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.notfound h1 { font-size: var(--text-2xl); }
.notfound p { margin: 1rem auto 2rem; color: var(--ink-2); max-width: 36ch; }

.contact-card .h3-like { font: 700 var(--text-lg, 1.25rem)/1.3 var(--font-body, inherit); margin: 0 0 .5rem; letter-spacing: 0; }
