/* =========================================================
   GLITCH LAB — design tokens
   Layout: dark teal atmosphere, condensed display type + glitching cyan italic serif,
   mono body. Hairlines and glass only where an object needs to stand out.
   ========================================================= */
:root {
  --ink: #01090d;
  --abyss: #03121a;
  --deep: #06212b;
  --glass: rgba(7, 30, 39, 0.55);
  --glass-hi: rgba(10, 42, 52, 0.72);
  --cyan: #00e5d0;
  --cyan-hi: #8ffcf2;
  --blue: #1d8bff;
  --pink: #ff2e88;
  --text: #e9f7f6;
  --text-2: #a3c2c4;
  --text-3: #6a8d90;
  --line: rgba(127, 235, 228, 0.11);
  --line-2: rgba(127, 235, 228, 0.24);
  --f-display: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --f-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img, svg, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(65vmax 45vmax at 82% -12%, rgba(0, 229, 208, 0.17), transparent 62%),
  radial-gradient(55vmax 40vmax at -12% 38%, rgba(29, 139, 255, 0.11), transparent 62%),
  radial-gradient(70vmax 55vmax at 50% 125%, rgba(0, 229, 208, 0.09), transparent 60%),
  linear-gradient(180deg, #021119 0%, var(--ink) 55%, #010608 100%); }
.atmos::before { content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.atmos::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.narrow { max-width: 880px; }
.sec { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.sec.tight { padding-block: clamp(56px, 8vw, 100px); }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- type ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.label::before { content: "▸"; font-size: 11px; }
.display { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: 0; margin: 0; text-wrap: balance; }
.d-xxl { font-size: clamp(4rem, 14.5vw, 13rem); line-height: .86; }
.d-xl  { font-size: clamp(3rem, 7.6vw, 6.6rem); }
.d-hero { font-size: clamp(4.2rem, 15.5vw, 14.5rem); line-height: .84; }
.d-hero .gx { line-height: 1; margin-top: .02em; }
.d-l   { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.d-m   { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: .95; }
.d-s   { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; }
.lead { font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.75; color: var(--text-2); max-width: 58ch; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 700; text-transform: none; }

/* ---------- the glitch ---------- */
.gx {
  position: relative; display: inline-block;
  font-family: var(--f-serif); font-style: italic; font-weight: 900; font-variation-settings: "opsz" 144;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: inherit; font-size: 1.22em; vertical-align: baseline;
  color: var(--cyan); padding-right: .1em; margin-right: -.04em;
  text-shadow: 0 0 .32em rgba(0, 229, 208, .55), 0 0 1.05em rgba(0, 229, 208, .26);
  animation: gx-breathe 5s ease-in-out infinite;
}
.gx::before, .gx::after {
  content: attr(data-t); position: absolute; inset: 0; padding-right: inherit;
  opacity: 0; pointer-events: none; text-shadow: none;
}
.gx.on { animation: gx-flick .52s steps(6, end) both; }
.gx.on::before { opacity: .95; color: var(--pink); clip-path: inset(var(--s1, 18%) 0 var(--e1, 52%) 0); transform: translate3d(var(--x1, -.07em), 0, 0); mix-blend-mode: screen; text-shadow: 0 0 .4em rgba(255, 46, 136, .7); }
.gx.on::after  { opacity: .95; color: var(--cyan-hi); clip-path: inset(var(--s2, 58%) 0 var(--e2, 12%) 0); transform: translate3d(var(--x2, .08em), 0, 0); mix-blend-mode: screen; text-shadow: 0 0 .5em rgba(143, 252, 242, .9); }
@keyframes gx-breathe {
  0%, 100% { text-shadow: 0 0 .32em rgba(0, 229, 208, .5), 0 0 1.05em rgba(0, 229, 208, .22); }
  50% { text-shadow: 0 0 .42em rgba(0, 229, 208, .7), 0 0 1.4em rgba(0, 229, 208, .34); }
}
@keyframes gx-flick {
  0%   { filter: none; transform: none; opacity: 1; }
  12%  { filter: brightness(2.1) drop-shadow(0 0 14px rgba(0, 229, 208, .95)); transform: skewX(-8deg) translateX(-.02em); }
  26%  { filter: brightness(.55); opacity: .7; transform: translateX(.04em); }
  40%  { filter: brightness(2.4) drop-shadow(0 0 22px rgba(143, 252, 242, .9)); transform: skewX(6deg); opacity: 1; }
  58%  { filter: brightness(.8); opacity: .82; transform: translateX(-.03em); }
  76%  { filter: brightness(1.6) drop-shadow(0 0 10px rgba(0, 229, 208, .8)); transform: none; }
  100% { filter: none; transform: none; opacity: 1; }
}

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 14px/1 var(--f-mono); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  color: var(--ink); background: linear-gradient(100deg, var(--cyan), #5af6ff);
  box-shadow: 0 0 0 1px rgba(0, 229, 208, .4), 0 10px 40px -8px rgba(0, 229, 208, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(0, 229, 208, .6), 0 18px 60px -10px rgba(0, 229, 208, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn .arr { transition: transform .25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { color: var(--text); background: rgba(255, 255, 255, .02); border-color: var(--line-2); box-shadow: none; backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan-hi); box-shadow: 0 0 30px -6px rgba(0, 229, 208, .45); }
.btn.sm { --h: 42px; padding: 0 18px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.link { color: var(--cyan); border-bottom: 1px solid rgba(0, 229, 208, .35); transition: border-color .2s, color .2s; }
.link:hover { color: var(--cyan-hi); border-color: var(--cyan-hi); }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 9, 13, .9), rgba(1, 9, 13, .55)); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); z-index: -1; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-size: 25px; letter-spacing: .02em; line-height: 1; text-transform: uppercase; }
.brand .gx { font-size: 1.12em; }
.menu { display: flex; align-items: center; gap: 34px; }
.menu a:not(.btn) { position: relative; font-size: 13.5px; color: var(--text-2); transition: color .2s; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; box-shadow: 0 0 10px var(--cyan); }
.menu a:not(.btn):hover, .menu a[aria-current="page"] { color: var(--text); }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); overflow: hidden; }
#signal { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.hero h1 .ln { display: block; }
.hero h1 .ln { animation: rise .95s cubic-bezier(.16, .84, .24, 1) both; }
.hero h1 .ln:nth-child(2) { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero .lead { margin-top: 6px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.aside-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 26px; font-size: 13px; color: var(--text-2); }
.aside-link b { color: var(--text); font-weight: 500; }
.aside-link:hover b { color: var(--cyan); }

/* console */
.console { position: relative; border-radius: 22px; background: linear-gradient(160deg, rgba(10, 44, 54, .78), rgba(3, 18, 24, .82)); border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(0, 229, 208, .35), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(16px); overflow: hidden; }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(0, 229, 208, .7), transparent 40%, transparent 60%, rgba(29, 139, 255, .6)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.console-b { padding: 18px 20px 22px; font-size: 13px; line-height: 1.9; position: relative; }
.console-b .cmd { color: var(--text); }
.console-b .cmd b { color: var(--cyan); font-weight: 600; }
.console-b .ok { color: var(--text-2); padding-left: 18px; }
.console-b .ok::before { content: "✓"; color: var(--cyan); margin-right: 10px; margin-left: -18px; }
.console-b .gap { height: 10px; }
.console-b .cur { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; margin-left: 4px; animation: pulse 1s steps(1) infinite; box-shadow: 0 0 10px var(--cyan); }
.scan { position: absolute; left: 0; right: 0; height: 30px; top: 18px; background: linear-gradient(90deg, transparent, rgba(0, 229, 208, .10), transparent); border-top: 1px solid rgba(0, 229, 208, .25); border-bottom: 1px solid rgba(0, 229, 208, .12); animation: scan 7s cubic-bezier(.6, 0, .4, 1) infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(250px); } 100% { transform: translateY(0); } }
.console-f { display: flex; align-items: center; gap: 14px; padding: 14px 20px 18px; font-size: 11.5px; color: var(--text-3); }
.progress { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.progress i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px rgba(0, 229, 208, .7); animation: load 7s ease-in-out infinite; }
@keyframes load { 0% { width: 8%; } 70% { width: 100%; } 100% { width: 100%; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-t { display: flex; width: max-content; gap: 48px; animation: marq 42s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-transform: uppercase; letter-spacing: .02em; color: var(--text-2); white-space: nowrap; }
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.marquee .serif { color: var(--cyan); font-size: .98em; text-transform: uppercase; font-weight: 900; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- section heads ---------- */
.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.sh .label { margin-bottom: 22px; }
.sh.solo { grid-template-columns: 1fr; }

/* ---------- paths (3 ways) ---------- */
.paths { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: stretch; border-top: 1px solid var(--line); }
.path { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px 34px 38px; min-width: 0; }
.path + .path { border-left: 1px solid var(--line); }
.path .who { font-size: 12.5px; color: var(--text-3); letter-spacing: .04em; }
.path p { color: var(--text-2); }
.path .price { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.path .price small { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 12.5px; color: var(--text-3); text-transform: none; letter-spacing: 0; }
.path .go { margin-top: auto; padding-top: 10px; }
.path.feat { border: 1px solid rgba(0, 229, 208, .45) !important; border-radius: var(--radius); margin: -18px -1px; padding-block: 56px 54px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(0, 229, 208, .16), transparent 70%), var(--glass);
  box-shadow: 0 0 0 1px rgba(0, 229, 208, .08), 0 40px 120px -40px rgba(0, 229, 208, .55); backdrop-filter: blur(10px); z-index: 1; }
.path.feat + .path { border-left: 0; }
.tagline { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink); background: var(--cyan); padding: 6px 12px; border-radius: 99px; font-weight: 600; box-shadow: 0 0 20px rgba(0, 229, 208, .5); }

/* ---------- builds (rows) ---------- */
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: center; padding-block: 34px; border-bottom: 1px solid var(--line); transition: padding .4s cubic-bezier(.2, .8, .2, 1); }
.row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 14px var(--cyan); }
.row:hover::before { transform: scaleX(1); }
.row h3 { transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .3s; }
.row:hover h3 { transform: translateX(10px); color: var(--cyan-hi); }
.row p { color: var(--text-2); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tools span { font-size: 11.5px; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 11px; }

/* ---------- duo (Claude x Codex) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: center; margin-top: clamp(48px, 6vw, 72px); }
.engine { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(10px); min-width: 0; }
.engine h3 { margin-bottom: 14px; }
.engine p { color: var(--text-2); }
.engine ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; font-size: 13.5px; }
.engine li::before { content: "▸ "; color: var(--cyan); }
.merge { display: grid; justify-items: center; gap: 14px; text-align: center; }
.merge .core { width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--text); position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(0, 229, 208, .35), rgba(3, 18, 24, .9) 70%); border: 1px solid rgba(0, 229, 208, .55); box-shadow: 0 0 60px rgba(0, 229, 208, .35), inset 0 0 30px rgba(0, 229, 208, .25); }
.merge .core::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(0, 229, 208, .35); animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.merge .wire { width: 1px; height: 0; }
.duo-line { display: block; width: 46px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); box-shadow: 0 0 12px var(--cyan); }

/* ---------- guides list ---------- */
.glist { border-top: 1px solid var(--line); }
.gitem { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; padding-block: 34px; border-bottom: 1px solid var(--line); }
.gitem::before { content: ""; position: absolute; inset: 0 -24px; border-radius: 16px; background: radial-gradient(60% 120% at 20% 50%, rgba(0, 229, 208, .09), transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.gitem:hover::before { opacity: 1; }
.gitem .cat { font-size: 12px; color: var(--cyan); letter-spacing: .06em; }
.gitem .meta { display: block; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.gitem h3 { margin-bottom: 10px; }
.gitem p { color: var(--text-2); max-width: 62ch; }
.gitem .open { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cyan); transition: all .3s; font-size: 18px; }
.gitem:hover .open { background: var(--cyan); color: var(--ink); box-shadow: 0 0 30px rgba(0, 229, 208, .6); transform: rotate(-45deg); }
.soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); }
.soon li { list-style: none; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.soon li span:first-child { font-size: 12px; color: var(--text-3); padding-top: 2px; }
.soon ul { padding: 0; margin: 0; display: contents; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 32px; }
.chip { font: 500 12.5px/1 var(--f-mono); color: var(--text-2); background: rgba(255, 255, 255, .02); border: 1px solid var(--line-2); border-radius: 99px; padding: 11px 16px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--cyan); }
.chip[aria-pressed="true"] { color: var(--ink); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 22px rgba(0, 229, 208, .45); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; margin-left: auto; }
.search input { padding-left: 42px !important; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-3); }
.empty-state { padding: 40px 0; color: var(--text-2); border-bottom: 1px solid var(--line); }

/* ---------- panels, pricing ---------- */
.panel { position: relative; border-radius: 26px; border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: clamp(26px, 4vw, 52px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.panel.glow { border-color: rgba(0, 229, 208, .4); background: radial-gradient(90% 60% at 85% 0%, rgba(0, 229, 208, .15), transparent 65%), radial-gradient(70% 60% at 0% 100%, rgba(29, 139, 255, .10), transparent 70%), var(--glass); box-shadow: 0 50px 140px -50px rgba(0, 229, 208, .5), inset 0 1px 0 rgba(255, 255, 255, .06); }
.lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--text-2); }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 4px; background: var(--cyan); box-shadow: 0 0 14px rgba(0, 229, 208, .7); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 20%, 86% 6%, 38% 72%); }
.ticks b { color: var(--text); font-weight: 500; }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); margin-bottom: 26px; position: relative; }
.switch button { position: relative; z-index: 1; font: 500 13px/1 var(--f-mono); color: var(--text-2); background: none; border: 0; padding: 12px 20px; border-radius: 99px; cursor: pointer; transition: color .25s; white-space: nowrap; }
.switch button[aria-pressed="true"] { color: var(--ink); }
.switch .thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--cyan); box-shadow: 0 0 22px rgba(0, 229, 208, .6); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.switch.m .thumb { transform: translateX(100%); }
.amount { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.amount .n { font-family: var(--f-display); font-size: clamp(4.5rem, 9vw, 7rem); line-height: .85; letter-spacing: -.01em; }
.amount .per { font-size: 14px; color: var(--text-2); padding-bottom: 8px; }
.save { margin-top: 14px; font-size: 13px; color: var(--cyan); min-height: 1.7em; }
.fine { margin-top: 16px; font-size: 12px; color: var(--text-3); }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
input[type="text"], input[type="email"], input[type="search"], select, textarea {
  width: 100%; font: 400 14.5px/1.4 var(--f-mono); color: var(--text);
  background: rgba(1, 9, 13, .6); border: 1px solid var(--line-2); border-radius: 14px; padding: 15px 16px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #4f7073; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 229, 208, .14); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 12.5px; line-height: 1.6; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cyan); }
.check a { color: var(--cyan); }
.msg-err { color: #ff7aa8; font-size: 12.5px; min-height: 1.2em; }
.msg-ok { display: grid; gap: 6px; padding: 20px; border-radius: 16px; border: 1px solid rgba(0, 229, 208, .4); background: rgba(0, 229, 208, .08); }
.msg-ok b { color: var(--cyan); font-weight: 600; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) auto; gap: 12px; }

/* ---------- business band ---------- */
.band { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--line-2); padding: clamp(36px, 6vw, 84px); background:
  radial-gradient(70% 90% at 100% 0%, rgba(29, 139, 255, .22), transparent 60%),
  radial-gradient(60% 80% at 0% 100%, rgba(0, 229, 208, .16), transparent 60%),
  linear-gradient(180deg, rgba(6, 33, 43, .75), rgba(2, 12, 17, .9)); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 36px 64px; align-items: end; }
.band .lead { margin-top: 24px; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 26px; cursor: pointer; list-style: none; font-size: clamp(15px, 1.4vw, 17px); font-weight: 500; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan-hi); }
.faq summary i { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--cyan); transform: translate(-50%, -50%); transition: transform .3s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: rgba(0, 229, 208, .12); border-color: var(--cyan); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 60px 28px 0; color: var(--text-2); max-width: 70ch; }

