/* RivalPilot public site — speaks the product's own visual language:
   Fraunces display / Inter body / olive on warm cream (web-app tokens),
   plus a registry-document vernacular (mono, stamps, ruled tables) that
   the app itself uses for registration numbers. */

:root {
  --paper: #faf6ec;
  --card: #ffffff;
  --ink: #1d2113;
  --ink-soft: #524632;
  --ink-faint: #7d6c4e;          /* AA on paper AND white (audit 2026-08-29) */
  --line: #e4d6b8;
  --line-soft: #f2ead8;
  --olive: #5c6b30;
  --olive-bright: #76883f;
  --olive-deep: #262c13;
  --olive-wash: #f2f4e9;
  --signal: #b45309;         /* the pre-launch amber — same semantic as the app */
  --signal-wash: #fdf3e4;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Courier Prime", "American Typewriter", ui-monospace, Menlo, monospace; /* types like a document, not a terminal (retour Aicha 29/08) */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--olive); }
button { cursor: pointer; }
a, button, input, textarea { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--olive-bright); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo img, .logo svg { width: 30px; height: 30px; display: block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav .signin {
  font-size: .88rem; font-weight: 600; text-decoration: none;
  color: var(--olive-deep); border: 1px solid var(--line); border-radius: 10px;
  padding: 7px 14px; background: var(--card);
}
.nav .signin:hover { border-color: var(--olive-bright); }
.lang { display: flex; gap: 2px; font-size: .78rem; font-family: var(--font-mono); }
.lang a, .lang span { padding: 7px 9px; border-radius: 6px; text-decoration: none; color: var(--ink-faint); }
.lang span { color: var(--olive-deep); background: var(--olive-wash); font-weight: 600; }
.lang a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.eyebrow {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 18px;
}
h1 {
  font-family: var(--font-display); font-weight: 560; font-size: clamp(2.4rem, 5.1vw, 3.9rem);
  line-height: 1.06; letter-spacing: -0.022em; margin-bottom: 22px;
  font-variation-settings: "opsz" 60;
}
h1 em { font-style: italic; color: var(--olive); }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 30px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 12px; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--olive-deep); color: #f6f8ee; box-shadow: 0 1px 2px rgba(29,33,19,.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(29,33,19,.22); }
.btn-ghost { color: var(--olive-deep); border: 1px solid var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--olive-bright); }
.hero-note { margin-top: 18px; font-size: .82rem; color: var(--ink-faint); }

/* ---------- the register (signature) ---------- */
.register {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;                /* documents are square-cornered */
  box-shadow: 0 24px 60px -24px rgba(38,44,19,.35), 0 2px 6px rgba(38,44,19,.08);
  font-family: var(--font-mono);
  font-size: .85rem;
}
.register-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 14px 18px; border-bottom: 2px solid var(--ink);
}
.register-head strong { font-size: .8rem; letter-spacing: .1em; font-weight: 600; }
.register-head span { color: var(--ink-faint); font-size: .68rem; }
.register table { width: 100%; border-collapse: collapse; margin-bottom: 44px; }
.register th {
  text-align: left; font-weight: 500; font-size: .66rem; letter-spacing: .12em;
  color: var(--ink-faint); padding: 10px 18px 6px; border-bottom: 1px solid var(--line);
}
.register td { padding: 11px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.register td:first-child { white-space: nowrap; width: 1%; }
.register td:last-child { white-space: nowrap; width: 1%; text-align: right; }
.register td .co { display: block; color: var(--ink-faint); font-size: .72rem; margin-top: 2px; }
.pill {
  display: inline-block; font-size: .7rem; letter-spacing: .06em; padding: 3px 8px;
  border-radius: 999px; background: var(--olive-wash); color: var(--olive);
}
.row-signal { background: var(--signal-wash); }
.row-signal .pill { background: #f7e3c3; color: #a34a06; font-weight: 600; } /* 4.7:1 (audit) */
.stamp {
  position: absolute; right: 14px; bottom: 12px; transform: rotate(-3deg);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; font-weight: 600;
  color: var(--signal); border: 2px solid var(--signal); border-radius: 4px;
  padding: 6px 10px; background: color-mix(in srgb, var(--signal-wash) 80%, transparent);
  text-transform: uppercase;
}
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.register tbody tr.enter { animation: rowIn .5s ease both; }
@media (prefers-reduced-motion: reduce) { .register tbody tr.enter { animation: none; } }

/* ---------- sections ---------- */
section { padding: 76px 0; }
.kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 14px; }
h2 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 16px; }
.section-lead { color: var(--ink-soft); max-width: 44rem; font-size: 1.02rem; }

