/* ------------------------------------------------------------------- fonts */

/* Self-hosted, latin subset. Pixelify Sans is a variable font (400 to 700). */
@font-face {
  font-family: "Pixelify Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/pixelify-sans-latin-v3.woff2") format("woff2");
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/press-start-2p-latin-v16.woff2") format("woff2");
}

/* ------------------------------------------------------------------ tokens */

:root {
  --page:        #ffffff;  /* page background; the cards on top stay black */
  --bg:          #050505;
  --card:        #0f0f0f;
  --line:        #2a2a2a;
  --gray-700:    #3a3a3a;
  --gray-500:    #6b6b6b;
  --gray-300:    #a8a8a8;
  --ink:         #f2f2f2;
  --white:       #ffffff;

  /* Food colors, only for the pixel icons. */
  --c-gold:      #f2b33d;
  --c-red:       #e5484d;
  --c-green:     #5fb85a;
  --c-brown:     #a8683a;
  --c-wine:      #b3264f;
  --c-blue:      #4aa3df;

  --font-px: "Press Start 2P", ui-monospace, Menlo, monospace;
  --font-body: "Pixelify Sans", ui-monospace, Menlo, monospace;

  --surface: var(--card);  /* color under interactive pieces; set per surface */
  --focus: var(--white);   /* focus ring color; set per surface */

  --step: 4px;       /* size of one stair step on cards */
  --gutter: 32px;
  --pad: 48px;       /* inner padding of the hero card */
}

/* -------------------------------------------------------------------- base */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--bg);
  font: 400 18px/1.5 var(--font-body);
  /* Pixelify Sans joins "fi" into a ligature that reads like an "A". */
  font-variant-ligatures: none;
  overflow-x: hidden;
}

a { color: inherit; }

svg { display: block; image-rendering: pixelated; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 12px 16px;
  background: var(--white);
  color: var(--bg);
  font: 10px/1.6 var(--font-px);
}
.skip:focus { top: 16px; }

/* Stair-stepped corners for big, non-interactive surfaces. */
.stepped {
  --s: var(--step);
  clip-path: polygon(
    0 calc(2 * var(--s)), var(--s) calc(2 * var(--s)), var(--s) var(--s), calc(2 * var(--s)) var(--s), calc(2 * var(--s)) 0,
    calc(100% - 2 * var(--s)) 0, calc(100% - 2 * var(--s)) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(2 * var(--s)), 100% calc(2 * var(--s)),
    100% calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - 2 * var(--s)), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) calc(100% - var(--s)), calc(100% - 2 * var(--s)) 100%,
    calc(2 * var(--s)) 100%, calc(2 * var(--s)) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - 2 * var(--s)), 0 calc(100% - 2 * var(--s))
  );
}

/*
  Stepped shape for interactive pieces, built with box-shadow instead of
  clip-path so the focus ring is not clipped away.
  --c: color of the piece, --behind: color of whatever is under it.
*/
.px {
  --c: var(--white);
  --behind: var(--surface);
  --shape: -4px 0 0 var(--c), 4px 0 0 var(--c), 0 -4px 0 var(--c), 0 4px 0 var(--c);
  --ring:
    -6px 0 0 var(--behind), 6px 0 0 var(--behind), 0 -6px 0 var(--behind), 0 6px 0 var(--behind),
    -8px 0 0 var(--focus), 8px 0 0 var(--focus), 0 -8px 0 var(--focus), 0 8px 0 var(--focus);
  margin: 4px;
  background: var(--c);
  box-shadow: var(--shape);
}

/* Focus: stepped 2px white outline (four bars, open corners). */
:focus-visible {
  outline: 2px solid transparent; /* shown by forced-colors mode */
  box-shadow: -2px 0 0 var(--focus), 2px 0 0 var(--focus), 0 -2px 0 var(--focus), 0 2px 0 var(--focus);
}
.px:focus-visible,
.px:has(:focus-visible) {
  box-shadow: var(--shape), var(--ring);
}