/* ---------- final call ---------- */
.final { text-align: left; }
.final .panel { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- steps (business) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.step { padding: 34px 28px 30px 0; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .k { font-family: var(--f-display); font-size: 3.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0, 229, 208, .7); text-shadow: 0 0 24px rgba(0, 229, 208, .25); }
.step h3 { margin: 16px 0 10px; }
.step p { color: var(--text-2); font-size: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.for { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--glass); }
.for.no { background: transparent; }
.for ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; color: var(--text-2); }
.for li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.for li::before { content: "+"; color: var(--cyan); font-weight: 600; }
.for.no li::before { content: "–"; color: var(--text-3); }

/* ---------- guide article ---------- */
.readbar { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 70; background: transparent; pointer-events: none; }
.readbar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 14px var(--cyan); }
.ghero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.back { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); margin-bottom: 40px; }
.back:hover { color: var(--cyan); }
.gmeta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.gmeta b { color: var(--text); font-weight: 500; }
.gbody { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 18px; }
.toc nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc nav a { font-size: 12.5px; color: var(--text-3); padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; transition: all .2s; }
.toc nav a:hover { color: var(--text); }
.toc nav a.act { color: var(--cyan); border-left-color: var(--cyan); }
.toc .mini { padding: 22px; border-radius: 16px; border: 1px solid rgba(0, 229, 208, .35); background: radial-gradient(100% 80% at 100% 0%, rgba(0, 229, 208, .14), transparent 70%), var(--glass); display: grid; gap: 12px; font-size: 13px; color: var(--text-2); }
.prose { max-width: 70ch; min-width: 0; }
.prose h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: .98; margin: 64px 0 18px; scroll-margin-top: 110px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; color: #c9e1e1; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 1.3em; color: #c9e1e1; display: grid; gap: 8px; }
.prose li::marker { color: var(--cyan); }
.prose code { font-family: var(--f-mono); font-size: .92em; color: var(--cyan-hi); background: rgba(0, 229, 208, .08); border: 1px solid rgba(0, 229, 208, .18); padding: 1px 6px; border-radius: 6px; }
.code { position: relative; margin: 8px 0 26px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(1, 7, 10, .85); overflow: hidden; }
.code-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 13px; line-height: 1.7; }
.code pre code { background: none; border: 0; padding: 0; color: #d6ecec; font-size: inherit; }
.copy { font: 500 11.5px/1 var(--f-mono); color: var(--cyan); background: rgba(0, 229, 208, .08); border: 1px solid rgba(0, 229, 208, .3); border-radius: 99px; padding: 7px 12px; cursor: pointer; transition: all .2s; }
.copy:hover { background: var(--cyan); color: var(--ink); }
.callout { margin: 8px 0 26px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(0, 229, 208, .3); background: rgba(0, 229, 208, .06); color: #c9e1e1; }
.callout b { color: var(--cyan); font-weight: 600; }
.stepper { counter-reset: st; list-style: none; padding: 0 !important; margin: 8px 0 26px; display: grid; gap: 0 !important; }
.stepper li { counter-increment: st; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.stepper li::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--cyan); border: 1px solid rgba(0, 229, 208, .5); box-shadow: inset 0 0 12px rgba(0, 229, 208, .2); }
.gate-wrap { position: relative; }
.is-locked .locked-part { max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000, transparent 90%); mask-image: linear-gradient(#000, transparent 90%); pointer-events: none; user-select: none; filter: blur(1.5px); }
.gate { display: none; margin-top: -60px; position: relative; }
.is-locked .gate { display: block; }
.gate .panel { padding: clamp(24px, 4vw, 40px); }
.gate h3 { margin-bottom: 8px; }
.end-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 64px; }
.end-cta .panel { padding: 30px; display: grid; gap: 14px; align-content: start; }
.end-cta p { color: var(--text-2); font-size: 14px; }

/* ---------- legal ---------- */
.legal h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; margin: 52px 0 14px; }
.legal p, .legal li { color: #c3dcdc; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 16px; }
.legal dl { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 10px 24px; margin: 0 0 16px; padding: 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); }
.legal dt { color: var(--text-3); font-size: 13px; }
.legal dd { margin: 0; color: var(--text); }
.legal .todo { color: #ffd27a; border-bottom: 1px dashed rgba(255, 210, 122, .6); }

/* ---------- footer ---------- */
.foot { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: 72px; border-top: 1px solid var(--line); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot h4 { margin: 0 0 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 13.5px; }
.foot ul a { color: var(--text-2); transition: color .2s; }
.foot ul a:hover { color: var(--cyan); }
.foot .about { color: var(--text-2); font-size: 13.5px; max-width: 38ch; margin-top: 14px; }
.giant { margin-top: 72px; font-family: var(--f-display); text-transform: uppercase; font-size: min(17vw, 14rem); padding-right: .1em; line-height: .78; letter-spacing: -.01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(127, 235, 228, .18); user-select: none; display: flex; align-items: baseline; gap: .04em; }
.giant .gx { -webkit-text-stroke: 0; font-size: .92em; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 26px 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .lab, .band-grid, .sh { grid-template-columns: 1fr; }
  .gbody { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .toc nav { display: none; }
  .paths { grid-template-columns: 1fr; }
  .path + .path { border-left: 0; border-top: 1px solid var(--line); }
  .path.feat { margin: 10px 0; }
  .path.feat + .path { border-top: 0; }
  .duo { grid-template-columns: 1fr; }
  .duo-line { width: 2px; height: 30px; background: linear-gradient(180deg, transparent, var(--cyan), transparent); }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu { position: fixed; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter-r) 28px var(--gutter); background: rgba(1, 9, 13, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s ease; }
  .nav-open .menu { transform: none; opacity: 1; visibility: visible; }
  .menu a:not(.btn) { font-size: 17px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 20px; }
  .burger { display: block; }
  .row, .gitem { grid-template-columns: 1fr; }
  .gitem .open { display: none; }
  .soon { grid-template-columns: 1fr; }
  .soon li { grid-template-columns: 1fr; gap: 4px; }
  .two, .inline-form, .split, .end-cta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .faq details p { padding-right: 0; }
  .search { max-width: none; margin-left: 0; flex-basis: 100%; }
  .console-b { font-size: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .path { padding-inline: 0; }
  .path.feat { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-t { animation: none; }
}

/* gate visibility */
.is-locked .unlocked-part, .is-locked .end-cta { display: none; }
.prose:not(.is-locked) .locked-part, .prose:not(.is-locked) .gate { display: none; }

/* ================= V2 ================= */
/* fond vivant : grille qui s'illumine + particules */
#field { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(150% 120% at 65% 15%, #000 0%, rgba(0,0,0,.85) 40%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%);
  mask-image: radial-gradient(150% 120% at 65% 15%, #000 0%, rgba(0,0,0,.85) 40%, rgba(0,0,0,.35) 75%, rgba(0,0,0,.15) 100%); }

/* curseur : cercle par défaut, viseur inversé sur le texte */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input[type="text"], html.has-cursor input[type="email"], html.has-cursor input[type="search"], html.has-cursor textarea { cursor: text !important; }
.cur-ring, .cur-dot, .cur-ret { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; opacity: 0; will-change: transform; }
.cur-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(0, 229, 208, .75);
  box-shadow: 0 0 18px rgba(0, 229, 208, .25), inset 0 0 12px rgba(0, 229, 208, .12); transition: opacity .25s ease; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan), 0 0 22px rgba(0, 229, 208, .6); transition: opacity .25s ease; }
.cur-ret { width: 48px; height: 48px; margin: -24px 0 0 -24px; mix-blend-mode: difference; transition: opacity .25s ease; }
.cur-ret svg { display: block; width: 48px; height: 48px; fill: var(--cyan); transform: scale(.6) rotate(-45deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.cur-on .cur-ring, .cur-on .cur-dot { opacity: 1; }
.cur-on.cur-text .cur-ring, .cur-on.cur-text .cur-dot { opacity: 0; }
.cur-on.cur-text .cur-ret { opacity: 1; }
.cur-text .cur-ret svg { transform: none; }
.cur-down .cur-ring { transform-origin: center; }
.cur-down.cur-text .cur-ret svg { transform: scale(.82); }

/* boîte outils dans les guides */
.tool-box { padding: 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--glass); display: grid; gap: 12px; }
.tool-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tool-box a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line); transition: color .2s; }
.tool-box li:last-child a { border-bottom: 0; }
.tool-box a:hover { color: var(--cyan); }

/* couches : le fond passe sous le contenu mais au-dessus du fond de page */
.atmos { z-index: 0; }
#field { z-index: 0; }
.top { z-index: 50; }
main, .foot { position: relative; z-index: 1; }
.hero { isolation: isolate; }
.gx { max-width: none; }

/* bloc final de l'accueil centré */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final .display { margin-inline: auto; }
.final .panel { width: 100%; max-width: 860px; margin-inline: auto; text-align: left; }

/* =========================================================
   GUIDES V4 : mise en page « chapitres »
   ========================================================= */
.g-center { display: flex !important; justify-content: center; }
.hl { color: var(--cyan); font-weight: 600; text-shadow: 0 0 14px rgba(0, 229, 208, .35); }
.g-tagline { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: "opsz" 24; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text-2); margin: 14px 0 0; }
.g-tagline.g-big { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--text); }
.g-tagline .hl { font-weight: 700; }

/* couverture */
.g-cover { position: relative; text-align: center; padding: clamp(40px, 7vw, 88px) clamp(16px, 5vw, 72px) clamp(48px, 7vw, 88px); display: grid; justify-items: center; gap: 20px; }
.g-cover .back { justify-self: start; margin-bottom: 18px; }
.g-cover-t { max-width: 18ch; margin-inline: auto; }
.g-corner { position: absolute; width: 64px; height: 64px; pointer-events: none; }
.g-corner.tl { top: 0; left: 0; border-top: 1px solid rgba(0, 229, 208, .55); border-left: 1px solid rgba(0, 229, 208, .55); }
.g-corner.br { bottom: 0; right: 0; border-bottom: 1px solid rgba(0, 229, 208, .55); border-right: 1px solid rgba(0, 229, 208, .55); }
.g-orn { display: flex; align-items: center; gap: 12px; }
.g-orn i { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.g-orn i:last-child { transform: scaleX(-1); }
.g-orn b { width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 12px var(--cyan); }
.g-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); margin-top: 8px; }
.g-tags span[aria-hidden] { color: var(--cyan); }
.g-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 12.5px; color: var(--text-3); padding-top: 18px; border-top: 1px solid var(--line); margin-top: 6px; }
.g-meta b { color: var(--text); font-weight: 500; }