/* problem */
.problem { border-top: 1px solid var(--line-soft); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.surface-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.surface {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 16px 18px; display: flex; gap: 14px; align-items: baseline;
}
.surface code {
  font-family: var(--font-mono); font-size: .72rem; color: var(--signal);
  background: var(--signal-wash); border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.surface div strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.surface div span { color: var(--ink-soft); font-size: .88rem; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px 24px; }
.step .n {
  font-family: var(--font-mono); font-size: .72rem; color: var(--olive);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; display: inline-block; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.18rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-soft); }

/* numbers band */
.band { background: var(--olive-deep); color: #eef1e2; padding: 64px 0; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat .v { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.02em; }
.stat .l { font-size: .85rem; color: #b9c29a; margin-top: 4px; }
.band-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: .7rem; color: #8d9a6a; margin-top: 6px; }

/* coverage */
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.country {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline;
}
.country b { font-size: .92rem; font-weight: 600; }
.country span { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); }

/* registers-explore: clickable tiles linking to a live public register page per country */
.register-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.register-tile {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: inherit;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.register-tile:hover, .register-tile:focus-visible {
  transform: translateY(-2px); border-color: var(--olive-bright); box-shadow: 0 12px 26px -18px rgba(38,44,19,.3);
}
.register-tile .rt-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--font-body); }
.register-tile .rt-top b { font-size: .92rem; font-weight: 600; color: var(--ink); }
.register-tile .rt-top span { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); }
.register-tile .rt-auth { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 920px) { .register-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .register-tiles { grid-template-columns: 1fr; } }

/* trust */
.trust { border-top: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prov { display: flex; flex-direction: column; gap: 12px; }
.prov-row {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 13px 16px; font-size: .88rem;
}
.prov-row .tag {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--olive-wash); color: var(--olive); border-radius: 6px; padding: 4px 8px; flex-shrink: 0;
}
.prov-row span { color: var(--ink-soft); }

/* demo + contact */
.closing { padding: 90px 0 100px; }
.closing-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 56px 48px; text-align: center; box-shadow: 0 30px 70px -40px rgba(38,44,19,.35);
}
.closing-card h2 { margin-bottom: 12px; }
.closing-card p { color: var(--ink-soft); max-width: 36rem; margin: 0 auto 28px; }
.closing-card .mail { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-faint); }
.closing-card .mail a { color: var(--olive); }
button { cursor: pointer; }
a, button, input, textarea { touch-action: manipulation; }

/* footer */
footer.site {
  border-top: 1px solid var(--line-soft); padding: 30px 0 44px;
  font-size: .82rem; color: var(--ink-faint);
}
footer.site .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--ink); }
footer.site .lang { margin-left: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero .wrap, .problem-grid, .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .band .wrap { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: 1fr 1fr; }
  .stamp { right: 6px; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .nav { gap: 10px; }
  .logo { font-size: 1rem; gap: 7px; }
  .logo img, .logo svg { width: 26px; height: 26px; }
  .lang { margin-left: auto; }
  .lang a, .lang span { padding: 7px 6px; }
  .nav .signin { padding: 7px 10px; font-size: .82rem; }
  .coverage-grid, .band .wrap { grid-template-columns: 1fr 1fr; }
  .closing-card { padding: 40px 22px; }
  .register { font-size: .7rem; }
  .register td, .register th { padding-left: 12px; padding-right: 12px; }
}

/* try-it (the memorized idea: the visitor demos with their OWN company) */
.tryit { padding-top: 0; }
.tryit-card {
  background: var(--olive-wash); border: 1px solid var(--line);
  border-radius: 22px; padding: 48px 44px;
}
.tryit-form { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; max-width: 560px; }
.tryit-form input {
  flex: 1 1 280px; font: inherit; font-size: .98rem; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink);
}
.tryit-form input:focus { outline: 2px solid var(--olive-bright); outline-offset: 1px; }
.tryit-form button { border: none; cursor: pointer; font-family: var(--font-body); }
.tryit-examples { font-size: .88rem; color: var(--ink-soft); }
.tryit-examples a { font-family: var(--font-mono); font-size: .8rem; }

