:root {
  --ink: #080b0a;
  --ink-soft: #111513;
  --panel: #151917;
  --line: rgba(230, 237, 225, 0.14);
  --paper: #f0eee7;
  --muted: #a9aea9;
  --blue: #92bfff;
  --blue-deep: #6ea4ed;
  --lcd: #b5c75b;
  --lcd-dark: #1e260c;
  --lcd-light: #d6e47b;
  --success: #a9d768;
  --danger: #ff9e88;
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
  --utility: "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 68% 13%, rgba(154, 171, 76, 0.15), transparent 24rem),
    radial-gradient(circle at 14% 28%, rgba(78, 104, 72, 0.14), transparent 25rem),
    linear-gradient(180deg, #0b0e0d 0%, #090b0a 60%, #10130f 100%);
  font-family: var(--body);
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 66%, rgba(255,255,255,0.018) 66% 66.2%, transparent 66.2%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 5px);
  opacity: .55;
  z-index: 10;
}

button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-120%);
}

.skip-link:focus { top: 1rem; transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 84px;
  padding: 0 clamp(1.25rem, 5vw, 6rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 10, .88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #141715;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark__screen {
  width: 11px;
  height: 19px;
  border: 2px solid var(--paper);
  border-radius: 2px;
}

.brand-mark__key {
  position: absolute;
  width: 4px;
  height: 2px;
  bottom: 13px;
  background: var(--paper);
  border-radius: 10px;
}

.desktop-nav { display: flex; gap: clamp(1.5rem, 3vw, 3.25rem); }
.desktop-nav a { color: #b7bbb7; text-decoration: none; font-size: .94rem; }
.desktop-nav a:hover { color: var(--paper); }

.site-header > .button { justify-self: end; }

.button {
  min-height: 52px;
  padding: 0 1.3rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  color: #07101a;
  background: linear-gradient(180deg, #a8ccff, #7dacedef);
  box-shadow: inset 0 1px rgba(255,255,255,.54), 0 12px 36px rgba(63, 116, 190, .12);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled { cursor: wait; opacity: .72; transform: none; }
.button--compact { min-height: 48px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hero {
  min-height: calc(100vh - 84px);
  padding: clamp(4rem, 7vw, 7.5rem) clamp(1.25rem, 8vw, 9.5rem) 3.5rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 19%;
  background:
    linear-gradient(90deg, transparent, rgba(115, 84, 50, .16), transparent),
    linear-gradient(180deg, rgba(41, 34, 24, .3), rgba(10, 11, 9, .7));
  border-top: 1px solid rgba(215, 184, 130, .08);
}

.hero-glow {
  position: absolute;
  width: 45vw;
  aspect-ratio: 1;
  right: -8vw;
  top: -16vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 198, 91, .12), transparent 65%);
}

.hero-copy, .phone-stage { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--blue);
  font-family: var(--utility);
  font-size: .72rem;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(146, 191, 255, .08);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1.45rem;
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(4rem, 6.25vw, 7.8rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 400;
}

h1 em {
  color: var(--lcd-light);
  font-weight: 400;
}

.hero-intro {
  max-width: 610px;
  margin-bottom: 1.9rem;
  color: #bdc1bd;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

.signup-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  max-width: 680px;
  gap: .65rem;
}

.input-shell {
  min-height: 54px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 8, 7, .66);
}

.input-shell:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(146,191,255,.1); }

.input-shell svg {
  width: 19px;
  fill: none;
  stroke: #7d837e;
  stroke-width: 1.5;
}

.input-shell input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
}

.input-shell input::placeholder { color: #696f6b; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; }

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4em;
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .87rem;
}

.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }

.trust-list {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 0;
  margin: 1.7rem 0 0;
  list-style: none;
}

.trust-list li { display: flex; gap: .65rem; align-items: flex-start; }
.trust-icon { color: var(--blue); font-size: 1.35rem; line-height: 1; }
.trust-list strong, .trust-list small { display: block; }
.trust-list strong { font-size: .84rem; }
.trust-list small { margin-top: .25rem; color: #838984; font-size: .75rem; }

.phone-stage {
  display: grid;
  place-items: center;
  align-self: end;
}

.phone-hint {
  position: absolute;
  top: 31%;
  right: calc(50% + 180px);
  width: 130px;
  color: #747b76;
  font-family: var(--utility);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-7deg);
}

