/* Mimic Me Voice Party — landing page (index.html). Uses the shared tokens from theme.css. */
:root {
  --blue: var(--mm-blue);
  --blue-deep: var(--mm-blue-deep);
  --navy: var(--mm-navy);
  --yellow: var(--mm-yellow);
  --yellow-deep: var(--mm-yellow-deep);
  --cream: var(--mm-blue-tint);
  --ink: var(--mm-ink);
  --muted: var(--mm-muted);
  --line: var(--mm-line);
  --display: var(--mm-font-display);
  --body: var(--mm-font-body);
  --radius: var(--mm-radius-lg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); font-weight: 700; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; line-height: 1.08; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; color: var(--ink); background: #fff; border-radius: 12px; font-weight: 900; text-decoration: none; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 12px 26px; border: 0; border-radius: 16px; font-family: var(--display); font-size: 1.05rem; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { color: var(--navy); background: var(--yellow); box-shadow: 0 4px 0 var(--yellow-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--yellow-deep); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--yellow-deep); }
.btn-soft { color: #fff; background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .65); }
.btn-soft:hover { color: var(--blue-deep); background: #fff; }
.btn-small { min-height: 44px; padding: 9px 18px; border-radius: 12px; font-size: .96rem; }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; padding: 14px 0; transition: background .25s ease, box-shadow .25s ease, padding .25s ease; }
.site-header.scrolled { padding: 9px 0; background: rgba(12, 38, 80, .96); box-shadow: 0 6px 24px rgba(3, 14, 36, .2); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-family: var(--display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border: 3px solid #fff; border-radius: 14px; background: #4dc8f3 url("avatar-brand.webp") center 24% / 225% auto no-repeat; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 12px; color: rgba(255, 255, 255, .92); font-size: .95rem; font-weight: 800; text-decoration: none; transition: background .15s ease; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-links .nav-cta { margin-left: 8px; }
.nav-links .nav-cta a { display: inline-flex; padding: 9px 18px; color: var(--navy); background: var(--yellow); }
.nav-links .nav-cta a:hover { background: var(--yellow); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 130px; color: #fff; background: linear-gradient(165deg, #0b4fa8 0%, #1779d4 55%, #2f9fe8 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.pill { display: inline-block; padding: 7px 16px; border-radius: 999px; color: var(--blue-deep); background: #fff; font-size: .86rem; font-weight: 900; }
.hero h1 { max-width: 620px; margin-top: 20px; font-size: clamp(2.7rem, 5.6vw, 4.9rem); line-height: 1; }
.hero h1 .hl { color: var(--yellow); }
.hero-lead { max-width: 500px; margin-top: 22px; color: rgba(255, 255, 255, .95); font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .95); font-size: .95rem; font-weight: 800; }
.hero-perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-perks svg { width: 18px; height: 18px; color: #fff; }
.hero-stage { display: grid; place-items: center; }
.hero-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 5px solid #fff; border-radius: 24px; background: #123a7a; box-shadow: 0 26px 50px rgba(3, 30, 80, .35); transform: rotate(1.5deg); }
.hero-wave { position: absolute; right: 0; bottom: -1px; left: 0; display: block; width: 100%; height: clamp(40px, 6vw, 80px); }
.hero-wave path { fill: var(--cream); }

/* ---------- shared section bits ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.tag { display: inline-block; color: var(--blue); font-size: .86rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.section-head h2 { margin-top: 10px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }

/* ---------- how to play ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.step { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--mm-shadow-card); }
.step-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #123a7a; }
.step-shot img { width: 100%; height: 100%; object-fit: cover; }
.step-num { position: absolute; top: 14px; left: 14px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: #fff; background: var(--blue); font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.step-body { padding: 22px 24px 26px; }
.step h3 { font-size: 1.45rem; }
.step p { margin-top: 8px; color: var(--muted); }

/* ---------- features ---------- */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.feature-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 16px; border-radius: 16px; color: #fff; background: var(--blue); }
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.3rem; }
.feature p { margin-top: 8px; color: var(--muted); }

/* ---------- creators ---------- */
.creators { color: #fff; background: var(--navy); }
.creators-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.creators-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 5px solid #fff; border-radius: 26px; box-shadow: 0 24px 50px rgba(0, 10, 40, .4); }
.creators .tag { color: var(--yellow); }
.creators h2 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.1rem); }
.creators-copy > p { max-width: 480px; margin-top: 16px; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.checks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--yellow); }
.creators-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.link-quiet { display: inline-flex; align-items: center; min-height: 52px; color: #fff; font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-quiet:hover { color: var(--yellow); }

/* ---------- final call ---------- */
.cta { padding: clamp(56px, 7vw, 88px) 0; }
.cta-card { position: relative; overflow: hidden; display: grid; place-items: center; padding: clamp(44px, 6vw, 72px) 28px; border-radius: 32px; color: #fff; text-align: center; background: linear-gradient(165deg, #0b4fa8, #1779d4); isolation: isolate; }
.cta-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-card::before { position: absolute; inset: 0; z-index: -1; content: ""; background: rgba(11, 52, 112, .82); }
.cta h2 { max-width: 640px; margin-inline: auto; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.cta p { max-width: 460px; margin: 14px auto 0; color: rgba(255, 255, 255, .95); font-size: 1.1rem; }
.cta .btn { margin-top: 28px; min-height: 56px; padding-inline: 30px; }
.cta small { display: block; margin-top: 14px; color: rgba(255, 255, 255, .85); font-size: .88rem; font-weight: 800; }

/* ---------- footer ---------- */
.footer { padding: 40px 0 32px; color: #cfe3f6; background: var(--navy); font-size: .92rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer .brand-mark { width: 38px; height: 38px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { color: #cfe3f6; font-weight: 800; text-decoration: none; }
.footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; color: #94b1cd; font-size: .86rem; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- gentle reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { padding: 108px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .hero h1, .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-perks { justify-content: center; }
  .hero-stage { margin-top: 28px; }
  .hero-art { width: min(100%, 600px); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creators-grid { grid-template-columns: 1fr; }
  .creators-copy { text-align: center; }
  .creators-copy > p { margin-inline: auto; }
  .checks { justify-items: start; width: fit-content; margin-inline: auto; }
  .creators-actions { justify-content: center; }
  .creators-photo { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; top: calc(100% + 8px); right: 15px; left: 15px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 20px; background: var(--navy); box-shadow: 0 20px 40px rgba(0, 10, 40, .4); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-links .nav-cta { margin: 6px 0 0; }
  .nav-links .nav-cta a { justify-content: center; width: 100%; }
}
@media (max-width: 600px) {
  .shell { width: min(calc(100% - 30px), 560px); }
  .brand { font-size: 1.15rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .hero { padding: 96px 0 84px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .feature-grid { grid-template-columns: 1fr; }
  .creators-actions .btn { flex: 1 1 100%; }
  .cta-card { border-radius: 26px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
