/* =========================================================
   G33ki — Retro Pixel CSS
   Palette: NES-inspired
   ========================================================= */

:root {
  /* 90s neon palette */
  --bg: #100a26;
  --bg-2: #1f1248;
  --bg-3: #2a1a5e;
  --ink: #f4f4f8;
  --dim: #c2c2dc;
  --accent: #ff4d8d;       /* hotter pink */
  --accent-2: #3df0ff;     /* electric cyan */
  --accent-3: #ffe34d;     /* sunshine yellow */
  --accent-4: #8effaa;     /* mint green */
  --accent-5: #c08eff;     /* lavender */
  --shadow: #000;
  --bevel-light: rgba(255,255,255,.15);
  --bevel-dark: rgba(0,0,0,.55);
  --pixel: 4px;
  --maxw: 1200px;
  --sans: 'Tahoma', 'Trebuchet MS', 'Geneva', 'Verdana', 'Segoe UI', sans-serif;
  --mono: 'VT323', 'Courier New', monospace;
  --pixel-font: 'Press Start 2P', system-ui, monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .1px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255,56,100,.14), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(45,226,230,.12), transparent 55%),
    linear-gradient(180deg, #08081a 0%, #100822 100%);
  z-index: -2;
}
/* Subtle dot grid overlay for retro depth */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: -1;
}

#bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  display: block;
}

/* CRT scanlines + flicker */
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,.08) 3px,
    rgba(0,0,0,.08) 3px
  );
  z-index: 9998;
  mix-blend-mode: multiply;
  opacity: .55;
}
.crt {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.4) 100%);
  animation: flicker 4s infinite steps(60);
}
@keyframes flicker {
  0%,100% { opacity: 1; }
  50% { opacity: .96; }
}

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-3); color: #000;
  padding: 8px 12px; font-family: var(--pixel-font); font-size: 10px;
  z-index: 99999;
}
.skip:focus { left: 12px; top: 12px; }

/* Boot screen */
#boot {
  position: fixed; inset: 0;
  background: #000; color: var(--accent-4);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 22px;
  transition: opacity .5s;
}
#boot.gone { opacity: 0; pointer-events: none; }
.boot-text { white-space: pre; line-height: 1.4; }

/* Pixel font headings */
h1, h2, h3, .pixel-btn, .kicker, .nav .logo-text, .ribbon, .ticker,
.foot, .hud-row, .form label, .plan h3, .plan .price small,
.boot-text, summary {
  font-family: var(--pixel-font);
  letter-spacing: .5px;
}

h1 { font-size: clamp(24px, 4.4vw, 48px); line-height: 1.3; margin: .3em 0; }
h2 { font-size: clamp(20px, 2.8vw, 32px); line-height: 1.35; margin: 0 0 .6em; }
h3 { font-size: 15px; line-height: 1.4; margin: 0 0 .6em; color: var(--accent-2); }

p, li, blockquote, input, textarea, select, summary + p { font-size: 16px; line-height: 1.65; }

a { color: var(--accent-2); text-decoration: none; }
a:hover, a:focus { color: var(--accent-3); text-decoration: underline; text-decoration-thickness: 2px; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(15,15,27,.85);
  backdrop-filter: blur(4px);
  border-bottom: var(--pixel) solid var(--accent);
  box-shadow: 0 var(--pixel) 0 var(--shadow);
}
/* Logo — blue + black wordmark on white, dropped into a pixel chip for dark bg */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 4px 12px;
  box-shadow: 3px 3px 0 #000, inset 0 0 0 2px #000;
  transition: transform .12s, box-shadow .12s;
}
.logo:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--accent), inset 0 0 0 2px #000; }
.logo-img { height: 32px; width: auto; display: block; image-rendering: auto; }
.logo-img.small { height: 20px; }
.foot .logo-img.small {
  background: #fff;
  padding: 3px 8px;
  box-shadow: 2px 2px 0 #000;
}