.phone-hint span { display: block; }
.phone-hint span:last-child { margin-left: 70px; color: var(--blue); font-size: 1.4rem; }

.phone-shadow {
  position: absolute;
  bottom: -22px;
  width: 350px;
  height: 55px;
  border-radius: 50%;
  background: rgba(0,0,0,.68);
  box-shadow: 0 0 60px 35px rgba(0,0,0,.38);
}

.phone {
  width: min(360px, 80vw);
  padding: 20px 16px 18px;
  border: 1px solid #333936;
  border-radius: 36px 36px 26px 26px;
  background:
    radial-gradient(circle at 30% 10%, rgba(255,255,255,.05), transparent 25%),
    linear-gradient(145deg, #222725, #111412 60%, #1a1d1b);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.62),
    inset 0 0 22px rgba(255,255,255,.025),
    0 30px 70px rgba(0,0,0,.6);
}

.phone-speaker {
  width: 52px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: #080a09;
  box-shadow: inset 0 1px rgba(255,255,255,.06);
}

.lcd {
  min-height: 260px;
  padding: 14px 15px 10px;
  display: flex;
  flex-direction: column;
  border: 3px solid #171b12;
  border-radius: 14px;
  color: var(--lcd-dark);
  background:
    repeating-linear-gradient(0deg, rgba(26,34,10,.045) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, var(--lcd-light), #a8bb4f 70%);
  box-shadow: inset 0 0 32px rgba(49, 59, 17, .2), 0 1px rgba(255,255,255,.12);
  font-family: var(--utility);
}

.lcd-status { display: flex; justify-content: space-between; align-items: center; min-height: 18px; font-size: .55rem; font-weight: 700; }
.lcd-wordmark { letter-spacing: .18em; }

.signal-bars { height: 15px; display: flex; gap: 2px; align-items: end; }
.signal-bars i { width: 3px; background: currentColor; }
.signal-bars i:nth-child(1) { height: 4px; }
.signal-bars i:nth-child(2) { height: 7px; }
.signal-bars i:nth-child(3) { height: 10px; }
.signal-bars i:nth-child(4) { height: 13px; }

.battery { width: 22px; height: 11px; padding: 2px; border: 2px solid currentColor; position: relative; }
.battery::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 5px; background: currentColor; }
.battery i { display: block; width: 75%; height: 100%; background: currentColor; }

.lcd-view { flex: 1; display: grid; align-content: center; text-align: center; }
.lcd-kicker { margin-bottom: .7rem; font-size: .57rem; font-weight: 700; letter-spacing: .14em; }
.lcd-time { margin-bottom: .65rem; font-size: 3.25rem; line-height: 1; letter-spacing: .08em; }
.lcd-rule { height: 2px; background: currentColor; opacity: .8; }
.lcd-message { margin: 1rem auto 0; max-width: 245px; min-height: 2.5em; font-size: .76rem; line-height: 1.5; font-weight: 700; }
.lcd-softkeys { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 700; }

.controls { padding: 14px 0 10px; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; gap: 10px; }
.controls button, .keypad button {
  border: 1px solid #060807;
  color: #f2f2ef;
  background: linear-gradient(180deg, #272b29, #171a18);
  box-shadow: inset 0 1px rgba(255,255,255,.07), 0 3px 4px rgba(0,0,0,.5);
  cursor: pointer;
  transition: transform 80ms ease, border-color 80ms ease;
}
.controls button:active, .keypad button:active, .controls button.is-pressed, .keypad button.is-pressed { transform: translateY(2px); border-color: #414a44; }
.call-key, .end-key { height: 42px; border-radius: 10px !important; }
.call-key span { color: #66c957; font-size: 1.5rem; }
.end-key span { color: #ef534c; font-size: 1.7rem; }
.dpad { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #060706; border-radius: 17px; overflow: hidden; }
.dpad button { height: 64px; border-radius: 0; font-size: 1.4rem; box-shadow: none; }
.dpad button + button { border-left-color: #3a3f3c; }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.keypad button { min-height: 47px; border-radius: 9px; display: grid; place-content: center; }
.keypad strong { font-size: 1.15rem; font-weight: 500; line-height: 1; }
.keypad small { margin-top: 5px; font-size: .47rem; letter-spacing: .16em; }

.proof-strip {
  min-height: 96px;
  margin: 0 clamp(1.25rem, 3vw, 3rem);
  padding: 1.3rem clamp(1rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  text-align: center;
  background: rgba(12,15,13,.76);
}
.proof-strip blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.55rem); font-style: italic; color: #c3c6c0; }
.pixel-stars { color: var(--blue); letter-spacing: .4em; }
.pixel-stars:last-child { text-align: right; }
.pixel-stars:first-child { text-align: left; }

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) clamp(1.25rem, 6vw, 6rem);
}
.section-heading { max-width: 860px; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
h2 { margin-bottom: 1.3rem; font-family: var(--display); font-size: clamp(2.9rem, 5vw, 5.6rem); line-height: .96; letter-spacing: -.055em; font-weight: 400; }
h3 { margin-bottom: .7rem; font-family: var(--display); font-size: 1.7rem; font-weight: 400; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card { min-height: 340px; padding: 2rem; position: relative; background: #0c0f0e; }
.feature-card p { color: var(--muted); line-height: 1.65; }
.feature-index { position: absolute; right: 1.5rem; top: 1.5rem; color: #687069; font-family: var(--utility); font-size: .68rem; }
.feature-glyph { width: 64px; height: 64px; margin: 3rem 0 4.5rem; border: 1px solid #41502b; display: grid; place-items: center; color: var(--lcd-light); background: #151b10; font-size: 1.4rem; }

.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 10vw, 10rem); align-items: center; border-top: 1px solid var(--line); }
.how-copy > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.text-link { display: inline-flex; gap: .7rem; margin-top: 1rem; color: var(--blue); font-weight: 700; text-decoration: none; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { padding: 1.65rem 0; display: grid; grid-template-columns: 54px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.steps > li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #536032; color: var(--lcd-light); font-family: var(--utility); font-size: .72rem; }
.steps strong { font-family: var(--display); font-size: 1.45rem; font-weight: 400; }
.steps p { margin: .35rem 0 0; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 900px; margin-left: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.6rem 2.5rem 1.6rem 0; position: relative; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.35rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; color: var(--blue); font-family: var(--utility); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 720px; padding: 0 2rem 1.7rem 0; color: var(--muted); line-height: 1.7; }

.final-cta { margin: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 7vw, 7rem); border: 1px solid #52602f; text-align: center; background: linear-gradient(135deg, rgba(183,199,91,.08), rgba(146,191,255,.04)); }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { margin-left: auto; margin-right: auto; }

footer { min-height: 160px; padding: 3rem clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; border-top: 1px solid var(--line); color: #777e79; font-size: .78rem; }
footer p { margin: 0; }
footer p:last-child { text-align: right; }
.brand--footer { color: var(--paper); font-size: .9rem; }
.brand--footer .brand-mark { width: 34px; height: 34px; border-radius: 10px; transform: scale(.82); }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 700ms ease, transform 700ms ease; }
.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; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr 360px; padding-left: 2rem; padding-right: 2rem; gap: 2rem; }
  h1 { font-size: clamp(3.7rem, 8vw, 6rem); }
  .phone-hint { display: none; }
  .trust-list { grid-template-columns: 1fr; gap: .8rem; }
  .trust-list small { display: none; }
}

@media (max-width: 760px) {
  .site-header { position: relative; min-height: 68px; padding: 0 1rem; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .site-header .button { min-height: 40px; padding: 0 .85rem; font-size: .76rem; gap: .55rem; }
  .hero { min-height: auto; padding: 4.5rem 1.1rem 2rem; grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.3rem); }
  .hero-intro { font-size: 1rem; }
  .signup-form { grid-template-columns: 1fr; }
  .signup-form .button { width: 100%; }
  .form-status { grid-column: 1; }
  .phone-stage { margin-top: 1.5rem; }
  .phone { width: min(350px, 92vw); }
  .proof-strip { grid-template-columns: auto 1fr auto; gap: .6rem; padding: 1.2rem; }
  .pixel-stars { letter-spacing: 0; font-size: .72rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 290px; }
  .feature-glyph { margin-bottom: 3rem; }
  .how { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer p:last-child { text-align: center; }
  footer .brand { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
