/* =============================================================
   ONVEX — Studio digital · Lyon · Annemasse
   Stylesheet (theme: klein · typo: brutaliste · grain · uppercase)
   ============================================================= */

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Universal anchor offset — compensates for the floating pill header
   on hash navigation (#methode, #clients, #tarifs, #faq, #contact). */
* { scroll-margin-top: 100px; }
img, svg, picture, video { display: block; max-width: 100%; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; }

/* ── Design tokens (theme-klein + typo-brutaliste) ───────── */
:root {
  /* Color */
  --bg:        #ffffff;
  --bg-2:      #f1f3fa;
  --fg:        #0a1126;
  --fg-2:      rgba(10, 17, 38, 0.62);
  --fg-3:      rgba(10, 17, 38, 0.40);
  --line:      rgba(10, 17, 38, 0.12);
  --line-soft: rgba(10, 17, 38, 0.06);
  --card:      #f4f6fc;
  --card-2:    #1c40ff;
  --card-2-fg: #ffffff;
  --accent:    #1c40ff;
  --accent-fg: #ffffff;

  /* Type */
  --font-display: 'Space Grotesk', 'Helvetica Neue', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'Courier New', monospace;
  --tracking-display: -0.04em;
  --tracking-body:    -0.005em;
  --tracking-label:   0.08em;
  --weight-display:   700;
  --case-display:     uppercase;

  /* Shape */
  --r-sm:   6px;
  --r:      14px;
  --r-lg:   22px;
  --r-pill: 999px;

  /* Spacing */
  --pad-section: 140px;
  --pad-x:       clamp(20px, 4vw, 64px);
  --gap:         28px;
  --maxw:        1400px;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-fg); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  text-transform: var(--case-display);
  line-height: 1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ── Utility / shared atoms ────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* ── Grain overlay ─────────────────────────────────────────── */
.grain::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: .10;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC45IiBudW1PY3RhdmVzPSIyIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPSIwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAuOSAwIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoJTIzbikiLz48L3N2Zz4=");
  background-size: 200px;
}

/* ── Header (pill nav) ─────────────────────────────────────── */
.hdr {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1280px;
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: .5px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--bg) 50%, transparent) inset,
    0 12px 32px rgba(10, 17, 38, .06);
}
.hdr-logo {
  display: inline-flex;
  align-items: center;
  height: 28px;
}
.hdr-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.hdr-nav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hdr-nav a {
  color: var(--fg-2);
  transition: color .15s;
}
.hdr-nav a:hover { color: var(--fg); }

.hdr-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  border: .5px solid var(--line);
  align-items: center;
  justify-content: center;
}
.hdr-burger span {
  position: relative;
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--fg);
}
.hdr-burger span::before,
.hdr-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  transition: transform .25s;
}
.hdr-burger span::before { top: -6px; }
.hdr-burger span::after  { top:  6px; }
.hdr-burger[aria-expanded="true"] span { background: transparent; }
.hdr-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.hdr-mobile {
  display: none;
  position: fixed;
  inset: 80px 16px auto 16px;
  background: var(--bg);
  border: .5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: 0 24px 60px rgba(10, 17, 38, .12);
  z-index: 99;
}
.hdr-mobile.open { display: block; }
.hdr-mobile nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.hdr-mobile nav a {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
}
.hdr-mobile nav a:hover { background: var(--bg-2); }
.hdr-mobile .btn { width: 100%; justify-content: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  border: .5px solid transparent;
  transition: transform .2s cubic-bezier(.3, .7, .4, 1), box-shadow .2s, background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
  text-transform: none;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-primary .arr { transition: transform .25s cubic-bezier(.3, .7, .4, 1); }
.btn-primary:hover .arr { transform: translate(3px, -3px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--card); border-color: var(--fg-3); }

.btn-sm { padding: 9px 14px; font-size: 12.5px; }
.btn-lg { padding: 18px 26px; font-size: 15px; }
.btn-xl { padding: 22px 32px; font-size: 16px; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 140px var(--pad-x) 80px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}
.hero-meta .col-r { text-align: right; }
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta div span:first-child { color: var(--fg); }

.hero-body {
  max-width: var(--maxw);
  margin: 32px auto 0;
  width: 100%;
}
.hero-title {
  font-size: clamp(40px, 6.8vw, 112px);
  letter-spacing: var(--tracking-display);
  line-height: 0.95;
  text-wrap: balance;
  margin-bottom: 0.4em;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: inline-block;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 48px;
}
.hero-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 56ch;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.hero-args {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-2);
}
.hero-args span { display: inline-flex; align-items: center; gap: 8px; }
.hero-args span::before { content: "+"; color: var(--accent); font-weight: 700; }

