:root {
  --color-background: #08090d;
  --color-background-soft: #0d1017;
  --color-surface: rgba(17, 19, 26, 0.82);
  --color-surface-strong: #151824;
  --color-text: #f8fafc;
  --color-muted: #a1a8b8;
  --color-soft: #d8deea;
  --color-accent: #3b82f6;
  --color-accent-dark: #2563eb;
  --color-magenta: #d946ef;
  --color-magenta-dark: #a21caf;
  --color-accent-soft: rgba(59, 130, 246, 0.14);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #0c1220 0%, var(--color-background) 30%, #08090d 100%);
  background-size: 64px 64px, 64px 64px, auto;
  color: var(--color-text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #93c5fd;
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
audio:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 4px;
}

.site-header,
main,
.site-footer {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.site-header {
  padding: 28px 0 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
}

/* Hero */
.hero {
  position: relative;
  padding-bottom: 88px;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-strong), transparent);
  content: "";
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 20px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.25rem, 8vw, 4.65rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.65;
}

.button-row {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: rgba(217, 70, 239, 0.42);
  background: linear-gradient(135deg, #38bdf8 0%, var(--color-accent-dark) 46%, var(--color-magenta) 100%);
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.32), 0 14px 38px rgba(217, 70, 239, 0.22), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.button-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 42%, var(--color-magenta-dark) 100%);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.035);
  color: #eef4ff;
}

.button-secondary:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.07);
}

.button-large {
  width: 100%;
  max-width: 360px;
  margin-top: 10px;
}

.hero-audio-preview {
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin-top: 28px;
}

.hero-audio-label {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  font-weight: 600;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-pills span {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 11px;
  color: var(--color-soft);
  font-size: 13px;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 78px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

main > .section {
  position: relative;
}

.section-heading {
  margin-bottom: 28px;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.55rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.section-heading p,
.step p,
.card p,
.result-desc,
.final-cta p {
  color: var(--color-muted);
}

.section-heading p {
  margin: 12px 0 0;
  font-size: 17px;
}

/* Steps */
.steps,
.cards {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  padding: 22px;
}

.step-zero {
  border-style: dashed;
  opacity: 0.72;
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: #93c5fd;
  font-weight: 700;
  line-height: 1;
}

.step p,
.card p {
  margin: 0;
}

/* Audio */
.audio-section {
  scroll-margin-top: 24px;
}

.audio-list {
  display: grid;
  gap: 16px;
}

.audio-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  padding: 18px;
}

.audio-player {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-soft);
}

.audio-player-inline {
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.16), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

/* Cards */
.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.card h3 {
  color: #ffffff;
}

.card strong {
  color: #ffffff;
  font-weight: 700;
}

.card p {
  margin-top: 10px;
}

/* Results */
.results-grid {
  display: grid;
  gap: 16px;
}

.result-card {
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  padding: 24px;
}

.result-number {
  background: linear-gradient(135deg, var(--color-accent), var(--color-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.5rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1;
}

.result-label {
  margin-top: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.result-desc {
  margin: 10px 0 0;
}

.results-disclaimer {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 14px;
  font-style: italic;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  color: #ffffff;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #bfdbfe;
  content: "+";
  font-size: 18px;
  line-height: 20px;
  text-align: center;
  transform: translateY(-50%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.faq-item[open] summary {
  border-left: 3px solid var(--color-accent);
  color: #bfdbfe;
}

.faq-item[open] summary::after {
  background: var(--color-accent-soft);
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--color-muted);
}

/* Final CTA */
.final-cta {
  display: grid;
  justify-items: center;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(255, 255, 255, 0.035));
  padding-right: 22px;
  padding-left: 22px;
  text-align: center;
}

.final-cta p {
  max-width: 610px;
  margin: 32px 0 20px;
  font-size: 17px;
}

.contact-note {
  margin: 16px 0 0;
  font-size: 15px;
}

/* Footer */
.site-footer {
  display: grid;
  gap: 8px;
  padding: 32px 0 40px;
  color: var(--color-muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 680px) {
  .site-header {
    padding-top: 34px;
    padding-bottom: 84px;
  }

  .hero {
    padding-bottom: 104px;
  }

  .lead {
    font-size: 18px;
  }

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

  .button {
    min-width: 220px;
  }

  .audio-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

}

@media (min-width: 860px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-footer p:last-child {
    text-align: right;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
