:root {
  --ink: #07162f;
  --ink-soft: #142848;
  --paper: #f3eddf;
  --paper-bright: #fffaf0;
  --green: #69dc1f;
  --green-dark: #397f12;
  --red: #d65444;
  --line: rgba(7, 22, 47, 0.18);
  --muted: #5e6570;
  --shadow: 0 1.5rem 4rem rgba(7, 22, 47, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus { top: 1rem; }

.site-header {
  width: min(100% - 2rem, 78rem);
  min-height: 4.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img { border-radius: 0.55rem; }

nav { display: none; gap: 1.5rem; }
nav a,
.site-footer a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover,
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.3rem; }

.section-shell {
  width: min(100% - 2rem, 78rem);
  margin-inline: auto;
}

.hero {
  padding-block: clamp(3.5rem, 11vw, 7rem);
  display: grid;
  align-items: center;
  gap: clamp(2.75rem, 8vw, 5rem);
}

.hero-copy,
.hero-visual { min-width: 0; }

.hero-visual {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.eyebrow,
.section-number,
.scope-label {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0.28rem rgba(105, 220, 31, 0.16);
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 10.5ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 12vw, 5.75rem);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.lede {
  max-width: 42rem;
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3vw, 1.32rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.button {
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0.35rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.button-primary { background: var(--green); box-shadow: 0.35rem 0.35rem 0 var(--ink); }
.button-primary:hover { box-shadow: 0.5rem 0.5rem 0 var(--ink); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--paper-bright); }
.button-small { min-height: 2.75rem; padding: 0.55rem 0.85rem; font-size: 0.86rem; }
.header-cta { display: none; }

.requirements { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.88rem; }

.signal-card {
  position: relative;
  padding: 0.65rem;
  border: 1px solid rgba(255,255,255,0.22);
  background: var(--ink);
  color: var(--paper-bright);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0.45rem -0.45rem -0.45rem 0.45rem;
  z-index: -1;
  border: 1px solid var(--ink);
  background: var(--green);
}

.signal-card-top,
.route-line {
  padding: 0.35rem 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.route-status { color: var(--green); }
.route-status span { display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor; }

.menu-window {
  overflow: hidden;
  border-radius: 0.85rem;
  background: rgba(248, 248, 249, 0.96);
  color: #1d1d1f;
  box-shadow: 0 1.2rem 3rem rgba(0,0,0,0.36);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.window-header { padding: 1.15rem; display: flex; gap: 0.75rem; align-items: flex-start; }
.window-header strong { display: block; font-size: 0.92rem; }
.window-header p { margin: 0.12rem 0; font-size: 0.78rem; font-weight: 600; }
.window-header small { display: block; max-width: 28rem; color: #6a6a70; font-size: 0.67rem; line-height: 1.35; }
.status-orb { width: 2.2rem; height: 2.2rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(48, 170, 69, 0.14); color: #16852c; font-weight: 800; }
.menu-rule { height: 1px; background: rgba(0,0,0,0.1); }
.menu-action { min-height: 2.4rem; padding: 0.6rem 0.85rem; display: flex; align-items: center; gap: 0.7rem; font-size: 0.72rem; }
.menu-action span { width: 1.1rem; color: #73737a; text-align: center; }
.menu-action b { margin-left: auto; color: #16852c; }
.menu-action.active { background: rgba(105, 220, 31, 0.08); }
.menu-footer { min-height: 2.4rem; padding: 0.6rem 0.85rem; display: flex; justify-content: space-between; color: #73737a; font-size: 0.68rem; }
.route-line { padding-top: 0.8rem; padding-bottom: 0.3rem; }
.route-line i { height: 1px; flex: 1; background: rgba(255,255,255,0.45); position: relative; }
.route-line i::after { content: ""; position: absolute; right: 0; top: -0.2rem; border: 0.22rem solid transparent; border-left-color: rgba(255,255,255,0.65); }
.route-line strong { color: var(--green); }

.problem-band,
.support-band { background: var(--ink); color: var(--paper-bright); }
.problem-grid,
.support-grid { padding-block: clamp(4rem, 10vw, 7rem); display: grid; gap: 2.5rem; }
.problem-grid > div:first-child p:last-child,
.support-grid p { color: rgba(255,255,255,0.72); max-width: 42rem; }

.transcript-pair { display: grid; gap: 0.75rem; }
.transcript { margin: 0; padding: 1rem; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); }
.transcript header { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.65rem; letter-spacing: 0.08em; }
.transcript header b { color: var(--red); }
.transcript p { margin: 1.35rem 0; color: var(--paper-bright); font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }
.transcript mark { color: var(--red); background: transparent; }
.transcript footer { color: rgba(255,255,255,0.55); font-size: 0.7rem; }
.transcript.good { border-color: rgba(105,220,31,0.75); }
.transcript.good header b { color: var(--green); }

.steps,
.faq,
.privacy-section { padding-block: clamp(5rem, 12vw, 9rem); }
.section-heading { margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 13ch; }
.step-grid { display: grid; gap: 1rem; }
.step-grid article { min-height: 15rem; padding: 1.35rem; border-top: 1px solid var(--ink); background: rgba(255,255,255,0.22); }
.step-grid article:nth-child(2) { background: var(--paper-bright); }
.step-grid article:nth-child(3) { background: var(--green); }
.step-index { display: block; margin-bottom: 4.5rem; font-family: var(--serif); font-size: 2rem; }
.step-grid p { margin: 0; color: var(--ink-soft); }

.compatibility { padding-block: clamp(5rem, 12vw, 9rem); border-block: 1px solid var(--line); background: var(--paper-bright); }
.compatibility-grid { display: grid; gap: 2.5rem; }
.compatibility h2 { max-width: 10ch; }
.device-tags { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 2rem; }
.device-tags span { padding: 0.55rem 0.75rem; border: 1px solid var(--ink); border-radius: 99rem; font-size: 0.82rem; font-weight: 650; }
.scope-note { padding: 1.4rem; border: 1px solid var(--ink); background: var(--paper); box-shadow: 0.4rem 0.4rem 0 var(--green); }
.scope-note p { color: var(--ink-soft); }
.scope-note p:last-child { margin-bottom: 0; }

.privacy-section { display: grid; gap: 2rem; align-items: center; }
.privacy-section > div:last-child { max-width: 46rem; }
.privacy-mark { width: min(12rem, 55vw); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.6rem, 8vw, 2.6rem); font-weight: 900; line-height: 0.9; text-align: center; transform: rotate(-7deg); }
.text-link { font-weight: 750; text-underline-offset: 0.3rem; }

.faq-list { border-top: 1px solid var(--ink); }
details { border-bottom: 1px solid var(--ink); }
summary { min-height: 4.5rem; padding-block: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: 1.05rem; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 50rem; padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); }

.support-grid h2 { max-width: 11ch; }
.support-link { color: var(--paper-bright); border-color: rgba(255,255,255,0.75); }
.support-link:hover { color: var(--ink); }

.final-cta { padding-block: clamp(6rem, 16vw, 11rem); text-align: center; }
.final-cta img { border-radius: 1.8rem; box-shadow: var(--shadow); transform: rotate(4deg); }
.final-cta .eyebrow { margin-top: 2rem; }
.final-cta h2 { max-width: 15ch; margin-inline: auto; }
.final-cta > p:not(.eyebrow) { max-width: 42rem; margin-inline: auto; color: var(--ink-soft); }
.centered { justify-content: center; margin-top: 1.75rem; }

.site-footer { width: min(100% - 2rem, 78rem); min-height: 7rem; margin: 0 auto; padding-block: 1.5rem; display: grid; align-items: center; gap: 0.75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.site-footer p { margin: 0; }
.site-footer > div:not(.brand) { display: flex; gap: 1rem; }

.reveal { animation: rise 650ms both cubic-bezier(.2,.7,.2,1); }
.reveal-delay { animation-delay: 140ms; }
@keyframes rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 48rem) {
  .site-header { width: min(100% - 3rem, 78rem); }
  .section-shell { width: min(100% - 3rem, 78rem); }
  .header-cta { display: inline-flex; }
  .hero h1 {
    max-width: 13ch;
    font-size: clamp(4.25rem, 8vw, 5.15rem);
  }
  .button-row { flex-direction: row; align-items: center; }
  .button { width: auto; }
  .problem-grid,
  .support-grid,
  .compatibility-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .privacy-section { grid-template-columns: 0.65fr 1.35fr; }
  .site-footer { width: min(100% - 3rem, 78rem); grid-template-columns: 1.2fr 1fr auto auto; }
}

@media (min-width: 64rem) {
  nav { display: flex; }
  .hero {
    min-height: calc(100svh - 4.5rem);
    padding-block: clamp(4.5rem, 7vw, 7rem);
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
    gap: clamp(3rem, 5vw, 5rem);
  }
  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(4.15rem, 6.5vw, 6.4rem);
  }
  .hero-visual {
    max-width: 35rem;
    margin-inline: 0;
    justify-self: end;
  }
  .signal-card { padding: 0.9rem; }
  .menu-window { transform: translateX(-1rem); }
  .problem-grid,
  .support-grid { grid-template-columns: 0.8fr 1.2fr; gap: 6rem; }
  .compatibility-grid { gap: 6rem; }
  .privacy-section { gap: 5rem; }
}

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