/* ── Logos clients ─────────────────────────────────────────── */
.logos {
  padding: 60px var(--pad-x);
  border-top: .5px solid var(--line);
  border-bottom: .5px solid var(--line);
}
.logos-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
}
.logos-grid > div {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--fg);
  opacity: .85;
  padding: 12px 0;
  text-align: center;
  border-right: .5px solid var(--line-soft);
  transition: opacity .2s;
}
.logos-grid > div:last-child  { border-right: 0; }
.logos-grid > div:hover       { opacity: 1; }
.logos-grid > div:nth-child(2){ font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.logos-grid > div:nth-child(3){ font-weight: 800; font-style: italic; }
.logos-grid > div:nth-child(4){ font-family: var(--font-mono); }
.logos-grid > div:nth-child(5){ font-weight: 500; letter-spacing: -0.04em; }
.logos-grid > div:nth-child(6){ font-style: italic; font-weight: 300; }

/* ── Section frame ─────────────────────────────────────────── */
.sec { padding: var(--pad-section) var(--pad-x); position: relative; }
.sec-inner { max-width: var(--maxw); margin: 0 auto; }

/* Full-bleed variant: no horizontal padding, direct children stretch edge-to-edge.
   Use .wrap inside to keep eyebrows / labels constrained to maxw with normal pad-x. */
.sec--bleed {
  padding-left: 0;
  padding-right: 0;
}
.sec.sec--bleed > * { border-radius: 0; }
.sec-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.sec-title {
  font-size: clamp(32px, 5.2vw, 84px);
  letter-spacing: var(--tracking-display);
  line-height: 0.96;
  max-width: 18ch;
}
.sec-title em { font-style: normal; color: var(--accent); }

/* ── Problem cards ─────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.pcard {
  background: var(--card);
  border: .5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.3, .7, .4, 1), box-shadow .3s;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(10, 17, 38, .08);
}
.pcard-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  color: var(--fg-3);
  text-transform: uppercase;
}
.pcard-vis {
  height: 180px;
  border-radius: var(--r);
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: .5px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-vis-1 {
  background: var(--card-2);
  color: var(--card-2-fg);
}
.pcard-vis-1 .big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 130px;
  letter-spacing: -0.05em;
  line-height: 1;
}
.pcard-vis-1 .big i { font-style: normal; color: #ffd23d; }
.pcard-vis-1::after {
  content: "BOUNCE";
  position: absolute;
  bottom: 14px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: color-mix(in srgb, var(--card-2-fg) 50%, transparent);
}

.pcard-vis-2 {
  background: var(--bg);
  border-color: var(--line);
}
.pcard-vis-2 .orb {
  width: 140px; height: 140px;
  border-radius: 999px;
  background: var(--card-2);
  position: relative;
}
.pcard-vis-2 .orb::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  border: .5px dashed var(--card-2-fg);
  opacity: .35;
}
.pcard-vis-2 .orb::after {
  content: "404";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  color: #ffd23d;
  letter-spacing: -0.02em;
}
.pcard-vis-2 .pin {
  position: absolute;
  top: 16px; right: 18px;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}

.pcard-vis-3 {
  background: var(--card-2);
  color: var(--card-2-fg);
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.pcard-vis-3 .row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 36px;
}
.pcard-vis-3 .row span:last-child {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: color-mix(in srgb, var(--card-2-fg) 55%, transparent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pcard-vis-3 .row.x { color: #ffd23d; }
.pcard-vis-3 .row.x span:last-child { color: #ffd23d; }

.pcard h3 {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.05;
}
.pcard-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
.pcard-cons {
  margin-top: auto;
  padding-top: 20px;
  border-top: .5px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pcard-cons-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}
.pcard-cons-text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg);
}

/* ── Stats ─────────────────────────────────────────────────── */
.stats {
  padding: 60px var(--pad-x);
  border-top: .5px solid var(--line);
  border-bottom: .5px solid var(--line);
}
.stats-eyebrow { margin-bottom: 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 60px 32px;
  border-right: .5px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(64px, 8vw, 124px);
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--fg);
}
.stat:nth-child(2) .stat-num,
.stat:nth-child(4) .stat-num { color: var(--accent); }
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
  max-width: 22ch;
}

