/* Times Table Star: shared styles for the landing page and press kit.
   Colours follow the app's own :root palette (Candy Pop theme). */
@font-face { font-family: 'Fredoka One'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/fredokaone-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap; src: url('fonts/nunito.woff2') format('woff2'); }

:root {
  --bg: #fff8f0; --card: #fff; --card-border: #f0e0f8; --text: #2d2d2d; --heading: #3d3540;
  --soft: #4f4852; --muted: #6f6672; --accent: #e85d8a; --accent2: #c952a0;
  --accent-ink: #b8356a; --tint: #fdf6ff; --blush: #ffe8ef;
  --display: 'Fredoka One', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--heading); line-height: 1.15; letter-spacing: 0.2px; }
h2 { font-size: clamp(28px, 6vw, 40px); margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 6px; }
p + p { margin-top: 12px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,248,240,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--card-border); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); font-family: var(--display); font-size: 20px; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; list-style: none; }
.nav a { display: block; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--soft); font-weight: 800; font-size: 15px; }
.nav a:hover { background: var(--blush); color: var(--accent-ink); }
.nav .wide { display: none; }
@media (min-width: 760px) { .nav .wide { display: block; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 16px; font-weight: 800; font-size: 17px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #d9477c, #b23f8f); box-shadow: 0 8px 20px rgba(201,82,160,0.28); transition: transform 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.ghost { background: #fff; color: var(--accent-ink); border: 2px solid var(--card-border); box-shadow: none; }

/* hero */
.hero { padding: 36px 0 24px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 14px; color: var(--accent-ink); background: var(--blush); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(42px, 11vw, 68px); color: var(--accent); margin-bottom: 12px; }
.promise { font-size: clamp(19px, 4.6vw, 23px); color: var(--soft); font-weight: 700; max-width: 30ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.small { font-size: 14.5px; color: var(--muted); }
.stage-card { position: relative; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--card-border); box-shadow: 0 18px 40px rgba(201,82,160,0.16); background: #f6dcd8; aspect-ratio: 900 / 725; }
.stage-card > img.room { width: 100%; height: 100%; object-fit: cover; }
.stage-card .pets { position: absolute; left: 0; right: 0; bottom: 9%; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.stage-card .pets img { height: auto; filter: drop-shadow(0 10px 8px rgba(120,40,70,0.22)); }
.stage-card .p1 { width: 27%; margin-right: -3%; }
.stage-card .p2 { width: 34%; z-index: 1; }
.stage-card .p3 { width: 30%; margin-left: -3%; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 40px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 48px; }
}

/* sections */
section { padding: 44px 0; }
.lede { font-size: 18.5px; color: var(--soft); max-width: 62ch; }
.card { background: var(--card); border: 1.5px solid var(--card-border); border-radius: var(--radius); padding: 22px; }
.band { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }

/* growth strip */
.growth { margin-top: 26px; padding: 22px 12px 16px; }
.growth ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 4px; }
.growth li { text-align: center; }
.growth img { margin: 0 auto 8px; }
/* widths follow the app's STAGE_SCALE (0.72, 0.84, 0.93, 1.0) so the sizes are honest */
.growth .egg { width: 58%; max-width: 88px; }
.growth .i1 { width: 72%; max-width: 108px; }
.growth .i2 { width: 84%; max-width: 126px; }
.growth .i3 { width: 93%; max-width: 140px; }
.growth .i4 { width: 100%; max-width: 150px; }
.growth span { display: block; font-family: var(--display); font-size: clamp(13px, 3.6vw, 18px); color: var(--accent-ink); }
.growth-note { text-align: center; margin-top: 12px; }

/* features */
.grid { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.feature .ico { font-size: 30px; line-height: 1; margin-bottom: 10px; display: block; }
.feature p { color: var(--soft); font-size: 16px; }
.parade { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 6px 2px; margin-top: 24px; }
.parade img { height: 78px; width: auto; }
@media (min-width: 640px) { .parade img { height: 104px; } }

/* parents */
.trust { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1.5px solid var(--card-border); border-radius: 18px; padding: 16px 18px; }
.trust .tick { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blush); color: var(--accent-ink); display: grid; place-items: center; font-weight: 900; }
.trust strong { display: block; color: var(--heading); }
.trust span { color: var(--soft); font-size: 15.5px; }

/* pricing */
.prices { display: grid; gap: 16px; margin-top: 24px; }
@media (min-width: 760px) { .prices { grid-template-columns: 1fr 1fr; } }
.price h3 { font-size: 26px; }
.price .tag { font-weight: 800; color: var(--accent-ink); margin-bottom: 10px; }
.price ul { list-style: none; margin-top: 8px; }
.price li { padding: 7px 0 7px 28px; position: relative; color: var(--soft); border-top: 1px dashed var(--card-border); }
.price li:first-child { border-top: 0; }
.price li::before { content: '\2605'; position: absolute; left: 2px; color: var(--accent); }
.price.plus { background: linear-gradient(160deg, #fff 0%, var(--blush) 100%); }

/* help strip */
.help { display: grid; gap: 16px; }
@media (min-width: 760px) { .help { grid-template-columns: 1fr 1fr; } }
.help .card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* footer */
footer.site { padding: 32px 0 44px; border-top: 1px solid var(--card-border); color: var(--muted); font-size: 14.5px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.site a { color: var(--soft); font-weight: 700; }

/* shared media and motion */
video { display: block; max-width: 100%; }
button { font: inherit; }
button:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
.motion-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--card-border); background: #fff; color: var(--accent-ink); font-weight: 800; font-size: 14.5px; cursor: pointer; }
.motion-toggle:hover { background: var(--blush); }
.motion-toggle:focus-visible { border-radius: 999px; }
.lede + p .motion-toggle { margin-top: 14px; }

/* hero video card */
.stage-card.video-card { aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; background: linear-gradient(160deg, #ffeef4 0%, #f6dcd8 100%); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.motion-toggle.on-card { position: absolute; right: 12px; bottom: 12px; background: rgba(255,255,255,0.92); }

/* meet the pets */
.pet-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
@media (min-width: 640px) { .pet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .pet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pet-card { background: var(--card); border: 1.5px solid var(--card-border); border-radius: var(--radius); padding: 10px 10px 14px; text-align: center; }
.pet-card video { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; background: linear-gradient(160deg, var(--tint) 0%, var(--blush) 100%); margin-bottom: 10px; }
.pet-card h3 { font-size: clamp(18px, 4.6vw, 21px); margin-bottom: 0; color: var(--accent-ink); }
.pet-card p { font-size: 15px; color: var(--soft); font-weight: 700; }
.pets-note { margin-top: 20px; color: var(--soft); font-weight: 700; max-width: 62ch; }

/* see it in action */
.demo-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
@media (min-width: 540px) { .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 980px) { .demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.demo { text-align: center; }
.demo p { color: var(--soft); font-size: 16px; max-width: 34ch; margin: 0 auto; }
.phone { width: 100%; max-width: 240px; margin: 0 auto 16px; aspect-ratio: 1320 / 2868; padding: 7px; border-radius: 36px; background: var(--heading); box-shadow: 0 18px 36px rgba(61,53,64,0.22); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; background: linear-gradient(180deg, var(--tint) 0%, var(--blush) 100%); }

/* short films */
.film-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .film-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.film { text-align: center; }
.film video { width: 100%; max-width: 340px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; margin: 0 auto 12px; border-radius: var(--radius); background: var(--heading); box-shadow: 0 14px 30px rgba(61,53,64,0.18); }
.film video:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }

/* feedback */
.feedback { text-align: center; padding: 30px 22px; background: linear-gradient(160deg, #fff 0%, var(--blush) 100%); }
.feedback .ico { font-size: 36px; line-height: 1; display: block; margin-bottom: 10px; }
.feedback .lede { margin-left: auto; margin-right: auto; }
.feedback .cta { justify-content: center; margin-bottom: 0; }

/* 404 */
.lost { padding: 64px 0; text-align: center; }
.lost h1 { font-size: clamp(34px, 9vw, 52px); color: var(--accent); margin-bottom: 12px; }
.lost .promise { margin: 0 auto; }
.lost .cta { justify-content: center; }
.lost img { width: 150px; margin: 0 auto 18px; }

/* press */
.facts { width: 100%; border-collapse: collapse; table-layout: fixed; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 10px 0; border-top: 1px dashed var(--card-border); font-size: 16px; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 0; }
.facts th { width: 34%; padding-right: 12px; color: var(--heading); font-weight: 800; }
.facts td { color: var(--soft); overflow-wrap: anywhere; }
@media (min-width: 640px) { .facts th { width: 30%; } }
.assets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 640px) { .assets { grid-template-columns: repeat(4, 1fr); } }
.asset { background: #fff; border: 1.5px solid var(--card-border); border-radius: 18px; padding: 12px; text-align: center; text-decoration: none; color: var(--soft); font-size: 14px; font-weight: 700; }
.asset img { height: 110px; width: auto; margin: 0 auto 8px; object-fit: contain; }
.asset.wide { grid-column: 1 / -1; }
.asset.wide img { height: auto; width: 100%; max-width: 520px; border-radius: 12px; }
.confirm { background: #fff6d8; border: 1.5px dashed #e2b640; border-radius: 16px; padding: 16px 18px; color: #5a4300; }
.confirm strong { color: #7a5600; }