/* ============ liveliness pass (2026-08-29 — Klue/Crayon study) ============ */

/* announcement bar */
.announce {
  background: var(--olive-deep); color: #dde5c4; font-size: .84rem;
  padding: 9px 0; position: relative; z-index: 60;
}
.announce .wrap { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.announce b { color: #f6f8ee; font-weight: 600; }
.announce a { color: #e8a33d; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce button {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #8d9a6a; font-size: 1rem; cursor: pointer; padding: 4px 8px;
}
.announce.hidden { display: none; }

/* hero radar rings (the login page's confusion-rings motif) */
.hero { position: relative; }
.hero-rings {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 860px; height: 860px; pointer-events: none; z-index: 0;
}
.hero-rings circle { fill: none; stroke: var(--olive-bright); }
.hero .wrap { position: relative; z-index: 1; }
@keyframes ringPulse { 0% { transform: scale(.92); opacity: .5; } 100% { transform: scale(1.06); opacity: 0; } }
.hero-rings .pulse { transform-origin: center; animation: ringPulse 5s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-rings .pulse { animation: none; opacity: .2; } }

/* proof chips under the hero CTAs */
.proof-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.proof {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 999px; padding: 6px 13px;
}
.proof::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--olive-bright); }

/* authorities marquee — our "logo bar" */
.authorities { border-block: 1px solid var(--line-soft); padding: 22px 0; overflow: hidden; background: var(--card); }
.authorities .label {
  text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px;
}
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 40px; padding-right: 40px; flex-shrink: 0; align-items: center; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { flex-wrap: wrap; justify-content: center; } }
.authority { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); white-space: nowrap; }
.authority span { color: var(--ink-faint); font-size: .7rem; }