/* ── Testimonial ───────────────────────────────────────────── */
.testimonial-card {
  background: var(--card-2);
  color: var(--card-2-fg);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 90px);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin: 0 auto 50px;
  position: relative;
  text-wrap: balance;
  text-transform: none;
}
.testimonial-quote mark {
  background: #ffd23d;
  color: #0a1126;
  padding: 0 .15em;
  border-radius: 4px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-2-fg) 65%, transparent);
}
.testimonial-meta strong {
  color: var(--card-2-fg);
  font-weight: 500;
}
.testimonial-meta i {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #ffd23d;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #0a1126;
  align-items: center;
  justify-content: center;
}

/* ── Founder memo ──────────────────────────────────────────── */
.memo-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.memo-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.memo-stamp {
  width: 110px; height: 110px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
  transform: rotate(-8deg);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 50%, transparent);
}
.memo-side h2 {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.98;
}
.memo-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg);
  max-width: 62ch;
}
.memo-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: 5em;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--accent);
}
.memo-body strong { font-weight: 600; color: var(--fg); }
.memo-body em { font-style: normal; color: var(--accent); }
.memo-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.memo-body li {
  padding-left: 22px;
  position: relative;
}
.memo-body li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}
.memo-sig {
  margin-top: 16px;
  padding-top: 20px;
  border-top: .5px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.memo-sig strong { color: var(--fg); font-weight: 500; }

/* ── Method ────────────────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.step-vis {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--card);
  border: .5px solid var(--line);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.step:hover .step-vis {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(10, 17, 38, .08);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent);
}
.step h3 {
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.1;
}
.step p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 38ch;
}

/* mini visuals */
.mock-call {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
}
.mock-call .ln { display: flex; gap: 8px; align-items: baseline; }
.mock-call .ln::before { content: "\2014"; color: var(--accent); }
.mock-call .ln.q::before { content: "?"; color: var(--fg-3); }
.mock-call .stamp {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  border-top: .5px dashed var(--line);
  padding-top: 10px;
}

.mock-design {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  height: 100%;
}
.mock-design > div {
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border: .5px solid var(--line-soft);
}
.mock-design .a { background: var(--card-2); position: relative; }
.mock-design .a::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 30%; height: 6px;
  border-radius: 3px;
  background: var(--accent-fg);
}
.mock-design .a::after {
  content: "";
  position: absolute;
  bottom: 14px; left: 14px; right: 30%;
  height: 4px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--card-2-fg) 25%, transparent);
}
.mock-design .b {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  background: transparent;
  border: 0;
}
.mock-design .b > i {
  display: block;
  background: var(--bg-2);
  border-radius: var(--r-sm);
  border: .5px solid var(--line-soft);
}
.mock-design .b > i:first-child { background: var(--accent); }

.mock-launch {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-launch .url {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-2);
  border: .5px solid var(--line-soft);
}
.mock-launch .url i {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #2ec27e;
  box-shadow: 0 0 0 4px color-mix(in srgb, #2ec27e 25%, transparent);
  font-style: normal;
}
.mock-launch .body {
  flex: 1;
  background: var(--card-2);
  color: var(--card-2-fg);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.mock-launch .body::before {
  content: "ONLINE";
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: #ffd23d;
}
.mock-launch .body h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.mock-launch .body span {
  height: 4px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--card-2-fg) 22%, transparent);
}
.mock-launch .body span:nth-child(3) { width: 80%; }
.mock-launch .body span:nth-child(4) { width: 60%; }