.marca-gris { color: var(--dim); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  font: 10px/1.6 var(--font-px);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn--invert {
  --behind: var(--surface);
  --shape: -4px 0 0 var(--c), 4px 0 0 var(--c), 0 -4px 0 var(--c), 0 4px 0 var(--c);
  --ring:
    -6px 0 0 var(--behind), 6px 0 0 var(--behind), 0 -6px 0 var(--behind), 0 6px 0 var(--behind),
    -8px 0 0 var(--focus), 8px 0 0 var(--focus), 0 -8px 0 var(--focus), 0 8px 0 var(--focus);
  --c: var(--piece);
  margin: 4px;
  background: var(--c);
  box-shadow: var(--shape);
  color: var(--piece-text);
}
.btn--invert svg { --ink: var(--piece-text); }
.btn--lg { padding: 12px 18px; font-size: 12px; }
.btn[disabled] { cursor: progress; }
.btn--invert:hover { --c: var(--piece-hover); }
.btn--invert:focus-visible { box-shadow: var(--shape), var(--ring); }

/* -------------------------------------------------------------------- hero */

.hero { padding: var(--gutter); }

.hero__glow {
  max-width: 1200px;
  margin: 0 auto;
  filter: drop-shadow(0 14px 28px rgba(5, 5, 5, 0.12));
}

.hero__card {
  padding: 2px;
  background: #0a0a0a;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 636px;
  background: var(--white);
}

/* nav */

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--pad) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  text-decoration: none;
}
.brand__name { font: 14px/1 var(--font-px); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 8px 2px;
  font: 10px/1.6 var(--font-px);
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.2s steps(4);
}
.nav__links a:hover::after,
.nav__links a:focus-visible::after { width: calc(100% - 4px); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; animation: pop 0.15s steps(2); }
.nav__toggle[aria-expanded="false"] .nav__toggle-open { animation: pop 0.15s steps(2); }

@keyframes pop {
  from { transform: scale(0.5); }
  to { transform: scale(1); }
}

/* body */

.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  padding: 0 var(--pad);
}

.hero__copy {
  align-self: center;
  padding: 40px 0 96px;
}

.hero__title {
  margin: 0;
  font: 400 16px/1.3 var(--font-px);
}
.hero__kicker {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(14px, 1.7vw, 20px);
}

.glitch {
  position: relative;
  display: inline-block;
  isolation: isolate;
  /* Press Start 2P is monospace (1em per letter): fit the name to the column. */
  font-size: min(56px, calc(min(520px, 100vw - 2 * 16px - 2 * 20px - 2px) / var(--marca-len, 8)));
  line-height: 1.15;
  text-shadow: var(--glow);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute;
  inset: 0;
  z-index: -1;
  text-shadow: none;
}
.glitch::before {
  color: var(--gray-300);
  transform: translate(-3px, 0);
  animation: glitch-a 6s steps(1) infinite;
}
.glitch::after {
  color: var(--gray-700);
  transform: translate(4px, 3px);
  animation: glitch-b 6s steps(1) infinite;
}

/* 200ms of shake at the end of every 6s cycle. */
@keyframes glitch-a {
  0%, 96.6% { transform: translate(-3px, 0); }
  96.7% { transform: translate(-8px, -2px); }
  97.8% { transform: translate(3px, 2px); }
  98.9% { transform: translate(-6px, 1px); }
  100% { transform: translate(-3px, 0); }
}
@keyframes glitch-b {
  0%, 96.6% { transform: translate(4px, 3px); }
  96.7% { transform: translate(9px, 1px); }
  97.8% { transform: translate(-4px, 4px); }
  98.9% { transform: translate(7px, 2px); }
  100% { transform: translate(4px, 3px); }
}

.hero__lead {
  max-width: 460px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.4;
}

/* hero call to action */

.hero__cta { margin-top: 36px; }
.cta-note { margin: 12px 4px 0; color: var(--muted); font-size: 16px; }

/* scene */

