@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/SpaceGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b1512;
  --surface: #121c18;
  --surface2: #18241f;
  --border: #2d4d40;
  --green: #0E8F6C;
  --mint: #2EE6A0;
  --text: #f4fbf7;
  --muted: #8FB3A3;
  --danger: #F04438;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 0 0 1px rgba(46, 230, 160, 0.08), 0 18px 40px rgba(0, 0, 0, 0.28);
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(14, 143, 108, 0.18), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #7ff3c2; }
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--mint);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 20;
  font-family: var(--display);
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 21, 18, 0.88);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(16px)) {
  header { backdrop-filter: blur(16px); }
}
header .wrap, footer .wrap, main { max-width: 60rem; margin: 0 auto; }
main { overflow-x: hidden; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
header .wrap { padding: 0.7rem 1.2rem; }
header nav {
  display: flex;
  gap: 0.85rem 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
header .brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
}
header .brand img { width: 40px; height: 40px; border-radius: 11px; }
header .links { display: flex; gap: 0.95rem; flex-wrap: wrap; }
header .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}
header .links a:hover, header .links a[aria-current="page"] { color: var(--mint); }
.nav-cta {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bg);
  background: var(--mint);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { color: var(--bg); filter: brightness(1.06); }

main { padding: 1.25rem 1.2rem 3.5rem; }
.legal-main { max-width: 44rem; padding-top: 2rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.15rem, 8vw, 3.7rem); margin: 0 0 0.85rem; }
h2 { font-size: 1.35rem; margin: 0 0 0.9rem; }
h3 { font-size: 1.08rem; margin: 0 0 0.45rem; }
p, li, label, summary, td, th { font-size: 1rem; }
.meta { color: var(--muted); font-size: 0.95rem; }
.lead { color: var(--muted); margin: 0 0 1.1rem; max-width: 40rem; }

.hero {
  position: relative;
  isolation: isolate;
  padding: 2.6rem 0 2.8rem;
  margin: 0 0 1.2rem;
  overflow: hidden;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy { position: relative; z-index: 1; max-width: 38rem; }
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 230, 160, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 160, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 72%);
}
.hero-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -4rem;
  top: -3rem;
  background: radial-gradient(circle, rgba(46, 230, 160, 0.2), transparent 68%);
}
.hero-rings {
  position: absolute;
  left: 78%;
  top: 42%;
  width: min(42rem, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  mask-image: radial-gradient(circle, #000 48%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle, #000 48%, transparent 74%);
}
.hero-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(46, 230, 160, 0.22);
  border-radius: 50%;
  animation: radar-pulse 5.5s ease-out infinite;
}
.hero-rings span:nth-child(2) { animation-delay: 1.8s; }
.hero-rings span:nth-child(3) { animation-delay: 3.6s; }
@keyframes radar-pulse {
  0% { transform: scale(0.18); opacity: 0.55; }
  70% { opacity: 0.12; }
  100% { transform: scale(1); opacity: 0; }
}
.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(18, 28, 24, 0.8);
  color: var(--mint);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  position: relative;
  color: #fff;
  text-shadow:
    0 0 32px rgba(46, 230, 160, 0.16),
    0 0 72px rgba(14, 143, 108, 0.2);
}
.hero h1 .accent { color: var(--mint); }
.subhead {
  position: relative;
  margin: 0;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.15rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary { background: var(--mint); color: var(--bg); }
.btn-primary:hover { color: var(--bg); filter: brightness(1.06); }
.btn-secondary {
  background: transparent;
  color: var(--mint);
  border: 1px solid var(--mint);
}
.btn-secondary:hover { background: rgba(46, 230, 160, 0.08); color: #7ff3c2; }

.path, .feature, #thanks, #overflow, .pricing-card, .social-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hero, .section, #signup, #thanks, #overflow, footer { scroll-margin-top: 5.5rem; }
.section { margin: 0 0 2.6rem; }
.section h2 { letter-spacing: -0.02em; }
.section-note { color: var(--muted); font-size: 0.95rem; margin: 1rem 0 0; max-width: 42rem; }

.features { display: grid; gap: 0.75rem; }
.feature {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
}
.feature svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  stroke: var(--mint);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 0.1rem;
}
.feature p { margin: 0; font-weight: 500; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 1.05rem 2.7rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--surface2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
}
.compare-table thead th:last-child {
  background: rgba(46, 230, 160, 0.08);
  color: var(--mint);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--text);
}
.compare-table td { color: var(--muted); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:last-child td:last-child { color: var(--text); }

.compare-cards { display: none; }
.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}
.compare-card h3 { margin: 0 0 0.55rem; font-size: 1rem; letter-spacing: -0.02em; }
.compare-card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.compare-card .pair span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 0.15rem; }
.compare-card .pair p { margin: 0; font-weight: 500; }
.compare-card .pair .yes { color: var(--mint); }

.badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--mint);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  vertical-align: middle;
}
.badge-quiet {
  background: transparent;
  color: var(--mint);
  border: 1px solid var(--mint);
}
.price { color: var(--text); font-weight: 600; }
.pricing-card { padding: 1.2rem 1.2rem 1.3rem; margin-top: 1.15rem; }
.pricing-card p { margin: 0 0 0.75rem; color: var(--muted); }
.pricing-card p:last-child { margin-bottom: 0; }
.pricing-card strong { color: var(--text); }

.faq details {
  border-top: 1px solid var(--border);
  padding: 0.85rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.55rem;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(45deg) translateY(-2px);
  vertical-align: middle;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { margin: 0.5rem 0 0.15rem; color: var(--muted); }

.paths { display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
.path { padding: 1.2rem 1.15rem 1.3rem; box-shadow: var(--shadow); }
.help, .zip-help, .disclaimer { color: var(--muted); font-size: 0.95rem; }
.help, .zip-help { margin: 0 0 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0 0 0.9rem; }
.field input[type="email"],
.field input[type="text"] {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.85rem;
  width: 100%;
  min-height: 48px;
}
.field input::placeholder { color: var(--muted); }
.field input:hover { border-color: #3d6a58; }
.phones { display: flex; gap: 1rem; flex-wrap: wrap; }
.phones label { display: flex; align-items: center; gap: 0.45rem; min-height: 44px; }
input[type="checkbox"], input[type="radio"] {
  accent-color: var(--mint);
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}
.consent { display: flex; gap: 0.65rem; align-items: flex-start; margin: 0.35rem 0 1rem; }
.consent input { margin-top: 0.28rem; }
.consent span { font-size: 0.95rem; }

button, .share a, .share button { font: inherit; font-weight: 700; cursor: pointer; }
button[type="submit"] {
  font-family: var(--display);
  background: var(--mint);
  color: var(--bg);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  width: 100%;
  font-size: 1rem;
  min-height: 48px;
}
button[type="submit"]:hover { filter: brightness(1.06); }
button[type="submit"]:disabled { opacity: 0.7; cursor: wait; filter: none; }

.form-msg { min-height: 1.3em; margin: 0.6rem 0 0; font-size: 0.95rem; }
.form-msg.error { color: var(--danger); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.disclaimer { margin: 1.25rem 0 0; }
.banner-disclaimer {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
#state-b { margin-bottom: 0.25rem; }
#thanks { padding: 1.2rem 1.15rem 1.35rem; margin-bottom: 1.5rem; }
#thanks h2 { margin-bottom: 0.7rem; }
#share-link {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface2);
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-height: 48px;
}
.share-row { display: flex; gap: 0.5rem; margin: 0.6rem 0 1rem; flex-wrap: wrap; }
.share-row button, .share a {
  font-family: var(--display);
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.share-row button:hover, .share a:hover { border-color: var(--mint); color: var(--mint); }
.share-text {
  white-space: pre-wrap;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  color: var(--muted);
}
#overflow { padding: 1.15rem; margin-bottom: 1.25rem; }

.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.social-list li { padding: 1rem 1.1rem; }
.social-name {
  font-family: var(--display);
  font-weight: 700;
  margin-right: 0.35rem;
}
.social-todo { display: block; color: var(--muted); margin-top: 0.35rem; font-size: 0.95rem; }

footer {
  border-top: 1px solid var(--border);
  padding: 1.4rem 1.2rem 2.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}
footer a { color: var(--mint); }
footer p { margin: 0.4rem 0; }

.legal-main h2 { margin-top: 1.8rem; }
.legal-main h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); max-width: none; }
.legal-main ul { padding-left: 1.2rem; }
.legal-main li { margin: 0.35rem 0; }
.caps { font-size: 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-rings span { animation: none; opacity: 0.28; transform: none; }
  .hero-rings span:nth-child(1) { inset: 18%; }
  .hero-rings span:nth-child(2) { inset: 32%; }
  .hero-rings span:nth-child(3) { inset: 44%; }
  button[type="submit"]:hover, .btn-primary:hover, .nav-cta:hover { filter: none; }
}

@media (max-width: 699px) {
  header .links {
    width: 100%;
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.8rem;
    padding: 0.15rem 1.5rem 0.35rem 0;
    -webkit-overflow-scrolling: touch;
  }
  header .links a { white-space: nowrap; }
  .nav-cta { margin-left: auto; }
  .compare-table-wrap { display: none; }
  .compare-cards { display: grid; gap: 0.65rem; }
}

@media (min-width: 700px) {
  .features { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3.6rem 0 3.4rem; min-height: 26rem; }
}

@media (min-width: 800px) {
  .paths { grid-template-columns: 1fr 1fr; align-items: start; }
  body.beta-full .paths { grid-template-columns: 1fr; }
  body.beta-full .paths .path { max-width: 32rem; }
}
