/* Public landing page. App and legal page themes remain in styles.css. */
body:has(#landingPage:not(.hidden)) { background: #f5f3e9; }
body:has(#landingPage:not(.hidden))::before,
body:has(#landingPage:not(.hidden))::after { display: none; }
#landingPage {
  --ink: #20392e; --muted: #536157; --line: #cdd3c8;
  --green: #23583e; --green-dark: #16462f; --gold: #23583e;
  --panel: #fffef8; --shadow: none; --blue: #405c49;
  background: #f5f3e9; color: var(--ink); padding: 0 32px 28px;
}
#landingPage a { color: inherit; }
#landingPage .eyebrow { color: #526346; font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.landing-header { max-width: 1180px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-bottom: 1px solid var(--line); }
.landing-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; letter-spacing: -.05em; }
.landing-brand img { border-radius: 9px; }
.landing-header nav { display: flex; gap: 30px; font-size: .9rem; font-weight: 600; }
.landing-header nav a { text-decoration: none; }
#landingPage .landing-hero-grid { grid-template-columns: 1.08fr 1fr; gap: 30px; min-height: 700px; padding: 55px 0 70px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
#landingPage .landing-hero-grid::after { display: none; }
#landingPage .landing-hero-copy h1 { font-size: clamp(3rem, 5.15vw, 4.65rem); line-height: 1.06; letter-spacing: -.065em; font-weight: 800; max-width: 650px; overflow-wrap: normal; }
#landingPage .landing-hero-copy p { font-size: 1.1rem; line-height: 1.7; max-width: 450px; }
#landingPage .landing-hero-copy .eyebrow { font-size: .75rem; margin-bottom: 23px; }
#landingPage .landing-actions { margin-top: 30px; gap: 26px; }
#landingPage .landing-cta { background: #23583e; color: #fffef8; border: 1px solid #23583e; border-radius: 6px; padding: 15px 24px; box-shadow: none; font-size: .95rem; text-decoration: none; font-weight: 700; }
#landingPage .landing-cta:hover { background: #16462f; }
#landingPage .landing-link { background: none; border: 0; padding: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 5px; font-size: .95rem; }
#landingPage .landing-hero-copy .signup-speed-note { font-size: .82rem; margin-top: 18px; }
#landingPage .landing-hero-copy .platform-note { font-size: .8rem; margin-top: 34px; max-width: none; }
.platform-dot { display: inline-block; width: 7px; height: 7px; background: #23583e; border-radius: 50%; margin-right: 6px; }
.hero-product { margin: 0; }
.hero-phones { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; padding: 20px 0; }
.hero-phones::before { content: ''; position: absolute; width: 105%; height: 75%; background: #e0e6d1; border-radius: 50% 50% 45% 45%; z-index: 0; }
.product-phone { position: relative; border: 7px solid #252b27; border-radius: 32px; background: #252b27; padding: 0; overflow: hidden; width: 240px; box-shadow: 0 18px 28px -20px #142b2266; flex-shrink: 0; }
.product-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; border-radius: 23px; }
.hero-phones .phone-progress { width: 235px; transform: rotate(-5deg) translateY(-16px); }
.hero-phones .phone-quests { width: 220px; transform: rotate(6deg) translateY(28px); }
.hero-product > figcaption { margin: 24px 0 0; text-align: center; font-size: .72rem; color: var(--muted); }
#landingPage .landing-content { display: block; }
.product-section { border-top: 1px solid var(--line); padding: 70px 0; scroll-margin-top: 24px; }
.product-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 70px; align-items: end; }
.product-intro .eyebrow { grid-column: 1 / -1; }
#landingPage h2 { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.045em; line-height: 1.13; margin: 12px 0; }
.product-intro > p:last-child { max-width: 380px; font-size: 1.05rem; line-height: 1.75; color: var(--muted); }
.product-scenes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.product-scenes > figure { margin: 0; padding: 36px 32px 30px; background: #e7e9dc; border-radius: 12px; display: flex; flex-direction: column; align-items: center; }
.product-scenes > figure:nth-child(2) { background: #eae2d5; }
.product-scenes .product-phone { width: 238px; }
.product-scenes figcaption { width: 100%; margin-top: 30px; }
.kid-support { display: flex; align-items: center; gap: 40px; margin: 40px 0 0; padding: 28px 32px; border-top: 1px solid var(--line); }
.kid-support .product-phone { width: 170px; }
.kid-support figcaption { max-width: 420px; }
.kid-support h3 { font-size: 1.5rem; margin: 10px 0; }
.kid-support p { color: var(--muted); line-height: 1.7; }
@media (max-width: 600px) { .kid-support { flex-direction: column; align-items: flex-start; padding: 28px 0; gap: 20px; } .kid-support .product-phone { align-self: center; } }
.product-scenes h3 { font-size: 1.5rem; letter-spacing: -.035em; margin: 13px 0 10px; }
.product-scenes p { color: var(--muted); line-height: 1.7; margin: 0; max-width: 410px; }
.parent-note { border-top: 1px solid var(--line); padding: 50px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.parent-note > .eyebrow { padding-top: 10px; }
.parent-note p { line-height: 1.8; max-width: 670px; color: var(--muted); }
.parent-note .note-signature { font-size: .85rem; color: var(--ink); }
.landing-account { display: grid; grid-template-columns: 1fr 410px; align-items: start; gap: 90px; border-top: 1px solid var(--line); padding: 70px 0; scroll-margin-top: 25px; }
.account-copy > p { max-width: 440px; line-height: 1.8; color: var(--muted); }
.account-platform { font-size: .9rem; margin: 25px 0; }
#landingPage .auth-card { background: #fffef8; border-color: var(--line); border-radius: 12px; padding: 24px; box-shadow: none; }
#landingPage .auth-card h2 { font-size: 1.4rem; margin: 20px 0 5px; }
#landingPage .auth-card input:not([type='checkbox']) { background: #f5f3e9; color: #20392e; border: 1px solid #cdd3c8; }
#landingPage .auth-card input::placeholder { color: #677267; }
#landingPage .auth-card label { color: #20392e; }
#landingPage .auth-tabs { gap: 3px; }
#landingPage .auth-tabs button { color: #405447; background: transparent; box-shadow: none; border-color: transparent; border-radius: 5px; font-size: .8rem; }
#landingPage .auth-tabs .active { background: #e0e6d1; color: #20392e; border-color: #cdd3c8; }
#landingPage .auth-form > button { color: #fffef8; background: #23583e; border: 0; border-radius: 6px; box-shadow: none; }
#landingPage .landing-faq { gap: 0; margin-top: 28px; max-width: 440px; }
#landingPage .landing-faq details { border: 0; border-top: 1px solid var(--line); background: none; border-radius: 0; padding: 15px 0; }
#landingPage .landing-faq details p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
#landingPage .landing-legal-footer { border-top: 1px solid var(--line); justify-content: flex-start; font-size: .75rem; padding-top: 24px; }
#landingPage .landing-legal-footer span { flex-basis: 100%; }
#landingPage .landing-reviews { margin: 0 0 40px; }
#landingPage .landing-review { color: var(--ink); background: #fffef8; border-color: var(--line); box-shadow: none; }
#landingPage .landing-review p, #landingPage .landing-review span { color: var(--muted); }
#landingPage a:focus-visible, #landingPage button:focus-visible, #landingPage input:focus-visible, #landingPage summary:focus-visible { outline: 3px solid #23583e; outline-offset: 4px; }
@media (max-width: 1050px) {
  #landingPage .landing-hero-grid { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .hero-phones .phone-progress { width: 195px; }
  .hero-phones .phone-quests { width: 175px; }
  .landing-account { gap: 40px; grid-template-columns: 1fr 380px; }
}
@media (max-width: 760px) {
  #landingPage { padding: 0 22px 25px; }
  .landing-header { padding: 20px 0; }
  .landing-brand { font-size: 1.15rem; }
  .landing-header nav { gap: 18px; font-size: .8rem; }
  .landing-header nav a:first-child { display: none; }
  #landingPage .landing-hero-grid { display: flex; flex-direction: column; gap: 35px; padding: 45px 0 40px; min-height: 0; }
  #landingPage .landing-hero-copy { width: 100%; }
  #landingPage .landing-hero-copy h1 { font-size: clamp(2.7rem, 9vw, 4rem); max-width: 560px; }
  #landingPage .landing-hero-copy p { font-size: 1rem; }
  #landingPage .landing-hero-copy .platform-note { margin-top: 22px; font-size: .77rem; }
  .hero-product { width: 100%; max-width: 480px; }
  .hero-phones { gap: 10px; }
  .hero-phones .phone-progress { width: 46%; }
  .hero-phones .phone-quests { width: 43%; }
  .product-intro { display: block; }
  .product-section { padding: 40px 0; }
  .product-scenes { gap: 24px; grid-template-columns: 1fr; margin-top: 30px; }
  .product-scenes > figure { padding: 28px 24px; }
  .product-scenes .product-phone { width: min(238px, 85%); }
  .parent-note { display: block; padding: 30px 0; }
  .landing-account { display: flex; flex-direction: column; gap: 28px; padding: 40px 0; }
  .account-copy { width: 100%; }
  #landingPage .auth-card { width: 100%; max-width: 460px; align-self: center; }
}
@media (prefers-reduced-motion: no-preference) { html:has(#landingPage:not(.hidden)) { scroll-behavior: smooth; } }
#landingPage form label > span { color: #344e3e; }

.workflow-section { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.workflow-intro { text-align: center; max-width: 650px; margin: 0 auto 32px; }
.workflow-intro > p:last-child { color: var(--muted); line-height: 1.7; }
.workflow-player { max-width: 1000px; margin: 0 auto; }
.workflow-screen { overflow: hidden; border: 6px solid #252b27; border-radius: 16px; background: #252b27; box-shadow: 0 18px 28px -20px #142b2266; }
.workflow-screen-bar { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; color: #eef2e7; }
.workflow-screen-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #899387; }
.workflow-screen-bar p { margin: 0 auto; padding-right: 33px; font-size: .7rem; }
.workflow-screen video { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; background: #f4efdf; }
.workflow-player figcaption { text-align: center; color: var(--muted); font-size: .8rem; line-height: 1.6; margin: 16px 0; }
.workflow-transcript { max-width: 700px; margin: 20px auto 0; color: var(--muted); }
.workflow-transcript summary { cursor: pointer; padding: 12px 0; min-height: 44px; color: var(--ink); }
.workflow-transcript li { padding: 5px 0; line-height: 1.7; }
@media (max-width: 600px) { .workflow-section { padding: 40px 0; } .workflow-screen { border-width: 3px; border-radius: 10px; } }