.nav nav { flex: 1; }
.nav nav ul {
  list-style: none; display: flex; gap: 18px; margin: 0; padding: 0;
  font-family: var(--pixel-font); font-size: 10px;
  justify-content: flex-end; align-items: center; flex-wrap: wrap;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  background: var(--bg-2);
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000, inset 0 0 0 2px #000;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 3px;
  background: var(--accent-3);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav nav a { color: var(--ink); }
.nav nav a:hover { color: var(--accent-3); }
.nav nav a[aria-current="page"] {
  color: var(--accent-3);
  background: var(--bg-2);
  padding: 4px 8px;
  box-shadow: inset 2px 2px 0 var(--bevel-light), inset -2px -2px 0 var(--bevel-dark);
}
.nav nav a.cta[aria-current="page"] { background: var(--accent-3); color: #000; }
.foot nav a[aria-current="page"] { color: var(--accent-3); text-decoration: underline; }
.nav nav a.cta {
  background: var(--accent); color: #000;
  padding: 10px 14px;
  box-shadow: var(--pixel) var(--pixel) 0 var(--shadow);
}
.nav nav a.cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shadow); text-decoration: none; }

/* ===== Pixel button ===== */
.pixel-btn {
  display: inline-block;
  font-family: var(--pixel-font); font-size: 11px;
  background: var(--bg-2); color: var(--ink);
  padding: 14px 20px; border: 0;
  box-shadow:
    0 -4px 0 0 #000 inset,
    -4px 0 0 0 #000 inset,
    4px 0 0 0 #000 inset,
    0 4px 0 0 #000;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform .08s, box-shadow .08s;
  text-decoration: none;
}
.pixel-btn:hover, .pixel-btn:focus {
  background: var(--accent-2); color: #000;
  text-decoration: none;
}
.pixel-btn:active {
  transform: translate(2px, 2px);
  box-shadow:
    0 -4px 0 0 #000 inset,
    -4px 0 0 0 #000 inset,
    4px 0 0 0 #000 inset,
    0 0 0 0 #000;
}
.pixel-btn.primary { background: var(--accent); color: #000; }
.pixel-btn.primary:hover { background: var(--accent-3); }
.pixel-btn.small { padding: 8px 10px; font-size: 9px; }

/* ===== Sections shared ===== */
section { padding: 90px clamp(16px, 4vw, 40px); max-width: var(--maxw); margin: 0 auto; position: relative; }
section + section::before {
  content: '◆ ◆ ◆';
  position: absolute; top: 16px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,56,100,.3);
  font-size: 10px;
  letter-spacing: 12px;
}
.sec-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.sec-head p { color: #c6c6dc; }
.kicker {
  display: inline-block;
  color: #000;
  background: var(--accent-3);
  font-family: var(--pixel-font);
  font-size: 10px;
  padding: 6px 12px;
  margin: 0 0 18px;
  box-shadow: 3px 3px 0 var(--shadow);
}

/* ===== HERO ===== */
.hero {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  padding-top: 60px; padding-bottom: 40px;
  align-items: center;
  min-height: 78vh;
}
.hero-inner { max-width: 640px; }
.hero h1 .glow {
  color: var(--accent-3);
  text-shadow:
    4px 0 0 var(--accent),
    -4px 0 0 var(--accent-2);
  animation: chroma 3s infinite steps(8);
}
@keyframes chroma {
  0%,100% { text-shadow: 4px 0 0 var(--accent), -4px 0 0 var(--accent-2); }
  50%     { text-shadow: -4px 0 0 var(--accent), 4px 0 0 var(--accent-2); }
}
.lede { color: #dedef0; font-size: 22px; line-height: 1.55; max-width: 58ch; margin: 18px 0 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 36px; }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-stats li {
  background: linear-gradient(180deg, rgba(26,16,51,.92), rgba(10,8,22,.92));
  padding: 16px 12px;
  border: 3px solid var(--accent);
  box-shadow: 3px 3px 0 var(--shadow);
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.hero-stats li:hover {
  transform: translate(-2px,-2px);
  border-color: var(--accent-3);
  box-shadow: 5px 5px 0 var(--shadow);
}
.hero-stats b {
  display: block; color: var(--accent-3);
  font-family: var(--pixel-font); font-size: 18px;
  margin-bottom: 6px;
}
.hero-stats span { font-size: 14px; color: #c9c9e0; }

.hero-hud {
  background: rgba(0,0,0,.55);
  border: var(--pixel) solid var(--accent-2);
  padding: 24px;
  box-shadow: var(--pixel) var(--pixel) 0 var(--shadow);
  font-family: var(--pixel-font); font-size: 10px;
}
.hud-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; color: var(--accent-3); }
.bar { flex: 1; height: 12px; background: #222; border: 2px solid #000; position: relative; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--accent-4);
  background-image: linear-gradient(90deg, var(--accent-4) 0%, var(--accent-3) 100%);
  animation: barpulse 1.6s infinite steps(20); }
@keyframes barpulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.4); } }

