:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #16161d;
  --ink-soft: #6e6e73;
  --ink-faint: #86868b;
  --border: #e3e3ea;

  /* AI-brand gradient family — indigo -> violet -> magenta -> amber */
  --g1: #4f46e5;
  --g2: #9333ea;
  --g3: #ec4899;
  --g4: #f59e0b;
  --gradient-brand: linear-gradient(115deg, var(--g1) 0%, var(--g2) 45%, var(--g3) 75%, var(--g4) 100%);
  --gradient-brand-soft: linear-gradient(115deg, rgba(79,70,229,0.12) 0%, rgba(147,51,234,0.12) 45%, rgba(236,72,153,0.12) 75%, rgba(245,158,11,0.12) 100%);

  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --accent-soft: #f1ebfd;
  --success: #16a34a;
  --success-bg: #e8f8ec;

  --dark-bg: #0b0b14;
  --dark-surface: #14141f;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 48px rgba(76,29,149,0.12);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06), 0 8px 20px rgba(76,29,149,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
img, svg { display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(251,251,253,0.75);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13px;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: var(--gradient-brand);
  color: #fff;
  padding: 7px 18px;
  border-radius: 980px;
  text-decoration: none;
  transition: opacity .15s ease, transform .05s ease;
  box-shadow: 0 4px 14px rgba(147,51,234,0.28);
}
.nav-cta:hover { opacity: 0.9; }
.nav-cta:active { transform: scale(0.97); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin: -8px;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.mobile-only-cta { display: none; }

/* Hero */
.hero { position: relative; text-align: center; padding: 100px 24px 68px; overflow: hidden; }
.hero > .container, .hero > * { position: relative; z-index: 1; }
.aurora {
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 520px;
  z-index: 0;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.aurora-home {
  background:
    radial-gradient(38% 55% at 18% 30%, var(--g1) 0%, transparent 70%),
    radial-gradient(35% 50% at 78% 22%, var(--g3) 0%, transparent 70%),
    radial-gradient(32% 45% at 52% 68%, var(--g2) 0%, transparent 70%),
    radial-gradient(28% 40% at 90% 70%, var(--g4) 0%, transparent 70%);
}
.aurora-nextplay {
  background:
    radial-gradient(38% 55% at 15% 28%, #0ea5e9 0%, transparent 70%),
    radial-gradient(35% 50% at 80% 25%, var(--g1) 0%, transparent 70%),
    radial-gradient(32% 45% at 50% 70%, #22d3ee 0%, transparent 70%);
}
.aurora-email {
  background:
    radial-gradient(38% 55% at 20% 25%, var(--g2) 0%, transparent 70%),
    radial-gradient(35% 50% at 80% 25%, var(--g3) 0%, transparent 70%),
    radial-gradient(32% 45% at 50% 70%, var(--g1) 0%, transparent 70%);
}
.aurora-neutral {
  background:
    radial-gradient(36% 50% at 22% 30%, var(--g1) 0%, transparent 70%),
    radial-gradient(32% 45% at 78% 30%, var(--g2) 0%, transparent 70%);
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--gradient-brand-soft);
  padding: 6px 14px;
  border-radius: 980px;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 20px;
}
.grad-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Homepage hero — full-bleed background photo (Apple-style: the photo
   IS the background, copy sits over it on the left behind a soft scrim
   for legibility) rather than a boxed thumbnail. Scoped to .hero-split so
   every other page's hero (still plain centered text on the abstract
   gradient aurora, no photo) is completely unaffected. Before this, the
   site had no real photography anywhere — only abstract gradient mockups
   (see the note on .panel below); this is the first real, human photo on
   the site. Replaces the aurora gradient on THIS hero specifically — a
   real photo and the abstract color blobs would fight each other
   visually, so .hero-split doesn't render an .aurora element at all. */
.hero-split {
  padding: 0;
  min-height: 640px;
  display: flex;
  align-items: center;
  text-align: left;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 35%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(251,251,253,0.98) 0%, rgba(251,251,253,0.94) 30%,
    rgba(251,251,253,0.55) 55%, rgba(251,251,253,0.08) 78%, rgba(251,251,253,0) 100%);
}
/* REAL BUG FOUND + FIXED (2026-07-20): the "CORRECTED 2026-07-19" fix this
   note replaces assumed that simply inheriting the shared centered
   max-width:1100px/margin:0 auto/padding:0 24px .container rule (with no
   further override) would make the hero copy line up with the nav
   wordmark, the same way it does inside <nav> — but Ryan's screenshots
   (with the nav wordmark circled) showed it clearly still didn't line up.
   The actual cause: .hero-split itself is `display: flex` (needed so
   .hero-bg/.hero-scrim can sit behind .container as siblings), which
   makes THIS .container a flex item, not a normal block box. A flex item
   with no explicit `width` sizes itself to fit its CONTENT (shrink-to-fit,
   bounded by max-width) rather than stretching to fill the row first —
   so instead of becoming a full ~1100px box that then gets centered by
   margin:auto (which is what happens in <nav>, where .nav-inner is a
   plain block child, not a flex item), it was shrinking down to roughly
   the width of the hero copy itself and THEN centering that narrower box
   in the full-bleed header — landing the copy well to the right of where
   the nav's actual 1100px box (and its wordmark) sits.
   Fix: give it `width: 100%` so it fills the flex row FIRST, then
   max-width:1100px/margin:0 auto center it exactly like a normal block
   .container would — now genuinely pixel-identical to .nav-inner's box
   model, not just nominally sharing the same CSS rule. */
.hero-split .container { width: 100%; padding: 100px 24px; }
.hero-split .hero-copy { max-width: 540px; }
.hero-split .cta-row { justify-content: flex-start; }
@media (max-width: 900px) {
  .hero-split { min-height: 560px; }
  .hero-split .container { padding: 72px 24px; text-align: center; }
  .hero-split .hero-copy { max-width: none; margin: 0 auto; }
  .hero-split .cta-row { justify-content: center; }
  /* Less of the frame is usefully visible at narrow widths, so lean the
     scrim toward covering more of it rather than revealing the photo. */
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(251,251,253,0.97) 0%, rgba(251,251,253,0.93) 55%, rgba(251,251,253,0.8) 100%);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 980px;
  text-decoration: none;
  transition: opacity .15s ease, transform .05s ease, border-color .15s ease, background .15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 10px 24px rgba(147,51,234,0.3); }
