/* =========================================================
   Talk With Me - Redesign 2026
   Brand: purple + teal speech-bubble. Playful but parent-facing.
   ========================================================= */

:root {
  /* Brand */
  --purple: #4a3a8c;
  --purple-700: #3a2d72;
  --purple-300: #8b7fc4;
  --teal: #16a6aa;
  --teal-700: #0f8488;
  --teal-300: #74cfd1;

  /* Accents (from the playful illustrations) */
  --yellow: #ffc94d;
  --coral: #ff7a6b;
  --green: #7ec77e;
  --sky: #8fd4f0;

  /* Neutrals */
  --ink: #2c2945;
  --ink-soft: #5b576f;
  --line: #ece9f6;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-lav: #f6f4fd;
  --bg-teal: #eaf8f8;
  --bg-warm: #fff8ec;

  /* System */
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 6px 18px rgba(74, 58, 140, 0.08);
  --shadow: 0 18px 50px rgba(74, 58, 140, 0.12);
  --shadow-lg: 0 30px 70px rgba(74, 58, 140, 0.18);
  --maxw: 1180px;
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--ink-soft); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 14px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(74,58,140,.32); }
.btn-primary:hover { background: var(--purple-700); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(74,58,140,.4); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(22,166,170,.3); }
.btn-teal:hover { background: var(--teal-700); transform: translateY(-3px); }
.btn-ghost { background: #fff; color: var(--purple); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple-300); transform: translateY(-3px); }
.btn-lg { padding: 17px 38px; font-size: 1.15rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--purple); letter-spacing: -.5px; white-space: nowrap; }
.brand-name span { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; color: var(--ink);
  padding: 9px 15px; border-radius: 999px; transition: background .15s, color .15s;
  font-size: 1rem;
}
.nav-links a:hover { background: var(--bg-lav); color: var(--purple); }
.nav-links a.active { color: var(--purple); background: var(--bg-lav); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--purple); border-radius: 3px; margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(116,207,209,.22), transparent 60%),
    radial-gradient(50% 60% at 8% 90%, rgba(255,201,77,.20), transparent 60%),
    linear-gradient(180deg, var(--bg-lav), #fff 80%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(60px, 9vw, 110px);
  overflow: hidden;
}
.hero-head { margin-bottom: clamp(28px, 4vw, 46px); }
.hero-head h1 { margin-bottom: 0; max-width: none; font-size: clamp(2.05rem, 4.4vw, 3.4rem); }
@media (min-width: 981px) { .hero-head h1 { white-space: nowrap; } }
.hero-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: center; }
.hero-copy .lead { margin-bottom: 0; }
.notice.hero-notice { max-width: none; margin: clamp(24px, 4vw, 40px) 0 0; }
.hero-visual { width: 104.5%; margin-right: -4.5%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--purple);
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { color: var(--purple); position: relative; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 14px;
  background: var(--yellow); opacity: .5; border-radius: 6px; z-index: -1;
}
.hero p.lead { font-size: 1.4rem; line-height: 1.78; max-width: 38ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.store-badges a { transition: transform .18s; }
.store-badges a:hover { transform: translateY(-3px); }
.store-badges img { height: 54px; width: auto; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-shot-wrap { position: relative; }
.hero-shot { width: 100%; display: block; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 14px; transform: rotate(-2deg);
}
.hero-card img { border-radius: var(--radius); }
.float {
  position: absolute; background: #fff; border-radius: 50%; box-shadow: var(--shadow);
  display: grid; place-items: center; animation: bob 5s ease-in-out infinite;
}
.float img { width: 64%; }
.float.a { width: 96px; height: 96px; top: -34px; left: -30px; animation-delay: .2s; }
.float.b { width: 78px; height: 78px; bottom: -26px; left: 18%; background: var(--bg-warm); animation-delay: 1.1s; }
.float.c { width: 110px; height: 110px; bottom: 30px; right: -38px; animation-delay: .6s; }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

/* ---------- Section shells ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.lav { background: var(--bg-lav); }
.section.teal { background: var(--bg-teal); }
.section.warm { background: var(--bg-warm); }
.section-head { text-align: left; max-width: 720px; margin: 0 0 50px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { font-size: 1.12rem; margin-top: 14px; }

/* ---------- Mission band ---------- */
.mission {
  background: linear-gradient(135deg, var(--purple), var(--purple-700));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(36px,5vw,64px);
  position: relative; overflow: hidden;
}
.mission::before, .mission::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .18;
}
.mission::before { width: 320px; height: 320px; background: var(--teal); top: -120px; right: -80px; }
.mission::after { width: 220px; height: 220px; background: var(--yellow); bottom: -110px; left: -60px; opacity: .22; }
.mission h2, .mission p { color: #fff; position: relative; }
.mission p { color: rgba(255,255,255,.92); font-size: 1.2rem; max-width: 60ch; margin-top: 16px; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon-wrap {
  width: 92px; height: 92px; border-radius: 24px; display: grid; place-items: center;
  margin-bottom: 20px;
}
.card .icon-wrap img { width: 60px; height: 60px; object-fit: contain; }
.icon-lav { background: var(--bg-lav); }
.icon-teal { background: var(--bg-teal); }
.icon-warm { background: var(--bg-warm); }
.card h3 { margin-bottom: 10px; }

/* ---------- How it works (alternating) ---------- */
.steps { display: grid; gap: 34px; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.step .step-media { background: linear-gradient(180deg, var(--bg-teal), #fff); }
.step .step-media img { width: 100%; height: 100%; object-fit: cover; }
.step .step-body { padding: clamp(28px,4vw,48px); }
.step .num {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; margin-bottom: 16px;
}
.step:nth-child(even) .step-media { order: 2; background: linear-gradient(180deg, var(--bg-lav), #fff); }
.step:nth-child(even) .num { background: var(--teal); }

/* ---------- How it works (2x2 card grid) ---------- */
.how2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1000px; margin: 0; }
.how2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.how2-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.how2-shot { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-teal); border-bottom: 1px solid var(--line); }
.how2-shot img { width: 100%; height: 100%; object-fit: cover; }
.how2-body { padding: 22px 26px 26px; display: flex; gap: 14px; align-items: flex-start; }
.how2-num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; font-size: 1.15rem; }
.how2-card:nth-child(2) .how2-num, .how2-card:nth-child(3) .how2-num { background: var(--teal); }
.how2-body h3 { margin-bottom: 6px; font-size: 1.18rem; }
.how2-body p { font-size: .96rem; }

/* ---------- Press grid (uniform logo cells) ---------- */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 18px; max-width: 1000px; margin: 0; }
.press-grid a {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 90px;
  display: grid; place-items: center; padding: 16px 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.press-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.press-grid img { max-height: 38px; max-width: 100%; width: auto; object-fit: contain; }

/* ---------- Awards (modern cards) ---------- */
.awards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.award {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.award:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.award .award-media {
  position: relative; padding: 40px 26px; display: grid; place-items: center start;
  background: linear-gradient(160deg, var(--bg-lav), #fff 85%); border-bottom: 1px solid var(--line);
}
.award:nth-child(2) .award-media { background: linear-gradient(160deg, var(--bg-teal), #fff 85%); }
.award:nth-child(3) .award-media { background: linear-gradient(160deg, var(--bg-warm), #fff 85%); }
.award .award-media img { height: 168px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 24px rgba(74,58,140,.16)); }
.award .award-body { padding: 24px 26px 30px; text-align: left; }
.award .award-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.award .award-body p { font-size: .98rem; }

/* ---------- Testimonial ---------- */
.quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote .mark { font-family: var(--font-display); font-size: 5rem; color: var(--teal-300); line-height: .5; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.1rem); color: var(--ink); font-weight: 600; margin: 6px 0 18px; }
.quote cite { font-style: normal; color: var(--purple); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal), var(--teal-700));
  border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px); text-align: center;
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; width:300px;height:300px;border-radius:50%;background:#fff;opacity:.1; top:-130px; left:-60px;}
.cta-band::after { content:""; position:absolute; width:240px;height:240px;border-radius:50%;background:var(--yellow);opacity:.18; bottom:-120px; right:-50px;}
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { max-width: 52ch; margin: 14px auto 28px; font-size: 1.15rem; opacity: .95; }
.cta-band .store-badges { justify-content: center; }
.cta-band .btn-primary { background:#fff; color: var(--purple); }
.cta-band .btn-primary:hover { background: var(--bg-lav); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(116,207,209,.2), transparent 60%),
    linear-gradient(180deg, var(--bg-lav), #fff);
  padding: clamp(48px,7vw,88px) 0 clamp(20px,3vw,32px); text-align: left;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { font-size: 1.15rem; max-width: 60ch; margin: 16px 0 0; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; margin: 0; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 28px 0 10px; color: var(--purple); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.cite { font-size: .95rem; color: var(--ink-soft); background: var(--bg-lav); border-left: 4px solid var(--teal); padding: 12px 18px; border-radius: 10px; margin: 14px 0 4px; display: block; }

/* ---------- Research timeline ---------- */
.timeline { max-width: 860px; margin: 0; position: relative; }
.timeline::before { content:""; position:absolute; left: 26px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.tl-item { position: relative; padding: 0 0 38px 76px; }
.tl-item .tl-dot {
  position: absolute; left: 14px; top: 2px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple); border: 5px solid #fff; box-shadow: 0 0 0 2px var(--purple-300);
}
.tl-item:nth-child(even) .tl-dot { background: var(--teal); box-shadow: 0 0 0 2px var(--teal-300); }
.tl-item .yr { font-family: var(--font-display); font-weight: 700; color: var(--teal-700); font-size: .95rem; }
.tl-item h3 { margin: 4px 0 8px; }
.tl-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background:#fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 26px; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.faq-q .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-lav); color: var(--purple); display: grid; place-items: center; transition: transform .25s, background .2s; font-size: 1.2rem; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--purple); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 26px 24px; }
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner ul, .faq-a-inner ol { margin: 0 0 12px 20px; color: var(--ink-soft); }
.faq-a-inner li { margin-bottom: 7px; }

/* ---------- Podcast ---------- */
.pod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.pod-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.pod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pod-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background:#000; }
.pod-thumb img { width:100%; height:100%; object-fit: cover; }
.pod-thumb .play {
  position:absolute; inset:0; margin:auto; width:60px; height:60px; border-radius:50%;
  background: rgba(74,58,140,.85); display:grid; place-items:center; transition: .2s; box-shadow: var(--shadow);
}
.pod-thumb .play::after { content:""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.pod-card:hover .play { background: var(--teal); transform: scale(1.08); }
.pod-dur { position:absolute; bottom:10px; right:10px; background: rgba(0,0,0,.78); color:#fff; font-size:.82rem; font-weight:700; padding:3px 9px; border-radius: 8px; }
.pod-body { padding: 20px 22px; }
.pod-body .ep { font-family: var(--font-display); font-weight:700; color: var(--teal-700); font-size:.85rem; text-transform: uppercase; letter-spacing:.4px; }
.pod-body h3 { margin:4px 0 8px; font-size:1.2rem; }
.pod-body p { font-size:.98rem; }

/* ---------- Support / contact ---------- */
.contact-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.contact-cards { display:grid; gap: 18px; }
.contact-card { display:flex; gap:18px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card .ci { flex:none; width:54px; height:54px; border-radius: 16px; display:grid; place-items:center; font-size:1.6rem; }
.contact-card h3 { font-size:1.15rem; margin-bottom:4px; }
.contact-card p, .contact-card a { font-size:1rem; color: var(--ink-soft); }
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--font-display); font-weight:600; margin-bottom:7px; font-size:.98rem; }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 16px; border:2px solid var(--line); border-radius: 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background:#fff; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.form-note { font-size:.9rem; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Stats ---------- */
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.stat { text-align:center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px 16px; box-shadow: var(--shadow-sm); }
.stat .n { font-family: var(--font-display); font-weight:800; font-size: 2.2rem; color: var(--purple); }
.stat:nth-child(even) .n { color: var(--teal); }
.stat p { font-size:.98rem; margin-top:4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcce0; padding: 64px 0 30px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand-name { color:#fff; }
.footer-brand .brand-name span { color: var(--teal-300); }
.footer-brand p { color:#a8a4c0; margin-top:14px; max-width: 34ch; font-size: .98rem; }
.footer-col h4 { color:#fff; font-size:1.05rem; margin-bottom:16px; }
.footer-col ul { list-style:none; display:grid; gap:10px; }
.footer-col a { color:#cfcce0; font-size:.98rem; }
.footer-col a:hover { color:#fff; }
.footer-contact p { font-size:.96rem; margin-bottom:8px; color:#cfcce0; }
.footer-contact a { color:#cfcce0; }
.socials { display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }
.socials a { width:40px; height:40px; border-radius:50%; background: rgba(255,255,255,.08); display:grid; place-items:center; transition:.2s; }
.socials a:hover { background: var(--teal); transform: translateY(-3px); }
.socials img { width:18px; height:18px; filter: brightness(0) invert(1); opacity:.85; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:44px; padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.92rem; color:#8e8aa6; }
.footer-bottom a { color:#a8a4c0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
/* Never hide content if JS is disabled or user prefers reduced motion */
.no-js .reveal { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1 !important; transform:none !important; transition:none; }
  html { scroll-behavior:auto; }
  .float { animation:none; }
}

/* ====================================================
   Phone device mockup (authentic app screen)
   ==================================================== */
.phone-wrap { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: clamp(260px, 30vw, 312px); aspect-ratio: 312/640;
  background: linear-gradient(160deg, #2a2150, #1b1533); border-radius: 48px; padding: 13px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.07);
  z-index: 2;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 128px; height: 26px; background: #1b1533; border-radius: 0 0 18px 18px; z-index: 4;
}
.phone::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 130px; width: 3px; height: 64px;
  background: #2a2150; border-radius: 3px;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-lav), #ffffff 34%); display: flex; flex-direction: column;
}
.app-top { display: flex; align-items: center; gap: 8px; padding: 30px 18px 10px; }
.app-top img { width: 26px; height: 26px; }
.app-top .app-name { font-family: var(--font-display); font-weight: 800; font-size: 1.04rem; color: var(--purple); letter-spacing: -.3px; }
.app-top .app-name span { color: var(--teal); }
.app-top .app-shuffle { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-teal); display: grid; place-items: center; color: var(--teal-700); font-size: .95rem; }
.app-prompt {
  margin: 6px 16px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 9px 12px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm);
}
.app-prompt img { width: 32px; height: 32px; flex: none; }
.app-prompt span { font-family: var(--font-display); font-weight: 600; font-size: .86rem; color: var(--ink); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 2px 16px; }
.app-tile { border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px 9px; text-align: center; box-shadow: var(--shadow-sm); background: #fff; }
.app-tile img { width: 46px; height: 46px; margin: 0 auto 6px; object-fit: contain; }
.app-tile b { font-family: var(--font-display); font-weight: 700; font-size: .76rem; color: var(--ink-soft); display: block; }
.app-tile.t1 { background: var(--bg-teal); } .app-tile.t2 { background: var(--bg-warm); }
.app-tile.t3 { background: var(--bg-lav); } .app-tile.t4 { background: #eafaf0; }
.app-sentence {
  margin-top: auto; background: #fff; border-top: 1px solid var(--line);
  padding: 11px 14px; display: flex; gap: 7px; align-items: center;
}
.app-sentence .chip { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--bg-lav); display: grid; place-items: center; overflow: hidden; }
.app-sentence .chip img { width: 34px; height: 34px; object-fit: contain; }
.app-sentence .go { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(22,166,170,.4); }
.app-sentence .go::after { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; margin-left: 3px; }

/* ====================================================
   "Works on every device" platforms strip
   ==================================================== */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.platform {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px 34px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.platform:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.platform .pf-media { height: 168px; display: grid; place-items: center; margin-bottom: 18px; }
.platform .pf-media img { max-height: 168px; width: auto; object-fit: contain; }
.platform h3 { margin-bottom: 8px; }
.platform p { font-size: .98rem; }
.platform .tag { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--teal-700); background: var(--bg-teal); padding: 5px 14px; border-radius: 999px; }

/* ====================================================
   Topics ("what can you talk about")
   ==================================================== */
.topics-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.topic-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.topic-pill {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px 9px 10px;
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.topic-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.topic-pill img { width: 34px; height: 34px; object-fit: contain; }
.topic-pill span { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1rem; }
.topics-cloud { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.topics-cloud img { border-radius: var(--radius); width: 100%; }

/* ====================================================
   Talk · Learn · Play · Create
   ==================================================== */
.tlpc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tlpc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tlpc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tlpc-card .tlpc-icon { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; font-size: 2rem; }
.tlpc-card:nth-child(1) .tlpc-icon { background: var(--bg-teal); }
.tlpc-card:nth-child(2) .tlpc-icon { background: var(--bg-warm); }
.tlpc-card:nth-child(3) .tlpc-icon { background: var(--bg-lav); }
.tlpc-card:nth-child(4) .tlpc-icon { background: #eafaf0; }
.tlpc-card h3 { margin-bottom: 10px; }
.tlpc-card p { font-size: .98rem; }

/* ====================================================
   Team
   ==================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-lav); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 20px 22px 24px; }
.team-body h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-body .role { font-family: var(--font-display); font-weight: 700; color: var(--teal-700); font-size: .9rem; display: block; margin-bottom: 10px; }
.team-body p { font-size: .95rem; }
.team-body .li {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: var(--font-display); font-weight: 700; font-size: .86rem; color: var(--purple);
}
.team-body .li img { width: 18px; height: 18px; }

/* ---------- Symbols showcase ---------- */
.symbol-row { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-start; }
.symbol-chip { width: 150px; text-align: center; }
.symbol-chip .sym {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 16px; aspect-ratio: 1/1; display: grid; place-items: center;
  transition: transform .2s, box-shadow .2s;
}
.symbol-chip:hover .sym { transform: translateY(-5px); box-shadow: var(--shadow); }
.symbol-chip .sym img { width: 100%; height: 100%; object-fit: contain; }
.symbol-chip b { display: block; margin-top: 10px; font-family: var(--font-display); color: var(--ink); font-size: 1rem; }

/* ---------- Floating stamp badge ---------- */
.stamp-badge { position: absolute; width: 120px; top: -18px; right: -10px; transform: rotate(8deg); z-index: 5; pointer-events: none; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); }

/* ---------- Brand-colour socials (on light backgrounds) ---------- */
.socials.brand a { background: var(--bg-lav); }
.socials.brand a:hover { background: var(--bg-teal); }
.socials.brand img { filter: none; width: 20px; height: 20px; opacity: 1; }

/* ---------- Footer (minimal) ---------- */
.footer-min { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; font-size: .95rem; color: #a8a4c0; }
.footer-min a { color: #cfcce0; }
.footer-min a:hover { color: #fff; }

/* ---------- Hibernation notice ---------- */
.notice {
  display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--yellow); border-radius: 14px; padding: 13px 18px; margin: 4px 0 22px;
  font-size: 1rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); max-width: 46ch;
}
.notice strong { color: var(--purple); }
.notice.notice-center { max-width: 60ch; }

/* ---------- Video ---------- */
.video-wrap { max-width: 920px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #000; }
.video-wrap video { width: 100%; display: block; }

/* ---------- Video + Mission (two columns) ---------- */
.vm-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 50px; align-items: center; }
.vm-video .video-wrap { margin: 0; max-width: none; }
.vm-mission .eyebrow { margin-bottom: 4px; }
.vm-mission p { font-size: 1.12rem; }

/* ---------- What people say ---------- */
.say-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.say-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.say-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.say-card .qm { font-family: var(--font-display); font-size: 3rem; line-height: .5; color: var(--teal-300); display: block; margin-bottom: 10px; }
.say-card .q { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.say-card .by { display: block; margin-top: 14px; color: var(--purple); font-weight: 700; font-size: .92rem; }

/* ====================================================
   "Works on every screen" - app-UI device frames
   ==================================================== */
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: end; justify-items: center; }
.dev { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dev .label { margin-top: 20px; }
.dev .label h3 { margin-bottom: 6px; }
.dev .label p { font-size: .96rem; max-width: 30ch; margin: 0 auto; }
.dev .tag { display: inline-block; margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--teal-700); background: var(--bg-teal); padding: 5px 14px; border-radius: 999px; }
/* shared mini app screen */
.appmini { background: linear-gradient(180deg, var(--bg-lav), #fff 42%); display: flex; flex-direction: column; height: 100%; }
.appmini .m-top { display: flex; align-items: center; gap: 6px; padding: 14px 12px 8px; }
.appmini .m-top img { width: 20px; height: 20px; }
.appmini .m-top b { font-family: var(--font-display); font-weight: 800; color: var(--purple); font-size: .85rem; }
.appmini .m-top b span { color: var(--teal); }
.appmini .m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 4px 12px; }
.appmini .m-tile { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 9px 4px 6px; text-align: center; }
.appmini .m-tile img { width: 30px; height: 30px; margin: 0 auto 4px; object-fit: contain; }
.appmini .m-tile b { font-family: var(--font-display); font-weight: 700; font-size: .62rem; color: var(--ink-soft); }
.appmini .m-tile.t1 { background: var(--bg-teal); } .appmini .m-tile.t2 { background: var(--bg-warm); }
.appmini .m-tile.t3 { background: var(--bg-lav); } .appmini .m-tile.t4 { background: #eafaf0; }
.appmini .m-strip { margin-top: auto; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px; display: flex; gap: 5px; align-items: center; }
.appmini .m-strip .mc { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-lav); display: grid; place-items: center; overflow: hidden; }
.appmini .m-strip .mc img { width: 22px; height: 22px; object-fit: contain; }
.appmini .m-strip .mg { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); }
/* phone frame */
.fr-phone { width: 190px; aspect-ratio: 190/390; background: linear-gradient(160deg, #2a2150, #1b1533); border-radius: 30px; padding: 9px; box-shadow: var(--shadow-lg); }
.fr-phone .appmini { border-radius: 22px; overflow: hidden; }
/* tablet frame */
.fr-tablet { width: 300px; aspect-ratio: 4/3; background: linear-gradient(160deg, #2a2150, #1b1533); border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg); }
.fr-tablet .appmini { border-radius: 12px; overflow: hidden; }
/* browser frame */
.fr-web { width: 330px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.fr-web .wbar { height: 30px; background: #ece9f6; display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.fr-web .wbar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c3e3; }
.fr-web .appmini { height: 232px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .topics-wrap { grid-template-columns: 1fr; gap: 32px; }
  .tlpc { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .say-grid { grid-template-columns: repeat(2, 1fr); }
  .devices { grid-template-columns: 1fr; gap: 44px; }
  .vm-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero p.lead { max-width: none; line-height: 1.7; }
  .hero-visual { width: 100%; margin-right: 0; }
  .cards, .awards, .pod-grid { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step, .step:nth-child(even) .step-media { grid-template-columns: 1fr; }
  .step .step-media { order: -1 !important; min-height: 220px; }
}
/* Collapse the inline nav into the hamburger early so menu items never look cramped */
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-store { display: none; }
  .nav-toggle { display: block; }
  .nav-links.show {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background:#fff; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.show a { display: block; padding: 13px 16px; border-radius: 12px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { height: 66px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.15rem; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: .95rem; }
  .cards, .awards, .pod-grid, .stats, .footer-grid, .tlpc, .team-grid, .say-grid, .how2-grid { grid-template-columns: 1fr; }
  .logo-strip { gap: 26px 34px; }
  .logo-strip img { height: 36px; }
  .float { display: none; }
  .hero-card { transform: none; }
}