/* ===== TICKER ===== */
.ticker {
  background: var(--accent);
  color: #000;
  overflow: hidden;
  border-top: var(--pixel) solid #000;
  border-bottom: var(--pixel) solid #000;
  font-family: var(--pixel-font); font-size: 12px;
  padding: 12px 0;
  max-width: none;
  margin: 0;
}
.ticker-track {
  display: inline-flex; gap: 40px; white-space: nowrap;
  animation: tick 40s linear infinite;
}
.ticker-track span { padding-right: 24px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== CARDS — equal-height, exactly 3 per row on desktop ===== */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(45,28,90,.97) 0%, rgba(22,14,52,.97) 100%);
  border: 3px solid var(--accent-2);
  /* Win95-style bevel + hard pixel shadow */
  box-shadow:
    inset 2px 2px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    6px 6px 0 var(--shadow);
  padding: 28px 22px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  isolation: isolate;
}
/* Top accent stripe (color rotates per card via nth-of-type) */
.card::before {
  content: '';
  position: absolute; top: -3px; left: -3px; right: -3px;
  height: 8px;
  background: var(--accent-2);
  z-index: 0;
}
.cards .card:nth-of-type(3n+1)::before { background: var(--accent); }
.cards .card:nth-of-type(3n+2)::before { background: var(--accent-3); }
.cards .card:nth-of-type(3n)::before   { background: var(--accent-4); }

/* Pixel corner brackets */
.card::after {
  content: '';
  position: absolute;
  inset: 6px;
  pointer-events: none;
  z-index: 5;
  background:
    /* top-left */
    linear-gradient(var(--accent-3), var(--accent-3)) top    left  / 10px 2px no-repeat,
    linear-gradient(var(--accent-3), var(--accent-3)) top    left  / 2px 10px no-repeat,
    /* top-right */
    linear-gradient(var(--accent-3), var(--accent-3)) top    right / 10px 2px no-repeat,
    linear-gradient(var(--accent-3), var(--accent-3)) top    right / 2px 10px no-repeat,
    /* bottom-left */
    linear-gradient(var(--accent-3), var(--accent-3)) bottom left  / 10px 2px no-repeat,
    linear-gradient(var(--accent-3), var(--accent-3)) bottom left  / 2px 10px no-repeat,
    /* bottom-right */
    linear-gradient(var(--accent-3), var(--accent-3)) bottom right / 10px 2px no-repeat,
    linear-gradient(var(--accent-3), var(--accent-3)) bottom right / 2px 10px no-repeat;
  opacity: 0;
  transition: opacity .2s;
}
.card:hover::after, .card:focus-within::after { opacity: 1; }

.card:hover, .card:focus-within {
  transform: translate(-5px, -5px);
  box-shadow:
    inset 2px 2px 0 var(--bevel-light),
    inset -2px -2px 0 var(--bevel-dark),
    11px 11px 0 var(--shadow),
    0 0 0 2px var(--accent-3);
  border-color: var(--accent-3);
  outline: none;
}

.card.highlight { border-color: var(--accent); }
.card.highlight::before { background: var(--accent); }

.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #000;
  border: 3px solid var(--accent-3);
  box-shadow: 3px 3px 0 var(--shadow);
  margin-bottom: 18px;
  color: var(--accent-3);
  transition: transform .25s ease;
}
.card:hover .card-icon { transform: rotate(-4deg) scale(1.06); color: var(--accent); border-color: var(--accent); }
.card-icon svg { width: 34px; height: 34px; fill: currentColor; shape-rendering: crispEdges; }

