/* The home page at clipt.games/ (index.html). Rebuilt from the approved
   reference (~/Projects/clipt/website_handoff, Hoov 2026-10-02). Every visible
   string is LOCKED in CLIPT_RULES.md §11 ("THE WEBSITE'S HOME PAGE").
   Self-hosted Nunito, NO external requests (landing.html's header says why).
   legal.css is separate on purpose: it declares Nunito at 400–700 only. */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/fonts/nunito-var-latin.woff2') format('woff2');
}
:root {
  --violet: #331460;
  --violet-deep: #24093F;
  --ink: #1F0A3D;
  --body: #4E3E66;
  --lilac: #E4D9F5;
  --lilac-dim: #C9B8E6;
  --mist: #EFE7F8;
  --paper: #F7F3FC;
  --line: #E6DCF3;
  --magenta: #B42BA6;
  --magenta-dark: #7E1A74;
  --cyan: #5BE7F2;
  --dash: #8F78B8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Nunito', 'Trebuchet MS', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta); }
a:hover { color: var(--magenta-dark); }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  font-weight: 800; font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--magenta);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 900; font-size: 18px; text-decoration: none;
}
.btn:focus-visible, .nav a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Header */
.site-header { background: var(--violet); padding: 16px 20px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-size: 26px; font-weight: 900; color: #FFFFFF; letter-spacing: 0.5px; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { color: #FFFFFF; font-weight: 700; font-size: 16px; text-decoration: none; }
.nav a:hover { color: var(--cyan); }

/* Hero */
.hero { background: var(--violet); color: #FFFFFF; padding: 32px 20px 56px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.02; font-weight: 900; }
.hero-lede { font-size: 19px; line-height: 1.5; color: var(--lilac); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.hero-actions .btn { background: var(--magenta); color: #FFFFFF; }
.hero-actions .btn:hover { background: var(--magenta-dark); }
.soon { font-size: 16px; font-weight: 800; color: var(--lilac); }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 440px; }

/* Video (PENDING) */
.video { background: var(--violet); padding: 0 20px 56px; }
.video .wrap { max-width: 880px; }
.video-slot {
  aspect-ratio: 16 / 9; width: 100%; border-radius: 24px; border: 2px dashed var(--dash);
  background: var(--violet-deep); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; padding: 24px; text-align: center;
}
.video-slot .ph { font-size: 18px; font-weight: 800; color: #FFFFFF; }
.video-slot .ph-sub { font-size: 15px; color: var(--lilac-dim); }

/* Just Clipt */
.just { background: var(--cyan); padding: 28px 20px; }
.just .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.just img { width: 112px; flex: 0 0 auto; }
.just-copy { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.just h2 { font-size: 26px; font-weight: 900; }
.just p { font-size: 17px; line-height: 1.5; }
.just p.strong { font-size: 16px; font-weight: 800; }

/* How it works */
.how { padding: 64px 20px; }
.how .wrap { display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; }
.section-head h2, .parents h2 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; font-weight: 900; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { background: #FFFFFF; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 2px solid var(--line); }
.step .num { width: 44px; height: 44px; border-radius: 999px; background: var(--violet); color: var(--cyan); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.step h3 { font-size: 22px; font-weight: 900; }
.step p { font-size: 16px; line-height: 1.55; color: var(--body); }
.keep { font-size: 17px; line-height: 1.5; color: var(--body); max-width: 44rem; }

/* Badges, Store, the clip */
.h2-mid { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; font-weight: 900; }
.rewards { padding: 0 20px 48px; }
.rewards .wrap { display: flex; flex-direction: column; gap: 8px; }
.rewards-head { display: flex; align-items: center; gap: 14px; }
.rewards-head img { width: 64px; flex: 0 0 auto; }
.rewards p.body { font-size: 17px; line-height: 1.55; color: var(--body); max-width: 46rem; }
.store { padding: 0 20px 64px; }
.store .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--magenta); color: #FFFFFF; border-radius: 28px; padding: 32px 28px; }
.store-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.store .eyebrow { color: #FFFFFF; }
.store p.body { font-size: 17px; line-height: 1.55; }
.store .btn { background: #FFFFFF; color: var(--magenta-dark); }
.clip { padding: 0 20px 64px; }
.clip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: #FFFFFF; border-radius: 28px; padding: 24px; border: 2px solid var(--line); }
.clip img { flex: 1 1 300px; width: 100%; max-width: 520px; border-radius: 20px; }
.clip-copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.clip-copy p { font-size: 17px; line-height: 1.55; color: var(--body); }

/* Placeholders for PENDING copy (CLIPT_RULES.md §11): visible, never final. */
.pending { font-style: italic; opacity: 0.85; }

/* For parents and coaches */
.parents { background: var(--mist); padding: 64px 20px; }
.parents .wrap { display: flex; flex-direction: column; gap: 28px; }
.parents-head { display: flex; flex-direction: column; gap: 10px; max-width: 46rem; }
.parents-head p { font-size: 17px; line-height: 1.55; color: var(--body); }
.promises { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.promises li { background: #FFFFFF; border-radius: 18px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.5; font-weight: 700; }
.promises svg { flex: 0 0 auto; margin-top: 2px; }
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.controls div { display: flex; flex-direction: column; gap: 4px; }
.controls h3 { font-size: 19px; font-weight: 900; }
.controls p { font-size: 16px; line-height: 1.5; color: var(--body); }
.parents .more { font-size: 17px; line-height: 1.55; }
.parents .more a { font-weight: 800; }

/* Partners */
.partners { padding: 64px 20px; }
.partners .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--violet); color: #FFFFFF; border-radius: 28px; padding: 36px 28px; }
.partners-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.partners h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.1; font-weight: 900; }
.partners p { font-size: 17px; line-height: 1.55; color: var(--lilac); }
.partners .btn { background: var(--cyan); color: var(--ink); }

/* Footer */
.site-footer { background: var(--violet); color: var(--lilac); padding: 36px 20px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-footer .brand span { font-size: 20px; letter-spacing: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { color: var(--cyan); }
.site-footer .copy { font-size: 14px; width: 100%; }

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

/* Inner pages (support.html, store.html) — same header, footer and type as the
   home page. Their copy is LOCKED in CLIPT_RULES.md §11. */
.nav a[aria-current="page"], .site-footer nav a[aria-current="page"] { color: var(--cyan); }
.page-hero { background: var(--violet); color: #FFFFFF; padding: 40px 20px 52px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.page-hero-tall { padding: 64px 20px 88px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.05; font-weight: 900; }
.page-lede { font-size: 19px; line-height: 1.5; color: var(--lilac); max-width: 38rem; }
.page-lede a { color: #FFFFFF; font-weight: 800; }
.page-actions { margin-top: 4px; }
.page-actions .btn { background: var(--magenta); color: #FFFFFF; }
.page-actions .btn:hover { background: var(--magenta-dark); }
.faq { padding: 48px 20px 24px; }
.faq .wrap { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.faq h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; font-weight: 900; margin-top: 18px; }
.faq h2:first-child { margin-top: 0; }
.qa { background: #FFFFFF; border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.qa h3 { font-size: 18px; font-weight: 900; }
.qa p { font-size: 16px; line-height: 1.55; color: var(--body); }
.faq-parents { padding: 24px 20px 64px; }
.faq-parents .wrap { max-width: 760px; background: var(--mist); border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.faq-parents h2 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; font-weight: 900; }
.faq-parents p { font-size: 17px; line-height: 1.55; color: var(--body); }
.faq-parents p a { font-weight: 800; }
.faq-parents .page-actions .btn { background: var(--violet); }
.faq-parents .page-actions .btn:hover { background: var(--ink); }
/* A short page (store.html) fills the screen, so no pale strip shows below the footer. */
body.fill-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--violet); }
body.fill-page main { flex: 1; background: var(--violet); }