/* sommaire */
.g-sum { margin: 24px 0 40px; }
.g-sum-list { margin-top: 28px; border-top: 1px solid var(--line); }
.g-sum-row { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); transition: background .3s; }
.g-sum-row::after { content: "→"; position: absolute; right: 6px; top: 50%; transform: translate(-8px, -50%); opacity: 0; color: var(--cyan); transition: all .3s; }
.g-sum-row:hover::after { opacity: 1; transform: translate(0, -50%); }
.g-sum-row:hover { background: linear-gradient(90deg, rgba(0, 229, 208, .06), transparent 70%); }
.g-sum-n { font-family: var(--f-serif); font-style: italic; font-weight: 900; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--cyan); text-shadow: 0 0 18px rgba(0, 229, 208, .45); }
.g-sum-row b { display: block; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; line-height: 1; }
.g-sum-row small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-3); }

/* ouverture de chapitre */
.g-open { text-align: center; padding-block: clamp(64px, 9vw, 120px) clamp(28px, 4vw, 48px); scroll-margin-top: 90px; }
.g-open-t { position: relative; display: grid; place-items: center; margin-top: clamp(28px, 4vw, 44px); }
.g-num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%); font-family: var(--f-serif); font-style: italic; font-weight: 900; font-size: clamp(8rem, 22vw, 15rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 229, 208, .2); text-shadow: 0 0 60px rgba(0, 229, 208, .12); pointer-events: none; user-select: none; }
.g-open h2 { position: relative; margin: 0 !important; }
.g-open .g-tagline { max-width: 46ch; margin-inline: auto; margin-top: 22px; }