/* inside-the-platform mockup stack */
.inside-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mockstack { position: relative; min-height: 430px; font-family: var(--font-body); }
.mock {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 30px 70px -30px rgba(38,44,19,.4), 0 2px 8px rgba(38,44,19,.07);
}
.mock-main { inset: 30px 40px 30px 0; padding: 20px 22px; }
.mock-title { font-family: var(--font-display); font-weight: 580; font-size: 1.02rem; margin-bottom: 4px; }
.mock-sub { font-size: .72rem; color: var(--ink-faint); margin-bottom: 14px; }
.mock-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 4px;
  border-top: 1px solid var(--line-soft); font-size: .8rem;
}
.mock-pill { font-size: .58rem; font-weight: 700; letter-spacing: .07em; padding: 3px 8px; border-radius: 999px; }
.mock-pill.direct { background: #fbe9e7; color: #b3402a; }
.mock-pill.overlap { background: var(--olive-wash); color: var(--olive); }
.mock-row .who { flex: 1; min-width: 0; }
.mock-row .who b { display: block; font-size: .82rem; }
.mock-row .who span { color: var(--ink-faint); font-size: .72rem; font-style: italic; }
.mock-score { font-family: var(--font-mono); font-weight: 600; font-size: .85rem; }
.mock-band { font-size: .58rem; font-weight: 700; letter-spacing: .05em; padding: 3px 7px; border-radius: 6px; }
.mock-band.critical { background: #fbe9e7; color: #b3402a; }
.mock-band.high { background: #fdf3e4; color: var(--signal); }
.mock-band.medium { background: var(--olive-wash); color: var(--olive); }
.mock-signal {
  right: -14px; top: -6px; width: 250px; padding: 14px 16px;
  border-left: 3px solid var(--signal); animation: floaty 7s ease-in-out infinite;
}
.mock-signal .k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; color: var(--signal); text-transform: uppercase; margin-bottom: 6px; }
.mock-signal b { display: block; font-size: .86rem; margin-bottom: 2px; }
.mock-signal span { font-size: .74rem; color: var(--ink-soft); }
.mock-prov {
  left: -18px; bottom: 4px; width: 235px; padding: 13px 15px; animation: floaty 8s ease-in-out 1.2s infinite;
}
.mock-prov .tag { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; background: var(--olive-wash); color: var(--olive); border-radius: 6px; padding: 3px 7px; }
.mock-prov p { font-size: .76rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.45; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .mock-signal, .mock-prov { animation: none; } }


@media (max-width: 920px) {
  .inside-grid { grid-template-columns: 1fr; }
  .mockstack { min-height: 420px; margin-inline: 10px; }
  .hero-rings { display: none; }
}


/* ============ vivant pass (2026-08-29) ============ */

/* color-blocked sections: cream / white / cream rhythm, dark accents */
.problem, #coverage { background: var(--card); }
.problem { border-block: 1px solid var(--line-soft); }
#coverage { border-block: 1px solid var(--line-soft); }

/* hero headline: words rise on load */
@keyframes wordUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
h1 .w { display: inline-block; animation: wordUp .6s cubic-bezier(.2,.8,.3,1) both; }
@media (prefers-reduced-motion: reduce) { h1 .w { animation: none; } }

/* the italic phrase gets a hand-drawn amber underline */
h2 em { font-style: italic; color: var(--olive); }
h1 em, h2 em {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M4 9 C60 3 150 3 216 7' fill='none' stroke='%23e8a33d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 96%/100% 10px;
  padding-bottom: .08em;
}

/* cards come alive on hover */
.step, .country, .surface {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step:hover, .surface:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -18px rgba(38,44,19,.3); border-color: var(--line); }
.country:hover { transform: translateY(-2px); border-color: var(--olive-bright); }

/* pilot panel: the big dark form section (no popup) */
.pilot-panel {
  background: var(--olive-deep); border-radius: 26px; color: #eef1e2;
  padding: 56px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start;
  box-shadow: 0 40px 90px -40px rgba(29,33,19,.6);
}
.pilot-panel .kicker { color: #e8a33d; }
.pilot-panel h2 { color: #f6f8ee; }
.pilot-panel .pitch p { color: #b9c29a; font-size: 1rem; max-width: 30rem; }
.pilot-points { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.pilot-points li { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; color: #dde5c4; }
.pilot-points li::before { content: "→"; color: #e8a33d; font-weight: 700; }
.pilot-form { background: var(--paper); border-radius: 18px; padding: 28px 26px; color: var(--ink); }
.pilot-alt { font-size: 14px; color: var(--ink-soft, #55604a); margin: 0 0 18px; }
.pilot-alt a { color: var(--olive); }
.pilot-form form { display: flex; flex-direction: column; gap: 13px; }
.pilot-form label { font-size: .76rem; font-weight: 600; color: var(--ink-soft); display: block; margin-bottom: 4px; }
.pilot-form input, .pilot-form textarea {
  width: 100%; font: inherit; font-size: .93rem; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--card); color: var(--ink);
}
.pilot-form textarea { resize: vertical; min-height: 72px; }
.pilot-form input:focus, .pilot-form textarea:focus { outline: 2px solid var(--olive-bright); outline-offset: 1px; }
.pilot-form .btn-amber {
  border: none; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  background: #e8a33d; color: #262c13; border-radius: 12px; padding: 13px 22px; width: 100%;
  transition: transform .12s ease, box-shadow .12s ease;
}
.pilot-form .btn-amber:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(232,163,61,.7); }
.pilot-form .alt { text-align: center; font-size: .76rem; color: var(--ink-faint); margin-top: 2px; }
.pilot-form .alt a { color: var(--olive); }
button { cursor: pointer; }
a, button, input, textarea { touch-action: manipulation; }
.pilot-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.pilot-form .error { color: #b3402a; font-size: .82rem; display: none; }
.pilot-form.sending .btn-amber { opacity: .6; pointer-events: none; }
.pilot-success { text-align: center; padding: 30px 6px; display: none; }
.pilot-success .tick {
  width: 52px; height: 52px; border-radius: 999px; background: var(--olive-wash); color: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px;
}
.pilot-success h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.25rem; margin-bottom: 6px; }
.pilot-success p { color: var(--ink-soft); font-size: .9rem; }
.pilot-form.done form { display: none; }
.pilot-form.done .pilot-success { display: block; }

@media (max-width: 920px) {
  .pilot-panel { grid-template-columns: 1fr; padding: 40px 26px; gap: 32px; }
}

/* skip link (audit 2026-08-29) — first tab stop, visible only on focus */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--olive-deep); color: #f6f8ee; padding: 10px 18px;
  border-radius: 0 0 12px 0; font-weight: 600; font-size: .9rem; text-decoration: none;
}
.skip:focus { left: 0; }

/* the product-lifecycle timeline (problem section redesign, 2026-08-29) */
.pullstat { margin-top: 36px; }
.pullstat .n {
  font-family: var(--font-display); font-weight: 560; line-height: 1;
  font-size: clamp(3.2rem, 6.5vw, 5rem); letter-spacing: -0.025em; color: var(--olive-deep);
}
.pullstat .n span { color: var(--signal); }
.pullstat .l { margin-top: 10px; color: var(--ink-soft); font-size: .95rem; max-width: 24rem; }

.lifeline { position: relative; padding-left: 38px; display: flex; flex-direction: column; gap: 30px; }
.lifeline::before {
  content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--line) 60%, transparent);
}
.lifestep { position: relative; }
.lifestep::before {
  content: ""; position: absolute; left: -35px; top: 3px; width: 12px; height: 12px;
  border-radius: 999px; background: var(--card); border: 3px solid var(--olive-bright);
}
.lifestep.signal::before { border-color: var(--signal); background: var(--signal-wash); }
.lifestep .chip {
  display: inline-block; font-family: var(--font-mono); font-size: .74rem;
  background: var(--signal-wash); color: #a34a06; border-radius: 8px; padding: 4px 10px;
}
.lifestep.quiet .chip { background: var(--olive-wash); color: var(--olive); }
.lifestep h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.35rem; margin: 10px 0 4px; letter-spacing: -0.01em; }
.lifestep p { color: var(--ink-soft); font-size: .96rem; max-width: 30rem; }

/* ============ enrichment pass (2026-08-29 — 21st + ui-ux-pro-max) ============ */

/* coverage: each country carries its share of the mirror as a bar */
.country { flex-direction: column; align-items: stretch; gap: 8px; }
.country .country-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--font-body); }
.country .country-top b { font-size: .92rem; font-weight: 600; color: var(--ink); }
.country .country-top span { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-faint); }
.country .country-bar { display: block; height: 4px; border-radius: 999px; background: var(--line-soft); position: relative; overflow: hidden; }
.country .country-bar::after {
  content: ""; position: absolute; inset: 0; width: var(--share, 0%); min-width: 5px;
  border-radius: 999px; background: linear-gradient(90deg, var(--olive-bright), var(--olive));
  transition: width 1s cubic-bezier(.2,.8,.3,1) .15s;
}
.reveal:not(.in) .country-bar::after { width: 0; min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .country .country-bar::after { transition: none; }
  .reveal:not(.in) .country-bar::after { width: var(--share, 0%); min-width: 5px; }
}
.country .country-auth { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.coverage-note { margin-top: 22px; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-faint); }

