@font-face {
  font-family: "Press Start 2P";
  src: url("../fonts/press-start-2p.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "VT323";
  src: url("../fonts/vt323.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f7f1dd;
  --cream-2: #fff9ea;
  --paper: #fffdf4;
  --ink: #12301f;
  --ink-soft: #355845;
  --muted: #58705e;
  --line: #1d3f2b;
  --moss: #2f6b43;
  --moss-2: #3f8a58;
  --leaf: #7bbf6a;
  --mint: #bfe3c8;
  --sky: #bfe3d0;
  --sun: #f2c14e;
  --amber: #e8a93c;
  --coral: #de6f54;
  --water: #79bfc4;
  --shadow: 6px 6px 0 rgba(18, 48, 31, 0.16);
  --shadow-hard: 4px 4px 0 var(--ink);
  --px: 2px;
  --max: 1180px;
  --mx: 0;
  --my: 0;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: "VT323", "Courier New", monospace;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.setup-page {
  background: transparent;
}

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

a {
  color: var(--moss);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img,
canvas,
svg {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#backdrop,
#backdropFront {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: auto;
  pointer-events: none;
  transform-origin: 50% 45%;
  will-change: transform;
}

#backdrop {
  z-index: -3;
  opacity: 1;
  filter: saturate(1.16) contrast(1.04);
  transform:
    translate3d(calc(var(--mx) * -54px), calc(var(--my) * -34px), 0)
    scale(1.32)
    rotateX(calc(var(--my) * 6deg))
    rotateY(calc(var(--mx) * -7deg));
}

#backdropFront {
  z-index: -2;
  opacity: 0.82;
  transform:
    translate3d(calc(var(--mx) * -110px), calc(var(--my) * -64px), 0)
    scale(1.3)
    rotateX(calc(var(--my) * 9deg))
    rotateY(calc(var(--mx) * -10deg));
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle 220px at var(--cursor-x) var(--cursor-y),
    rgba(255, 253, 244, 0.55),
    rgba(242, 193, 78, 0.2) 42%,
    transparent 72%
  );
  mix-blend-mode: screen;
  opacity: 0.7;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background: repeating-linear-gradient(0deg, rgba(18, 48, 31, 0.2) 0, rgba(18, 48, 31, 0.2) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
  animation: scanDrift 9s linear infinite;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 241, 221, 0.96);
  border-bottom: 2px solid var(--line);
  backdrop-filter: blur(3px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--moss);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--cream);
  font-size: 14px;
  line-height: 1;
}

.brand small {
  display: block;
  font-family: "VT323", monospace;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  line-height: 1.5;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 80ms ease, box-shadow 80ms ease, background 80ms ease;
  user-select: none;
}

.btn:hover {
  background: var(--mint);
  color: var(--ink);
}

.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--moss);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--moss-2);
  color: var(--cream);
}

.btn-sun {
  background: var(--sun);
  color: var(--ink);
}

.btn-sun:hover {
  background: #f7d470;
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(47, 107, 67, 0.1);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 8px;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-xs {
  padding: 6px 9px;
  font-size: 7px;
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: 2px 2px 0 var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--leaf);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(27px, 4.2vw, 48px);
}

h2 {
  font-size: clamp(19px, 2.6vw, 30px);
}

h3 {
  font-size: clamp(13px, 1.6vw, 17px);
}

p {
  margin: 0;
}

.lede {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  color: var(--ink-soft);
  max-width: 60ch;
}

.muted {
  color: var(--muted);
}

.tiny {
  font-size: 16px;
  line-height: 1.35;
}

.mono {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.7;
}

.hero {
  position: relative;
  padding: 64px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.hero h1 {
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.7);
}

.hero h1 .hl {
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.7);
}

.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 7px;
  background: var(--sun);
  z-index: -1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 18px;
  color: var(--muted);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check-dot {
  width: 8px;
  height: 8px;
  background: var(--leaf);
  border: 2px solid var(--ink);
  display: inline-block;
}

.hero-art {
  position: relative;
  padding: 10px;
}

.pixel-frame {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 8px;
}

.pixel-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(18, 48, 31, 0.25);
  pointer-events: none;
}

.pixel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--deep);
  transform: translate(20px, 22px);
}

.pixel-frame canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  image-rendering: pixelated;
  background: var(--sky);
}

.hero-badge {
  position: absolute;
  right: -12px;
  bottom: 22px;
  background: var(--sun);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 10px;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.5;
  transform: rotate(-2deg);
}

