:root {
  --bg: #040714;
  --bg-soft: #0a1230;
  --panel: #0f1833;
  --panel-alt: #111b3a;
  --text: #edf3ff;
  --muted: #c0cae6;
  --primary: #5f6dff;
  --primary-2: #7c3aed;
  --accent: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --line: rgba(194, 208, 255, 0.18);
  --shadow: 0 22px 62px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(1200px 500px at 15% -5%, #1c2a66 0%, transparent 50%),
    radial-gradient(900px 420px at 80% 2%, #3b1f64 0%, transparent 45%),
    linear-gradient(170deg, #040814 0%, #090f22 40%, #050b1a 100%);
}

.ambient {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 25% -10%, rgba(95, 109, 255, 0.16), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(124, 58, 237, 0.18), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  width: min(1220px, 92%);
  margin-inline: auto;
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(10, 16, 35, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

nav a {
  color: #d7e1ff;
  text-decoration: none;
  font-size: 0.94rem;
}

nav a:hover {
  color: #ffffff;
}

nav a.active {
  color: #ffffff;
  position: relative;
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
}

.hamburger {
  display: none;
}

.hero {
  padding: 78px 0 20px;
}

.hero.mini {
  padding: 58px 0 16px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.65rem);
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
}

h3 {
  font-size: 1.23rem;
}

p {
  color: var(--muted);
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbeafe;
  font-size: 0.79rem;
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.hero-copy p {
  max-width: 62ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-badges span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.84rem;
  color: #d8e2ff;
  background: rgba(14, 21, 45, 0.5);
}

.actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 34px 0;
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-top: 6px;
}

.grid-3,
.plan-grid,
.stack-grid,
.value-grid,
.two-col,
.split,
.tld-grid {
  display: grid;
  gap: 16px;
}

.grid-3,
.plan-grid,
.stack-grid,
.value-grid,
.tld-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col {
  grid-template-columns: 1.35fr 0.9fr;
}

.split {
  grid-template-columns: 1.2fr 0.95fr;
}

.glass {
  background: rgba(14, 22, 46, 0.62);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px;
  backdrop-filter: blur(11px);
  transition: transform 250ms ease, border-color 250ms ease;
}

.glass:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 169, 255, 0.44);
}

.card h3,
.plan h3,
.stack h3,
.glass h3 {
  margin-bottom: 8px;
}

.metric-list,
.checklist {
  padding-left: 18px;
  margin: 14px 0 0;
}

.metric-list li,
.checklist li {
  margin-bottom: 10px;
}

.plan ul {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.plan li {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.plan li::before {
  content: "✓";
  color: var(--ok);
}

.plan-price {
  font-size: 2rem;
  color: #ffffff;
  margin: 10px 0 0;
  font-weight: 800;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-score {
  margin-bottom: 8px;
}

.plan-score strong {
  color: #fff;
}

.plan.featured {
  background: linear-gradient(140deg, rgba(124, 58, 237, 0.25), rgba(95, 109, 255, 0.2));
  border-color: rgba(124, 168, 255, 0.53);
}

.stack {
  display: grid;
  gap: 6px;
}

.stack-lead {
  min-height: 58px;
  color: #d9e1fd;
}

.stack-meta {
  color: var(--warn);
  margin: 4px 0 0;
}

.stack-plan {
  margin: 0;
  font-size: 1.08rem;
}

.featured-stack {
  position: relative;
  overflow: hidden;
}

.featured-stack::after {
  content: "Most Practical";
  position: absolute;
  top: 14px;
  right: -45px;
  transform: rotate(45deg);
  width: 180px;
  text-align: center;
  background: linear-gradient(90deg, #0f122b, #5f6dff);
  color: #f8fbff;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  color: #f8fbff;
  box-shadow: 0 12px 20px rgba(93, 99, 255, 0.22);
}

.btn-outline {
  border-color: rgba(149, 169, 255, 0.45);
  color: #e5ecff;
}

.btn-ghost {
  border-color: rgba(194, 206, 255, 0.34);
  color: #f4f8ff;
}

.btn-block {
  width: 100%;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, rgba(95, 109, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.btn-glow:hover::after {
  opacity: 1;
}

.comparison-head {
  margin-bottom: 14px;
}

.comparison-wrapper {
  overflow-x: auto;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.matrix th,
.matrix td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: #f5f8ff;
}

.matrix th {
  color: #e3ebff;
  font-weight: 600;
}

.cta-strip {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-strip p {
  margin: 0;
}

.domain-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.tld-grid {
  margin-top: 16px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  background: rgba(9, 17, 44, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  color: #e2ecff;
  font-size: 0.9rem;
}

.domain-search input,
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(15, 26, 53, 0.7);
  color: #f3f6ff;
  padding: 12px;
  font: inherit;
}

.form {
  display: grid;
  gap: 10px;
}

.form label {
  font-weight: 700;
  color: #dbe7ff;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #9fb0d8;
}

.small {
  font-size: 0.92rem;
}

.muted-note {
  color: #d3def8;
  margin-top: 10px;
}

.site-footer {
  margin-top: 22px;
  padding: 24px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer .row {
  min-height: initial;
  padding: 0;
}

footer p {
  margin: 0;
}

footer a {
  color: #f5f8ff;
}

.stubs {
  border-color: #fda4af;
  color: #ffe4e8;
}

.reveal-up {
  opacity: 0;
  transform: translateY(12px);
}

.sr-only {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero-shell,
  .split,
  .grid-3,
  .plan-grid,
  .stack-grid,
  .value-grid,
  .two-col,
  .tld-grid {
    grid-template-columns: 1fr;
  }

  .two-col aside,
  .split aside {
    order: -1;
  }
}

@media (max-width: 760px) {
  .hamburger {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    border: 1px solid var(--line);
    border-radius: 10px;
    min-width: 42px;
    min-height: 42px;
    font-size: 1.2rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 4vw;
    width: min(290px, 90vw);
    flex-direction: column;
    align-items: flex-start;
    background: #0b1330;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    padding: 8px 0;
  }
}
