:root {
  color-scheme: light;
  --bg: #eef3ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-dark: #0f1830;
  --ink: #0f1930;
  --muted: #62708f;
  --line: rgba(84, 101, 145, 0.18);
  --accent: #1155ff;
  --accent-2: #11b9ff;
  --accent-soft: rgba(17, 85, 255, 0.08);
  --shadow: 0 26px 80px rgba(15, 25, 48, 0.08);
  --shadow-strong: 0 34px 120px rgba(15, 25, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(17, 185, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(17, 85, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 48%, #eef3ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.14;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.site-shell {
  min-height: 100vh;
  position: relative;
}

.topbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.42), transparent 36%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    0 14px 30px rgba(17, 85, 255, 0.24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.02rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.auth-state {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 25, 48, 0.06);
}

.auth-logout {
  border: none;
  background: linear-gradient(135deg, var(--accent), #316cff);
  color: white;
  border-radius: 999px;
  padding: 12px 19px;
  font-weight: 700;
  cursor: pointer;
  min-width: 132px;
  box-shadow: 0 16px 30px rgba(17, 85, 255, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.auth-logout:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(17, 85, 255, 0.3);
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 160ms ease, transform 160ms ease;
}

.topnav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  box-shadow: 0 8px 24px rgba(15, 25, 48, 0.05);
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 28px 100px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.hero-copy,
.hero-panel,
.story-card,
.price-card,
.faq-card,
.proof-strip,
.story-section,
.pricing-section,
.faq-section {
  min-width: 0;
}

.hero-copy {
  position: relative;
  padding: 38px 38px 42px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.72)),
    linear-gradient(135deg, rgba(17,85,255,0.12), rgba(17,185,255,0.08));
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,185,255,0.16), transparent 70%);
  pointer-events: none;
}

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

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.lead {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #20304d;
  max-width: 60ch;
}

.body-copy {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.78;
  max-width: 65ch;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 22px;
}

.actions a {
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.actions .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #316cff);
  box-shadow: 0 16px 30px rgba(17, 85, 255, 0.25);
}

.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
}

.actions a:hover {
  transform: translateY(-2px);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  color: #32425f;
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  padding: 24px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(15,24,48,0.96), rgba(18,31,61,0.95));
  color: white;
  box-shadow: 0 30px 90px rgba(15, 24, 48, 0.2);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,185,255,0.16), transparent 70%);
}

.signal-main {
  margin-bottom: 18px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(17,85,255,0.28), rgba(17,185,255,0.2));
}

.signal-label {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.74);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
}

.signal-main h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signal-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(10px);
}

.signal-card span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.signal-card p {
  margin: 0;
  color: rgba(232,238,255,0.76);
  line-height: 1.6;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: 0 16px 40px rgba(15, 25, 48, 0.05);
  margin: -6px 0 54px;
  }

.proof-item {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(17,85,255,0.04);
}

.proof-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.proof-item span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 22px;
  position: relative;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.story-section,
.pricing-section,
.faq-section {
  margin-bottom: 56px;
}

.story-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.story-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.story-card,
.price-card,
.faq-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.story-card:hover,
.price-card:hover,
.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(15, 25, 48, 0.12);
  border-color: rgba(17,85,255,0.16);
}

.story-card p,
.faq-card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.78;
}

.story-card h3,
.faq-card h3,
.price-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.feature-list,
.price-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.price-card.featured {
  transform: translateY(-8px);
  border-color: rgba(17,85,255,0.24);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.93), rgba(240,245,255,0.9));
  box-shadow: 0 34px 100px rgba(17, 85, 255, 0.16);
}

.price-card.featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 38px 108px rgba(17, 85, 255, 0.22);
  border-color: rgba(17,85,255,0.3);
}

.price-top p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.price-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(17,85,255,0.08);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
}

.price-link {
  display: inline-flex;
  margin-top: 18px;
  text-decoration: none;
  font-weight: 800;
  color: var(--accent);
  align-items: center;
  gap: 8px;
}

.price-link::after {
  content: "→";
}

.faq-grid {
  grid-template-columns: repeat(3, 1fr);
}

code {
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .hero,
  .story-grid,
  .pricing-grid,
  .faq-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .topbar,
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    width: 100%;
    gap: 12px;
  }

  .hero-copy,
  .hero-panel,
  .story-card,
  .price-card,
  .faq-card {
    padding: 20px;
    border-radius: 22px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }
}