.section {
  position: relative;
  padding: 58px 0;
  background: rgba(247, 241, 221, 0.75);
  border-top: 3px solid var(--ink);
  box-shadow: 0 10px 0 rgba(18, 48, 31, 0.06);
}

#productos,
#builder {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.section-head > div {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 2px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card-soft {
  background: rgba(255, 253, 244, 0.78);
}

.card-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 rgba(18, 48, 31, 0.35);
}

.card-ink a {
  color: var(--sun);
}

.card-ink .muted {
  color: #b6cbb8;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 250px;
  position: relative;
}

.product-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--mint);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 24px;
  line-height: 1;
}

.product-card h3 {
  margin-bottom: 6px;
}

.product-card p {
  color: var(--ink-soft);
  font-size: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 2px dashed rgba(18, 48, 31, 0.25);
  padding-top: 12px;
}

.price {
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  color: var(--moss);
  white-space: nowrap;
}

.price small {
  font-family: "VT323", monospace;
  font-size: 16px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 7px;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-leaf {
  background: var(--mint);
}

.tag-sun {
  background: var(--sun);
}

.tag-coral {
  background: var(--coral);
  color: var(--cream);
}

.kicker-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.kicker-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.kicker-list li::before {
  content: ">";
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  color: var(--moss);
  margin-top: 4px;
}

.steps-visual {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: flow;
}

.flow-card {
  position: relative;
  padding-top: 28px;
  counter-increment: flow;
}

.flow-card::before {
  content: "0" counter(flow);
  position: absolute;
  top: 10px;
  left: 14px;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--cream);
  background: var(--moss);
  border: 2px solid var(--ink);
  padding: 5px 7px;
  box-shadow: 2px 2px 0 var(--ink);
}

.flow-card h3 {
  font-size: 11px;
  margin-bottom: 8px;
}

.flow-card p {
  font-size: 18px;
  color: var(--muted);
}

.quote-band {
  background: var(--ink);
  color: var(--cream);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 20px 0;
  overflow: hidden;
}

.quote-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.quote-band p {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.8;
  max-width: 760px;
}

.pixel-divider {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--moss) 0 8px, var(--sun) 8px 16px, var(--coral) 16px 24px, var(--mint) 24px 32px);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.wizard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.wizard-main {
  display: grid;
  gap: 18px;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 2px solid var(--line);
  background: var(--paper);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.5;
  color: var(--muted);
}

.step-pill.is-active {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.step-pill.is-done {
  background: var(--mint);
  color: var(--ink);
}

.step-pill.is-done::before {
  content: "✓";
  font-family: "VT323", monospace;
  font-size: 15px;
  line-height: 1;
}

.wizard-panel {
  display: none;
}

.wizard-panel.is-active {
  display: block;
  animation: pop-in 160ms steps(2, end);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.panel-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.panel-head p {
  color: var(--muted);
  font-size: 19px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.field .hint {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.3;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 2px solid var(--line);
  background: var(--cream-2);
  padding: 10px 12px;
  font-size: 21px;
  line-height: 1.25;
  box-shadow: inset 2px 2px 0 rgba(18, 48, 31, 0.08);
}

.input:focus,
.select:focus,
.textarea:focus {
  background: #fff;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 10px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 19px;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--moss);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 2px solid var(--line);
  background: var(--cream-2);
  cursor: pointer;
  transition: background 80ms ease, box-shadow 80ms ease;
}

.choice:hover {
  background: var(--mint);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice strong {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.6;
}

.choice span {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.25;
}

.choice:has(input:checked) {
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--ink);
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  background: var(--cream-2);
}

.toggle input {
  width: 20px;
  height: 20px;
  accent-color: var(--moss);
}

.toggle strong {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.6;
}

.toggle small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed rgba(18, 48, 31, 0.25);
}

.quote-panel {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 14px;
}

.quote-panel h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-lines {
  display: grid;
  gap: 8px;
  min-height: 30px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 18px;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(18, 48, 31, 0.2);
  padding-bottom: 7px;
}

.quote-line span:first-child {
  display: grid;
  gap: 2px;
}

.quote-line small {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.2;
}

.quote-line .amount {
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--ink);
  white-space: nowrap;
  padding-top: 3px;
}

.quote-line.deposit .amount {
  color: var(--coral);
}

.quote-empty {
  padding: 16px;
  border: 2px dashed rgba(18, 48, 31, 0.3);
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.quote-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.quote-total span {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--muted);
}

.quote-total strong {
  font-family: "Press Start 2P", monospace;
  font-size: 22px;
  color: var(--moss);
}

.quote-meta {
  display: grid;
  gap: 5px;
  font-size: 16px;
  color: var(--muted);
}

.warning-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.warning-list li {
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink-soft);
  padding: 8px 10px;
  background: rgba(242, 193, 78, 0.2);
  border-left: 4px solid var(--sun);
}

.notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 2px solid var(--line);
  background: rgba(191, 227, 200, 0.45);
  font-size: 18px;
  line-height: 1.3;
}

.notice.warn {
  background: rgba(242, 193, 78, 0.28);
}

.notice.bad {
  background: rgba(222, 111, 84, 0.18);
}

.notice .ico {
  flex: none;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  margin-top: 3px;
}

.domain-result {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.domain-result .domain-name {
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}

.verify-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.verify-row .input {
  flex: 1;
}

.email-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 2px solid var(--line);
  background: var(--cream-2);
}

.email-box.is-verified {
  background: rgba(191, 227, 200, 0.5);
}

.email-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  background: var(--sun);
  display: inline-block;
}

.status-dot.ok {
  background: var(--leaf);
}

.status-dot.bad {
  background: var(--coral);
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 2px solid var(--line);
  background: var(--cream-2);
}

.pay-option strong {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.6;
}

.pay-option small {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  margin-top: 3px;
}

.progress-list {
  display: grid;
  gap: 8px;
}

.progress-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: var(--cream-2);
}

.progress-item .mark {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
}

.progress-item.is-ok .mark {
  background: var(--leaf);
}

.progress-item.is-running .mark {
  background: var(--sun);
  animation: blink 900ms steps(2, end) infinite;
}

.progress-item.is-error .mark {
  background: var(--coral);
  color: var(--cream);
}

.progress-item.is-pending .mark {
  background: var(--cream);
}

@keyframes blink {
  50% {
    opacity: 0.45;
  }
}

.progress-item strong {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.6;
}

.progress-item span {
  display: block;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 2px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 2px solid var(--ink);
  background: var(--cream);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.6;
  text-transform: uppercase;
}

.status-chip.ok {
  background: var(--mint);
}

.status-chip.warn {
  background: var(--sun);
}

.status-chip.bad {
  background: var(--coral);
  color: var(--cream);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 2px solid var(--line);
  background: var(--paper);
  padding: 0 16px;
  box-shadow: 3px 3px 0 rgba(18, 48, 31, 0.12);
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  line-height: 1.7;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--moss);
}

.faq details[open] summary::before {
  content: "-";
}

.faq details p {
  padding: 0 0 16px 18px;
  color: var(--ink-soft);
  font-size: 19px;
}

.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  padding: 34px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.site-footer a {
  color: var(--mint);
}

.site-footer .muted {
  color: #a8bfaa;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 17px;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  max-width: min(380px, calc(100vw - 36px));
}

.toast {
  background: var(--ink);
  color: var(--cream);
  border: 2px solid var(--cream);
  box-shadow: 4px 4px 0 rgba(18, 48, 31, 0.4);
  padding: 12px 14px;
  font-size: 18px;
  line-height: 1.3;
  animation: pop-in 140ms steps(2, end);
}

.toast.bad {
  background: var(--coral);
  color: #2a100b;
}

.toast.good {
  background: var(--moss);
}

.loading-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.loading-line::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 700ms steps(4, end) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(18, 48, 31, 0.55);
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.35);
  padding: 22px;
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-head h3 {
  font-size: 12px;
  line-height: 1.6;
}

.icon-btn {
  border: 2px solid var(--ink);
  background: var(--cream);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: "Press Start 2P", monospace;
  font-size: 10px;
  box-shadow: 2px 2px 0 var(--ink);
}

.code-box {
  position: relative;
  background: var(--ink);
  color: var(--mint);
  border: 2px solid var(--ink);
  padding: 12px 70px 12px 12px;
  font-family: "VT323", monospace;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.code-box code {
  font-family: inherit;
}

.code-box .copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
}

.login-shell {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 18px;
}

.login-card .brand {
  justify-self: start;
}

.setup-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 32px 0 60px;
}

.setup-nav {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 6px;
}

.setup-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 2px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.6;
}

