/* ============================================================
   SOUWOUP — Design System v2
   Light · futuristic · minimalist · signal green
   ============================================================ */

:root {
  /* Surfaces (cool near-white) */
  --bg:        #f5f6f8;
  --bg-2:      #eceef2;
  --surface:   #ffffff;
  --surface-2: #f1f3f6;
  --line:      rgba(12,16,24,0.09);
  --line-2:    rgba(12,16,24,0.16);
  --grid:      rgba(12,16,24,0.035);

  /* Ink */
  --ink:    #0a0d14;
  --ink-2:  #1c2230;
  --muted:  #5a6472;
  --faint:  #98a1b0;

  /* Accent — signal green */
  --accent:       oklch(0.72 0.18 150);     /* fills */
  --accent-bright:oklch(0.80 0.19 148);
  --accent-text:  oklch(0.52 0.14 152);     /* green text on light */
  --accent-soft:  oklch(0.72 0.18 150 / 0.12);
  --accent-line:  oklch(0.72 0.18 150 / 0.40);
  --accent-ink:   #04210d;                  /* text on accent fill */

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --section-y: clamp(76px, 11vw, 148px);

  --shadow-sm: 0 1px 2px rgba(12,16,24,0.04), 0 2px 8px rgba(12,16,24,0.04);
  --shadow:    0 2px 6px rgba(12,16,24,0.05), 0 18px 40px -20px rgba(12,16,24,0.14);
  --shadow-lg: 0 8px 24px rgba(12,16,24,0.08), 0 40px 80px -30px rgba(12,16,24,0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* Faint engineering grid across the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 90%);
  mask-image: radial-gradient(130% 100% at 50% 0%, #000 30%, transparent 90%);
}
body > * { position: relative; z-index: 1; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
/* Hairline section markers */
.section--ruled { border-top: 1px solid var(--line); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; margin: 0; color: var(--ink); }

.display {
  font-size: clamp(2.6rem, 6.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  font-weight: 600;
}
.h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent-line); }
.eyebrow--center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.55; text-wrap: pretty; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  padding: 0.9em 1.5em; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

/* primary = ink (crisp tech) */
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
/* accent = green (conversion) */
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { transform: translateY(-2px); background: var(--accent-bright); box-shadow: 0 12px 30px -10px var(--accent-line); }
/* ghost */
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

.btn--lg { font-size: 1.05rem; padding: 1.02em 1.8em; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in oklab, var(--bg) 85%, transparent); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.05em; color: var(--ink); }
.brand b { color: var(--accent-text); }
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links a { font-size: 0.95rem; color: var(--muted); transition: color 0.2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; background: none; border: 0; color: var(--ink); padding: 8px; }
.nav__mobile { display: none; }