.card h3 { color: var(--accent-2); margin-bottom: 14px; font-size: 14px; }
.card:hover h3 { color: var(--accent-3); }
.card p { color: #e0e0f4; margin: 0; flex: 1; font-size: 15px; line-height: 1.6; }

.card ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.card li {
  padding: 6px 0;
  color: #e0e0f4;
  border-bottom: 1px dashed rgba(157,157,189,.18);
  font-size: 15px;
  line-height: 1.45;
}
.card li:last-child { border-bottom: 0; }
.card li::before { content: '▸ '; color: var(--accent); }

/* ===== STEPS — exactly 4 per row ===== */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  counter-reset: step;
}
.steps li { display: flex; flex-direction: column; }
.steps li p { flex: 1; font-size: 15px; }
.steps li {
  position: relative;
  background: linear-gradient(180deg, rgba(26,16,51,.94), rgba(10,8,22,.94));
  border: 3px solid var(--accent);
  box-shadow: 5px 5px 0 var(--shadow);
  padding: 28px 22px 22px;
  transition: transform .18s, box-shadow .18s;
}
.steps li:hover {
  transform: translate(-3px,-3px);
  box-shadow: 8px 8px 0 var(--shadow), 0 0 0 2px var(--accent-3);
}
.steps li::before {
  content: '';
  position: absolute; top: -3px; left: -3px;
  width: 56px; height: 28px;
  background: var(--accent);
}
.steps b {
  position: relative;
  display: inline-block;
  background: var(--accent); color: #000;
  font-family: var(--pixel-font); font-size: 14px;
  padding: 6px 10px;
  margin: -10px 0 14px;
  box-shadow: 3px 3px 0 var(--shadow);
}
.steps h3 { color: var(--accent-3); }
.steps p { color: #d6d6ea; margin: 0; }

/* ===== PRICING ===== */
.plans {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.plan {
  position: relative;
  background: rgba(15,15,27,.9);
  border: var(--pixel) solid var(--dim);
  box-shadow: var(--pixel) var(--pixel) 0 var(--shadow);
  padding: 28px 22px;
  text-align: center;
  transition: transform .15s, border-color .15s;
}
.plan:hover { transform: translate(-3px, -3px); border-color: var(--accent-3); box-shadow: 7px 7px 0 var(--shadow); }
.plan.featured { border-color: var(--accent); }
.plan .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  padding: 5px 10px; font-size: 9px;
  box-shadow: 2px 2px 0 #000;
}
.plan h3 { color: var(--accent-3); font-size: 12px; }
.plan .price {
  font-family: var(--pixel-font); font-size: 26px;
  color: var(--ink);
  margin: 14px 0;
}
.plan .price span { font-size: 14px; color: var(--accent-2); }
.plan .price small { font-size: 9px; color: var(--dim); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.plan li { padding: 5px 0; color: var(--dim); border-bottom: 1px dashed #2a2a4a; }
.plan li::before { content: '✓ '; color: var(--accent-4); }
.plan.custom .price { color: var(--accent-3); }

/* ===== TESTIMONIALS — 2 per row ===== */
.quotes {
  display: grid; gap: 22px;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
}
.quotes figure { display: flex; flex-direction: column; height: 100%; }
.quotes blockquote { flex: 1; }
.quotes figure {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, rgba(26,16,51,.94), rgba(10,8,22,.94));
  border: 3px solid var(--accent-3);
  box-shadow: 5px 5px 0 var(--shadow);
  padding: 36px 24px 24px;
  transition: transform .18s, box-shadow .18s;
}
.quotes figure:hover {
  transform: translate(-3px,-3px);
  box-shadow: 8px 8px 0 var(--shadow);
}
.quotes figure::before {
  content: '"';
  position: absolute;
  top: -8px; left: 12px;
  font-family: var(--pixel-font);
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  background: var(--bg);
  padding: 0 8px;
}
.quotes blockquote {
  margin: 0 0 14px;
  font-style: normal;
  color: #ececff;
  font-size: 19px;
  line-height: 1.55;
}
.quotes figcaption {
  color: var(--accent-2);
  font-family: var(--pixel-font);
  font-size: 10px;
  border-top: 2px dashed rgba(45,226,230,.3);
  padding-top: 12px;
}

/* ===== FAQ ===== */
.faq { max-width: 880px; margin-left: auto; margin-right: auto; }
.faq details {
  background: linear-gradient(180deg, rgba(26,16,51,.92), rgba(10,8,22,.92));
  border: 3px solid var(--bg-2);
  border-left: 6px solid var(--accent-2);
  box-shadow: 4px 4px 0 var(--shadow);
  padding: 18px 22px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: border-color .18s, transform .12s;
}
.faq details[open] {
  border-color: var(--accent-3);
  border-left-color: var(--accent);
}
.faq details:hover { transform: translateX(-3px); }
.faq summary {
  list-style: none;
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: '▶';
  color: var(--accent);
  font-size: 10px;
  flex: 0 0 auto;
  transition: transform .2s;
}
.faq details[open] summary::before { transform: rotate(90deg); color: var(--accent-3); }
.faq details p {
  margin: 14px 0 4px;
  color: #d6d6ea;
  padding-left: 22px;
}
.faq details p a { color: var(--accent-3); text-decoration: underline; }

/* ===== CONTACT ===== */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.contact .sec-head { grid-column: 1 / -1; }
.contact-simple { display: block; }
.email-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: rgba(0,0,0,.55);
  border: var(--pixel) solid var(--accent);
  box-shadow: var(--pixel) var(--pixel) 0 var(--shadow);
  padding: 48px 28px;
}
.email-kicker { font-family: var(--pixel-font); font-size: 10px; color: var(--accent-3); margin: 0 0 18px; }
.email-big {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: clamp(14px, 3.4vw, 28px);
  color: var(--accent-3);
  text-decoration: none;
  word-break: break-all;
  margin-bottom: 18px;
  text-shadow: 3px 0 0 var(--accent), -3px 0 0 var(--accent-2);
  animation: chroma 3s infinite steps(8);
}
.email-big:hover { color: var(--ink); }
.email-sub { color: var(--dim); margin: 0 0 28px; }
.email-social { margin: 24px 0 0; font-family: var(--pixel-font); font-size: 10px; }
.email-social a { color: var(--accent-2); margin: 0 6px; }
.form { display: grid; gap: 14px; }
.form label {
  display: grid; gap: 6px;
  font-family: var(--pixel-font); font-size: 10px; color: var(--accent-3);
}
.form input, .form textarea, .form select {
  font-family: var(--mono); font-size: 19px;
  background: #000; color: var(--accent-4);
  border: 3px solid var(--accent-2);
  padding: 10px 12px;
  outline: none;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent-3); }
