:root {
  --bg: #fbf7f2;
  --bg-warm: #f4ebe3;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: rgba(194, 65, 12, 0.12);
  --youtube-red: #ff0000;
  --navy: #1c1917;
  --card: #ffffff;
  --shadow: 0 8px 32px rgba(28, 25, 23, 0.08);
  --shadow-sm: 0 2px 12px rgba(28, 25, 23, 0.06);
  --radius: 16px;
  --radius-lg: 22px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 90%, rgba(251, 191, 36, 0.09), transparent 50%),
    var(--bg);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual {
    max-width: 380px;
    margin-inline: auto;
  }

  .hero__content {
    text-align: center;
  }

  .hero__eyebrow {
    margin-inline: auto;
  }

  .email-form {
    justify-content: center;
  }

  .hero__caption {
    text-align: center;
  }
}

.hero__visual {
  position: relative;
}

.hero__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
  max-height: min(56vh, 440px);
}

.hero__caption {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 28ch;
}

@media (max-width: 880px) {
  .hero__caption {
    max-width: 36ch;
    margin-inline: auto;
  }
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin: 0 0 1rem;
  color: var(--navy);
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
}

.hero h1 .brand-youtube {
  color: var(--youtube-red);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 52ch;
}

@media (max-width: 880px) {
  .hero__sub {
    margin-inline: auto;
  }
}

/* Forms */
.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  max-width: 100%;
}

.hero .email-form {
  max-width: 480px;
}

@media (max-width: 880px) {
  .hero .email-form {
    margin-inline: auto;
    justify-content: center;
  }
}

.email-form input[type="email"] {
  flex: 1 1 200px;
  min-height: 50px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid #e7e5e4;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.email-form input[type="email"]::placeholder {
  color: #a8a29e;
}

.email-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.2);
}

.email-form button {
  min-height: 50px;
  min-width: 158px;
  padding: 0.8rem 1.35rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.email-form button:hover {
  background: var(--accent-hover);
}

.email-form button:active {
  transform: scale(0.98);
}

.email-form button:focus-visible {
  outline: 3px solid rgba(194, 65, 12, 0.45);
  outline-offset: 3px;
}

.email-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-hint {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-message {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  min-height: 1.5em;
}

.form-message[hidden] {
  display: none;
}

.form-message.is-error {
  color: #b91c1c;
}

.form-message.is-success {
  color: #15803d;
}

/* Sections */
section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.05rem);
  text-align: center;
  color: var(--navy);
  margin: 0 0 2.5rem;
}

.section-title--left {
  text-align: left;
  margin-bottom: 1.25rem;
}

/* Problem */
.problem {
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  position: relative;
}

.problem__texture {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ctext x='10' y='45' font-size='28'%3E⏳%3C/text%3E%3C/svg%3E");
  pointer-events: none;
}

.problem__split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 800px) {
  .problem__split {
    grid-template-columns: 1fr;
  }

  .section-title--left {
    text-align: center;
  }

  .problem-list {
    margin-inline: auto;
  }

  .problem__punch {
    text-align: center;
  }
}

.problem__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.problem__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.problem-list {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  max-width: 520px;
}

.problem-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  color: var(--text);
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.problem__punch {
  text-align: left;
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0;
  max-width: 520px;
}

@media (max-width: 800px) {
  .problem__punch {
    margin-inline: auto;
  }
}

/* How */
.how {
  background: #fff;
}

.how .section-title {
  margin-bottom: 0.65rem;
}

.how__lede {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 42ch;
  margin: 0 auto 2.25rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.step {
  text-align: center;
  padding: 1.5rem 1.1rem;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(28, 25, 23, 0.05);
}

.step__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step__icon--drive img {
  display: block;
  width: 2.5rem;
  height: auto;
  margin: 0 auto;
}

.step h3 {
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.step__sub {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  opacity: 0.95;
}

.how__direct-path {
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  padding: 0;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.how__direct-path__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

/* Example playlist (what family sees) */
.playlist-preview {
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding: clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(180deg, #fafaf9 0%, var(--bg) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: var(--shadow-sm);
}

.playlist-preview__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  margin: 0 0 0.65rem;
}

.playlist-preview__lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 auto 1.35rem;
}

.playlist-preview__figure {
  margin: 0;
  max-width: 920px;
  margin-inline: auto;
}

.playlist-preview__link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(28, 25, 23, 0.08);
  line-height: 0;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.playlist-preview__link:hover {
  box-shadow: 0 12px 40px rgba(28, 25, 23, 0.12);
  transform: translateY(-2px);
}

.playlist-preview__link:focus-visible {
  outline: 3px solid rgba(194, 65, 12, 0.45);
  outline-offset: 4px;
}

.playlist-preview__link img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.playlist-preview__cap {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

/* Mirror + distance band */
.mirror {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.mirror__distance {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
}

.mirror__distance img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mirror__content {
  position: relative;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.card__icon {
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}

.card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* CTA block */
.cta-block {
  background: linear-gradient(165deg, #fff 0%, var(--bg-warm) 55%, #fff 100%);
  text-align: center;
}

.cta-block__inner {
  max-width: 520px;
  margin-inline: auto;
}

.cta-block h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.cta-block__inner > p:first-of-type {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.cta-block .email-form {
  justify-content: center;
}

.cta-block .privacy {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 2.5rem 1rem;
  text-align: center;
  border-top: 1px solid #e7e5e4;
  background: var(--bg);
}

.site-footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.site-footer .tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.photo-credits {
  font-size: 0.78rem;
  line-height: 1.5;
  color: #78716c;
  max-width: 52ch;
  margin: 0 auto 1rem;
}

.photo-credits a {
  color: #57534e;
}

.site-footer small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
