/* ==========================================================
   Avenox Studio — feuille de style
   ========================================================== */

:root {
  --bg: #0b0d12;
  --bg-2: #10131b;
  --surface: #151925;
  --surface-2: #1b2030;
  --border: #252b3d;
  --text: #e8eaf2;
  --muted: #9aa2b8;

  --green: #3ddc84;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --pink: #f472b6;

  --grad: linear-gradient(120deg, var(--green), var(--cyan) 50%, var(--violet));

  --radius: 14px;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pixel: "Silkscreen", var(--mono);

  --nav-h: 72px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--violet); color: #fff; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

#pixels {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Boutons ---------- */
.btn {
  --b: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.6em;
  font-weight: 600;
  color: #07130c;
  background: var(--b);
  border: 2px solid var(--b);
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 0 #1d8a50, 0 10px 30px -10px rgba(61, 220, 132, .6);
  transition: transform .15s, box-shadow .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #1d8a50, 0 14px 34px -10px rgba(61, 220, 132, .7); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #1d8a50; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--green); color: var(--green); box-shadow: none; }
.btn--ghost:active { box-shadow: none; }

.btn--small { padding: .55em 1.1em; font-size: .9rem; box-shadow: 0 3px 0 #1d8a50; }
.btn--full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 13, 18, .8);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo__block {
  width: 28px; height: 28px;
  background:
    linear-gradient(var(--green) 0 30%, transparent 30%),
    linear-gradient(135deg, #6d3fe0, var(--violet));
  border-radius: 4px;
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.25), 0 0 20px -4px var(--violet);
  image-rendering: pixelated;
}
.logo__text { font-family: var(--pixel); font-size: 1.15rem; letter-spacing: .04em; }
.logo__text span { color: var(--green); margin-left: .35em; font-size: .8em; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: var(--muted); font-weight: 500; position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--green); transition: width .25s;
}
.nav__links a:not(.btn):hover,
.nav__links a.is-current { color: var(--text); }
.nav__links a:not(.btn):hover::after,
.nav__links a.is-current::after { width: 100%; }

.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text);
  transition: transform .3s, opacity .3s;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  position: relative;
  background:
    radial-gradient(600px 400px at 80% 30%, rgba(139, 92, 246, .18), transparent 70%),
    radial-gradient(500px 400px at 10% 80%, rgba(61, 220, 132, .12), transparent 70%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }

.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem .9rem;
  font-family: var(--mono); font-size: .8rem; color: var(--green);
  background: rgba(61, 220, 132, .08);
  border: 1px solid rgba(61, 220, 132, .25);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.dot { width: 8px; height: 8px; background: var(--green); border-radius: 2px; box-shadow: 0 0 10px var(--green); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.lead strong { color: var(--text); font-weight: 600; }

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--pixel); font-size: 1.5rem; color: var(--text); font-weight: 400; }
.hero__stats span { font-size: .85rem; color: var(--muted); }

/* Visuel : bloc 3D + fenêtre de code */
.hero__visual { position: relative; height: 480px; }

.scene {
  position: absolute; top: 20px; right: 70px;
  width: 170px; height: 170px;
  perspective: 900px;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-18px); } }

.cube {
  --s: 170px;
  width: var(--s); height: var(--s);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(38deg);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotateX(-24deg) rotateY(398deg); } }