.scene {
  position: relative;
  align-self: stretch;
  min-height: 520px;
}
.scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 300px;
  height: 56px;
  margin-left: -150px;
  background: radial-gradient(ellipse at 50% 100%, rgba(5, 5, 5, 0.14), transparent 70%);
  pointer-events: none;
}

.scene__arm {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1;
  width: 144px;
  margin-left: -72px;
}
.scene__arm svg { width: 100%; height: auto; }

.float {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 64px;
  animation: float var(--d, 2s) steps(3) var(--delay, 0s) infinite alternate;
}
.float svg { width: 100%; height: auto; }

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

/* social */

.social {
  position: absolute;
  left: var(--pad);
  bottom: 32px;
  z-index: 2;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social a { display: block; padding: 6px; }

/* dot matrices */

.dots {
  position: absolute;
  color: var(--gray-500);
  pointer-events: none;
}
.dots svg { fill: currentColor; }
.dots--a { left: 300px; top: 14px; opacity: 0.55; }
.dots--b { left: 46%; bottom: 10px; opacity: 0.7; }
.dots--c { right: 44px; bottom: 96px; opacity: 0.45; }

.dot-blink { animation: blink 2.6s steps(1) infinite; }

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ---------------------------------------------------------------- surfaces */

/* White surfaces: the icon outline turns almost black. The food colors stay
   as they are: what separates an icon from white is its outline, not its fill. */
.light {
  --ink: #0a0a0a;
  --surface: var(--white);
  --focus: #0a0a0a;
  --piece: #0a0a0a;          /* solid buttons and form borders */
  --piece-text: var(--white);
  --piece-hover: var(--gray-700);
  --muted: #595959;          /* secondary text, AA on this surface */
  --dim: var(--gray-500);    /* the gray half of the brand name */
  --glow: none;
  color: var(--ink);
}

/* Solid black is kept for the closing block and the demo monitor. */
.dark {
  --ink: #f2f2f2;
  --surface: var(--card);
  --focus: var(--white);
  --piece: var(--white);
  --piece-text: var(--bg);
  --piece-hover: var(--gray-300);
  --muted: var(--gray-300);
  --dim: var(--gray-300);
  --glow: 0 0 20px rgba(255, 255, 255, 0.15);
  background: var(--card);
  color: var(--ink);
}

/* A dark block can sit inside a white one (closing, monitor), so pieces read
   these per-surface variables instead of using ".light x" selectors. */

/* ---------------------------------------------------------------- sections */

.section {
  max-width: 1104px;
  margin: 0 auto;
  padding: 72px var(--gutter);
}
.section--tight { padding-top: 0; }
.section--narrow { max-width: 824px; }
.section--center { text-align: center; }

.section h2,
.close h2 {
  margin: 0 0 24px;
  font: 400 clamp(16px, 2.4vw, 26px)/1.5 var(--font-px);
}
.section h3 {
  margin: 0 0 8px;
  font: 400 12px/1.6 var(--font-px);
}
.section p { margin: 0; }
.lead { max-width: 34em; font-size: 22px; line-height: 1.45; }

.sep {
  display: flex;
  justify-content: center;
  color: var(--gray-500);
  opacity: 0.6;
}
.sep svg { fill: currentColor; }

/* White card, 2px black border, stepped corners. */
.card { height: 100%; padding: 2px; background: #0a0a0a; }
.card__in { height: 100%; padding: 24px; background: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.card__icon { display: block; margin-bottom: 20px; }

/* steps */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 30px;
  height: 4px;
  background: repeating-linear-gradient(90deg, #0a0a0a 0 8px, transparent 8px 16px);
}
.steps li { position: relative; }
.steps__num {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  background: #0a0a0a;
  color: var(--white);
  font: 28px/1 var(--font-px);
  box-shadow: 0 0 0 8px var(--page);
}

/* split sections */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split--icon { grid-template-columns: auto minmax(0, 1fr); }
.privacy__icon { display: block; }

/* phone mockup */

.phone { margin: 0; justify-self: center; width: 280px; }
.phone__frame { padding: 10px; background: #0a0a0a; }
.phone__screen { padding: 20px 14px 28px; background: var(--white); }
.phone__tag {
  display: inline-block;
  margin: 0 0 14px !important;
  padding: 6px 8px;
  background: #0a0a0a;
  color: var(--white);
  font: 10px/1.4 var(--font-px);
}
.phone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.phone__grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  border: 2px solid #0a0a0a;
}
.metric__label { font-size: 15px; line-height: 1.2; }
.phone__grid strong { font: 400 20px/1.2 var(--font-px); }
.phone__grid small { margin-left: 4px; font: 400 10px/1 var(--font-px); }
.metric__delta { color: #595959; font-size: 14px; line-height: 1.2; }
.phone figcaption { margin-top: 14px; color: #595959; font-size: 16px; line-height: 1.3; }

/* demo */

.demo { margin-top: 28px; }
.demo__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.demo__tag {
  padding: 8px 10px;
  background: #0a0a0a;
  color: var(--white);
  font: 10px/1.4 var(--font-px);
}
.demo__grid { display: grid; gap: 20px; align-items: start; }
.demo__room { display: grid; place-items: center; padding: 12px; }
.demo canvas { display: block; margin: 0 auto; image-rendering: pixelated; }

/* The monitor is a screen: black, like everything that is "the system". */
.demo__monitor { padding: 12px; }
.demo__monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.demo__monitor-title { font: 10px/1.4 var(--font-px); }
.demo__monitor .btn { padding: 6px 10px; }
.demo__tabs { display: none; gap: 6px; margin-bottom: 10px; }
.demo__tab {
  flex: 1;
  padding: 8px 2px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 10px/1.4 var(--font-px);
  cursor: pointer;
}
.demo__tab[aria-pressed="true"] { background: var(--ink); color: var(--card); }

.demo__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0 !important;
  color: var(--muted);
  font-size: 15px;
}
.demo__legend-box {
  width: 12px;
  height: 12px;
  border: 1px solid #0a0a0a;
  background: #e2e2e2;
  box-shadow: 0 0 0 1px var(--gray-300);
}

.demo__metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}
.demo__metrics div { padding: 12px 10px; border: 2px solid #0a0a0a; }
.demo__metrics dt { font-size: 16px; line-height: 1.2; }
.demo__metrics dd { margin: 8px 0 0; font: 400 12px/1.5 var(--font-px); }

.demo__events { margin-top: 20px; }
.demo__events ol { margin: 0; padding: 0; list-style: none; min-height: 7.5em; }
.demo__events li { padding: 4px 0; border-top: 1px solid #d0d0d0; font-size: 18px; }
.demo__events time { margin-right: 10px; font: 10px/1 var(--font-px); }

@media (min-width: 1024px) {
  /* The monitor keeps the width where two cameras fit at 3x; the room takes the rest. */
  .demo__grid { grid-template-columns: minmax(0, 1fr) 512px; }
}
@media (max-width: 1023px) {
  .demo__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo__metrics div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .demo__tabs { display: flex; }
  .demo__room,
  .demo__monitor { padding: 8px; }
}

.demo__note { margin-top: 16px !important; color: var(--muted); font-size: 16px; line-height: 1.4; }

/* faq */

.faq { display: grid; gap: 14px; margin-top: 8px; }
.faq__item { padding: 0; }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font: 400 11px/1.7 var(--font-px);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { box-shadow: inset 0 0 0 2px #0a0a0a, inset 0 0 0 4px var(--white), inset 0 0 0 6px #0a0a0a; }
.faq__marker { flex: none; transition: transform 0.15s steps(2); }
.faq__item[open] .faq__marker { transform: rotate(90deg); }
.faq__item p { padding: 0 24px 22px; }

/* contact */

#contacto { scroll-margin-top: 16px; }
.contact { margin-top: 28px; }
.contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 28px 24px;
}
.field--wide,
.contact__hint { grid-column: 1 / -1; }
.contact__hint { color: var(--muted); font-size: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font: 10px/1.6 var(--font-px);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #0a0a0a;
  border-radius: 0;
  background: var(--white);
  color: #0a0a0a;
  /* Not the pixel font: in it a 5 reads like an S, bad for phones and emails. */
  font: 400 16px/1.4 ui-monospace, Menlo, Consolas, monospace;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-width: 4px; padding: 8px 10px; }
/* Errors are told in words and with a thicker border, never by color alone. */
.field__err { margin-top: 6px !important; font-size: 16px; font-weight: 600; }
.field__err:empty { display: none; }
.field__err::before { content: "! "; font: 10px/1 var(--font-px); }
.contact__trap { display: none; }
.contact__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact__status { flex: 1; min-width: 200px; font-weight: 600; }
.contact__alt { color: var(--muted); font-size: 16px; }

/* closing */

.close { padding: 24px var(--gutter) 72px; }
.close__card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px var(--pad);
  text-align: center;
}
.close .btn { margin-top: 20px; }

/* footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .social { position: static; margin: 0; padding: 0; }
.footer__made { margin: 0 0 0 auto; color: #595959; font-size: 16px; }

/* reveal on scroll: the class "js" is set by main.js, so without it nothing hides */

.js .reveal:not(.is-in) { visibility: hidden; }
/* "backwards", not "both": once it ends, the element gets its own stepped clip-path back. */
.js .reveal.is-in { animation: reveal 0.4s steps(4) backwards; }

@keyframes reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1023px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__copy { padding: 56px 0 0; }
  .scene {
    width: 100%;
    max-width: 520px;
    margin: -72px auto 0;
    transform: scale(0.8);
    transform-origin: 50% 100%;
  }
  .social { position: static; padding: 0 var(--pad); margin: 24px 0 -8px; }
  .dots--b { left: 12%; }
}

/* The nav collapses well before 640px: with five links, the brand and the
   button it stops fitting in one row under 1100px. */
@media (max-width: 1099px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    display: none;
    position: absolute;
    left: calc(var(--pad) - 8px);
    right: calc(var(--pad) - 8px);
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 2px solid var(--ink);
  }
  .nav__menu[data-open] { display: flex; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { padding: 12px 4px; }
  .nav__menu .btn { justify-content: center; }
}

@media (max-width: 767px) {
  .split,
  .split--icon { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .privacy__icon svg { width: 112px; height: 112px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps::before {
    left: 30px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(180deg, #0a0a0a 0 8px, transparent 8px 16px);
  }
  .steps li { min-height: 64px; padding-left: 88px; }
  .steps__num { position: absolute; left: 0; top: 0; margin: 0; }
}

@media (max-width: 639px) {
  :root { --gutter: 16px; --pad: 20px; }

  .section { padding-top: 56px; padding-bottom: 56px; }
  .section--tight { padding-top: 0; }
  .lead { font-size: 19px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .close__card { padding: 56px var(--pad); }
  .contact__form { grid-template-columns: minmax(0, 1fr); padding: 22px 16px; }
  .faq__item summary { padding: 18px; }
  .faq__item p { padding: 0 18px 20px; }
  .footer__made { margin-left: 0; }

  .nav { padding-top: 20px; }
  .brand__name { font-size: 12px; }
  .hero__copy { padding-top: 40px; }
  .hero__lead { font-size: 18px; }


  .scene {
    min-height: 340px;
    margin-top: 24px;
    transform: none;
  }
  .scene__arm { width: 96px; margin-left: -48px; }
  .scene::after { width: 220px; margin-left: -110px; }
  .float { width: 48px; }
  .float--extra { display: none; }
  .float[data-icon="camara"] { --x: calc(50% - 24px) !important; --y: 0% !important; }
  .float[data-icon="mesa"] { --x: 8% !important; --y: 18% !important; }
  .float[data-icon="pizza"] { --x: 78% !important; --y: 24% !important; }
  .float[data-icon="cafe"] { --x: 6% !important; --y: 62% !important; }

  .dots--a,
  .dots--b { display: none; }
  .dots--c { right: 16px; bottom: 40px; }
}

/* ------------------------------------------------------------------ motion */

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