/* openings: the register vernacular, read in the other direction */
.openings { background: var(--card); border-block: 1px solid var(--line-soft); }
.openings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.openings-note { margin-top: 18px; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-faint); }
.row-open { background: var(--olive-wash); }
.row-open .pill { background: var(--card); border: 1px solid var(--line); }
.stamp-open { color: var(--olive); border-color: var(--olive); background: color-mix(in srgb, var(--olive-wash) 85%, transparent); }

/* faq: a ruled ledger of plain answers — expands inline, never a popup */
.faq { background: var(--card); border-block: 1px solid var(--line-soft); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 18px 4px; font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--olive); }
.faq-list summary::after {
  content: "+"; font-family: var(--font-mono); color: var(--signal); font-weight: 600;
  font-size: 1.15rem; line-height: 1; flex-shrink: 0; transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }
.faq-list details p { padding: 0 34px 18px 4px; color: var(--ink-soft); font-size: .95rem; max-width: 36rem; }

@media (max-width: 920px) {
  .openings-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ lisibilité (retour Aicha 29/08) ============ */
/* Mono is reserved for what a register really sets in type: numbers, codes,
   statuses, labels. Sentences and product names read in Inter. */
.register td:nth-child(2) { font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: .01em; }
.register td .co { font-family: var(--font-body); font-weight: 400; font-size: .78rem; }
.pill { font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.register td:first-child { font-size: .8rem; color: var(--ink-soft); }
.mock-signal span, .mock-prov p { font-family: var(--font-body); }
.coverage-note, .openings-note { font-family: var(--font-body); font-style: italic; font-size: .82rem; }

/* ============ narrative pass (2026-08-29 — record → signal → decision) ============ */

/* hero: the interpretation layer under the raw document */
.register-wrap { position: relative; }
.sig-read {
  position: relative; z-index: 2; margin: -14px 36px 0 -14px;
  background: var(--olive-deep); color: #eef1e2; border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(29,33,19,.55);
  border-left: 3px solid #e8a33d;
}
.sig-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em;
  text-transform: uppercase; color: #e8a33d; margin-bottom: 5px;
}
.sig-read p { font-size: .88rem; line-height: 1.5; color: #dde5c4; transition: opacity .3s ease; }
.sig-read p b { color: #f6f8ee; }
.sig-read.swap p { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .sig-read p { transition: none; } }

/* proof band: five figures */
.band .wrap { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 920px) { .band .wrap { grid-template-columns: 1fr 1fr; } }

/* the pipeline: five stages, one direction */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-top: 36px; }
.stage { position: relative; border-top: 2px solid var(--line); padding-top: 18px; }
.stage .n { font-family: var(--font-mono); font-size: .72rem; color: var(--signal); font-weight: 700; }
.stage h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.12rem; margin: 8px 0 6px; }
.stage p { font-size: .86rem; color: var(--ink-soft); }
.stage::before { content: ""; position: absolute; top: -2px; left: 0; width: 34px; height: 2px; background: var(--signal); }
.stage:not(:last-child)::after {
  content: "→"; position: absolute; top: 12px; right: -24px;
  font-family: var(--font-mono); color: var(--ink-faint); font-size: .9rem;
}
@media (max-width: 920px) {
  .pipeline { grid-template-columns: 1fr; gap: 22px; }
  .stage:not(:last-child)::after { content: "↓"; top: auto; bottom: -20px; right: auto; left: 6px; }
}

/* teams: the same signals, four chairs */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.team {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.team:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(38,44,19,.3); border-color: var(--line); }
.team-tag {
  display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--olive); background: var(--olive-wash);
  border-radius: 6px; padding: 4px 9px; margin-bottom: 12px;
}
.team p { font-size: .89rem; color: var(--ink-soft); }
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }

/* trust: the posture line */
.posture { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.posture-item {
  display: flex; align-items: baseline; gap: 12px; background: var(--card);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 13px 16px; font-size: .85rem;
}
.posture-item .tag {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--olive-wash); color: var(--olive); border-radius: 6px; padding: 4px 8px; flex-shrink: 0;
}
.posture-item span:last-child { color: var(--ink-soft); }
@media (max-width: 920px) { .posture { grid-template-columns: 1fr; } }

/* small screens: long status pills in the openings ledger wrap instead of overflowing */
@media (max-width: 520px) {
  .ledger td:last-child { white-space: normal; width: auto; }
  .ledger td:last-child .pill { white-space: normal; border-radius: 10px; line-height: 1.35; }
}

/* ============ lisibilité 2 (retour Aicha 29/08 soir) ============
   Plus grand partout. Le style "majuscules espacées machine à écrire"
   disparaît de la prose et des labels ; il ne survit que DANS les
   documents-registres (en-têtes de table, tampons), où il est un décor
   de document, pas une écriture de site. */

/* labels et kickers : Inter, casse normale, plus grands */
.eyebrow, .kicker {
  font-family: var(--font-body); font-size: 1rem; font-weight: 650;
  letter-spacing: .01em; text-transform: none;
}
.eyebrow { margin-bottom: 20px; }
.authorities .label { font-family: var(--font-body); font-size: .92rem; letter-spacing: .02em; text-transform: none; color: var(--ink-soft); }
.team-tag { font-family: var(--font-body); font-size: .85rem; letter-spacing: .01em; text-transform: none; padding: 5px 11px; }
.sig-tag { font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .01em; text-transform: none; }
.prov-row .tag, .posture-item .tag { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .01em; text-transform: none; padding: 4px 10px; }
.band-note, .coverage-note, .openings-note { font-family: var(--font-body); font-style: italic; letter-spacing: 0; text-transform: none; }
.band-note { font-size: .85rem; }
.coverage-note, .openings-note { font-size: .92rem; }
.country-auth { font-size: .7rem; letter-spacing: .04em; }