.contact-info {
  background: rgba(0,0,0,.55);
  border: var(--pixel) solid var(--accent);
  padding: 24px;
  box-shadow: var(--pixel) var(--pixel) 0 var(--shadow);
}
.contact-info p { margin: 0 0 16px; display: grid; gap: 4px; }
.contact-info b { font-family: var(--pixel-font); font-size: 10px; color: var(--accent-3); }

/* ===== FOOTER ===== */
.foot {
  margin-top: 40px;
  padding: 30px clamp(16px, 4vw, 40px);
  border-top: var(--pixel) solid var(--accent);
  background: rgba(0,0,0,.6);
  display: grid; gap: 14px;
  font-family: var(--pixel-font); font-size: 9px;
  color: var(--dim);
  text-align: center;
}
.foot > div { display: inline-flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.foot a { color: var(--accent-2); margin: 0 8px; }
.foot .konami { color: var(--accent-3); font-size: 8px; opacity: .7; }
.foot .joke {
  color: var(--accent-2);
  font-family: 'VT323', monospace;
  font-size: 18px;
  margin: 14px 0 6px;
  opacity: .9;
}
.foot .joke b { color: var(--accent-3); font-style: normal; }

/* 90s footer badges */
.foot-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 16px 0 4px;
}
.foot-badges .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #000;
  border-top: 2px solid var(--bevel-light);
  border-left: 2px solid var(--bevel-light);
  border-right: 2px solid var(--bevel-dark);
  border-bottom: 2px solid var(--bevel-dark);
  color: var(--accent-3);
  padding: 6px 10px;
  font-family: var(--pixel-font); font-size: 8px;
  text-decoration: none;
}
.foot-badges .badge .dot { width: 8px; height: 8px; background: var(--accent-4); animation: blink 1.2s infinite steps(2); }
.foot-badges .hitcounter {
  font-family: 'VT323', monospace; font-size: 18px; color: var(--accent-4); letter-spacing: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.foot-tagline {
  font-family: 'VT323', monospace; font-size: 16px;
  color: var(--accent-2); margin: 12px 0 0;
}
.foot-tagline marquee { display: inline-block; }

/* Konami easter egg activated */
body.party { animation: party 1s infinite steps(4); }
@keyframes party {
  0%   { filter: hue-rotate(0deg); }
  25%  { filter: hue-rotate(90deg); }
  50%  { filter: hue-rotate(180deg); }
  75%  { filter: hue-rotate(270deg); }
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  .hero-hud { max-width: 420px; }
  .contact { grid-template-columns: 1fr; }
  section { padding: 56px clamp(14px, 4vw, 32px); }
  .sec-head { margin-bottom: 32px; }
  h1 { font-size: clamp(20px, 6vw, 36px); }
  h2 { font-size: clamp(16px, 4vw, 24px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 740px) {
  body { font-size: 18px; }
  p, li, blockquote { font-size: 17px; }

  /* Nav: show hamburger, collapse list by default */
  .nav { gap: 8px; padding: 10px 14px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 2; }
  #sound-toggle { order: 3; font-size: 8px; padding: 6px 8px; }
  .nav nav { order: 4; flex: 0 0 100%; }
  .nav nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav nav ul.open {
    max-height: 600px;
    padding: 14px 0 6px;
    gap: 4px;
  }
  .nav nav ul li a {
    display: block;
    padding: 12px 8px;
    border-bottom: 2px dashed var(--bg-2);
  }
  .nav nav a.cta { display: block; text-align: center; margin-top: 8px; }

  /* Logo chip smaller */
  .logo { padding: 3px 8px; box-shadow: 2px 2px 0 #000, inset 0 0 0 2px #000; }
  .logo-img { height: 24px; }

  /* Hero */
  .hero { padding-top: 28px; }
  .hero-cta { gap: 8px; }
  .hero-cta .pixel-btn { font-size: 9px; padding: 11px 14px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-stats li { padding: 10px 8px; }
  .hero-stats b { font-size: 13px; }
  .hero-stats span { font-size: 12px; }
  .lede { font-size: 18px; }

  /* HUD */
  .hero-hud { padding: 16px; font-size: 9px; }

  /* Boot screen */
  #boot { font-size: 14px; padding: 20px; text-align: center; }
  .boot-text { font-size: 14px; }

  /* Sections */
  section { padding: 44px 14px; }
  .sec-head { margin-bottom: 24px; }
  .sec-head p { font-size: 16px; }

  /* Cards: single column on phones */
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 20px 18px; }
  .card-icon { width: 44px; height: 44px; }
  .card-icon svg { width: 28px; height: 28px; }
  .card h3 { font-size: 13px; }
  .card p, .card li { font-size: 15px; }

  /* Steps */
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 18px; }

  /* Quotes */
  .quotes { grid-template-columns: 1fr; gap: 14px; }

  /* FAQ */
  .faq summary { font-size: 10px; line-height: 1.5; }

  /* Email card */
  .email-card { padding: 32px 18px; }
  .email-big { font-size: clamp(13px, 5.5vw, 22px); }

  /* Buttons */
  .pixel-btn { padding: 12px 14px; font-size: 10px; }
  .pixel-btn.primary, .pixel-btn { box-shadow: 0 -3px 0 0 #000 inset, -3px 0 0 0 #000 inset, 3px 0 0 0 #000 inset, 0 3px 0 0 #000; }

  /* Ticker smaller */
  .ticker { font-size: 10px; padding: 8px 0; }

  /* Footer */
  .foot { padding: 22px 14px; font-size: 8px; }
  .foot nav a { display: inline-block; margin: 4px; }
  .foot .konami { font-size: 7px; }

  /* CRT effect lighter on mobile */
  .crt { background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.35) 100%); }
}

/* Extra small */
@media (max-width: 380px) {
  h1 { font-size: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .logo-img { height: 20px; }
  .nav .logo-img { height: 20px; }
}

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