.setup-nav a:hover,
.setup-nav a.is-active {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
}

.setup-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.summary-cell {
  padding: 12px;
  border: 2px solid var(--line);
  background: var(--paper);
}

.summary-cell span {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.summary-cell strong {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.setup-card {
  scroll-margin-top: 90px;
}

.setup-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.setup-card-head h2 {
  font-size: 15px;
  line-height: 1.6;
}

.setup-card-head p {
  color: var(--muted);
  font-size: 18px;
  margin-top: 5px;
}

.kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.kv div {
  border-bottom: 1px dashed rgba(18, 48, 31, 0.22);
  padding-bottom: 6px;
}

.kv span {
  display: block;
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.kv strong {
  display: block;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.bar {
  height: 14px;
  border: 2px solid var(--ink);
  background: var(--cream);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, var(--moss-2) 6px 12px);
  width: 0;
  transition: width 300ms steps(6, end);
}

.checks {
  display: grid;
  gap: 8px;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 2px solid var(--line);
  background: var(--cream-2);
  font-size: 18px;
}

.check-row .name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.orders-list {
  display: grid;
  gap: 8px;
}

.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 2px solid var(--line);
  background: var(--cream-2);
}

.order-row strong {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  line-height: 1.7;
}

.order-row small {
  display: block;
  color: var(--muted);
  font-size: 15px;
  margin-top: 2px;
}

.empty-state {
  padding: 20px;
  border: 2px dashed rgba(18, 48, 31, 0.3);
  color: var(--muted);
  text-align: center;
  font-size: 18px;
}

.spacer {
  height: 1px;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.row-between {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.divider {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px);
  margin: 16px 0;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 620px;
  }
  .wizard {
    grid-template-columns: 1fr;
  }
  .quote-panel {
    position: static;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .setup-layout {
    grid-template-columns: 1fr;
  }
  .setup-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  .summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body {
    font-size: 20px;
  }
  .wrap,
  .narrow {
    width: calc(100% - 28px);
  }
  .site-nav {
    display: none;
  }
  .header-inner {
    min-height: 60px;
  }
  .brand {
    font-size: 10px;
  }
  .brand small {
    display: none;
  }
  .hero {
    padding-top: 30px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .section {
    padding: 40px 0;
  }
  .section-head {
    display: grid;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .steps-visual {
    grid-template-columns: 1fr;
  }
  .summary-strip {
    grid-template-columns: 1fr;
  }
  .kv {
    grid-template-columns: 1fr;
  }
  .pay-option {
    align-items: flex-start;
    flex-direction: column;
  }
  .order-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .quote-band p {
    font-size: 9px;
  }
  .modal {
    padding: 16px;
  }
  .hero-badge {
    right: 4px;
    bottom: 8px;
  }
  .flow-card {
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background: transparent;
}

#backdrop {
  opacity: 0.72;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 241, 221, 0) 0%, rgba(247, 241, 221, 0.22) 42%, rgba(247, 241, 221, 0.9) 100%),
    radial-gradient(circle at 50% 18%, transparent 0 36%, rgba(18, 48, 31, 0.14) 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--moss), var(--leaf), var(--sun), var(--coral));
  box-shadow: 0 2px 0 rgba(18, 48, 31, 0.35);
  pointer-events: none;
}

[id] {
  scroll-margin-top: 112px;
}

.site-header {
  top: 0;
  z-index: 45;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  padding: 12px 0 8px;
}

.header-inner {
  min-height: 66px;
  padding: 6px 10px 6px 14px;
  background: linear-gradient(180deg, rgba(255, 253, 244, 0.96), rgba(247, 241, 221, 0.9));
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(18, 48, 31, 0.22), 0 18px 48px rgba(18, 48, 31, 0.14);
  backdrop-filter: blur(12px);
}

.site-nav {
  gap: 7px;
  perspective: 900px;
  transform-style: preserve-3d;
}

.site-nav a {
  padding: 9px 10px;
  border: 2px solid transparent;
  background: transparent;
  transform-style: preserve-3d;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translateZ(18px) rotateX(-6deg);
}

.sound-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 9px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.4;
  color: var(--ink);
  transition: transform 100ms ease, box-shadow 100ms ease, background 160ms ease;
}

.sound-toggle:hover,
.menu-toggle:hover {
  background: var(--mint);
}

.sound-toggle:active,
.menu-toggle:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--ink);
}