/* ── Pricing / Tarifs ──────────────────────────────────────── */
.pricing .sec-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 64px;
}
.pricing .sec-title { max-width: 22ch; }
.pricing-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 56ch;
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: transform .3s cubic-bezier(.3, .7, .4, 1), box-shadow .3s;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(10, 17, 38, .08);
}

.plan--featured {
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  padding: 56px 36px;
  transform: translateY(-12px);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--accent) 32%, transparent);
}
.plan--featured:hover {
  transform: translateY(-18px);
  box-shadow: 0 32px 80px color-mix(in srgb, var(--accent) 40%, transparent);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(10, 17, 38, .14);
}

.plan-head { display: flex; flex-direction: column; gap: 8px; }
.plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.plan-tagline {
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-2);
  margin: 0;
}
.plan--featured .plan-tagline {
  color: color-mix(in srgb, var(--accent-fg) 78%, transparent);
}

.plan-setup {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.plan-setup strong {
  font-weight: 600;
  color: var(--fg);
  font-size: 13px;
}
.plan--featured .plan-setup {
  color: color-mix(in srgb, var(--accent-fg) 65%, transparent);
}
.plan--featured .plan-setup strong { color: var(--accent-fg); }

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.plan-price {
  font-family: 'Montserrat', 'Space Grotesk', 'Helvetica Neue', sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 6vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.plan--featured .plan-price { color: var(--accent-fg); }
.plan-suffix {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.plan--featured .plan-suffix {
  color: color-mix(in srgb, var(--accent-fg) 75%, transparent);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  margin: 4px 0;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}
.plan-features .plan-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.plan-features .plan-check svg {
  width: 10px;
  height: 10px;
  display: block;
}
.plan-features .plan-check svg path { stroke: var(--accent-fg); }
.plan--featured .plan-check {
  background: var(--accent-fg);
}
.plan--featured .plan-check svg path { stroke: var(--accent); }

.plan .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.plan:not(.plan--featured) .btn {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.plan:not(.plan--featured) .btn:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.plan--featured .btn {
  background: var(--accent-fg);
  color: var(--accent);
  border-color: var(--accent-fg);
}
.plan--featured .btn:hover {
  background: transparent;
  color: var(--accent-fg);
  border-color: var(--accent-fg);
}

.pricing-mention {
  text-align: center;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan--featured {
    transform: none;
    padding: 40px 32px;
  }
  .plan--featured:hover { transform: translateY(-6px); }
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.faq-side h2 {
  font-size: clamp(36px, 4.5vw, 72px);
  line-height: 0.98;
  margin-top: 18px;
}
.faq-side h2 em { font-style: normal; color: var(--accent); }
.faq-intro {
  font-size: 15px;
  color: var(--fg-2);
  max-width: 32ch;
  margin-top: 24px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: .5px solid var(--line); }
.faq-item:last-child { border-bottom: .5px solid var(--line); }
.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  color: var(--fg);
  text-transform: var(--case-display);
  transition: color .15s;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-q .ic {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: .5px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  transition: transform .25s cubic-bezier(.3, .7, .4, 1), background .2s, color .2s, border-color .2s;
}
.faq-item[open] .faq-q .ic {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.faq-a {
  padding: 0 60px 28px 4px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 60ch;
}

/* ── Contact section + form ────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
  align-items: start;
}

.contact-left { display: flex; flex-direction: column; gap: 24px; }
.contact-left .eyebrow { margin-bottom: 4px; }
.contact-left .sec-title {
  font-size: clamp(40px, 5.2vw, 80px);
  max-width: 14ch;
  line-height: 0.98;
  margin: 0;
}
.contact-intro {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 48ch;
  margin: 0;
}
.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
}
.contact-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  list-style: none;
}
.contact-perks li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.contact-right {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field { display: flex; flex-direction: column; }
.form-field > label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--fg);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--fg-3);
  opacity: 1;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-field input:user-invalid {
  border-color: #c11717;
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-2);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-check a:hover { opacity: .7; }

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.form-fieldset legend {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
  padding: 0;
}

.form-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  user-select: none;
}
.form-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px; height: 1px;
}
.form-pill:hover { border-color: var(--fg-3); }
.form-pill:has(input:checked) {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.form-pill:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.form-submit .arr { transition: transform .25s cubic-bezier(.3,.7,.4,1); }
.form-submit:hover .arr { transform: translate(3px, -3px); }

/* Honeypot — visually hidden, kept out of tab order */
.hp {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Error banner above the form */
.form-error {
  position: relative;
  background: #fff0f0;
  border: 1px solid #c11717;
  color: #8a1010;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
  /* Extra clearance for the floating pill header on smooth-scroll */
  scroll-margin-top: 120px;
}
.form-error[hidden] { display: none; }

/* Small grey legend at the top of the form (≪ champs marqués d'un * sont obligatoires ≫) */
.form-legend {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-3);
  margin: 0 0 4px;
}

/* Red asterisk marking required fields */
.required-mark {
  color: #c11717;
  font-weight: 700;
  margin-left: 4px;
}

/* Per-field error state on input/textarea */
.form-field input.has-error,
.form-field textarea.has-error {
  border-color: #c11717;
  background-color: #fef2f2;
}
.form-field input.has-error:focus,
.form-field textarea.has-error:focus {
  border-color: #c11717;
  box-shadow: 0 0 0 3px rgba(193, 23, 23, .18);
}

/* Per-field error message below the input */
.field-error {
  display: block;
  color: #c11717;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
  line-height: 1.4;
}

/* Fieldset error (radio groups) — tints the legend */
.form-fieldset.has-error-fieldset > legend {
  color: #c11717;
}

/* Consent checkbox error — emphasize the box + label */
.form-check.has-error-check {
  color: #c11717;
}
.form-check.has-error-check input[type="checkbox"] {
  outline: 2px solid #c11717;
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── Final CTA ─────────────────────────────────────────────── */
.cta-final {
  background: var(--card-2);
  color: var(--card-2-fg);
  border-radius: var(--r-lg);
  padding: clamp(48px, 8vw, 120px);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 999px;
  background: #ffd23d;
  opacity: .18;
  filter: blur(40px);
}
.cta-final::before { top: -100px;    left: -100px; }
.cta-final::after  { bottom: -100px; right: -100px; }
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 0.98;
  max-width: 18ch;
}
.cta-final h2 em { font-style: normal; color: #ffd23d; }
.cta-final p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: color-mix(in srgb, var(--card-2-fg) 75%, transparent);
  max-width: 56ch;
  text-transform: none;
}
.cta-final .label {
  color: color-mix(in srgb, var(--card-2-fg) 60%, transparent);
}
.cta-final .btn {
  background: #ffd23d;
  color: #0a1126;
  border-color: #ffd23d;
}
.cta-final .btn:hover {
  background: var(--card-2-fg);
  color: var(--card-2);
  border-color: var(--card-2-fg);
  transform: translateY(-1px);
}
.cta-mention {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: color-mix(in srgb, var(--card-2-fg) 55%, transparent);
}

/* ── Footer ────────────────────────────────────────────────── */
.ftr {
  padding: 56px var(--pad-x) 28px;
  border-top: .5px solid var(--line);
}
.ftr-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ftr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ftr-logo {
  display: inline-flex;
  align-items: center;
  height: clamp(48px, 8vw, 96px);
}
.ftr-logo img {
  height: 100%;
  width: auto;
  display: block;
}
.ftr-tagline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.ftr-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
}
.ftr-status i {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #2ec27e;
  box-shadow: 0 0 0 3px color-mix(in srgb, #2ec27e 25%, transparent);
  font-style: normal;
}
.ftr-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ftr-col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 10px;
}
.ftr-col ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ftr-col li a {
  font-size: 13.5px;
  color: var(--fg);
  transition: color .15s;
}
.ftr-col li a:hover { color: var(--accent); }
.ftr-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: .5px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
}
.ftr-bottom a { color: var(--fg-3); }
.ftr-bottom a:hover { color: var(--fg); }

/* ── Legal pages (Mentions, Confidentialité) ───────────────── */
.legal {
  padding: 140px var(--pad-x) 80px;
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-2);
  padding: 8px 14px;
  border: .5px solid var(--line);
  border-radius: var(--r-pill);
  transition: color .15s, border-color .15s, background-color .15s;
  margin-bottom: 48px;
}
.legal-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}
.legal h1 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: var(--tracking-display);
  line-height: 0.98;
  margin-bottom: 16px;
}
.legal-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 56px;
}
.legal h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 56px 0 20px;
  color: var(--fg);
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 32px 0 12px;
  color: var(--fg);
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg);
}
.legal p { margin: 0 0 18px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul {
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal ul li {
  list-style: none;
  padding-left: 22px;
  position: relative;
}
.legal ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
}
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity .15s;
}
.legal a:hover { opacity: .7; }
.legal strong { font-weight: 600; }

