:root {
  --bg: #07120E;
  --bg-2: #0A1913;
  --surface: #0D1F18;
  --ink: #E6F2EC;
  --muted: #8FA89C;
  --faint: #4E6A5E;
  --line: rgba(230, 242, 236, 0.12);
  --line-2: rgba(230, 242, 236, 0.22);
  --accent: #25D366;
  --accent-ink: #04150C;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 641px) { .container { padding: 0 32px; } }

.grid-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(230, 242, 236, 0.09) 1px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, #000 30%, transparent 85%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { box-shadow: 0 0 0 4px rgba(37, 211, 102, .18), 0 10px 40px -10px rgba(37, 211, 102, .6); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(230, 242, 236, .04); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 18, 14, .72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -0.04em; }
.wordmark__mark { width: 26px; height: 26px; }
.nav__links { display: none; gap: 32px; margin-left: 40px; }
.nav__links a, .nav__login { font-size: 15px; color: var(--muted); transition: color .2s; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__login:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: none; margin-left: auto; align-items: center; gap: 24px; }
.nav__burger { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px 20px 24px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-menu .btn { margin-top: 16px; justify-content: center; }
@media (min-width: 1025px) {
  .nav__links, .nav__actions { display: flex; }
  .nav__burger, .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero { padding: 48px 0 32px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1025px) {
  .hero { padding: 72px 0 40px; min-height: min(78vh, 760px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 45fr 55fr; gap: 24px; }
  .hero__visual { margin-right: -40px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.hero__title {
  margin: 0; font-weight: 600;
  font-size: clamp(44px, 8.4vw, 92px); line-height: .98; letter-spacing: -0.045em;
}
.hl { color: var(--accent); }
.hero__sub { margin: 28px 0 0; max-width: 470px; color: var(--muted); font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__install {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 28px;
  border: 1px solid var(--line); background: rgba(13, 31, 24, .6);
  padding-left: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--muted);
}
.hero__install .tk-p { color: var(--accent); margin-right: 6px; }

.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 40px; justify-content: center;
  padding: 0 10px; color: var(--muted); font-family: var(--font-mono); font-size: 12px; transition: color .2s;
}
.copy-btn:hover { color: var(--ink); }
.copy-btn.is-done { color: var(--accent); }

/* entrance */
.reveal-in { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- SVG flow ---------- */
.flow { width: 100%; height: auto; display: block; overflow: visible; }
.flow text { font-family: var(--font-mono); }
.f-label { font-size: 10px; letter-spacing: .14em; fill: var(--muted); }
.f-label.accent, .f-mono-xs.accent { fill: var(--accent); }
.f-mono-sm { font-size: 11px; fill: var(--faint); }
.f-mono-xs { font-size: 10px; fill: var(--muted); }
.f-code { font-size: 12px; }
.c-p { fill: var(--muted); }
.c-k { fill: var(--ink); }
.c-s { fill: var(--accent); }
.caret { fill: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.f-stroke { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.f-stroke-dim { fill: none; stroke: var(--line-2); stroke-width: 1; }
.f-stroke-accent { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.f-dim { stroke: var(--line-2); fill: none; }
.f-screen { fill: var(--bg-2); stroke: var(--line); }
.f-fill { fill: var(--ink); }
.f-fill-dim { fill: var(--faint); }
.f-fill-accent { fill: var(--accent); }
.f-bubble-in { fill: var(--surface); stroke: var(--line-2); }
.f-bubble-out { fill: var(--accent); }
.f-bubble-text { font-size: 9.5px; fill: var(--ink); }
.f-bubble-text.dark { fill: var(--accent-ink); font-weight: 700; }

.wire-base { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.wire-back { stroke-dasharray: 3 5; }
.wire-flow {
  fill: none; stroke: url(#wire); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 40 220; animation: flow 2.4s linear infinite;
}
.wire-flow--back { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.4; stroke-dasharray: 24 300; animation-duration: 3.2s; animation-direction: reverse; }
@keyframes flow { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.pulse { fill: var(--accent); }
.packet-back { fill: var(--bg); stroke: var(--ink); stroke-width: 1.2; }

.hook-halo { fill: rgba(37, 211, 102, .06); transform-origin: 320px 262px; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(.75); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.hook-ring { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 7; transform-origin: 320px 262px; animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hook-core { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; }
.hook-glyph { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; }

.json { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.json-card { fill: rgba(13, 31, 24, .92); stroke: var(--line-2); }
.json-head { fill: rgba(230, 242, 236, .04); stroke: var(--line-2); }
.chip { fill: rgba(37, 211, 102, .1); stroke: var(--accent); stroke-width: 1; }
.status-chip { animation: chip 2.4s 1.2s ease-out infinite; }
@keyframes chip { 0%, 60% { opacity: .35; } 75% { opacity: 1; } 100% { opacity: .35; } }

.led { fill: var(--accent); animation: led 1.6s steps(2) infinite; }
.l2 { animation-delay: .4s; }
.l3 { animation-delay: .9s; }
@keyframes led { 50% { fill: var(--faint); } }

.bubble, .typing { opacity: 0; animation: bubble 8s var(--ease) infinite; }
.b1 { animation-name: b1; }
.b2 { animation-name: b2; }
.typing { animation-name: typing; }
.b3 { animation-name: b3; }
@keyframes b1 { 0% { opacity: 0; transform: translateY(8px); } 5%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes b2 { 0%, 12% { opacity: 0; transform: translateY(8px); } 17%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes typing { 0%, 30% { opacity: 0; } 34%, 52% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes b3 { 0%, 54% { opacity: 0; transform: translateY(8px); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.t1, .t2, .t3 { animation: dots 1s ease-in-out infinite; }
.t2 { animation-delay: .15s; }
.t3 { animation-delay: .3s; }
@keyframes dots { 50% { opacity: .2; } }

/* ---------- steps ---------- */
.steps { padding: 24px 0 80px; }
.steps__grid { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 769px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.step:last-child { border-bottom: 0; }
@media (min-width: 769px) {
  .step { padding: 32px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .step:first-child { padding-left: 0; }
  .step:last-child { border-right: 0; }
}
.step__num { font-family: var(--font-mono); font-size: 40px; line-height: 1; font-weight: 500; color: var(--accent); letter-spacing: -0.04em; }
.step h3 { margin: 4px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- code ---------- */
.code { padding: 64px 0 96px; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2, .cta h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 600; }
.section-head__sub { margin: 18px 0 0; color: var(--muted); }

.code__grid { display: grid; gap: 20px; }
@media (min-width: 1025px) { .code__grid { grid-template-columns: 1.45fr 1fr; } }

.editor, .terminal { border: 1px solid var(--line-2); background: rgba(10, 25, 19, .85); min-width: 0; }
.editor__bar, .terminal__bar {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 8px 0 4px;
  border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
.terminal__bar { padding: 0 16px; }
.tabs { display: flex; }
.tab {
  position: relative; min-height: 52px; padding: 0 14px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); transition: color .2s;
}
.tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.editor__file { margin-left: auto; display: none; }
@media (min-width: 641px) { .editor__file { display: inline; } }
.editor .copy-btn { margin-left: auto; }
@media (min-width: 641px) { .editor .copy-btn { margin-left: 0; } }

.editor__body { margin: 0; padding: 20px 0; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; counter-reset: ln; min-height: 470px; }
.editor__body code { display: block; transition: opacity .25s; }
.editor__body code.is-swapping { opacity: 0; }
.ln { display: block; padding: 0 20px 0 0; white-space: pre; opacity: 0; transform: translateX(-6px); animation: ln .4s var(--ease) forwards; }
.ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 44px; padding-right: 16px; text-align: right; color: var(--faint); }
@keyframes ln { to { opacity: 1; transform: none; } }

.tk-k { color: #7FE7A8; }
.tk-s { color: var(--accent); }
.tk-c { color: var(--faint); font-style: italic; }
.tk-n { color: #F2C66D; }
.tk-f { color: var(--ink); font-weight: 500; }
.ln { color: #B8CCC2; }

.terminal { display: flex; flex-direction: column; }
.terminal__count { margin-left: auto; color: var(--faint); }
.events { list-style: none; margin: 0; padding: 8px 0; flex: 1; min-height: 220px; max-height: 260px; overflow: hidden; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  animation: evt .5s var(--ease);
}
.event:first-child { background: rgba(37, 211, 102, .06); }
@keyframes evt { from { opacity: 0; transform: translateY(-10px); background: rgba(37, 211, 102, .18); } }
.event__time { color: var(--faint); }
.event__name { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event__status { color: var(--accent); }
.terminal__payload { border-top: 1px solid var(--line); padding: 14px 16px 18px; }
.terminal__label { margin: 0 0 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.terminal__payload pre { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.65; color: #B8CCC2; white-space: pre-wrap; word-break: break-word; min-height: 120px; }

.specs { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 769px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs li { padding: 24px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.specs strong { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.specs span { font-size: 14px; color: var(--muted); }

/* ---------- cta ---------- */
.cta { padding: 0 0 96px; }
.cta__inner {
  display: flex; flex-direction: column; gap: 28px; justify-content: space-between;
  padding: 40px 24px; border: 1px solid var(--accent);
  background: linear-gradient(90deg, rgba(37, 211, 102, .08), transparent 70%);
}
.cta h2 { font-size: clamp(28px, 3.6vw, 40px); }
.cta p { margin: 12px 0 0; color: var(--muted); }
@media (min-width: 1025px) { .cta__inner { flex-direction: row; align-items: center; padding: 48px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.footer .wordmark { font-size: 18px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { font-size: 14px; color: var(--muted); padding: 10px 0; transition: color .2s; }
.footer__links a:hover { color: var(--ink); }
.footer__note { margin: 0; font-size: 13px; color: var(--faint); width: 100%; }
@media (min-width: 1025px) { .footer__note { width: auto; margin-left: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .reveal-in, .bubble, .typing { opacity: 1 !important; transform: none !important; }
  .packets { display: none; }
}

/* ---------- plans ---------- */
.plans { padding: 32px 0 96px; }
.plans__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 641px) { .plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .plans__grid { grid-template-columns: repeat(4, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px;
  border: 1px solid var(--line-2); background: rgba(10, 25, 19, .7);
  transition: border-color .25s, transform .3s var(--ease);
}
.plan:hover { border-color: var(--accent); transform: translateY(-4px); }
.plan.is-featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(37, 211, 102, .08), rgba(10, 25, 19, .7)); }
.plan h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.plan__tag { position: absolute; top: -11px; left: 24px; padding: 2px 10px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan__price { margin: 0; font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; flex: 1; font-size: 14.5px; color: var(--muted); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); }
.plan .btn { justify-content: center; }

/* ---------- faq ---------- */
.faq { padding: 0 0 96px; }
.faq__inner { max-width: 820px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; color: var(--accent); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; animation: rise .5s var(--ease); }

/* =====================================================
   Refonte douce : formes arrondies, cartes, lumière
   ===================================================== */
:root { --r-lg: 28px; --r-md: 20px; --r-sm: 14px; }

body {
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(37, 211, 102, .16), transparent 60%),
    radial-gradient(700px 480px at -5% 35%, rgba(37, 211, 102, .07), transparent 60%),
    var(--bg);
}
.grid-bg { opacity: .55; }

/* boutons : pilules */
.btn { border-radius: 999px; min-height: 52px; padding: 0 28px; font-weight: 600; }
.btn--sm { min-height: 42px; padding: 0 20px; }
.btn--primary { background: linear-gradient(180deg, #3BE07F, #25D366); box-shadow: 0 8px 28px -8px rgba(37, 211, 102, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(37, 211, 102, .75), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost { background: rgba(230, 242, 236, .04); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(230, 242, 236, .09); border-color: rgba(230,242,236,.4); }

/* nav flottante */
.nav { background: transparent; backdrop-filter: none; border-bottom: 0; top: 12px; }
.nav__inner {
  height: 64px; margin: 0 auto; max-width: 1180px; padding: 0 12px 0 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(10, 25, 19, .72); backdrop-filter: blur(14px);
}
.nav .container { padding: 0 16px; }
.nav__burger { border-radius: 50%; }
.mobile-menu { margin: 8px 16px 0; border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgba(10, 25, 19, .96); }

/* hero */
.hero__title { font-weight: 700; }
.eyebrow {
  padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(37, 211, 102, .07); color: #b9e8cc; text-transform: none; letter-spacing: .02em; font-size: 13px;
}
.hero__install { border-radius: 999px; padding-left: 20px; background: rgba(13, 31, 24, .8); }
.copy-btn { border-radius: 999px; }
.hero__visual {
  position: relative; padding: 12px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(420px 300px at 50% 40%, rgba(37, 211, 102, .12), transparent 70%), rgba(10, 25, 19, .55);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
@media (min-width: 1025px) { .hero__visual { margin-right: 0; } }

/* SVG : coins arrondis */
.rack rect:first-child { rx: 10px; ry: 10px; }
.rack rect:first-child, .f-stroke { stroke-linejoin: round; }
.json-card { rx: 14px; ry: 14px; }
.json-head { rx: 14px; ry: 14px; fill: rgba(230, 242, 236, .05); stroke: none; }
.chip { rx: 10px; ry: 10px; }
.sig rect { rx: 13px; ry: 13px; }
.packet-back { rx: 4px; ry: 4px; }
.hook-core { fill: #0B1D15; }

/* étapes en cartes */
.steps__grid { gap: 16px; border: 0; }
.step, .step:first-child { padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgba(10, 25, 19, .6); transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: rgba(37, 211, 102, .6); }
.step__num { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: rgba(37, 211, 102, .12); font-size: 20px; }

/* éditeur / terminal */
.editor, .terminal { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.editor__bar, .terminal__bar { background: rgba(230, 242, 236, .03); }
.tabs { gap: 4px; padding: 0 4px; }
.tab { min-height: 36px; margin: auto 0; border-radius: 999px; padding: 0 14px; }
.tab::after { display: none; }
.tab.is-active { background: rgba(37, 211, 102, .15); color: var(--accent); }
.tab:hover:not(.is-active) { background: rgba(230,242,236,.06); }
.event { border-radius: 12px; margin: 0 8px; padding: 8px 10px; }
.specs { border-top: 0; gap: 12px; }
.specs li { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(10, 25, 19, .5); }

/* tarifs */
.plan { border-radius: var(--r-lg); padding: 32px 26px; }
.plan__tag { border-radius: 999px; padding: 4px 12px; top: -13px; }
.plan li::before { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; }
.plan .btn { width: 100%; }

/* FAQ en cartes */
.faq__list { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgba(10, 25, 19, .55); padding: 0 24px; transition: border-color .25s; }
.faq details[open] { border-color: rgba(37, 211, 102, .55); }
.faq summary::after { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(37, 211, 102, .12); font-size: 20px; }

/* CTA */
.cta__inner { border-radius: var(--r-lg); border-color: rgba(37, 211, 102, .6); background: radial-gradient(600px 240px at 0% 0%, rgba(37,211,102,.18), transparent 70%), rgba(10, 25, 19, .7); }

.footer { border-top: 0; }