/* en-tête de section */
.g-head { margin: 56px 0 20px; }
.g-head h3 { margin: 14px 0 0; }
.g-head .g-tagline { margin-top: 10px; }

/* encadré */
.g-callout { margin: 28px 0; padding: 22px 24px; border-radius: 16px; border-left: 3px solid var(--cyan); background: linear-gradient(90deg, rgba(0, 229, 208, .08), rgba(7, 30, 39, .55)); box-shadow: -8px 0 30px -12px rgba(0, 229, 208, .5); }
.g-callout p { margin: 10px 0 0 !important; color: var(--text) !important; }

/* citation */
.g-quote { margin: 40px 0; padding: 30px 12px; border-block: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(0, 229, 208, .5), transparent) 1; text-align: center; }
.g-quote blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; color: var(--text); }

/* liste à marqueurs */
.g-marks { list-style: none; padding: 0 !important; margin: 18px 0 26px !important; display: grid; gap: 14px !important; }
.g-marks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.g-marks li::before { content: ""; width: 18px; height: 7px; margin-top: 9px; background: var(--cyan); transform: rotate(-35deg); border-radius: 1px; box-shadow: 0 0 12px rgba(0, 229, 208, .6); }
.g-marks b { color: var(--cyan); font-weight: 600; }

/* règle du lab */
.g-rule { margin: 40px 0; padding: clamp(24px, 4vw, 36px); border-radius: 22px; text-align: center; border: 1px solid rgba(0, 229, 208, .35);
  background: radial-gradient(80% 120% at 50% 0%, rgba(0, 229, 208, .16), transparent 70%), linear-gradient(180deg, #041a22, #020c11); box-shadow: 0 30px 80px -40px rgba(0, 229, 208, .55); }
.g-rule p { margin: 14px auto 0 !important; max-width: 52ch; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--text) !important; }

/* deux cartes */
.g-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 28px; }
.g-card { padding: 26px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--glass); display: grid; align-content: start; gap: 10px; }
.g-card h4 { margin: 4px 0; }
.g-card p { margin: 0 !important; font-size: 14px; }
.g-card.alt .label { color: var(--blue); }
.g-card.alt .label::before { color: var(--blue); }