/* ── Merci / Thank-you page ────────────────────────────────── */
.thanks {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px var(--pad-x) 80px;
  gap: 24px;
}
.thanks-check {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transform: scale(0);
  animation: thanks-pop .6s cubic-bezier(0.2, 0.8, 0.2, 1.2) forwards;
  box-shadow: 0 20px 50px color-mix(in srgb, var(--accent) 35%, transparent);
}
.thanks-check svg path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: thanks-check-draw .4s .5s ease-out forwards;
}
@keyframes thanks-pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
@keyframes thanks-check-draw {
  to { stroke-dashoffset: 0; }
}
.thanks h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  text-transform: var(--case-display);
  font-size: clamp(32px, 4.5vw, 64px);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  max-width: 22ch;
  text-wrap: balance;
  margin: 0;
}
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks-lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 52ch;
  margin: 0;
}
.thanks-note {
  font-size: 14px;
  color: var(--fg-3);
  max-width: 42ch;
  margin: 0;
}
.thanks-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.thanks-note a:hover { opacity: .7; }
.thanks .btn { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .thanks-check { animation: none; transform: scale(1); }
  .thanks-check svg path { animation: none; stroke-dashoffset: 0; }
}

/* ── 404 page ──────────────────────────────────────────────── */
.err {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad-x) 80px;
  gap: 28px;
}
.err-code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 320px);
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--accent);
}
.err h1 {
  font-size: clamp(28px, 4vw, 56px);
  max-width: 22ch;
}
.err p {
  color: var(--fg-2);
  max-width: 48ch;
}

