/* TatiPatiKids landing page. The app's own colours and fonts; nothing
   loaded from other servers. */

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("assets/fonts/nunito-Regular.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("assets/fonts/nunito-Bold.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("assets/fonts/nunito-ExtraBold.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("assets/fonts/nunito-Black.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-display: swap; src: url("assets/fonts/vazirmatn-bold-subset.woff2") format("woff2"); }

:root {
  --cream: #FFF6EA;
  --sand: #F3E8D6;
  --navy: #1C345C;
  --navy-deep: #16204A;
  --ink: #2B3F60;
  --ink-soft: #4E5F7C;
  --sun: #FFD23F;
  --teal: #0F7A72;
  --heart: #F0587A;
  --heart-soft: #FFE1EA;
  --belly: #A85A1F;
  --belly-soft: #FFE3C4;
  --white: #FFFFFF;
  --radius: 26px;
  --shadow: 0 10px 30px rgba(28, 52, 92, .12);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.fa { font-family: "Vazirmatn", "Nunito", sans-serif; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 900; color: var(--teal); margin-bottom: .6em; }
.intro { font-size: 1.15rem; max-width: 720px; color: var(--ink-soft); margin-bottom: 2.2em; }
.note { color: var(--ink-soft); max-width: 760px; margin-top: 2em; }
.small { font-size: .9rem; color: var(--ink-soft); }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 246, 234, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(28, 52, 92, .08); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 900; font-size: 1.25rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 800; font-size: .98rem; }
.nav a:hover { color: var(--teal); }
@media (max-width: 720px) { .nav { display: none; } }

/* Hero */
.hero { padding: 48px 0 72px; overflow: hidden; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr .9fr; } }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 .1em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; }
.hero__art { position: relative; min-height: 420px; display: flex; justify-content: center; align-items: flex-end; }
.hero__phone { width: min(260px, 58vw); position: relative; z-index: 1; transform: rotate(3deg); }
.hero__friend { position: absolute; left: max(0px, calc(50% - 310px)); bottom: -10px; width: min(190px, 38vw); z-index: 2; filter: drop-shadow(0 10px 18px rgba(28, 52, 92, .18)); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--navy); color: var(--white); border-radius: 16px; padding: 10px 18px 10px 14px; font-weight: 800; line-height: 1.25; box-shadow: 0 6px 0 #0E1E3A; }
.store small { display: block; font-weight: 700; font-size: .78rem; opacity: .8; }
.store svg { width: 28px; height: 28px; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; flex: none; }
.store svg circle { fill: var(--sun); stroke: none; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.badges li { background: var(--white); border-radius: 999px; padding: 4px 14px; font-weight: 800; font-size: .9rem; color: var(--navy); box-shadow: 0 2px 0 rgba(28, 52, 92, .1); }

/* Phones */
.phone { border-radius: 30px; border: 8px solid var(--navy); background: var(--navy); box-shadow: var(--shadow); width: 100%; max-width: 260px; }
.phone--small { max-width: 200px; border-width: 6px; border-radius: 24px; }

/* Sections */
.section { padding: 80px 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-deep); color: #DCE3F2; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--sun); }
.section--navy .intro { color: #C3CDE3; }
.section--teal { background: var(--teal); color: #E2F3F1; }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal .eyebrow { color: var(--sun); }

/* Doors */
.doors { display: grid; gap: 24px; }
@media (min-width: 860px) { .doors { grid-template-columns: repeat(3, 1fr); } }
.door { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 8px solid var(--navy); }
.door .phone { margin: 0 auto 20px; max-width: 220px; }
.door--heart { border-top-color: var(--heart); }
.door--belly { border-top-color: var(--belly); }
.door p { color: var(--ink-soft); margin: 0; }

.extras { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 760px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extra { margin: 0; display: grid; gap: 14px; justify-items: center; text-align: center; }
.extra figcaption { color: var(--ink-soft); max-width: 300px; }

/* Friends */
.friends { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .friends { grid-template-columns: repeat(4, 1fr); } }
.friends li { background: var(--white); border-radius: var(--radius); padding: 18px 12px 12px; text-align: center; box-shadow: var(--shadow); }
.friends img { height: 160px; width: auto; margin: 0 auto 8px; object-fit: contain; }
.friends span { font-weight: 900; font-size: 1.2rem; color: var(--navy); }

/* Psychology */
.ideas { display: grid; gap: 20px; }
@media (min-width: 720px) { .ideas { grid-template-columns: repeat(2, 1fr); } }
.idea { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px; }
.idea h3 { color: var(--sun); }
.idea .what { color: var(--white); font-weight: 700; }
.idea .why { color: #C3CDE3; font-size: .98rem; margin: 0; }
.idea cite { font-style: normal; color: var(--sun); }
.caution { margin-top: 36px; background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 20px 24px; border-left: 8px solid var(--sun); }
.caution p { margin: 0; }
.refs { margin-top: 28px; color: #C3CDE3; font-size: .95rem; }
.refs summary { cursor: pointer; font-weight: 800; color: var(--white); }
.refs ol { padding-left: 1.2em; }
.refs li { margin: .6em 0; }
.refs a { color: var(--sun); }

/* Parents and languages */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr .8fr; } }
.split__art img { width: min(240px, 60vw); margin-inline: auto; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 34px; margin: .8em 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.pair { display: flex; gap: 18px; justify-content: center; }
.pair .phone { width: 46%; }

/* Privacy */
.promises { display: grid; gap: 18px; }
@media (min-width: 720px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .promises { grid-template-columns: repeat(4, 1fr); } }
.promise { background: rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; }
.promise p { margin: 0; }
.note--light { color: #E2F3F1; }

/* Pricing */
.plans { display: grid; gap: 22px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.plan--plus { border: 3px solid var(--sun); }
.price { font-size: 2.2rem; font-weight: 900; color: var(--navy); margin: 0 0 .3em; }
.price small { font-size: 1rem; color: var(--ink-soft); font-weight: 800; }

/* FAQ */
#faq details { background: var(--white); border-radius: 18px; padding: 16px 20px; margin: 12px 0; box-shadow: 0 2px 0 rgba(28, 52, 92, .08); }
#faq summary { cursor: pointer; font-weight: 800; color: var(--navy); }
#faq details p { margin: .8em 0 0; color: var(--ink-soft); }

/* Footer */
.foot { background: var(--navy); color: #C3CDE3; padding: 40px 0; }
.foot__inner { display: grid; gap: 8px; }
.brand--light { color: var(--white); }
.foot p { margin: 0; }
.foot .small { color: #A9B7D3; }