/* titres et corps : un cran au-dessus */
h1 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: 18px; }
.hero p.lead { font-size: 1.2rem; }
.section-lead { font-size: 1.15rem; max-width: 46rem; }
.proof { font-size: .88rem; }
.nav-links a { font-size: .95rem; }
.stat .v { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
.stat .l { font-size: .96rem; }
.pullstat .l { font-size: 1.05rem; }
.lifestep h3 { font-size: 1.5rem; }
.lifestep p { font-size: 1.02rem; }
.lifestep .chip { font-size: .8rem; }
.stage h3 { font-size: 1.32rem; }
.stage p { font-size: .96rem; }
.stage .n { font-size: .8rem; }
.team p { font-size: .98rem; }
.country .country-top b { font-size: 1.02rem; }
.country .country-top span { font-size: .8rem; }
.prov-row { font-size: .95rem; padding: 15px 18px; }
.posture-item { font-size: .93rem; padding: 15px 18px; }
.faq-list summary { font-size: 1.15rem; padding: 20px 4px; }
.faq-list details p { font-size: 1.02rem; }
.tryit .section-lead, .inside .section-lead { font-size: 1.15rem; }
.pilot-panel .pitch p { font-size: 1.05rem; }
.pilot-points li { font-size: .98rem; }
.sig-read p { font-size: .95rem; }
.register { font-size: .9rem; }
.register td:nth-child(2) { font-size: .95rem; }
.register td .co { font-size: .84rem; }
.pill { font-size: .78rem; }
footer.site { font-size: .88rem; }

/* dans les documents : les capitales restent, l'espacement se calme */
.register-head strong { letter-spacing: .05em; font-size: .85rem; }
.register th { letter-spacing: .06em; font-size: .72rem; }

/* ============ la plateforme, pièce par pièce (pub des vraies features) ============ */
.features { background: var(--card); border-block: 1px solid var(--line-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.feature {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 28px 26px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(38,44,19,.3); border-color: var(--line); }
.feature h3 { font-family: var(--font-display); font-weight: 580; font-size: 1.34rem; line-height: 1.2; margin-bottom: 10px; }
.feature p { font-size: 1rem; color: var(--ink-soft); }
.feature-hero { background: var(--olive-deep); border-color: var(--olive-deep); }
.feature-hero h3 { color: #f6f8ee; font-size: 1.6rem; }
.feature-hero h3::after { content: " ·"; color: #e8a33d; }
.feature-hero p { color: #dde5c4; }
.feature-hero:hover { box-shadow: 0 18px 40px -16px rgba(29,33,19,.55); }
@media (max-width: 920px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.country-auth { text-transform: none; letter-spacing: .02em; font-size: .74rem; }

/* ============ typo 3 + visuels (retour Aicha 29/08 nuit) ============
   Space Grotesk remplace Courier Prime : technique, moderne, zéro
   machine à écrire. */
:root { --font-mono: "Space Grotesk", "Inter", system-ui, sans-serif; }

/* mini-visuels produit dans les cartes fonctionnalités */
.feature-viz { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.viz-chip { font-family: var(--font-mono); font-size: .8rem; font-weight: 500; padding: 6px 11px; border-radius: 9px; }
.feature-hero .viz-q { background: rgba(246,248,238,.14); color: #f6f8ee; font-weight: 600; }
.feature-hero .viz-ok { background: rgba(118,136,63,.4); color: #dbe6b8; }
.feature-hero .viz-warn { background: #e8a33d; color: #262c13; }
.score-mock { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.sc-n { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--signal); }
.sc-bar { flex: 1; min-width: 90px; height: 6px; background: var(--line-soft); border-radius: 999px; position: relative; overflow: hidden; }
.sc-bar i { position: absolute; inset: 0; width: 88%; background: linear-gradient(90deg, #e8a33d, var(--signal)); border-radius: 999px; }
.sc-f { width: 100%; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-faint); }
.alert-mock {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 13px; font-family: var(--font-mono); font-size: .84rem; color: var(--ink-soft);
  box-shadow: 0 8px 18px -10px rgba(38,44,19,.3);
}
.alert-mock .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--signal); animation: dotPulse 2.2s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .alert-mock .dot { animation: none; } }

/* toutes les cartes features en vert profond, comme Name Check (retour Aicha 30/08) */
.feature { background: var(--olive-deep); border-color: var(--olive-deep); }
.feature h3 { color: #f6f8ee; }
.feature p { color: #dde5c4; }
.feature:hover { box-shadow: 0 18px 40px -16px rgba(29,33,19,.55); border-color: var(--olive-deep); }
.feature .viz-q { background: rgba(246,248,238,.14); color: #f6f8ee; }
.feature .viz-ok { background: rgba(118,136,63,.4); color: #dbe6b8; }
.feature .viz-warn { background: #e8a33d; color: #262c13; }
.feature .sc-n { color: #e8a33d; }
.feature .sc-bar { background: rgba(246,248,238,.16); }
.feature .sc-f { color: #b9c29a; }
.feature .alert-mock {
  background: rgba(246,248,238,.1); border-color: rgba(246,248,238,.22);
  color: #dde5c4; box-shadow: none;
}
.feature .alert-mock .dot { background: #e8a33d; }
.coverage-next { margin-top: 8px; }
.coverage-next b { color: var(--olive); font-weight: 600; }
.coverage-next::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: #e8a33d; margin-right: 8px; vertical-align: baseline; }


/* ——— chantier site 12/09 ——— */

/* the band's note carries a link now; olive on olive-deep would not read */
.band-note a { color: #e8a33d; text-decoration: underline; text-underline-offset: 3px; }

/* hours saved: the tile row, the method, and the live sentence */
.hours { background: var(--olive-wash); border-block: 1px solid var(--line-soft); }
.hours-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.htile {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 20px 18px;
}
.htile[hidden] { display: none; }
.hv {
  font-family: var(--font-display); font-weight: 560; letter-spacing: -0.02em;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; color: var(--olive-deep);
}
.hl { margin-top: 6px; font-size: .88rem; color: var(--ink-soft); }
.hours-live {
  margin-top: 22px; background: var(--card); border: 1px solid var(--line);
  border-left: 3px solid var(--signal); border-radius: 12px; padding: 14px 18px;
  font-size: .98rem; color: var(--ink-soft);
}
.hours-live[hidden] { display: none; }
.hours-live b { color: var(--ink); }
.hours-sub { margin-top: 30px; font-weight: 600; color: var(--ink); }
.hours-list { list-style: none; margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hours-list li {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 14px 16px; font-size: .9rem; color: var(--ink-soft);
}
.hours-list li b { display: block; color: var(--ink); margin-bottom: 4px; }
.hours-how { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.hours-how summary { cursor: pointer; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.hours-how p { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); max-width: 46rem; }
.hours-link { margin-top: 20px; font-size: .95rem; }
@media (max-width: 920px) {
  .hours-tiles { grid-template-columns: 1fr 1fr; }
  .hours-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .hours-tiles { grid-template-columns: 1fr; } }

/* the competitor-adoption card takes two columns on the wide grid, so the
   six other cards below it still fill their rows exactly */
@media (min-width: 921px) { .feature-wide { grid-column: span 2; } }

/* how we treat the data — one line under the security posture */
.data-strip {
  margin-top: 14px; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 14px 18px; font-size: .9rem; color: var(--ink-soft);
}
