:root {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-soft: #15171b;
  --surface: #1b1e24;
  --surface-high: #242832;
  --border: #303541;
  --text: #f5f6f8;
  --muted: #a9afba;
  --quiet: #757d8a;
  --accent: #00e0c6;
  --accent-ink: #071211;
  --coral: #ff7a5c;
  --gold: #f2c94c;
  --paper: #f0e3c2;
  --blue: #78a7ff;
  --max: 1120px;
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 17, 0.78), var(--bg) 54%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 92px
    ),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(14, 15, 17, 0.78);
  backdrop-filter: blur(18px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-link img {
  display: block;
  border-radius: 8px;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92svh;
  overflow: hidden;
  padding: 128px 24px 84px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(680px, 100%);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-copy h1,
.section-heading h2,
.split-band h2,
.legal-title h1 {
  margin: 0;
  max-width: 760px;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(4.5rem, 12vw, 10rem);
}

.lede {
  max-width: 650px;
  margin: 22px 0 34px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  width: min(680px, 100%);
}

.waitlist-form input[type="email"] {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  background: rgba(14, 15, 17, 0.88);
  color: var(--text);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 224, 198, 0.18);
}

.waitlist-form button {
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  cursor: pointer;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.turnstile-slot {
  grid-column: 1 / -1;
  min-height: 0;
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

.form-note.success {
  color: var(--accent);
}

.form-note.error {
  color: var(--coral);
}

.hero-visual {
  position: absolute;
  inset: 72px 0 0;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  opacity: 0.82;
  pointer-events: none;
}

.device,
.share-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(36, 40, 50, 0.92), rgba(17, 19, 23, 0.92));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.device {
  width: min(330px, 30vw);
  min-width: 240px;
  border-radius: 28px;
  padding: 18px;
}

.device-library {
  right: 8%;
  top: 7%;
  transform: rotate(4deg);
}

.device-scan {
  right: 26%;
  bottom: 9%;
  transform: rotate(-7deg);
}

.device-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.device-bar span {
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.screen-label {
  margin-bottom: 16px;
  color: var(--muted);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cover {
  display: block;
  aspect-ratio: 0.72;
  border-radius: 6px;
}

.cover.teal,
.share-covers i:nth-child(1) {
  background: linear-gradient(160deg, var(--accent), #114743);
}

.cover.rust,
.share-covers i:nth-child(2) {
  background: linear-gradient(160deg, var(--coral), #4a1912);
}

.cover.blue,
.share-covers i:nth-child(3) {
  background: linear-gradient(160deg, var(--blue), #18233f);
}

.cover.gold {
  background: linear-gradient(160deg, var(--gold), #513f10);
}

.cover.paper {
  background: linear-gradient(160deg, var(--paper), #5a4f39);
}

.cover.ink {
  background: linear-gradient(160deg, #f5f6f8, #20242d);
}

.mini-row {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.mini-row span {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.reticle {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.26);
}

.reticle span {
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--accent);
}

.reticle span:nth-child(1) {
  top: 18px;
  left: 18px;
  border-top: 3px solid;
  border-left: 3px solid;
}

.reticle span:nth-child(2) {
  top: 18px;
  right: 18px;
  border-top: 3px solid;
  border-right: 3px solid;
}

.reticle span:nth-child(3) {
  bottom: 18px;
  left: 18px;
  border-bottom: 3px solid;
  border-left: 3px solid;
}

.reticle span:nth-child(4) {
  right: 18px;
  bottom: 18px;
  border-right: 3px solid;
  border-bottom: 3px solid;
}

.scan-line {
  height: 2px;
  margin: 18px 0;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(0, 224, 198, 0.7);
}

.barcode {
  height: 58px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0,
    rgba(255, 255, 255, 0.82) 3px,
    transparent 3px,
    transparent 9px
  );
  opacity: 0.48;
}

.share-card {
  right: 3%;
  bottom: 18%;
  width: 260px;
  border-radius: 12px;
  padding: 18px;
  transform: rotate(8deg);
}

.share-card span {
  color: var(--accent);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.share-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.4rem;
}

.share-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.share-covers i {
  display: block;
  aspect-ratio: 0.82;
  border-radius: 5px;
}

.signal-strip,
.content-band,
.site-footer,
.legal-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.signal-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.signal-strip div {
  padding: 22px;
  background: rgba(27, 30, 36, 0.86);
}

.signal-strip strong {
  display: block;
  margin-bottom: 6px;
}

.signal-strip span {
  color: var(--muted);
}

.content-band {
  padding: 96px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.section-heading h2,
.split-band h2 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-grid article span {
  color: var(--accent);
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 56px 0 12px;
  font-size: 1.18rem;
}

.feature-grid p,
.plain-copy p,
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.65;
}

.split-band {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  border-top: 1px solid var(--border);
}

.plain-copy {
  padding-top: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--quiet);
}

.legal-shell {
  padding: 124px 0 80px;
}

.legal-title {
  margin-bottom: 42px;
}

.legal-title h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

.legal-title p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-content ul {
  padding-left: 22px;
}

.link-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  text-decoration: none;
}

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

@media (max-width: 920px) {
  .hero {
    padding-top: 120px;
  }

  .hero-visual {
    inset: 56px 0 0;
    opacity: 0.36;
  }

  .device-library {
    right: -30px;
    top: 12%;
  }

  .device-scan,
  .share-card {
    display: none;
  }

  .feature-grid,
  .signal-strip,
  .split-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-header nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 90svh;
    padding: 108px 18px 68px;
  }

  .hero-copy h1 {
    font-size: 4.6rem;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form button {
    width: 100%;
  }

  .signal-strip,
  .content-band,
  .site-footer,
  .legal-shell {
    width: min(100% - 32px, var(--max));
  }

  .content-band {
    padding: 72px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