.btn-primary:hover { opacity: 0.92; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { background: #f7f6fb; }
.btn-on-dark { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-on-dark:hover { background: rgba(255,255,255,0.18); }

/* Sections */
section { padding: 64px 24px; }
.section-tint { background: linear-gradient(180deg, #faf9ff 0%, #f6f4fd 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 14px; }
.section-head p { font-size: 16px; color: var(--ink-soft); margin: 0; }

/* Grids / cards */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1100px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .pricing-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.icon-green { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #15803d; }
.icon-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7e22ce; }
.icon-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #be185d; }
.icon-amber { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; }
.card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.card a.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.card a.card-link:hover { text-decoration: underline; }

/* Steps */
.steps { max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.step p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card.featured {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-brand) border-box;
  box-shadow: 0 16px 36px rgba(147,51,234,0.2);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 980px;
  white-space: nowrap;
}
.price-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.price-card .price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 4px; }
.price-card .price span { font-size: 15px; font-weight: 400; color: var(--ink-soft); }
.price-card .price-note { font-size: 13px; color: var(--ink-faint); margin: 0 0 24px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li { font-size: 14px; color: var(--ink-soft); padding: 8px 0; padding-left: 24px; position: relative; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* Dark CTA band */
.band-dark {
  position: relative;
  background: var(--dark-bg);
  color: #fff;
  overflow: hidden;
}
.band-dark .aurora { opacity: 0.65; }
.band-dark .section-head h2 { color: #fff; }
.band-dark .section-head p { color: #b8b8c7; }

/* Footer */
footer { background: var(--dark-bg); color: #b8b8c7; padding: 48px 24px 40px; text-align: center; }
footer .foot-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
footer a { font-size: 13px; color: #b8b8c7; text-decoration: none; }
footer a:hover { color: #fff; }
footer .copyright { font-size: 12px; color: #6b6b78; }

/* Visual panels (no real product screenshots yet, so we use abstract mockups) */
.panel {
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(0,0,0,0.05);
}
.panel-mock { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 8px 24px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f0f2; font-size: 13px; color: var(--ink-soft); }
.mock-row:last-child { border-bottom: none; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g2); flex: 0 0 auto; }
.mock-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: #7e22ce; background: #f3e8ff; padding: 3px 10px; border-radius: 980px; white-space: nowrap; }

/* Contact form */
.form-card { max-width: 480px; margin: 0 auto; background: var(--surface); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; font-size: 15px; border: 1px solid var(--border);
  border-radius: 12px; font-family: inherit; color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 4px rgba(147,51,234,0.14); }
textarea { resize: vertical; min-height: 120px; }

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 4px 24px 12px;
    box-shadow: var(--shadow-sm);
  }
  .nav.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 15px;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .mobile-only-cta {
    display: block;
    margin-top: 8px;
    text-align: center;
    background: var(--gradient-brand);
    color: #fff !important;
    padding: 12px !important;
    border-radius: 980px;
    font-weight: 600;
  }

  .hero { padding: 64px 20px 48px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  section { padding: 48px 20px; }
  .card { padding: 28px 24px; }
  .price-card { padding: 28px 24px; }
  .form-card { padding: 28px 24px; }
  .form-card .btn { width: 100%; }
  .panel { padding: 24px; }
  .panel-mock { padding: 4px 16px; }
  .steps .step { gap: 14px; }

  /* Prevents iOS Safari auto-zooming the page when a form field gets
     focus — happens automatically for any input/textarea/select under
     16px, which 15px (the desktop size) is just under. */
  input, textarea, select { font-size: 16px; }

  /* The schedule "mock" rows (dot + long program name + a right-aligned
     "Synced" tag) don't fit on one line at phone widths — let them wrap
     onto a second line instead of crushing the text or overflowing. */
  .mock-row { flex-wrap: wrap; row-gap: 4px; }
  .mock-tag { margin-left: 0; }
}
