:root {
  --bg: #08131f;
  --bg-soft: #10233a;
  --panel: rgba(8, 20, 32, 0.82);
  --panel-strong: rgba(12, 28, 45, 0.96);
  --line: rgba(147, 188, 255, 0.16);
  --text: #f3f7fb;
  --muted: #a8bdd6;
  --accent: #62e2c7;
  --accent-strong: #1ab9a5;
  --warm: #ffd36d;
  --danger: #ff8e8e;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(26, 185, 165, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 211, 109, 0.16), transparent 22%),
    linear-gradient(160deg, #06101a 0%, #0b1b2d 45%, #08131f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  padding: 16px 20px;
  margin-bottom: 36px;
  background: rgba(7, 17, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #041016;
  background: linear-gradient(135deg, var(--warm), var(--accent));
}

.brand-text {
  font-size: 0.96rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.96rem;
}

.nav a {
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav a.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: #06212c;
  background: linear-gradient(135deg, #62e2c7, #8dedc2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 700;
  text-shadow: none;
}

.nav a.nav-cta:hover,
.nav a.nav-cta:focus-visible {
  color: #04171f;
  background: linear-gradient(135deg, #74ebd0, #9cf1cb);
}

.hero,
.feature-zone,
.visual-story,
.plans,
.steps,
.devices,
.faq,
.page-content,
.checkout-layout,
.proof-strip {
  margin-bottom: 28px;
}

.hero,
.page-hero,
.feature-zone,
.visual-story,
.plans,
.steps,
.devices,
.faq,
.page-content,
.checkout-layout {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bahnschrift", "Aptos Display", sans-serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.24rem;
}

.lede,
.hero-copy p,
.feature-grid p,
.plan-card li,
.steps-grid p,
.device-grid p,
.faq-grid p,
.page-content,
.checkout-note p,
.form-hint,
label,
input,
select {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy .lede {
  max-width: 62ch;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button[aria-busy="true"] {
  cursor: wait;
}

.button-label {
  display: inline-flex;
  align-items: center;
}

.button-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(8, 19, 31, 0.25);
  border-top-color: #08131f;
  border-radius: 50%;
  animation: button-spin 0.75s linear infinite;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.button-primary {
  color: #08131f;
  background: linear-gradient(135deg, var(--accent), #8dedc2);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.button-full {
  width: 100%;
}

.hero-points,
.plan-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-media,
.signal-grid article,
.feature-grid article,
.visual-card,
.plan-card,
.steps-grid article,
.device-grid article,
.faq-grid article,
.checkout-note,
.checkout-form {
  padding: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.signal-label,
.checkout-summary span {
  color: var(--warm);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-grid,
.feature-grid,
.visual-story,
.plan-grid,
.steps-grid,
.device-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.signal-grid {
  grid-template-columns: repeat(2, 1fr);
}

.proof-strip {
  padding: 0 10px;
  color: var(--muted);
  text-align: center;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.icon-accent,
.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(98, 226, 199, 0.1);
  border: 1px solid rgba(98, 226, 199, 0.18);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
}

.hero-media img,
.visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  min-height: 360px;
}

.hero-media::after,
.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 19, 31, 0.92) 8%, rgba(8, 19, 31, 0.2) 55%, rgba(8, 19, 31, 0.02));
  pointer-events: none;
}

.hero-media-caption,
.visual-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 22px;
}

.hero-media-caption strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.section-heading {
  padding: 32px 32px 0;
}

.feature-grid,
.device-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px 32px 32px;
}

.visual-story {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  padding: 24px;
}

.plans,
.steps,
.devices,
.visual-story,
.faq,
.page-content,
.checkout-layout {
  padding: 0;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px 32px 32px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 0;
}

.visual-card-wide {
  min-height: 360px;
}

.visual-copy h3 {
  max-width: 16ch;
}

.visual-copy p:last-child {
  margin: 0;
}

.plan-card {
  display: grid;
  gap: 16px;
}

.plan-card h3 {
  font-size: 2.4rem;
}

.plan-card h3 span {
  font-size: 1rem;
  color: var(--muted);
}

.plan-tier {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.84rem;
}

.featured {
  position: relative;
  transform: translateY(-10px);
  border-color: rgba(98, 226, 199, 0.45);
}

.featured::before {
  content: "Most balanced";
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(98, 226, 199, 0.14);
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px 32px 32px;
}

.steps-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 211, 109, 0.14);
  color: var(--warm);
  font-weight: 700;
}

.steps-grid span .icon {
  width: 20px;
  height: 20px;
}

.page-hero {
  padding: 32px;
  margin-bottom: 24px;
}

.page-hero .lede {
  margin-top: 16px;
  max-width: 68ch;
}

.page-content {
  padding: 32px;
}

.prose h2,
.prose h3 {
  margin: 32px 0 12px;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
}

.prose a {
  color: var(--accent);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  padding: 32px;
}

.checkout-note {
  align-self: start;
}

.checkout-note h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

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

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

input,
select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.checkout-form select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 48px 0 16px;
  font-weight: 600;
  color: var(--text);
  background-color: rgba(13, 27, 42, 0.92);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25 7 9.25l4-4' stroke='%23dce9f7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 16px center;
  background-size: auto, 14px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.checkout-form select:hover {
  border-color: rgba(118, 224, 181, 0.42);
}

.checkout-form select:focus {
  outline: none;
  border-color: rgba(118, 224, 181, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 3px rgba(118, 224, 181, 0.18);
}

.checkout-form select option {
  color: #132130;
  background: #f3f7fc;
  font-weight: 600;
}

input::placeholder {
  color: rgba(168, 189, 214, 0.7);
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.checkout-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.25rem;
}

.form-error {
  padding: 14px 16px;
  border: 1px solid rgba(255, 142, 142, 0.25);
  border-radius: 14px;
  color: #ffd9d9;
  background: rgba(77, 15, 15, 0.34);
}

.footer {
  padding: 22px 8px 10px;
  color: var(--muted);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .visual-story,
  .checkout-layout,
  .feature-grid,
  .plan-grid,
  .steps-grid,
  .device-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .featured {
    transform: none;
  }

  .visual-card,
  .visual-card-wide,
  .hero-media img {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-inline: 14px;
  }

  .topbar,
  .hero,
  .page-hero,
  .page-content,
  .checkout-layout,
  .visual-story,
  .section-heading,
  .feature-grid,
  .plan-grid,
  .steps-grid,
  .device-grid,
  .faq-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  h1 {
    max-width: none;
  }

  .hero-media-caption strong,
  .visual-copy h3 {
    max-width: none;
  }

  .two-up,
  .three-up,
  .signal-grid {
    grid-template-columns: 1fr;
  }
}
