:root {
  --field: #f5f6f4;
  --paper: #ffffff;
  --ink: #111111;
  --body: #4a4a4a;
  --muted: #7a7a7a;
  --line: #e6e6e6;
  --accent: #166534;
  --accent-hover: #115029;
  --cover: #1a2e24;
  --nav-h: 60px;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --max: 1220px;
  --wide: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 8px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 48px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.brand svg { width: 18px; height: 16px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  color: #3c423e;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-login {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.nav-login:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 2px;
  font-weight: 600;
}
.btn-ink {
  background: var(--ink);
  color: white;
  font-size: 13px;
  padding: 10px 14px;
}
.btn-ink:hover { background: var(--cover); }
.btn-accent {
  background: var(--accent);
  color: white;
  font-size: 15px;
  padding: 14px 22px;
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-white {
  background: white;
  color: var(--cover);
  font-size: 15px;
  padding: 14px 22px;
}
.btn-white:hover { background: #f3f4f2; }
.link-under {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 4px;
}
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
}
.nav-panel { display: contents; }

.hero {
  background: var(--field);
  padding: 64px 48px 72px;
}
.hero-grid {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.hook {
  margin: 0 0 16px;
  max-width: 18ch;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.hook-context {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--body);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.45;
}
.stage {
  background: var(--paper);
  border: 1px solid #c2c9c3;
  min-height: 320px;
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
}
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stage-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.stage-pause {
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.stage-frame { display: none; padding: 28px 0 12px; flex: 1; }
.stage-frame.is-on { display: block; }
.stage-no { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.stage-line { margin: 0 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.stage-note { margin: 18px 0 0; color: var(--body); font-size: 14px; }
.stage-dots { display: flex; gap: 8px; }
.stage-dots button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  margin-right: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.stage-dots button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.sheet-title {
  margin: 14px 0 6px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.attest {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.sheet {
  background: var(--paper);
  border: 1px solid #c2c9c3;
  box-shadow: 0 20px 48px rgba(10, 14, 11, 0.08);
}
.sheet-bar { height: 6px; background: var(--accent); }
.sheet-body { padding: 32px 36px 28px; }
.sheet-top, .sheet-meta, .finding, .sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.sheet-top {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.specimen .sheet { max-width: 720px; }
.sheet-sub { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.sheet-meta {
  background: #fafbfa;
  border: 1px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sheet-meta span { display: block; color: var(--muted); font-size: 10px; letter-spacing: 0.12em; }
.sheet-meta strong { font-size: 13px; font-weight: 600; }
.finding {
  align-items: center;
  border-left: 4px solid var(--sev);
  background: var(--wash);
  padding: 12px 12px 12px 14px;
  margin-top: 8px;
}
.finding p { margin: 0; font-size: 14px; font-weight: 600; }
.finding small { color: var(--body); font-weight: 500; }
.chip {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sev);
  background: var(--chip);
  padding: 4px 8px;
}
.f-critique { --sev: #991b1b; --chip: #f4d0ce; --wash: #fef2f2; }
.f-majeur { --sev: #9a3412; --chip: #f3d0b8; --wash: #fff7ed; }
.sheet-foot {
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: rise 480ms ease-out; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--wide);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats div { padding: 36px 28px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong {
  display: block;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 48px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1.page-title, .section h2.display {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.support { margin: 0 0 36px; max-width: 62ch; color: var(--body); }

.phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.phase-no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.plate {
  margin: 12px 0 16px;
  background: #eceeea;
  min-height: 160px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.tiles {
  height: 168px;
  background:
    linear-gradient(180deg, transparent 46%, rgba(17, 17, 17, 0.18) 47%, transparent 48%),
    repeating-linear-gradient(90deg, #8d5a45 0 42px, #7a4b39 42px 44px, #9a6550 44px 86px);
}
.plate-label {
  position: absolute;
  left: 10px;
  top: 10px;
  background: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 6px;
}
.draft, .deliver {
  margin: 12px 0 16px;
  border: 1px solid var(--line);
  background: white;
  padding: 16px;
  min-height: 168px;
}
.draft .tag, .deliver .tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}
.draft p, .deliver p { margin: 10px 0 0; font-size: 14px; }
.draft small, .deliver small { color: var(--muted); }
.phase h3 { margin: 0 0 8px; font-size: 18px; }
.phase p { margin: 0; color: var(--body); font-size: 14px; }

.outcomes {
  background: var(--cover);
  color: white;
  padding: 72px 48px;
}
.outcomes-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.outcomes .kicker { color: rgba(255, 255, 255, 0.62); }
.outcomes h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.03em; }
.outcomes .support { color: rgba(255, 255, 255, 0.78); }
.gain { padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.gain:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.gain h3 { margin: 0 0 6px; font-size: 18px; }
.gain p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split h2 { margin-top: 0; }
.rule-list { margin: 0; padding: 0; list-style: none; }
.rule-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.rule-list strong { display: block; }

.terminal {
  background: var(--cover);
  color: white;
  padding: 64px 48px;
}
.terminal-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.terminal h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; }
.terminal p { margin: 0; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.terminal-side { text-align: right; }
.terminal-side small { display: block; margin-top: 10px; color: rgba(255, 255, 255, 0.62); }

.footer {
  padding: 28px 48px 36px;
  border-top: 1px solid var(--line);
}
.footer-row {
  max-width: var(--wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer a:hover { color: var(--accent); }
.legal-line {
  max-width: var(--wide);
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.page-hero { padding: 56px 48px 8px; background: var(--field); }
.page-hero .wrap { max-width: var(--max); }
.prose { padding: 28px 48px 72px; }
.prose .wrap { max-width: 760px; }
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--body); }
.price-panel {
  border: 1px solid var(--line);
  padding: 28px;
  background: white;
}
.price-panel strong { font-size: 42px; letter-spacing: -0.04em; display: block; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}
.page-hero .contact-grid { max-width: var(--max); margin: 0 auto; }
form.contact { display: grid; gap: 12px; }
.form-status { margin: 0 0 8px; font-size: 15px; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: #991b1b; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
label { font-size: 13px; font-weight: 600; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  background: white;
}
textarea { min-height: 140px; resize: vertical; }

@media (max-width: 980px) {
  .nav, .hero, .section, .outcomes, .terminal, .footer, .page-hero, .prose { padding-left: 20px; padding-right: 20px; }
  .hero-grid, .outcomes-grid, .split, .phases, .stats, .contact-grid { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .terminal-grid { flex-direction: column; align-items: flex-start; }
  .terminal-side { text-align: left; }
  .menu-btn { display: inline-flex; }
  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .nav.is-open .nav-panel { display: block; }
  .nav-links, .nav-actions {
    display: flex;
    position: static;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet { animation: none; }
}
