@import url('/fonts.css?v=2');

/* ShoSpeak — colors from the logo */
:root {
  --cream: #FBF7EE;
  --cream-deep: #F4EDDD;
  --paper: #FFFFFF;
  --navy: #23304A;
  --navy-soft: #4A5670;
  --terracotta: #D65C3C;
  --terracotta-bright: #E8694A;
  --mustard: #F0B13E;
  --mustard-soft: #FBE7BC;
  --sage: #80A98A;
  --sage-soft: #DCEBDF;
  --line: #E6DCC7;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(35, 48, 74, .06), 0 10px 30px rgba(35, 48, 74, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: 'Nunito', ui-rounded, system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta); background: #FBE3DA; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.muted { color: var(--navy-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251, 247, 238, .9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(230, 220, 199, .7); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img.tiles { width: 40px; height: 40px; }
.brand img.word { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { color: var(--terracotta); }
.nav .btn { padding: 10px 18px; font-size: .95rem; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 15px 26px;
  font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(214, 92, 60, .3); }
.btn-primary:hover { color: #fff; box-shadow: 0 8px 22px rgba(214, 92, 60, .38); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-soon { background: var(--navy); color: var(--cream); cursor: default; }
.btn-soon:hover { transform: none; color: var(--cream); }
.btn-soon svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.25rem; color: var(--navy-soft); max-width: 34em; }
.hero .note { margin-top: 18px; font-weight: 700; font-size: .98rem; color: var(--navy-soft); }
.hero .note strong { color: var(--sage); }
.hero-art { position: relative; justify-self: center; }
.hero-art .float { position: absolute; border-radius: 26px; box-shadow: var(--shadow); display: grid; place-items: center;
  font-family: 'Fraunces', serif; font-weight: 800; color: var(--navy); }
.hero-art .t1 { width: 92px; height: 92px; background: var(--mustard); left: -110px; top: 30px; transform: rotate(-9deg); font-size: 2.6rem; }
.hero-art .t2 { width: 76px; height: 76px; background: var(--sage); right: -100px; top: 170px; transform: rotate(8deg); font-size: 2.1rem; }
.hero-art .t3 { width: 84px; height: 84px; background: var(--terracotta-bright); left: -96px; bottom: 70px; transform: rotate(6deg); color: #fff; font-size: 2.3rem; }
@media (max-width: 1100px) { .hero-art .float { display: none; } }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* Phone mockup */
.phone {
  width: 290px; border-radius: 46px; background: #11161F; padding: 11px; box-shadow: 0 30px 60px rgba(35, 48, 74, .22), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone img { border-radius: 36px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; background: #fff; }
.phone.sm { width: 240px; border-radius: 40px; padding: 9px; }
.phone.sm img { border-radius: 31px; }

/* Sections */
section { padding: 84px 0; }
.center { text-align: center; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--navy-soft); font-size: 1.15rem; }
.band { background: var(--paper); border-block: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .num { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.6rem; margin-bottom: 16px; }
.step:nth-child(1) .num { background: var(--terracotta-bright); color: #fff; transform: rotate(-5deg); }
.step:nth-child(2) .num { background: var(--mustard); transform: rotate(4deg); }
.step:nth-child(3) .num { background: var(--navy); color: var(--cream); transform: rotate(-3deg); }
.step p { color: var(--navy-soft); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feature .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .35em; }
.feature p { font-size: .98rem; color: var(--navy-soft); margin: 0; }
.bg-terracotta { background: var(--terracotta-bright); color: #fff; }
.bg-mustard { background: var(--mustard); color: var(--navy); }
.bg-sage { background: var(--sage); color: #fff; }
.bg-navy { background: var(--navy); color: var(--cream); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screens */
.screens { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; }
.screens figure { margin: 0; text-align: center; }
.screens { align-items: flex-end; }
.screens figcaption { margin-top: 16px; font-weight: 800; }
.screens figcaption span { font-weight: 600; color: var(--navy-soft); }

/* iPad mockup */
.tablet {
  width: 400px; border-radius: 34px; background: #11161F; padding: 14px; box-shadow: 0 30px 60px rgba(35, 48, 74, .22), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.tablet img { border-radius: 22px; width: 100%; height: auto; aspect-ratio: 1640 / 2360; object-fit: cover; background: #fff; display: block; }
@media (max-width: 480px) { .tablet { width: 100%; max-width: 360px; padding: 11px; border-radius: 28px; } .tablet img { border-radius: 18px; } }
.screens figure:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 820px) { .screens figure:nth-child(2) { transform: none; } }

/* Parents */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.checks .tick { width: 34px; height: 34px; border-radius: 11px; background: var(--sage-soft); color: #3E7A4D; display: grid; place-items: center; }
.checks .tick svg { width: 18px; height: 18px; }
.checks strong { display: block; font-size: 1.08rem; }
.checks span { color: var(--navy-soft); font-size: 1rem; }
.promise { background: var(--navy); color: var(--cream); border-radius: 30px; padding: 40px; position: relative; overflow: hidden; }
.promise h3 { color: var(--cream); font-size: 1.7rem; }
.promise ul { margin: 0; padding-left: 1.2em; }
.promise li { margin-bottom: .5em; }
.promise .sign { position: absolute; right: -18px; bottom: -18px; width: 150px; opacity: .95; background: var(--cream); border-radius: 30px; padding: 12px; transform: rotate(-8deg); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 3px solid var(--terracotta); position: relative; }
.plan.featured::before { content: 'Best for families'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--terracotta); color: #fff; font-weight: 800; font-size: .8rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-family: 'Fraunces', serif; font-size: 2.6rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.plan .price small { font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy-soft); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.plan li { padding-left: 28px; position: relative; font-size: 1rem; }
.plan li::before { content: ''; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 5px; background: var(--sage); }
.fineprint { text-align: center; color: var(--navy-soft); font-size: .92rem; margin-top: 24px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Fraunces', serif; font-size: 1.5rem; line-height: 1; color: var(--terracotta); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--navy-soft); }

/* CTA band */
.cta { background: var(--terracotta); color: #fff; border-radius: 34px; padding: 56px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: #FFE9E2; font-size: 1.15rem; }
.cta .btn-soon { background: var(--cream); color: var(--navy); }

/* Footer */
.site-footer { padding: 56px 0 40px; color: var(--navy-soft); font-size: .95rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { color: var(--navy); font-weight: 700; text-decoration: none; }
.site-footer nav a:hover { color: var(--terracotta); }
.site-footer .credits { margin-top: 28px; font-size: .82rem; }

/* Legal / text pages */
.page-hero { padding: 56px 0 24px; }
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 52px); margin-bottom: 64px; box-shadow: var(--shadow); }
.doc h2 { font-size: 1.55rem; margin-top: 1.6em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.15rem; margin-top: 1.3em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc .updated { color: var(--navy-soft); font-weight: 700; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .98rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--cream); }
.callout { background: var(--mustard-soft); border-radius: 16px; padding: 18px 22px; margin: 18px 0; }

/* Support */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--navy); color: var(--cream); border-radius: 26px; padding: 30px 34px; margin-bottom: 40px; }
.contact-card h2 { color: var(--cream); font-size: 1.6rem; margin: 0 0 4px; }
.contact-card p { margin: 0; color: #C9D2E3; }
.contact-card .btn { background: var(--terracotta); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-width: 880px) { .promise { padding-bottom: 150px; } .promise .sign { width: 120px; } }
.faq h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.plans.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 900px) { .plans.two { grid-template-columns: 1fr; max-width: 460px; } }

/* Platforms line in the hero, and the free-trial tag on plans */
.hero .note .platforms { display: inline-block; margin-top: 6px; font-weight: 600; }
.plan .trial { display: inline-block; width: fit-content; align-self: flex-start; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--sage-soft); color: #3E7A4D; font-weight: 800; font-size: .92rem; }
.plan .yearly { margin: 2px 0 0; font-size: .98rem; color: var(--navy-soft); }
.plan .yearly strong { color: var(--navy); }
.plan.saver { position: relative; border: 3px solid var(--sage); }
.plan.saver::before { content: 'Almost 2 months free'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #3E7A4D; color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plans { max-width: 1120px; margin: 0 auto; }
