:root {
  color-scheme: dark;
  --navy: #0f1b2d;
  --purple: #6b46c1;
  --text: #f5f4fa;
  --muted: #bcc5d4;
  --border: rgb(255 255 255 / 9%);
  --section-gap: 88px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #4ecdc4; outline-offset: 6px; }
a:hover { color: #bcefeb; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h2 { margin-bottom: 32px; font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
p { color: var(--muted); }
.container { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.site-header { height: 104px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-block; border-radius: 4px; }
.brand img { width: 135px; height: auto; }
.header-signin { font-size: 15px; font-weight: 600; padding-block: 12px; }
.header-signin span { margin-left: 12px; color: #4ecdc4; }
main { display: flex; flex-direction: column; gap: var(--section-gap); }
.hero { position: relative; isolation: isolate; border: 1px solid var(--border); border-radius: 28px; padding: 64px; }
.hero-backdrop { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; background: #182039 url("assets/nudgeai-bg-1080-poster.jpg") center / cover; }
.hero-backdrop video { width: 100%; height: 100%; object-fit: cover; }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(15 27 45 / 94%), rgb(15 27 45 / 80%) 60%, rgb(15 27 45 / 65%)); }
.hero-content { max-width: 850px; }
.accent-line { display: flex; gap: 6px; margin-bottom: 28px; }
.accent-line i { height: 5px; width: 30px; border-radius: 4px; background: #a98ae8; }
.accent-line i:nth-child(2) { width: 17px; background: #4ecdc4; }
.accent-line i:nth-child(3) { width: 8px; background: #e8734a; }
h1 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.045em; font-weight: 600; line-height: 1.12; }
.hero-sub { max-width: 690px; font-size: 18px; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; padding: 15px 23px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.button-primary { background: var(--purple); color: #fff; border: 1px solid rgb(255 255 255 / 12%); box-shadow: 0 8px 32px rgb(107 70 193 / 20%); }
.button-primary:hover { background: #7952d1; color: #fff; }
.button-secondary { background: rgb(15 27 45 / 45%); border: 1px solid rgb(255 255 255 / 22%); }
.gap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(135deg, rgb(255 255 255 / 3.5%), rgb(255 255 255 / 1%)); }
.card-number { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-bottom: 26px; }
.coral { color: #e8734a; }
.gold { color: #f5a623; }
.teal { color: #4ecdc4; }
.card p, .feature p { margin-top: 12px; }
.features-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; }
.coach-image { width: 100%; height: auto; border: 1px solid rgb(255 255 255 / 10%); border-radius: 20px; box-shadow: 0 0 70px rgb(107 70 193 / 23%); }
.feature-list { display: grid; gap: 26px; }
.feature { border-left: 2px solid #9773de; padding-left: 22px; }
.feature:nth-child(2) { border-color: #4ecdc4; }
.feature:nth-child(3) { border-color: #e8734a; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.comparison { padding: 32px; }
.comparison h3 { font-size: 21px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px; border: 1px solid rgb(167 131 231 / 22%); border-radius: 22px; background: radial-gradient(ellipse at top left, rgb(107 70 193 / 22%), rgb(107 70 193 / 6%) 75%); }
.cta-band h2 { margin-bottom: 16px; font-size: 32px; }
.cta-band p { max-width: 580px; }
.cta-band .button { flex-shrink: 0; }
.site-footer { margin-top: var(--section-gap); border-top: 1px solid var(--border); padding-block: 30px; display: flex; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--muted); }

@media (max-width: 760px) {
  :root { --section-gap: 56px; }
  .container { width: calc(100% - 40px); }
  .site-header { height: 88px; }
  .hero { padding: 32px 24px; border-radius: 22px; }
  h1 { font-size: clamp(32px, 8.4vw, 48px); }
  .hero-sub { font-size: 16px; margin-top: 24px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .button { padding: 15px 18px; gap: 16px; }
  h2 { margin-bottom: 24px; }
  .gap-grid, .why-grid, .features-grid { grid-template-columns: 1fr; }
  .gap-grid, .why-grid { gap: 16px; }
  .card { padding: 24px; }
  .card-number { margin-bottom: 20px; }
  .features-grid { gap: 32px; }
  .coach-image { border-radius: 16px; }
  .feature-list { gap: 28px; }
  .feature { padding-left: 20px; }
  .comparison h3 { font-size: 20px; }
  .cta-band { flex-direction: column; align-items: stretch; gap: 28px; padding: 28px 24px; }
  .cta-band h2 { font-size: 28px; }
  .site-footer { flex-direction: column; gap: 10px; padding-block: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop video { display: none; }
}
