/* Combined stylesheet generated to inline partials and eliminate @import requests. */

/* ===== base.css ===== */
/* ===== TASK 1: Layout foundation & tokens ===== */
/* ===== TASK 18: Guardrails banner for devs (comment only)
  - Do not rename IDs/classes listed in docs/DO_NOT_INVENT.md
  - Do not add external libraries
  - Keep mobile first; respect reduced motion
  - JS budget: ≤90KB total; ≤35KB/file
========================================================= */
:root {
  --container: 1152px;
  --gutter: 24px;
  --radius: 20px;
  --bg: #0b0e13;
  --surface: #0f141b;
  --card: #121822;
  --text: #e8eef5;
  --muted: #9aa7b6;
  --brand1: #ff7a59;
  --brand2: #ff3d98;
  --brand3: #8a5cff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --ring: 0 0 0 4px color-mix(in oklab, var(--brand2) 35%, transparent);
  --step: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* No horizontal scroll at any width */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

section {
  margin-block: calc(var(--step) * 7);
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
  font-style: normal;
}

/* ===== TASK 14: Image rendering guards ===== */
picture,
img {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.hero picture,
.hero .hero-img {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* ===== TASK 16: A11y helpers ===== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  padding: 8px 12px;
  border-radius: 10px;
  background: #121822;
  color: #fff;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(12px);
  clip-path: none;
  overflow: visible;
  box-shadow: 0 0 0 3px var(--ring, #67a3ff);
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Focus aesthetics */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

/* ===== TASK 2: Global polish & motion safety ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    radial-gradient(circle at 3px 2px, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand1), var(--brand2), var(--brand3));
  z-index: 60;
}

/* ===== TASK 15: Motion utilities ===== */
.motion-ok .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.motion-ok .reveal.is-in {
  opacity: 1;
  transform: none;
}

.motion-ok .tilt {
  transition: transform 0.2s ease;
}

.motion-ok .tilt:hover {
  transform: translateY(-4px);
}

.motion-ok .flip {
  transform: rotateX(90deg);
  transform-origin: 50% 100%;
  transition: transform 0.5s ease;
}

.motion-ok .flip.is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tilt,
  .flip {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .motion-ok * {
    animation: none !important;
    transition: none !important;
  }
}


/* ===== navigation.css ===== */
/* ===== TASK 3: Glass header ===== */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 55;
  backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in oklab, var(--bg) 40%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 18px;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.glass-nav nav {
  display: flex;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.glass-nav .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.glass-nav.condensed {
  padding-block: 10px;
  background: color-mix(in oklab, var(--bg) 65%, transparent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: clamp(48px, 10vw, 72px);
  width: auto;
}

.glass-nav .btn-secondary {
  align-self: center;
  margin-left: auto;
}

.site-logo--footer img {
  height: clamp(48px, 10vw, 72px);
}

main {
  display: flex;
  flex-direction: column;
  gap: calc(var(--step) * 10);
  padding-block: calc(var(--step) * 6);
}

.section {
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--step) * 4) var(--gutter);
}


/* ===== hero.css ===== */
/* ===== TASK 4: Hero layout ===== */
.hero {
  display: flex;
  flex-direction: column;
  gap: calc(var(--step) * 6);
  align-items: flex-start;
  padding-block: calc(var(--step) * 8);
}

.hero-visual {
  width: 100%;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(var(--step) * 3);
  align-items: flex-start;
  padding: calc(var(--step) * 6) calc(var(--step) * 3);
  border-radius: var(--radius);
  overflow: hidden;
  background-image: url("../assets/hero.avif");
  background-image: image-set(url("../assets/hero.avif") type("image/avif"));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  min-height: clamp(320px, 60vw, 520px);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(11, 14, 19, 0.1) 0%, rgba(11, 14, 19, 0.82) 100%);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: calc(var(--step) * 2);
  align-items: flex-start;
  position: relative;
  z-index: 1;
  width: 100%;
}

.sale-banner-row {
  margin-inline: auto;
  margin-block: calc(var(--step) * 6) calc(var(--step) * 2);
  padding-inline: var(--gutter);
  max-width: var(--container);
}

.sale-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--step) * 2);
  width: 100%;
  padding: calc(var(--step) * 4);
  border-radius: calc(var(--radius) + 6px);
  background: color-mix(in oklab, var(--surface) 75%, rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.sale-banner-name {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--step) * 1.5) calc(var(--step) * 3);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #fff;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 16px 36px rgba(255, 122, 89, 0.35);
}

