/* dumbphone.community – classic monochrome LCD look */

@font-face { font-family: 'Silkscreen'; src: url('/fonts/silkscreen-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: block; }
@font-face { font-family: 'Silkscreen'; src: url('/fonts/silkscreen-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --lcd: #c7f0d8;        /* classic LCD green */
  --lcd-2: #b4e2c6;      /* slightly darker LCD */
  --paper: #e8f8ee;      /* card background */
  --ink: #1f2a1c;        /* LCD "pixel" colour */
  --ink-2: #33432f;
  --muted: #4b5d47;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --pixel: 'Silkscreen', 'Courier New', monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--lcd); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  /* subtle LCD pixel grid */
  background-image: linear-gradient(rgba(31,42,28,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(31,42,28,.045) 1px, transparent 1px);
  background-size: 6px 6px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--lcd); padding: 10px 14px; }
.skip:focus { top: 8px; }

.pixel { font-family: var(--pixel); font-weight: 700; letter-spacing: 0.01em; }
.display { font-size: clamp(2rem, 5.2vw, 3.9rem); line-height: 1.05; text-transform: uppercase; }
.h2 { font-size: clamp(1.7rem, 3.8vw, 2.8rem); line-height: 1.08; margin-bottom: .6em; text-transform: uppercase; }
.body-lg { font-size: 1.1rem; color: var(--ink-2); }
.narrow { max-width: 44em; }
.narrow-wide { max-width: 860px; }
.eyebrow, .kicker {
  display: inline-block; font-family: var(--pixel); font-weight: 400; text-transform: uppercase;
  letter-spacing: .08em; font-size: .9rem; margin: 0 0 1rem; padding: 4px 10px; background: var(--ink); color: var(--lcd);
}
.fineprint { font-size: .82rem; color: var(--muted); margin-top: 1.6rem; }
.micro { font-size: .88rem; color: var(--muted); margin-top: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--pixel); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em;
  padding: 12px 20px; min-height: 52px; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: var(--shadow-sm); text-decoration: none; cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--lcd); }
.btn-small { min-height: 40px; padding: 6px 14px; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.card { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--lcd); border-bottom: 3px solid var(--ink); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--pixel); font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: .02em; }
.logo-icon { width: 22px; height: 22px; }
.logo-dot { opacity: .55; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.site-header .btn-small { margin-left: auto; }
.nav + .btn-small { margin-left: 8px; }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 420px) { .logo { font-size: .82rem; gap: 6px; } .logo-icon { width: 18px; height: 18px; } }

/* Hero */
.hero { padding: clamp(28px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.question { font-size: clamp(1.15rem, 2.2vw, 1.55rem); margin: .9em 0 1em; text-transform: uppercase; }
.hero-art { display: flex; justify-content: center; }
.pixel-phone { width: min(280px, 100%); height: auto; filter: drop-shadow(8px 8px 0 rgba(31,42,28,.35)); animation: float 4s steps(4) infinite; }
.ph-body { fill: var(--ink); }
.ph-slit, .ph-key, .ph-nav { fill: var(--lcd-2); }
.ph-screen { fill: var(--lcd); }
.ph-signal, .ph-battery { fill: var(--ink); }
.ph-text { font-family: var(--pixel); font-weight: 700; font-size: 5.2px; fill: var(--ink); letter-spacing: .2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .pixel-phone { width: 170px; }
}

/* Waitlist form */
.wl-form { max-width: 580px; }
.wl-row { display: flex; border: 3px solid var(--ink); box-shadow: var(--shadow); background: var(--paper); }
.wl-row input[type='email'] { flex: 1; min-width: 0; border: 0; padding: 0 16px; min-height: 56px; font: inherit; font-size: 1.05rem; background: transparent; color: var(--ink); }
.wl-row input::placeholder { color: #6b7d67; }
.wl-row input[type='email']:focus { outline: none; }
.wl-row:focus-within { outline: 3px dashed var(--ink); outline-offset: 4px; }
.wl-row .btn { box-shadow: none; border: 0; border-left: 3px solid var(--ink); min-height: 56px; white-space: nowrap; }
.wl-row .btn:hover { transform: none; box-shadow: none; }
@media (max-width: 520px) { .wl-row { flex-direction: column; } .wl-row .btn { border-left: 0; border-top: 3px solid var(--ink); } }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .86rem; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.wl-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.wl-turnstile:not(:empty) { margin-top: 12px; }
.wl-msg { margin: 12px 0 0; font-size: .95rem; }
.wl-msg.is-error { color: #8a1c1c; font-weight: 700; }
.wl-form.is-done .wl-row, .wl-form.is-done .wl-consent, .wl-form.is-done .wl-turnstile { display: none; }
.wl-form.is-done .wl-msg { padding: 16px 18px; border: 3px solid var(--ink); background: var(--ink); color: var(--lcd); box-shadow: var(--shadow-sm); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ticker */
.ticker { border-block: 3px solid var(--ink); background: var(--ink); color: var(--lcd); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 26px; padding: 12px 0; font-family: var(--pixel); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; animation: ticker 40s linear infinite; }
.tick-sep { opacity: .5; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-lcd { background-color: var(--lcd-2); border-block: 3px solid var(--ink); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.benefit { padding: 24px 22px 20px; display: flex; flex-direction: column; }
.benefit-icon { width: 52px; height: 52px; padding: 8px; background: var(--ink); color: var(--lcd); margin-bottom: 16px; }
.benefit-icon svg { width: 100%; height: 100%; }
.benefit h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 10px; }
.benefit p { color: var(--ink-2); margin-bottom: .8em; }
.benefit .source { margin-top: auto; margin-bottom: 0; font-size: .78rem; color: var(--muted); font-style: italic; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.table-card { padding: 20px; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare caption { text-align: left; font-size: 1.05rem; text-transform: uppercase; margin-bottom: 12px; }
.compare th, .compare td { text-align: left; padding: 10px 8px; border-bottom: 2px solid rgba(31,42,28,.18); vertical-align: top; }
.compare thead th { font-family: var(--pixel); font-weight: 700; text-transform: uppercase; font-size: .85rem; border-bottom: 3px solid var(--ink); }
.compare tbody th { font-weight: 600; }
.compare td:nth-child(2) { font-weight: 700; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.step { padding: 24px 22px; }
.step-n { display: inline-block; font-size: .95rem; background: var(--ink); color: var(--lcd); padding: 2px 8px; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 24px; border-top: 3px solid var(--ink); }
.faq-item { border-bottom: 3px solid var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.faq-item summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--pixel); font-weight: 700; font-size: 1.7rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-a { padding: 0 0 20px; color: var(--ink-2); max-width: 46em; }
.faq-a p { margin: 0; }

/* CTA */
.cta { padding: clamp(60px, 9vw, 120px) 0; background: var(--ink); }
.cta-inner { display: flex; justify-content: center; }
.cta-box { padding: clamp(26px, 4vw, 46px); max-width: 660px; width: 100%; box-shadow: 8px 8px 0 #000; }

/* Simple pages */
.page { min-height: 55vh; }
.prose h2 { font-size: 1.15rem; margin: 2em 0 .6em; }
.prose p { color: var(--ink-2); }
.pos-number { font-family: var(--pixel); font-size: 2rem; background: var(--ink); color: var(--lcd); padding: 0 .25em; }

/* Footer */
.site-footer { border-top: 3px solid var(--ink); padding: 44px 0 26px; background: var(--lcd); }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); margin-top: 8px; font-family: var(--pixel); text-transform: uppercase; font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.footer-legal { margin-top: 32px; font-size: .8rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .pixel-phone { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}
