:root {
  --bg: #070b14;
  --card: rgba(30, 41, 59, 0.55);
  --card-solid: #151d2e;
  --border: rgba(148, 163, 184, 0.14);
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --good: #34d399;
  --max: 1360px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(700px 400px at 95% 10%, rgba(14, 165, 233, 0.12), transparent 50%),
    radial-gradient(600px 400px at 50% 100%, rgba(99, 102, 241, 0.08), transparent 45%);
  z-index: 0;
}
body > * { position: relative; z-index: 1; }
a { color: #7dd3fc; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(7, 11, 20, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand-logo {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--card-solid);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-text span {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
}
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-actions a.quiet {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
}
.nav-actions a.quiet:hover,
.nav-actions a.quiet[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
@media (max-width: 720px) {
  .nav-inner { padding: 0.5rem 0; gap: 0.5rem; flex-wrap: nowrap; }
  .brand-logo { width: 2rem; height: 2rem; }
  .brand-text span { display: none; }
  .nav-actions { flex-wrap: nowrap; gap: 0.35rem; }
  .nav-actions a.quiet { display: none; }
  .nav-actions .btn { padding: 0.5rem 0.7rem; font-size: 0.68rem; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 0.7rem;
  font-family: var(--font);
  font-weight: 750;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.72rem 1.1rem;
  cursor: pointer;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.32);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}
.btn-block { width: 100%; }
.hero { padding: 3.5rem 0 2.5rem; }
h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46rem;
}
.page-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
section { padding: 1rem 0 3.25rem; }
.feature-grid, .pricing-grid {
  display: grid;
  gap: 1rem;
  max-width: 64rem;
}
@media (min-width: 700px) {
  .feature-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .feature-grid, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid.compare-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature, .price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.25rem 1.3rem;
  backdrop-filter: blur(8px);
}
.feature h2, .price-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 750;
}
.feature p, .price-card .blurb {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.feature p + p { margin-top: 0.75rem; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2), 0 24px 60px rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(30, 41, 59, 0.55));
}
.price-card .badge {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.price-card .price {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
}
.price-card .price small {
  font-family: var(--font);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.price-card ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
  display: grid;
  gap: 0.45rem;
}
.price-card ul li {
  font-size: 0.88rem;
  color: #e2e8f0;
  padding-left: 1.2rem;
  position: relative;
}
.price-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 800;
}
.pricing-anchor, .addons-lead, .trust-note {
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.addons-block { margin-top: 2rem; max-width: 52rem; }
.addons-block > h2 { margin: 0 0 0.35rem; font-size: 1.35rem; font-weight: 800; }
.addons-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) {
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
}
.price-card.addon-card {
  border-style: dashed;
  background: rgba(37, 99, 235, 0.06);
}
.plan-compare-wrap { max-width: 64rem; margin: 1.25rem 0 0; overflow-x: auto; }
.plan-compare { width: 100%; min-width: 36rem; border-collapse: collapse; font-size: 0.88rem; }
.plan-compare caption { caption-side: top; text-align: left; font-weight: 750; padding: 0 0 0.55rem; }
.plan-compare th, .plan-compare td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.plan-compare thead th { font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
footer {
  padding: 2.75rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.foot-links a:hover { color: var(--text); }
.foot-copy { margin-top: 1.25rem; opacity: 0.7; }