body.sale-banner-active #hero {
  margin-block-start: calc(var(--step) * 4);
}

@media (max-width: 720px) {
  .sale-banner {
    justify-content: center;
    text-align: center;
  }

  .sale-badge {
    width: 100%;
    justify-content: center;
  }
}

.hero .headline {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  letter-spacing: -0.01em;
  color: var(--text);
}

.hero .sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
}


/* ===== carousel.css ===== */
/* TASK 5 helpers */
.reveal-word {
  will-change: transform, opacity;
}

/* ===== TASK 6: Coverflow carousel ===== */
#preview {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.14), rgba(138, 92, 255, 0.12));
  border-radius: calc(var(--radius) * 1.1);
  padding-block: calc(var(--step) * 8);
  color: var(--text);
}

.preview-inner {
  display: flex;
  flex-direction: column;
  gap: calc(var(--step) * 4);
  align-items: center;
  text-align: center;
}

.preview-copy h2 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.preview-sub {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
}

.coverflow {
  position: relative;
  width: 100%;
  max-width: clamp(720px, 80vw, 1040px); /* <<< cap width on desktop */
  margin-inline: auto;                   /* <<< center the whole carousel */
  perspective: 1000px;
}

.cf-slides {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 24px;
  margin: 0;
  padding-block: 8px;
  padding-inline: max(8px, calc((100% - 80%) / 2));
  scroll-padding-inline: max(8px, calc((100% - 80%) / 2));
  overflow: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  justify-content: start;   /* <<< center the implicit grid tracks */
  direction: ltr;            /* <<< avoid any accidental RTL quirks */
}
.cf-slides::-webkit-scrollbar {
  display: none;
}

.cf-slide {
  scroll-snap-align: center;
  display: grid;
  place-items: center;
}

.preview-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  transform-style: preserve-3d;
  transition: transform 0.5s ease, opacity 0.35s ease;
  will-change: transform;
  width: 100%;               /* <<< card fills its grid column width */
  max-width: 560px;          /* <<< an upper bound so it wonÃ¢â‚¬â„¢t balloon */
}

.preview-card img {
  display: block;
  width: 100%;               /* <<< scale image with card, keep aspect */
  height: auto;
  border-radius: calc(var(--radius) - 6px);
}

.cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 20, 27, 0.78);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.cf-nav:hover,
.cf-nav:focus-visible {
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color: #0b0e13;
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.cf-nav.prev {
  left: 10px;
}

.cf-nav.next {
  right: 10px;
}

@media (min-width: 900px) {
  .cf-slides {
    /* <<< fixed-but-responsive card width; smaller than before */
    --cf-slide-width: clamp(360px, 42vw, 520px);
    grid-auto-columns: var(--cf-slide-width);
    padding-inline: 164px;
    scroll-padding-inline: 164px;
  }

   .cf-slide.is-center .preview-card {
    transform: translateZ(36px) rotateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .cf-slide.left .preview-card {
    transform: translateX(-8rem) rotateY(24deg) scale(0.88);
    opacity: 0;
    pointer-events: none;
  }

  .cf-slide.right .preview-card {
    transform: translateX(8rem) rotateY(-24deg) scale(0.88);
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-width: 900px) {
  .preview-inner {
    align-items: stretch;
    text-align: left;
  }

  .coverflow {
    padding-inline: 0.5rem;
  }

  .cf-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 600px) {
  #preview {
    padding-block: calc(var(--step) * 6);
  }

  .preview-inner {
    text-align: center;
    align-items: center;
  }

  .cf-slides {
    grid-auto-columns: 88%;
    padding-inline: max(4px, calc((100% - 88%) / 2));
    scroll-padding-inline: max(4px, calc((100% - 88%) / 2));
  }

  .cf-nav {
    display: none;
  }
}

#preview {
  padding-inline: clamp(12px, 4vw, 28px); /* keeps side padding responsive */
}

.preview-inner {
  max-width: 800px;  /* cap width so it doesnÃ¢â‚¬â„¢t stretch too far */
  margin-inline: auto; /* center inside the gradient */
}
/* ===== stepper.css ===== */
/* ===== TASK 7: Stepper ===== */
.steps-wrap {
  position: relative;
  margin-top: calc(var(--step) * 4);
}

#steps-connector {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}

.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.step {
  position: relative;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 24px);
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.step:hover .step-card {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.step-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #0b0e13;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--step) * 4);
  }

  #steps-connector {
    display: block;
  }

  .step {
    padding-top: 20px;
  }
}