.sound-toggle[aria-pressed="true"] {
  background: var(--sun);
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: var(--moss);
  transform-origin: bottom;
}

.sound-bars i:nth-child(1) { height: 5px; }
.sound-bars i:nth-child(2) { height: 9px; }
.sound-bars i:nth-child(3) { height: 13px; }
.sound-bars i:nth-child(4) { height: 7px; }

.sound-toggle[aria-pressed="true"] .sound-bars i {
  animation: soundBar 760ms ease-in-out infinite alternate;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -140ms; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -280ms; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(4) { animation-delay: -420ms; }

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 55;
  width: min(var(--max), calc(100% - 24px));
  transform: translateX(-50%);
  display: grid;
  gap: 2px;
  padding: 10px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 6px 7px 0 rgba(18, 48, 31, 0.9);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 12px 10px;
  border: 2px solid transparent;
  font-family: "Press Start 2P", monospace;
  font-size: 9px;
  color: var(--ink);
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: var(--mint);
  border-color: var(--ink);
}

.hero {
  padding: 84px 0 54px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
}

.hero-copy {
  gap: 24px;
}

.hero h1 {
  font-size: clamp(30px, 3.9vw, 42px);
  line-height: 1.26;
  letter-spacing: -0.02em;
  text-shadow: 3px 3px 0 rgba(18, 48, 31, 0.07);
}

.hero h1 .hl::after {
  height: 9px;
  bottom: -7px;
  box-shadow: 0 2px 0 rgba(18, 48, 31, 0.16);
}

.hero .lede {
  max-width: 54ch;
  color: #ffffff;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8), 0 0 3px rgba(0, 0, 0, 0.5);
}

.hero-art {
  padding: 18px;
  perspective: 1050px;
}

.hero-art::before {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -58px;
  height: 200px;
  background-image:
    linear-gradient(rgba(18, 48, 31, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 48, 31, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  transform: perspective(460px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0 18%, transparent 92%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-scene {
  --hx: 0;
  --hy: 0;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
  will-change: transform;
}

.hero-scene::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -22px;
  height: 20px;
  background: rgba(18, 48, 31, 0.24);
  transform: translateZ(-55px) rotateX(74deg);
  filter: blur(3px);
  z-index: -1;
}

.pixel-frame {
  transform: rotateY(-14deg) rotateX(4.5deg);
  transform-origin: 55% 60%;
  translate: 0 0;
  animation: frameFloat 9s ease-in-out infinite;
  box-shadow:
    12px 14px 0 rgba(18, 48, 31, 0.2),
    20px 24px 0 rgba(18, 48, 31, 0.1),
    0 44px 80px rgba(18, 48, 31, 0.26);
  transition: box-shadow 420ms ease;
}

.hero-art:hover .pixel-frame {
  box-shadow:
    14px 16px 0 rgba(18, 48, 31, 0.22),
    24px 28px 0 rgba(18, 48, 31, 0.12),
    0 52px 100px rgba(18, 48, 31, 0.3);
}

.air-card {
  position: absolute;
  z-index: 5;
  width: 158px;
  color: var(--ink);
  text-decoration: none;
  translate: 0 0;
  animation: airFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}

.air-card:hover {
  animation-play-state: paused;
}

.air-card-inner {
  display: grid;
  gap: 6px;
  padding: 9px;
  background: rgba(255, 253, 244, 0.97);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 rgba(18, 48, 31, 0.9);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.air-card:hover .air-card-inner {
  transform: translate(-2px, -4px);
  box-shadow: 8px 9px 0 rgba(18, 48, 31, 0.9);
}

.air-chat {
  top: -7%;
  left: -9%;
  transform:
    translate3d(calc(var(--hx) * 22px), calc(var(--hy) * 14px), 80px)
    rotateY(12deg) rotateZ(-2deg);
  animation-delay: -2s;
}

.air-web {
  top: -5%;
  right: -10%;
  transform:
    translate3d(calc(var(--hx) * -26px), calc(var(--hy) * 18px), 110px)
    rotateY(-14deg) rotateZ(1.5deg);
  animation-delay: -5s;
}

.air-seo {
  bottom: -7%;
  right: -6%;
  z-index: 8;
  transform:
    translate3d(calc(var(--hx) * 16px), calc(var(--hy) * -18px), 140px)
    rotateY(-9deg) rotateX(5deg) rotateZ(1deg);
  animation-delay: -3.5s;
}

.air-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(18, 48, 31, 0.28);
  font-family: "Press Start 2P", monospace;
  font-size: 6px;
  color: var(--muted);
}

.air-bar i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--ink);
  background: var(--coral);
}

.air-bar i:nth-child(2) { background: var(--sun); }
.air-bar i:nth-child(3) { background: var(--leaf); }

.air-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 6px;
  letter-spacing: 0.02em;
}