@media (max-width: 1040px) { .nav__cta .btn--ghost { display: none; } }
@media (max-width: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: inline-flex; margin-left: auto; }
  .nav__mobile {
    display: grid; gap: 2px; padding: 0 var(--gutter);
    background: var(--surface); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  }
  .nav__mobile.open { max-height: 420px; padding: 8px var(--gutter) 24px; }
  .nav__mobile a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 1.05rem; }
  .nav__mobile a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(52px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .dim { color: var(--faint); }
.hero__lead { max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.hero__micro { font-family: var(--font-mono); font-size: 0.78rem; color: var(--faint); }
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
}

/* Hero badge */
.badge-inline { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Hero visual: glass automation dashboard mock */
.hud {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fff, var(--surface-2));
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hud__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hud__bar i { width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); display: inline-block; }
.hud__bar span { margin-left: auto; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.hud__body { padding: 22px; display: grid; gap: 16px; }
.hud__stat { display: flex; align-items: baseline; justify-content: space-between; }
.hud__stat .l { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.hud__stat .v { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; }
.hud__stat .v.up { color: var(--accent-text); }
.hud svg { width: 100%; height: auto; display: block; }
.hud__rows { display: grid; gap: 8px; }
.hud__row { display: flex; align-items: center; gap: 10px; font-size: 0.84rem; color: var(--ink-2); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.hud__row .chk { flex: none; width: 16px; height: 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 0.6rem; }
.hud__row .t { font-family: var(--font-mono); font-size: 0.66rem; color: var(--faint); margin-left: auto; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.stat { padding: 26px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; }
.stat__l { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* ---------- Section head ---------- */
.shead { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.shead--center { margin-inline: auto; text-align: center; }
.shead .h2 { margin: 18px 0 16px; }
.shead--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }

/* ---------- Problem / feature grid (shared pcard/fcard) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pcard__ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 18px; }
.pcard__ico svg { width: 21px; height: 21px; }
.pcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.pcard p { color: var(--muted); font-size: 0.94rem; margin: 0; line-height: 1.5; }

.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.fcard__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--accent-text); margin-bottom: 16px; border: 1px solid var(--line); }
.fcard__ico svg { width: 20px; height: 20px; }
.fcard h3 { font-size: 1.06rem; margin-bottom: 7px; }
.fcard p { color: var(--muted); font-size: 0.91rem; margin: 0; line-height: 1.5; }

/* ---------- Fit (two columns) ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit__col { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.fit__col--yes { border-color: var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
.fit__col h3 { font-size: 1.18rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.fit li { display: flex; gap: 12px; font-size: 0.98rem; line-height: 1.45; color: var(--ink-2); }
.fit--no li { color: var(--muted); }
.tick { flex: none; width: 21px; height: 21px; border-radius: 999px; display: grid; place-items: center; margin-top: 1px; font-size: 0.68rem; }
.tick--yes { background: var(--accent); color: var(--accent-ink); }
.tick--no { background: var(--surface-2); color: var(--faint); border: 1px solid var(--line); }

/* ---------- Pricing / offers ---------- */
.price { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 720px) { .price { grid-template-columns: 1fr; } }
.pcol { display: flex; flex-direction: column; height: 100%; }
.pcol__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pcol__tag { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pcol h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pcol__price { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; letter-spacing: -0.03em; margin: 10px 0 2px; }
.pcol__price small { font-size: 0.86rem; font-weight: 500; color: var(--muted); font-family: var(--font-body); }
.pcol__note { font-size: 0.84rem; color: var(--faint); margin: 0 0 18px; }
.pcol__desc { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; line-height: 1.5; }
.pcol ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.pcol li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.4; }
.pcol li svg { flex: none; width: 15px; height: 15px; color: var(--accent-text); margin-top: 4px; }
.pcol .btn { margin-top: auto; }
.pcol--feature { border-color: var(--accent-line); box-shadow: var(--shadow); position: relative; }
.pcol--feature::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none; box-shadow: inset 0 0 0 1px var(--accent-line); }
.pcol__feattag { position: absolute; top: -11px; left: 28px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; z-index: 2; }
.pcol__subh { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin: 4px 0 12px; }

/* ---------- ROI / time calculator ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 52px); align-items: center; }
@media (max-width: 820px) { .roi { grid-template-columns: 1fr; } }
.roi__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.roi__field { margin-bottom: 24px; }
.roi__field:last-child { margin-bottom: 0; }
.roi__flabel { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 0.95rem; }
.roi__fval { font-family: var(--font-mono); color: var(--accent-text); font-weight: 600; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 999px; background: var(--accent); border: 3px solid #fff; cursor: pointer; box-shadow: var(--shadow-sm), 0 0 0 1px var(--accent-line); transition: transform 0.15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 999px; background: var(--accent); border: 3px solid #fff; cursor: pointer; }
.roi__out { display: grid; gap: 16px; }
.roi__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.6rem); letter-spacing: -0.03em; color: var(--accent-text); line-height: 1; }
.roi__big span { font-size: 0.36em; color: var(--muted); font-weight: 500; }
.roi__rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.roi__row { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; font-size: 0.95rem; border-bottom: 1px solid var(--line); }
.roi__row:last-child { border-bottom: 0; }
.roi__row b { font-family: var(--font-mono); font-weight: 600; }

/* ---------- Testimonials / dark feature band (inverted) ---------- */
.dark { background: var(--ink); color: #e9ecf2; }
.dark::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 85%); }
.dark > * { position: relative; z-index: 1; }
.dark .h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--accent-bright); }
.dark .eyebrow::before { background: var(--accent-line); }
.dark .lead, .dark .muted { color: #9aa3b2; }

/* ---------- Work / portfolio ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .work { grid-template-columns: 1fr; } }
.work--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .work--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work--3 { grid-template-columns: 1fr; } }
.wcard { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.wcard:hover { border-color: var(--accent-line); transform: translateY(-4px); box-shadow: var(--shadow); }
.wshot { aspect-ratio: 16 / 10; position: relative; background: var(--surface-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.wshot image-slot { width: 100%; height: 100%; display: block; }
.wcard__body { padding: 22px 24px 26px; }
.wcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wcard__meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.wcard__live { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.wcard__live .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px var(--accent-soft); }
.wcard h3 { font-size: 1.22rem; margin: 12px 0 7px; }
.wcard p { color: var(--muted); font-size: 0.93rem; margin: 0 0 16px; line-height: 1.5; }
.wcard__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.wcard__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--accent-text); font-weight: 600; transition: gap 0.25s var(--ease); }
.wcard__link:hover { gap: 11px; }
.wcard__link svg { width: 13px; height: 13px; }
.wtag { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.step__n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-text); font-weight: 600; letter-spacing: 0.08em; }
.step h3 { font-size: 1.08rem; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 0.91rem; margin: 0; line-height: 1.5; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } }
.wy { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.wy__n { font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; color: var(--accent-text); letter-spacing: 0.1em; }
.wy h3 { font-size: 1.2rem; margin: 14px 0 10px; }
.wy p { color: var(--muted); font-size: 0.96rem; margin: 0; line-height: 1.5; }
.dark .wy { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }
.dark .wy p { color: #9aa3b2; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.28rem); letter-spacing: -0.015em; cursor: pointer; }
.qa__icon { flex: none; width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: background 0.3s, border-color 0.3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), background 0.3s; }
.qa__icon::before { width: 12px; height: 2px; }
.qa__icon::after { width: 2px; height: 12px; }
.qa[open] .qa__icon { background: var(--accent); border-color: var(--accent); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--accent-ink); }
.qa[open] .qa__icon::after { transform: scaleY(0); }
.qa__a p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; padding: 0 44px 28px 4px; max-width: 72ch; }

/* ---------- Derisk / CTA band ---------- */
.band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 52px); box-shadow: var(--shadow-sm); }
.band--center { text-align: center; }

/* ---------- Big CTA ---------- */
.cta-final { text-align: center; }
.cta-final .display { margin-bottom: 20px; }
.cta-final .lead { max-width: 58ch; margin-inline: auto; margin-bottom: 32px; }
.cta-final__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-final__micro { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 680px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.05em; }
.footer__brand b { color: var(--accent-text); }
.footer p { color: var(--muted); font-size: 0.94rem; max-width: 36ch; margin: 14px 0 0; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 0.94rem; padding: 6px 0; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent-text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__bottom span { color: var(--faint); font-size: 0.86rem; font-family: var(--font-mono); }

/* ---------- Floating mobile CTA ---------- */
.fab { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: none; }
@media (max-width: 980px) { .fab { display: block; } }
.fab .btn { box-shadow: var(--shadow-lg); }

/* ---------- Page hero (inner) ---------- */
.phero { padding-top: clamp(52px, 8vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); }
.phero .display { max-width: 18ch; margin: 22px 0 22px; }
.phero .lead { max-width: 56ch; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Founder / interlocuteur ---------- */
.founder { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }
.founder__media { position: relative; display: flex; justify-content: center; }
.founder__media image-slot { width: 100%; max-width: 540px; height: auto; aspect-ratio: 1 / 1; display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.founder__badge { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.founder__sig { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; margin-top: 22px; }
.founder__sig span { display: block; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); margin-top: 4px; }

/* ---------- Contact modal ---------- */
.fmodal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 20px;
}
.fmodal[hidden] { display: none; }
.fmodal__overlay {
  position: absolute; inset: 0;
  background: rgba(8, 11, 18, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.fmodal.is-open .fmodal__overlay { opacity: 1; }
.fmodal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 38px);
  transform: translateY(14px) scale(0.98);
  opacity: 0;
  transition: transform 0.24s var(--ease), opacity 0.24s var(--ease);
}
.fmodal.is-open .fmodal__dialog { transform: none; opacity: 1; }
.fmodal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--muted);
  cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.fmodal__close:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }
.fmodal__close svg { width: 18px; height: 18px; }
.fmodal__eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px;
}
.fmodal__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem;
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 8px; color: var(--ink);
}
.fmodal__sub { color: var(--muted); font-size: 0.98rem; line-height: 1.5; margin: 0 0 22px; text-wrap: pretty; }
.fmodal__form { display: grid; gap: 15px; }
.fmodal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fmodal__field { display: grid; gap: 7px; }
.fmodal__field label { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); }
.fmodal__req { color: var(--accent-text); }
.fmodal__opt { color: var(--faint); font-weight: 400; }
.fmodal__field input {
  width: 100%; box-sizing: border-box;
  min-height: 48px; padding: 0.7em 0.95em;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fmodal__field input::placeholder { color: var(--faint); }
.fmodal__field input:focus {
  outline: none; background: var(--surface);
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.fmodal__submit { margin-top: 6px; min-height: 48px; }
.fmodal__submit:disabled { opacity: 0.6; cursor: progress; }
.fmodal__micro {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
  color: var(--faint); text-align: center; margin: 4px 0 0; line-height: 1.5;
}
.fmodal__status { font-size: 0.98rem; line-height: 1.5; text-wrap: pretty; }
.fmodal__status--success {
  margin-top: 4px; padding: 22px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  color: var(--accent-text); font-weight: 500; text-align: center;
}
.fmodal__status--error {
  margin-top: 12px; padding: 12px 14px; border-radius: 12px;
  background: color-mix(in oklab, #d92d20 10%, var(--surface));
  border: 1px solid color-mix(in oklab, #d92d20 30%, transparent);
  color: #b42318;
}
@media (prefers-reduced-motion: reduce) {
  .fmodal__overlay, .fmodal__dialog { transition: none; }
}