/* ===== value-cards.css ===== */
/* ===== TASK 8: Value cards ===== */
.values {
  display: grid;
  gap: calc(var(--step) * 4);
}

.values > h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 5vw, 40px);
}

.values-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.value-card {
  padding: 26px 24px;
  border-radius: 18px;
  background: linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
}

.value-icon {
  font-size: 24px;
  opacity: 0.92;
}

.values h3 {
  margin: 0;
  font-size: 1.1rem;
}

.values p {
  margin: 0;
  color: var(--muted);
}

.hero-media picture {
  display: none;
  width: 100%;
}

.hero .hero-img {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero {
    gap: calc(var(--step) * 4);
    text-align: center;
  }

  .hero-media {
    align-items: center;
  }

  .hero-copy {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: calc(var(--step) * 3);
  }

  .hero .headline {
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.5);
  }

  .hero .sub {
    margin-inline: auto;
    color: color-mix(in oklab, var(--text) 80%, rgba(255, 255, 255, 0.6));
  }

  .hero .cta-row {
    align-self: center;
    justify-content: center;
  }

}

@media (min-width: 901px) {
  .hero-media {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas: "copy media";
    gap: calc(var(--step) * 6);
    align-items: center;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    min-height: auto;
    overflow: visible;
  }

  .hero-media::after {
    content: none;
  }

  .hero-copy {
    grid-area: copy;
    align-items: flex-start;
    text-align: left;
    gap: calc(var(--step) * 2);
    padding: 0;
  }

  .hero-media picture {
    display: block;
    grid-area: media;
    align-self: stretch;
  }

  .hero .hero-img {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  color: var(--text);
  transition: transform 0.15s ease, background-position 0.6s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--brand1), var(--brand2), var(--brand3));
  background-size: 200% 100%;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: #ffffff22;
}

.btn-ghost:hover {
  background: #ffffff08;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none;
}