/* formule */
.g-formula { margin: 26px 0; padding: 26px 22px; border-radius: 18px; text-align: center; background: rgba(0, 229, 208, .06); border: 1px solid rgba(0, 229, 208, .22); }
.g-f { margin: 14px 0 0 !important; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--text) !important; }
.g-f-note { margin: 10px auto 0 !important; max-width: 56ch; font-size: 13px; color: var(--text-2) !important; }

/* cartes chiffrées */
.g-stats { display: grid; gap: 14px; margin: 22px 0 28px; }
.g-stat { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--glass); }
.g-stat-n { display: grid; justify-items: center; gap: 4px; padding-right: 20px; border-right: 1px solid var(--line-2); }
.g-stat-n b { font-family: var(--f-display); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--cyan); text-shadow: 0 0 22px rgba(0, 229, 208, .5); }
.g-stat-n small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.g-stat h4 { margin: 0 0 6px; }
.g-stat p { margin: 0 !important; font-size: 14px; }
.g-stat .g-stat-note { margin-top: 8px !important; font-size: 12.5px; color: var(--blue) !important; }

/* checklist interactive */
.g-checklist { margin: 22px 0 30px; }
.g-ck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.g-ck-col h4 { padding-bottom: 12px; margin: 0 0 12px; border-bottom: 1px solid rgba(0, 229, 208, .35); }
.g-ck-col ul { list-style: none; padding: 0 !important; margin: 0 !important; display: grid; gap: 4px !important; }
.g-ck { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; cursor: pointer; font-size: 14px; color: #c9e1e1; transition: background .2s; }
.g-ck:hover { background: rgba(0, 229, 208, .05); }
.g-ck input { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; margin: 5px 0 0 3px; border: 1.5px solid var(--cyan); transform: rotate(45deg); background: transparent; transition: all .2s; cursor: pointer; }
.g-ck input:checked { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.g-ck input:checked + span { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(0, 229, 208, .6); }
.g-ck-bar { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 12.5px; color: var(--text-2); }
.g-ck-bar .progress i { animation: none; transition: width .4s ease; }

/* faq */
.g-faq { display: grid; gap: 12px; margin: 20px 0 30px; }
.g-faq-i { border-radius: 16px; border-left: 3px solid var(--cyan); background: var(--glass); padding: 0 22px; }
.g-faq-i summary { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding-block: 18px; cursor: pointer; list-style: none; font-weight: 600; color: var(--text); }
.g-faq-i summary::-webkit-details-marker { display: none; }
.g-q { font-family: var(--f-serif); font-style: italic; font-weight: 900; color: var(--cyan); font-size: 1.2rem; line-height: 1.2; }
.g-faq-i p { margin: 0 0 18px 32px !important; font-size: 14px; }

/* fin du guide */
.g-end { position: relative; margin: 70px 0 10px; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px); text-align: center; border-radius: 4px;
  background: radial-gradient(70% 60% at 50% 30%, rgba(0, 229, 208, .12), transparent 70%), linear-gradient(180deg, #03141b, #01090d); }
.g-end-line { display: block; width: 1px; height: 48px; margin: 0 auto 28px; background: linear-gradient(180deg, transparent, var(--cyan)); }
.g-end h2 { margin: 0 !important; }
.g-end-lines { margin-top: 28px; display: grid; gap: 6px; }
.g-end-lines p, .g-end-sign { margin: 0 !important; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-2) !important; }
.g-end-lines .hl { color: var(--text); text-shadow: none; }
.g-end-sign { margin-top: 30px !important; color: var(--cyan) !important; font-weight: 700; letter-spacing: .02em; }

.g-prose { max-width: 760px; }
.g-prose > p, .g-prose .unlocked-part > p { max-width: 68ch; }

@media (max-width: 760px) {
  .g-duo, .g-ck-grid { grid-template-columns: 1fr; }
  .g-stat { grid-template-columns: 1fr; gap: 14px; }
  .g-stat-n { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 0 0 12px; justify-items: start; }
  .g-sum-row { grid-template-columns: 64px minmax(0, 1fr); }
  .g-corner { width: 36px; height: 36px; }
}
.g-prose h2.d-l { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .92; }
.g-prose h3.d-m { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: .95; }
.code.wrap pre code { white-space: pre-wrap; word-break: break-word; }