.air-card strong {
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.air-bubble {
  padding: 5px 6px;
  background: var(--mint);
  border: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.15;
}

.air-typing {
  display: flex;
  gap: 3px;
  align-items: center;
}

.air-typing i {
  width: 4px;
  height: 4px;
  background: var(--moss);
  animation: typingDot 1.2s ease-in-out infinite;
}

.air-typing i:nth-child(2) { animation-delay: 160ms; }
.air-typing i:nth-child(3) { animation-delay: 320ms; }

.air-web-art {
  position: relative;
  height: 38px;
  overflow: hidden;
  background: var(--sky);
  border: 1px solid var(--ink);
}

.air-web-art b {
  position: absolute;
  display: block;
}

.air-web-art b:nth-child(1) {
  top: 6px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: var(--sun);
  border: 1px solid var(--ink);
}

.air-web-art b:nth-child(2) {
  left: -4px;
  bottom: 0;
  width: 54%;
  height: 56%;
  background: var(--near);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.air-web-art b:nth-child(3) {
  right: -8px;
  bottom: 0;
  width: 62%;
  height: 44%;
  background: var(--mid);
  clip-path: polygon(0 100%, 52% 0, 100% 100%);
}

.air-web-art b:nth-child(4) {
  left: 46%;
  bottom: 0;
  width: 4px;
  height: 13px;
  background: var(--trunk);
}

.air-web-art b:nth-child(5) {
  left: 43%;
  bottom: 10px;
  width: 10px;
  height: 8px;
  background: var(--deep);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.air-line {
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(18, 48, 31, 0.22);
}

.air-line.short {
  width: 62%;
}

.air-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 38px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--ink);
}

.air-bars b {
  flex: 1;
  height: 38%;
  background: var(--moss);
}

.air-bars b:nth-child(2) { height: 56%; }
.air-bars b:nth-child(3) { height: 72%; }
.air-bars b:nth-child(4) { height: 92%; background: var(--coral); }

.air-score {
  justify-self: end;
  padding: 1px 4px;
  background: var(--sun);
  border: 1px solid var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
}

.hero-badge {
  left: 6px;
  right: auto;
  bottom: -18px;
  z-index: 6;
  box-shadow: 4px 4px 0 var(--ink);
}

.cap-marquee {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 2px solid var(--line);
}

.cap-track {
  display: flex;
  width: max-content;
  animation: capScroll 38s linear infinite;
}

.cap-set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.cap-set b {
  font-weight: 400;
}

.cap-set i {
  width: 6px;
  height: 6px;
  background: var(--leaf);
  border: 1px solid var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.flow-card {
  padding-top: 56px;
}

.flow-card::before {
  top: 14px;
}

.product-card,
.flow-card,
.faq details {
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.product-card:hover,
.flow-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 10px 0 rgba(18, 48, 31, 0.18);
}

.faq details[open] {
  box-shadow: 6px 8px 0 rgba(18, 48, 31, 0.12);
}

@keyframes airFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes frameFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

@keyframes scanDrift {
  from { background-position: 0 0; }
  to { background-position: 0 8px; }
}

@keyframes soundBar {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(1); }
}

@keyframes typingDot {
  0%, 70%, 100% { transform: translateY(0); opacity: 0.45; }
  35% { transform: translateY(-3px); opacity: 1; }
}

@keyframes capScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

@media (max-width: 1300px) {
  .air-chat { left: -4%; }
  .air-web { right: -1%; }
  .air-seo { right: 1%; }
}

@media (max-width: 980px) {
  .site-header {
    padding: 8px 0 6px;
  }
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 54px;
  }
  .hero-art {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-art::before {
    left: 0;
    right: 0;
  }
  .air-card {
    width: 142px;
  }
  .air-chat { top: -4%; left: -2%; }
  .air-web { top: -2%; right: -3%; }
  .air-seo { right: 2%; bottom: -5%; }
}

@media (max-width: 700px) {
  .site-header {
    padding: 6px 0;
  }
  .header-inner {
    min-height: 58px;
    gap: 10px;
    padding: 5px 8px 5px 10px;
  }
  .site-nav,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .sound-text {
    display: none;
  }
  .hero {
    padding: 38px 0 38px;
  }
  .hero-grid {
    gap: 38px;
  }
  .hero h1 {
    font-size: clamp(26px, 7.2vw, 32px);
  }
  .hero-art {
    padding: 10px 6px 16px;
  }
  .air-card {
    width: 126px;
  }
  .air-bubble {
    font-size: 13px;
  }
  .air-chat {
    top: -9%;
    left: -1%;
  }
  .air-web {
    top: -7%;
    right: -1%;
  }
  .air-seo {
    display: none;
  }
  .hero-badge {
    left: 4px;
    right: auto;
    bottom: -16px;
    font-size: 7px;
    padding: 6px 8px;
  }
  .cap-set {
    gap: 12px;
    padding: 8px 12px;
    font-size: 7px;
  }
}

@media (max-width: 520px) {
  .air-card {
    display: none;
  }
  .hero-badge {
    bottom: -18px;
  }
  .sound-toggle {
    padding: 6px 7px;
  }
  body:not(.setup-page) .header-inner .btn-ghost {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .air-card,
  .air-typing i,
  .sound-toggle[aria-pressed="true"] .sound-bars i,
  .cap-track {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .pixel-frame {
    animation: none !important;
    transform: rotateY(-8deg) rotateX(2.5deg);
  }
}


/* Calm static hero: keep the 3D composition, remove the motion */
#backdrop {
  transform: none !important;
  opacity: 1;
  filter: saturate(0.82) contrast(0.96);
}

.scanlines,
.cursor-glow {
  display: none;
}

.pixel-frame,
.air-card,
.air-typing i,
.cap-track {
  animation: none !important;
}

.hero-scene {
  --hx: 0 !important;
  --hy: 0 !important;
  transform: none !important;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 86px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(21px, 2.65vw, 37px);
  line-height: 1.38;
  letter-spacing: 0;
}

.reveal,
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  .hero {
    min-height: calc(100svh - 74px);
  }
  .hero h1 {
    font-size: clamp(21px, 4.4vw, 33px);
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(20px, 5.4vw, 24px);
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0;
  }
}

/* Pixel arcade gallery */
@media (max-width: 700px) {
  .hero-art iframe {
    aspect-ratio: 8 / 9 !important;
  }
}
.pixel-arcade {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 4;
  background: rgba(8, 20, 15, 0.72);
  border: 2px solid #7bd389;
  border-radius: 4px;
  padding: 6px 10px;
  font-family: "Press Start 2P", "VT323", monospace;
  color: #eaf4df;
  min-width: 150px;
  box-shadow: 0 0 0 2px #0f2418, 0 4px 12px rgba(0,0,0,0.35);
  transition: opacity .4s ease;
}
.pixel-arcade .arcade-label {
  display: block;
  font-size: 7px;
  letter-spacing: 0.5px;
  color: #8fce8a;
  margin-bottom: 4px;
}
.pixel-arcade .arcade-title {
  display: block;
  font-size: 9px;
  color: #f3e9c6;
  margin-bottom: 3px;
  min-height: 12px;
}
.pixel-arcade .arcade-platform {
  display: block;
  font-size: 7px;
  color: #7fa27f;
}
@media (max-width: 720px) {
  .pixel-arcade { bottom: 8px; left: 8px; min-width: 120px; }
  .pixel-arcade .arcade-title { font-size: 8px; }
}

#heroGameImg {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: cover;
  image-rendering: pixelated;
  border: 2px solid #1f3a2a;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2;
}
#heroGameImg.show { opacity: 1; }

/* Language switch (ES | EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 34px;
  padding: 0 4px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
}

.lang-btn {
  min-width: 26px;
  min-height: 26px;
  padding: 4px 5px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  line-height: 1.4;
  cursor: pointer;
}

.lang-btn:hover {
  background: var(--mint);
}

.lang-btn[aria-pressed="true"] {
  background: var(--sun);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.lang-sep {
  font-family: "Press Start 2P", monospace;
  font-size: 7px;
  color: var(--muted);
}

@media (max-width: 520px) {
  .lang-switch {
    padding: 0 2px;
  }
  .lang-btn {
    min-width: 22px;
    padding: 4px 3px;
  }
}