#wizard {
  background: color-mix(in oklab, var(--bg) 82%, #ffffff 18%);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 28px 60px rgba(3, 6, 12, 0.55);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--text);
  --wizard-surface: color-mix(in oklab, var(--bg) 76%, #ffffff 24%);
  --wizard-elevated: color-mix(in oklab, var(--bg) 70%, #ffffff 30%);
  --wizard-border: rgba(232, 238, 245, 0.08);
  --wizard-border-strong: rgba(232, 238, 245, 0.16);
  --wizard-muted: color-mix(in oklab, var(--muted) 85%, #ffffff 15%);
  --wizard-chip-bg: color-mix(in oklab, var(--bg) 68%, #ffffff 32%);
  --wizard-chip-elevated: color-mix(in oklab, var(--bg) 62%, #ffffff 38%);
}

#wizard-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wizard-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wizard-controls .btn,
.wizard-controls .btn-secondary {
  flex: 1 1 0;
  align-self: stretch;
  min-width: 200px;
}

.wizard-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, var(--wizard-border) 70%, #ffffff 30%);
  background: color-mix(in oklab, var(--wizard-elevated) 88%, #ffffff 12%);
  color: color-mix(in oklab, var(--text) 92%, #ffffff 8%);
  font-size: 0.95rem;
  line-height: 1.55;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wizard-status--success {
  border-color: color-mix(in oklab, #1f9254 50%, transparent 50%);
  background: color-mix(in oklab, #1f9254 22%, var(--wizard-elevated) 78%);
  color: color-mix(in oklab, #9ae6b4 68%, #ffffff 32%);
}

.wizard-status--error {
  border-color: color-mix(in oklab, #ff4d5a 54%, transparent 46%);
  background: color-mix(in oklab, #b3203b 24%, var(--wizard-elevated) 76%);
  color: color-mix(in oklab, #ffd1d6 70%, #ffffff 30%);
}


/* ===== wizard.css ===== */
/* ===== TASK 12: Wizard grid & progress ===== */
.wizard-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .wizard-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

.wizard-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wizard-progress ol {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.wizard-progress li {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--wizard-surface);
  color: var(--wizard-muted);
  font-weight: 700;
  border: 1px solid var(--wizard-border);
}

.wizard-progress li.done {
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color: #fff;
  border-color: transparent;
}



.wizard-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wizard-question {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.wizard-option-group {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.wizard-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--wizard-border);
  border-radius: 14px;
  background: var(--wizard-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wizard-option:hover {
  border-color: color-mix(in oklab, var(--brand1) 35%, transparent);
  box-shadow: 0 16px 32px rgba(3, 6, 12, 0.45);
  transform: translateY(-2px);
  background: var(--wizard-elevated);
}

.wizard-option input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  accent-color: #f97316;
}

.wizard-option span {
  font-weight: 600;
  color: var(--text);
}

.wizard-option.selected {
  border-color: color-mix(in oklab, var(--brand1) 65%, transparent);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.25);
  background: color-mix(in oklab, var(--brand1) 20%, var(--wizard-elevated) 80%);
}

.wizard-helper {
  margin: 0;
  font-size: 0.9rem;
  color: var(--wizard-muted);
}

.wizard-field-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizard-field--calories {
  padding: 1rem;
  border: 1px solid var(--wizard-border);
  border-radius: 0.75rem;
  background: var(--wizard-surface);
  gap: 0.75rem;
}

.wizard-field-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.wizard-calorie-edit {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--brand2) 40%, var(--text) 60%);
  cursor: pointer;
  text-decoration: underline;
}

.wizard-calorie-edit:hover {
  color: color-mix(in oklab, var(--brand2) 60%, var(--text) 40%);
}

.wizard-calorie-edit:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--brand2) 70%, transparent);
  outline-offset: 2px;
}

.wizard-input--calories {
  max-width: 6rem;
}

.wizard-field--align-sublabel {
  gap: 0.75rem;
}

.wizard-field--compact {
  align-items: flex-start;
}


.wizard-field--compact .wizard-field-control {
  width: 100%;
  max-width: 5rem;
}

.wizard-field--compact .wizard-input {
  width: 100%;
}

.wizard-field--align-sublabel .wizard-field-control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wizard-field--height {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wizard-field-grid--body-data {
  grid-template-columns: minmax(0, 1fr);
}

.wizard-field-grid--body-data .wizard-field--height {
  grid-column: 1 / -1;
}

.wizard-field-grid--body-data .wizard-field--compact .wizard-input {
  width: 100%;
}

@media (max-width: 639px) {
  .wizard-field-grid--body-data .wizard-field--compact {
    align-items: stretch;
  }

  .wizard-field-grid--body-data .wizard-field--compact .wizard-field-control {
    max-width: 100%;
  }
  .wizard-field-grid--body-data .wizard-field--height .wizard-split-input {
    max-width: 100%;
  }
}

@media (min-width: 640px) {
  .wizard-field-grid--body-data {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    align-items: start;
    grid-template-areas:
      'sex sex'
      'age weight'
      'height height';
  }
  .wizard-field-grid--body-data .wizard-field--height .wizard-split-input {
    max-width: 6rem;
  }

  .wizard-field-grid--body-data .wizard-field--sex {
    grid-area: sex;
  }

  .wizard-field-grid--body-data .wizard-field--age {
    grid-area: age;
  }

  .wizard-field-grid--body-data .wizard-field--weight {
    grid-area: weight;
  }

  .wizard-field-grid--body-data .wizard-field--height {
    grid-area: height;
  }
}

.wizard-split-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  gap: 0.75rem;
}

.wizard-field--height .wizard-split-field {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid var(--wizard-border);
  border-radius: 0.75rem;
  background-color: var(--wizard-surface);
  flex-wrap: wrap;
}

.wizard-field--height .wizard-split-input {
  flex: 1 1 120px;
}

.wizard-split-input {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wizard-sublabel {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wizard-muted);
}

.wizard-number-with-unit {
  position: relative;
}

.wizard-number-with-unit .wizard-input {
  width: 100%;
  min-width: 4.5rem;
  padding-right: 2.75rem;
}

.wizard-unit {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wizard-muted);
}

.wizard-label {
  font-weight: 600;
  color: var(--text);
}

.wizard-input,
.wizard-select {
  border: 1px solid var(--wizard-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--wizard-surface);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wizard-input:focus,
.wizard-select:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--brand1) 55%, transparent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  background: var(--wizard-elevated);
}

.wizard-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wizard-chip {
  border: 1px solid var(--wizard-border);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  color: var(--text);
  background: var(--wizard-chip-bg);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wizard-chip:hover {
  border-color: color-mix(in oklab, var(--brand1) 35%, transparent);
  box-shadow: 0 12px 24px rgba(3, 6, 12, 0.45);
  background: var(--wizard-chip-elevated);
}

.wizard-chip.selected,
.wizard-chip[aria-pressed='true'] {
  border-color: color-mix(in oklab, var(--brand1) 60%, transparent);
  background: color-mix(in oklab, var(--brand1) 22%, var(--wizard-chip-elevated) 78%);
  color: var(--text);
}

.wizard-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wizard-multi-select {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizard-multi-input {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 1px solid var(--wizard-border);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  background: var(--wizard-surface);
  min-height: 3rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wizard-multi-select.open .wizard-multi-input,
.wizard-multi-input:focus-within {
  border-color: color-mix(in oklab, var(--brand1) 55%, transparent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  background: var(--wizard-elevated);
}

.wizard-multi-values {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wizard-multi-placeholder {
  color: var(--wizard-muted);
  font-size: 0.95rem;
}

.wizard-multi-select[data-empty='true'] .wizard-multi-placeholder {
  display: inline;
}

.wizard-multi-select[data-empty='true'] .wizard-multi-values {
  display: none;
}

.wizard-multi-toggle {
  margin-left: auto;
  border: none;
  background: transparent;
  color: var(--wizard-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.25rem;
  font-size: 1.1rem;
}

.wizard-multi-toggle:focus {
  outline: none;
}

.wizard-multi-select[data-disabled='true'] .wizard-multi-input {
  cursor: not-allowed;
  opacity: 0.6;
}

.wizard-multi-select[data-disabled='true'] .wizard-multi-toggle {
  pointer-events: none;
}

.wizard-multi-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 20rem;
  overflow: hidden;
  border: 1px solid var(--wizard-border-strong);
  border-radius: 12px;
  background: var(--wizard-elevated);
  padding: 0.75rem;
  box-shadow: 0 22px 44px rgba(3, 6, 12, 0.6);
}

.wizard-multi-dropdown.hidden {
  display: none;
}

.wizard-multi-search-row {
  flex: 0 0 auto;
}

.wizard-multi-search {
  width: 100%;
  border: 1px solid var(--wizard-border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--wizard-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.wizard-multi-search:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--brand1) 55%, transparent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
  background: var(--wizard-elevated);
}

.wizard-multi-search:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wizard-multi-options {
  flex: 1 1 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 0.25rem;
}

.wizard-multi-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wizard-multi-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-multi-group-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.wizard-multi-group-toggle:hover {
  background: color-mix(in oklab, var(--wizard-elevated) 60%, #ffffff 40%);
}

.wizard-multi-group-toggle:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.wizard-multi-group-toggle > span[aria-hidden='true'] {
  font-size: 0.85rem;
  line-height: 1;
}

.wizard-multi-group-main {
  flex: 1 1 auto;
}

.wizard-multi-group-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wizard-muted);
}

.wizard-multi-suboptions {
  display: grid;
  gap: 0.35rem;
  padding-left: 0.75rem;
}

.wizard-multi-option {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wizard-multi-option:hover {
  background: color-mix(in oklab, var(--wizard-elevated) 60%, #ffffff 40%);
}

.wizard-multi-option-group {
  font-weight: 700;
}

.wizard-multi-option.selected,
.wizard-multi-option[aria-pressed='true'] {
  border-color: color-mix(in oklab, var(--brand1) 60%, transparent);
  background: color-mix(in oklab, var(--brand1) 20%, var(--wizard-elevated) 80%);
  color: var(--text);
}

.wizard-token {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: color-mix(in oklab, var(--brand1) 18%, var(--wizard-chip-bg) 82%);
  color: var(--text);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1;
}

.wizard-token-label {
  line-height: 1;
}

.wizard-token-remove {
  border: none;
  background: transparent;
  color: var(--wizard-muted);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.wizard-token-remove:hover,
.wizard-token-remove:focus {
  color: color-mix(in oklab, var(--brand2) 55%, var(--text) 45%);
  outline: none;
}

.wizard-multi-empty {
  margin: 0;
  font-size: 0.95rem;
  color: var(--wizard-muted);
  text-align: center;
}

.wizard-other-input {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wizard-error {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f97316;
  color: color-mix(in oklab, #f97316 82%, #ffffff 18%);
}

.wizard-glimpse {
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--bg) 68%, #ffffff 32%),
    color-mix(in oklab, var(--bg) 60%, #ffffff 40%)
  );
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--wizard-border);
  box-shadow: 0 22px 44px rgba(3, 6, 12, 0.6);
}

.wizard-glimpse-track-wrapper {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.wizard-glimpse-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.6s ease;
}

.wizard-glimpse-slide {
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

.wizard-glimpse-figure {
  margin: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.wizard-glimpse-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(3, 6, 12, 0.55);
}

.wizard-glimpse-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--wizard-muted);
  text-align: center;
}

.wizard-glimpse-dots {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.wizard-step--final {
  align-items: center;
  text-align: center;
}

body.has-checkout-overlay {
  overflow: hidden;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.checkout-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.checkout-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}

.checkout-overlay__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  height: min(90vh, 720px);
  background: #0f172a;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.checkout-overlay__iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #ffffff;
}

.checkout-overlay__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  border: none;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.checkout-overlay__close:hover,
.checkout-overlay__close:focus-visible {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
  outline: none;
}

.checkout-overlay__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1;
}

.checkout-overlay.is-loaded .checkout-overlay__loader {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 639px) {
  .checkout-overlay {
    padding: 1rem;
  }

  .checkout-overlay__dialog {
    border-radius: 16px;
    height: min(95vh, 720px);
  }

  .checkout-overlay__close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.wizard-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.wizard-final-heading {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.3rem);
  color: var(--text);
  text-align: center;
}

.wizard-final-price {
  margin: 0;
  font-weight: 700;
  color: #f97316;
  font-size: 1.2rem;
}

.wizard-final-copy {
  margin: 0;
  color: var(--wizard-muted);
  max-width: 28rem;
}

#wizard h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: left;
  color: var(--text);
}

#wizard p:not(.wizard-error) {
  margin: 0;
  color: var(--wizard-muted);
}

#payload {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  overflow: auto;
  max-height: 280px;
  white-space: pre-wrap;
  word-break: break-word;
}

.step-indicator {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

#how-it-works {
  background: #0f172a;
  color: #f8fafc;
  border-radius: 20px;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

#how-it-works h2 {
  color: #f8fafc;
  margin: 0;
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #0f172a;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

#how-it-works .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#how-it-works .card {
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}

#benefits {
  background: #eef2ff;
  border-radius: 20px;
  padding: 4rem 3rem;
}

#benefits .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#benefits .card {
  font-weight: 600;
}

@media (max-width: 480px) {
  .wizard-split-field {
    grid-template-columns: 1fr;
  }

  .wizard-final-copy {
    max-width: 100%;
  }
}
.wizard-main {
  min-width: 0;
}

/* Safety for long text/labels inside steps */
.wizard-step,
.wizard-step * {
  overflow-wrap: anywhere;
  word-break: break-word;
}


/* ===== marquee.css ===== */
/* ===== TASK 10: Marquee chips ===== */
.testimonials-inner {
  display: grid;
  gap: 24px;
}

.testimonials-inner h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 10px;
  padding-inline: 6px;
}

.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  align-items: center;
}

.marquee-track.clone {
  display: none;
}

.marquee.is-animating {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee.is-animating .marquee-track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  will-change: transform;
}

.marquee.is-animating .marquee-track.clone {
  display: flex;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: var(--surface);
  background: color-mix(in oklab, var(--surface) 85%, black 15%);
  border: 1px solid #ffffff14;
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
}


/* ===== faq.css ===== */
/* ===== TASK 11: FAQ accordion ===== */
#faq {
  display: grid;
  gap: calc(var(--step) * 3);
}

#faq h2 {
  margin: 0;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-q::after {
  content: '+';
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.faq-q[aria-expanded='true']::after {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-a-inner {
  overflow: hidden;
  padding: 0 20px;
  color: var(--muted);
}

.faq-q[aria-expanded='true'] + .faq-a {
  grid-template-rows: 1fr;
}

.faq-q[aria-expanded='true'] + .faq-a .faq-a-inner {
  padding-bottom: 18px;
}

@media (max-width: 600px) {
  .faq-q {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-a-inner {
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .chip {
    font-size: 0.88rem;
    padding: 8px 14px;
  }
}



/* ===== pricing.css ===== */
/* ===== TASK 9: Pricing band & mobile sticky ===== */
.band {
  background: radial-gradient(120% 120% at 20% 0%, #1b2230, #0f141b);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-block: calc(var(--step) * 5);
}

.band-inner {
  padding: 40px 32px;
  display: grid;
  gap: 14px;
  place-items: center;
  text-align: center;
}

.band-inner {
  --band-heading-size: clamp(30px, 4vw, 40px);
}

.band-inner h2 {
  margin: 0;
  font-size: var(--band-heading-size);
}

.band-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.band-inner strong {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
}

.band-inner .btn {
  padding-inline: 2.5rem;
}

.band-sale {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.45em 1.1em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: var(--band-heading-size);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.band-sale-name {
  opacity: 0.7;
  letter-spacing: 0.12em;
  font-size: 0.35em;
}

.band-sale-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand1), var(--brand2));
  color: #fff;
  font-size: 0.32em;
  letter-spacing: 0.08em;
}

.band-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.band-price-original {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(1.05rem, 0.95rem + 1vw, 1.4rem);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
}

.band-sale-copy {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.band.sale-active {
  box-shadow: 0 28px 60px rgba(255, 122, 89, 0.35);
}

.price {
  cursor: pointer;
}

.milestone-chip {
  display: flex;
  justify-content: center;
  margin-block: calc(var(--step) * 4);
}

.milestone-chip .chip {
  padding: 16px 32px;
  font-size: clamp(1.05rem, 0.95rem + 1vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, color-mix(in oklab, var(--brand1) 85%, #ffffff 15%), var(--brand2), var(--brand3));
  color: #fff;
  border: none;
  box-shadow: 0 18px 40px rgba(255, 122, 89, 0.35);
}

#mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 10px);
  margin-inline: auto;
  width: calc(100% - 24px);
  max-width: 700px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  z-index: 60;
  box-shadow: var(--shadow);
  transform: translateY(0);
  transition: transform 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.cta-sale-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(12, 13, 15, 0.28);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#mobile-cta:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

@media (min-width: 900px) {
  #mobile-cta {
    display: none;
  }
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 120%);
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 70;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  font-size: 0.95rem;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}


/* ===== footer.css ===== */
/* ===== TASK 13: Footer ===== */
.footer {
  margin-top: calc(var(--step) * 12);
}

.footer-grid {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid #ffffff12;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.f-nav,
.f-legal {
  display: grid;
  gap: 8px;
}

.f-nav a,
.f-legal a,
.f-legal button {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}

.f-nav a:hover,
.f-legal a:hover,
.f-legal button:hover,
.f-legal button:focus-visible {
  border-bottom-color: #ffffff33;
}

.f-legal button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

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

.f-note {
  color: #97a5b8;
  opacity: 0.9;
  text-align: center;
  margin-top: 12px;
}

/* ===== modals.css ===== */
.legal-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(6px);
  z-index: 1000;
  transition: opacity 150ms ease;
  opacity: 0;
}

.legal-modal.is-visible {
  opacity: 1;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__window {
  position: relative;
  width: min(720px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  background: var(--surface, #0d1116);
  color: var(--text, #f7f9fc);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 48px rgba(5, 6, 10, 0.4);
  padding: 32px;
}

.legal-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: rgba(151, 165, 184, 0.16);
  color: inherit;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 120ms ease;
}

.legal-modal__close:hover,
.legal-modal__close:focus-visible {
  background: rgba(151, 165, 184, 0.28);
}

.legal-modal__content {
  display: grid;
  gap: 16px;
  line-height: 1.6;
}

.legal-modal__content h2 {
  margin-bottom: 8px;
}

.legal-modal__content h3 {
  margin-top: 16px;
  font-size: 1.05rem;
}

.legal-modal__content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .legal-modal__window {
    padding: 24px;
  }
}

/* ===== responsive.css ===== */
/* ===== Shared responsive adjustments ===== */

@media (max-width: 900px) {
  #hero {
    align-items: flex-start;
    padding: clamp(4rem, 14vw, 5.5rem) clamp(1.75rem, 5vw, 3rem);
    min-height: clamp(420px, 70vh, 560px);
  }

  #hero .hero-content {
    max-width: 100%;
  }

  #how-it-works .cards,
  #benefits .cards,
  #testimonials .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .glass-nav {
    padding-block: 14px;
  }

  .glass-nav nav {
    padding-inline: 1.25rem;
  }

  .glass-nav .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .glass-nav .btn-secondary {
    width: 100%;
    margin-left: 0;
  }

  main {
    padding: 1.5rem 1.25rem 3rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section + .section {
    margin-top: 2rem;
  }

  #hero {
    padding: clamp(3.5rem, 12vw, 4.5rem) clamp(1.25rem, 6vw, 2.25rem);
    border-radius: 24px;
    min-height: auto;
  }

  #hero .hero-content {
    gap: 1.25rem;
  }

  #how-it-works {
    padding: 3rem 1.75rem;
  }

  #benefits,
  #pricing,
  #testimonials {
    padding: 3rem 1.75rem;
  }

  .wizard-glimpse {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wizard-glimpse-track-wrapper {
    flex-basis: 100%;
    order: 1;
  }

  .wizard-glimpse [data-role='glimpse-prev'],
  .wizard-glimpse [data-role='glimpse-next'] {
    order: 2;
    width: 2.5rem;
    height: 2.5rem;
  }

  .wizard-glimpse [data-role='glimpse-next'] {
    order: 3;
  }

  .wizard-glimpse-dots {
    order: 4;
    width: 100%;
    margin-top: 1rem;
  }

  .wizard-chip-group {
    justify-content: flex-start;
  }

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

  .wizard-controls {
    flex-direction: column;
  }

  .wizard-controls .btn,
  .wizard-controls .btn-secondary {
    width: 100%;
  }

  h2 {
    text-align: left;
  }

  #pricing h2 {
    text-align: center;
  }

  #pricing .pricing-content {
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    text-align: center;
  }

  .f-nav,
  .f-legal {
    justify-items: center;
  }
}