/* ── Reveal-on-scroll (progressive enhancement) ────────────
   Default: everything is visible — site works fine without JS.
   When JS adds .js-loaded to <body>, .reveal elements start hidden
   and fade in via IntersectionObserver toggling .in.
   ──────────────────────────────────────────────────────────── */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.3, .7, .4, 1), transform .8s cubic-bezier(.3, .7, .4, 1);
}
.js-loaded .reveal.in { opacity: 1; transform: none; }

.js-loaded .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.3, .7, .4, 1), transform .7s cubic-bezier(.3, .7, .4, 1);
}
.js-loaded .reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .05s; }
.js-loaded .reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .15s; }
.js-loaded .reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .25s; }
.js-loaded .reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .35s; }
.js-loaded .reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .45s; }
.js-loaded .reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .55s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .js-loaded .reveal,
  .js-loaded .reveal-stagger > * { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── Focus visible ─────────────────────────────────────────── */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hdr-nav { display: none; }
  .hdr-cta { display: none; }
  .hdr-burger { display: inline-flex; }
  .hero { padding-top: 110px; min-height: 0; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .problem-grid, .method-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: .5px solid var(--line-soft); }
  .stat:nth-child(2n) { border-right: 0; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .logos-grid > div:nth-child(3) { border-right: 0; }
  .memo-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .memo-side {
    position: static;
    flex-direction: row;
    align-items: center;
  }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .pcard { min-height: 0; }
}

@media (max-width: 560px) {
  :root { --pad-section: 80px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid > div {
    border-right: 0;
    border-bottom: .5px solid var(--line-soft);
  }
  .ftr-cols { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta .col-r { text-align: left; }
}