.face {
  position: absolute; inset: 0;
  background-size: 100% 100%;
  image-rendering: pixelated;
  outline: 1px solid rgba(0,0,0,.15);
}
.face.top    { background-color: #5bb83a; background-image: var(--tex-top);  transform: rotateX(90deg)  translateZ(calc(var(--s) / 2)); }
.face.bottom { background-color: #866043; background-image: var(--tex-dirt); transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.5); }
.face.front  { background-color: #866043; background-image: var(--tex-side); transform: translateZ(calc(var(--s) / 2)); filter: brightness(.85); }
.face.back   { background-color: #866043; background-image: var(--tex-side); transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(.85); }
.face.right  { background-color: #866043; background-image: var(--tex-side); transform: rotateY(90deg)  translateZ(calc(var(--s) / 2)); filter: brightness(.7); }
.face.left   { background-color: #866043; background-image: var(--tex-side); transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.7); }

.cube-shadow {
  position: absolute; left: 50%; bottom: -70px;
  width: 160px; height: 26px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent);
  animation: shadow 5s ease-in-out infinite;
}
@keyframes shadow { 50% { transform: scale(.8); opacity: .6; } }

.code-window {
  position: absolute; left: 0; bottom: 0;
  width: min(440px, 100%);
  background: rgba(16, 19, 27, .92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(139,92,246,.08);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.code-window__bar {
  display: flex; align-items: center; gap: 6px;
  padding: .7rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.code-window__bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-window__bar span:nth-child(2) { background: #febc2e; }
.code-window__bar span:nth-child(3) { background: #28c840; }
.code-window__bar em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .75rem; color: var(--muted); }

.code-window pre {
  padding: 1.1rem 1.2rem;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.7;
  min-height: 250px;
  white-space: pre-wrap;
  color: #c9d1e8;
}
.tk-k { color: #c792ea; }
.tk-t { color: #82aaff; }
.tk-s { color: #c3e88d; }
.tk-a { color: #ffcb6b; }
.tk-c { color: #5c6582; font-style: italic; }
.caret { display: inline-block; width: 8px; height: 1.1em; background: var(--green); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; translate: -50% 0;
  width: 4px; height: 8px; background: var(--green); border-radius: 2px;
  animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bandeau ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding: 1.1rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--pixel); font-size: .95rem; color: var(--muted); white-space: nowrap; }
.marquee__track span::before { content: "■"; color: var(--green); margin-right: .8rem; font-size: .7em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(21, 25, 37, .55) 15%, rgba(21, 25, 37, .55) 85%, transparent); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 4rem; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1rem; }
.section__head p:not(.kicker) { color: var(--muted); font-size: 1.05rem; }
.kicker { font-family: var(--mono); color: var(--green); font-size: .9rem; margin-bottom: .8rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cartes services ---------- */
.card {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 92, 246, .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: #353d56; }
.card:hover::before { opacity: 1; }
.card--featured { border-color: rgba(139, 92, 246, .45); background: linear-gradient(180deg, rgba(139,92,246,.1), var(--surface) 60%); }

.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  margin-bottom: 1.4rem;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card__list { margin-top: 1.2rem; display: grid; gap: .5rem; }
.card__list li { font-size: .9rem; color: var(--text); padding-left: 1.4rem; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; background: var(--green); border-radius: 2px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 8%; right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num {
  display: inline-grid; place-items: center;
  width: 68px; height: 68px;
  font-family: var(--pixel); font-size: 1.3rem;
  background: var(--bg);
  border: 2px solid var(--green);
  border-radius: 14px;
  color: var(--green);
  margin-bottom: 1.4rem;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg), 0 0 30px -6px var(--green);
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Réalisations ---------- */
.filters { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter {
  padding: .5rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 500;
  transition: all .2s;
}
.filter:hover { color: var(--text); border-color: #3a4260; }
.filter.is-active { background: var(--green); border-color: var(--green); color: #07130c; }

.work {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, opacity .3s;
}
.work:hover { transform: translateY(-4px); border-color: #353d56; }
.work.is-hidden { display: none; }

.work__thumb {
  height: 170px;
  display: grid; place-items: center;
  position: relative;
  background-size: 24px 24px;
}
.work__thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.work__thumb span { font-size: 3.4rem; filter: drop-shadow(0 8px 16px rgba(0,0,0,.5)); position: relative; z-index: 1; transition: transform .4s; }
.work:hover .work__thumb span { transform: scale(1.15) rotate(-6deg); }
.work__thumb--a { background: linear-gradient(135deg, #4c1d95, #be123c); }
.work__thumb--b { background: linear-gradient(135deg, #0e7490, #15803d); }
.work__thumb--c { background: linear-gradient(135deg, #1e3a8a, #7c3aed); }
.work__thumb--d { background: linear-gradient(135deg, #7f1d1d, #b45309); }
.work__thumb--e { background: linear-gradient(135deg, #155e75, #6d28d9); }
.work__thumb--f { background: linear-gradient(135deg, #3f6212, #a16207); }

.work__body { padding: 1.5rem; }
.work__body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.work__body p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span {
  font-family: var(--mono); font-size: .72rem;
  padding: .25rem .6rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--cyan);
}

/* ---------- Tarifs ---------- */
.pricing { align-items: stretch; }
.price {
  display: flex; flex-direction: column;
  padding: 2.2rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.price h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.price__amount { font-family: var(--pixel); font-size: 2.2rem; margin-bottom: 1.6rem; line-height: 1.1; }
.price__amount small { display: block; font-family: var(--font); font-size: .8rem; color: var(--muted); margin-bottom: .3rem; }
.price ul { display: grid; gap: .75rem; align-content: start; margin-bottom: 2rem; flex: 1; }
.price li { padding-left: 1.6rem; position: relative; color: var(--muted); font-size: .95rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.price--featured {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(61,220,132,.08), var(--surface) 50%);
  transform: scale(1.04);
  box-shadow: 0 30px 60px -30px rgba(61,220,132,.35);
}
.price__badge {
  position: absolute; top: -13px; left: 50%; translate: -50% 0;
  font-family: var(--pixel); font-size: .75rem;
  padding: .3rem .9rem;
  background: var(--green); color: #07130c;
  border-radius: 6px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(61,220,132,.4); }
.faq summary {
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--pixel); font-size: 1.3rem; color: var(--green);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.contact__info > p { color: var(--muted); margin-bottom: 2rem; }
.contact__links { display: grid; gap: 1rem; }
.contact__links li { display: flex; align-items: center; gap: 1rem; }
.contact__links a { font-weight: 500; transition: color .2s; }
.contact__links a:hover { color: var(--green); }
.contact__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--green);
}

.form {
  display: grid; gap: 1.1rem;
  padding: 2.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; }
.form label > span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: .8rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,220,132,.15); }
.form .is-invalid { border-color: #f87171; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button:disabled { opacity: .6; cursor: wait; transform: none; }
.form__status { font-size: .9rem; min-height: 1.4em; text-align: center; }
.form__status.ok { color: var(--green); }
.form__status.err { color: #f87171; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 3rem 0; background: var(--bg-2); }
.footer__inner { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer__legal { font-size: .78rem !important; opacity: .7; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  .price--featured { transform: none; }
}

@media (max-width: 760px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 16px 1.5rem;
    background: rgba(11, 13, 18, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .35s ease;
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 1rem; }
  .nav { background: rgba(11, 13, 18, .85); backdrop-filter: blur(14px); }

  .section { padding: 84px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
  .hero__stats { gap: 1.5rem; }
  .hero__visual { height: auto; display: flex; flex-direction: column; align-items: center; gap: 90px; padding-top: 40px; }
  .scene { position: relative; inset: auto; width: 120px; height: 120px; }
  .cube { --s: 120px; }
  .cube-shadow { bottom: -60px; width: 120px; }
  .code-window { position: relative; }
  .code-window pre { font-size: .72rem; min-height: 220px; }
  .scroll-hint { display: none; }
}

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