.hero h1 { font-size: clamp(3rem, 4.1vw, 3.85rem); }
/* A brief, once-per-visit entrance, scoped to the existing hero. */
.hero-replay { position: absolute; top: 0; right: 1px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 3px 5px; background: transparent; color: #697d61; font-size: .65rem; }
.hero-replay svg { width: 15px; height: 15px; }
.hero-replay:hover { color: var(--forest); }
.hero-replay:disabled { opacity: .5; cursor: default; }
.hero-product .hero-orbit { isolation: isolate; }
.hero-companions .mascot { transition: translate .25s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-companions .companion:hover .mascot { translate: 0 -5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy.is-intro-active > * { animation: hero-copy-in .7s cubic-bezier(.22,1,.36,1) both; }
  .hero-copy.is-intro-active h1 { animation-delay: .12s; }
  .hero-copy.is-intro-active .hero-description { animation-delay: .24s; }
  .hero-copy.is-intro-active .button-group { animation-delay: .36s; }
  .hero-copy.is-intro-active .hero-footnote { animation-delay: .44s; }
  .hero-copy.is-intro-active .handline::after { transform-origin: left center; animation: hero-underline .8s cubic-bezier(.22,1,.36,1) .42s both; }
  .hero-product.is-intro-active .hero-orbit { animation: hero-orbit-in 1.3s cubic-bezier(.22,1,.36,1) both; }
  .hero-product.is-intro-active .hero-screen { animation: hero-screen-in 1.1s cubic-bezier(.22,1,.36,1) .1s both; }
  .hero-product.is-intro-active .hero-proof { animation: hero-proof-in .8s cubic-bezier(.22,1,.36,1) .9s both; }
  .hero-product.is-intro-active .proof-tick { animation: hero-check-in .55s cubic-bezier(.2,1.5,.5,1) 1.3s both; }
  .hero-product.is-intro-active .companion { animation: hero-copy-in .7s cubic-bezier(.22,1,.36,1) both; }
  .hero-product.is-intro-active .companion.yellow { animation-delay: 1.2s; }
  .hero-product.is-intro-active .companion.green { animation-delay: 1.4s; }
  .hero-product.is-intro-active .companion.white { animation-delay: 1.6s; }
  .hero-product.is-intro-active .companion .mascot { animation: hero-greeting .8s ease-in-out both; }
  .hero-product.is-intro-active .yellow .mascot { animation-delay: 1.8s; }
  .hero-product.is-intro-active .green .mascot { animation-delay: 2s; }
  .hero-product.is-intro-active .white .mascot { animation-delay: 2.2s; }
  .hero-product.is-intro-active .hero-replay { animation: hero-copy-in .4s ease 2.6s both; }
}
@keyframes hero-copy-in { from { opacity: 0; translate: 0 17px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-underline { from { transform: rotate(-3deg) scaleX(0); } to { transform: rotate(-3deg) scaleX(1); } }
@keyframes hero-orbit-in { from { opacity: 0; scale: .88; } to { opacity: 1; scale: 1; } }
@keyframes hero-screen-in { from { opacity: 0; translate: 18px 28px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes hero-proof-in { from { opacity: 0; translate: -16px 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes hero-check-in { from { scale: .65; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes hero-greeting { 0%,100% { rotate: 0deg; translate: 0 0; } 35% { rotate: -4deg; translate: 0 -5px; } 70% { rotate: 3deg; translate: 0 -2px; } }
@media (max-width:980px) { .hero-replay { top: -17px; } }
@media (max-width:700px) { .hero-replay { top: -13px; font-size: .6rem; } }
.feature-section { background: #fffefb; border-block: 1px solid #e8eade; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 84px; align-items: center; }
.feature-copy h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.3; }
.feature-lead { color: var(--muted); margin-top: 24px; line-height: 1.9; }
.feature-copy .line-features { margin-top: 28px; }
.feature-copy .text-link { margin-top: 10px; font-size: .87rem; }
.feature-copy .section-note { font-size: .77rem; }
.feature-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.feature-reverse .feature-copy { grid-column: 2; grid-row: 1; }
.feature-reverse .feature-demo { grid-column: 1; grid-row: 1; }
.feature-demo { border: 1px solid #cdd9c7; border-radius: 16px; background: #edf2e7; box-shadow: 0 20px 55px #2948340e; overflow: hidden; min-width: 0; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 17px 23px; border-bottom: 1px solid #dde6d7; background: #fffefb; }
.demo-product { font-size: 1.05rem; font-weight: 800; letter-spacing: -.05em; }
.demo-product>span { margin-left: 10px; color: #647b5f; font-size: .72rem; letter-spacing: -.02em; font-weight: 500; }
.demo-status { color: #71816c; font-size: .66rem; white-space: nowrap; }
.demo-context { display: flex; align-items: center; gap: 8px; margin: 21px 25px 0; color: #58704e; font-size: .75rem; font-weight: 600; }
.demo-scene { padding: 23px 25px 20px; min-height: 434px; animation: scene-reveal .25s ease-out; }
.demo-concept { border-left: 2px solid #91ad7b; padding-left: 15px; margin-bottom: 23px; }
.demo-concept>span { display: block; color: #69815b; font-size: .68rem; margin-bottom: 5px; }
.demo-concept strong { display: block; font-size: .97rem; font-weight: 650; }
.demo-concept small { color: #6d7f61; font-size: .68rem; }
.message { font-size: .98rem; line-height: 1.75; }
.message small { display: block; font-size: .67rem; margin-bottom: 7px; font-weight: 600; }
.child-message { margin-left: 30px; background: #fffefb; border: 1px solid #e1e6d7; border-radius: 12px 12px 3px 12px; padding: 17px 20px; color: #2d4433; }
.child-message small { color: #758167; }
.coach-message { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; }
.coach-message>div { flex: 1; }
.coach-message small { color: #527045; }
.coach-mark { background: #376944; color: #fbf8df; font-size: .59rem; letter-spacing: -.05em; border-radius: 50%; width: 31px; height: 31px; flex-shrink: 0; display: grid; place-items: center; font-weight: 750; }
.example-chips { display: flex; gap: 7px; margin-top: 12px; }
.example-chips span { font-size: .72rem; background: #f8f9ef; border: 1px solid #cfdcc5; border-radius: 20px; padding: 5px 12px; }
.demo-evidence { margin-top: 24px; padding-top: 17px; border-top: 1px solid #cddac3; color: #6a7a60; font-size: .69rem; }
.demo-evidence strong { display: block; font-weight: 600; margin-top: 3px; color: #395734; font-size: .8rem; }
.prompt-parts { display: grid; grid-template-columns: 1fr 1fr; margin: 23px 0 0 30px; gap: 10px; }
.prompt-parts>div { border-bottom: 1px solid #c7d4bc; padding-bottom: 13px; }
.prompt-parts small { display: block; color: #6b7e5f; font-size: .65rem; }
.prompt-parts strong { font-size: .85rem; font-weight: 600; }
.observation-tool { background: #fffefb; border: 1px solid #d9e1d0; border-radius: 9px; overflow: hidden; margin-bottom: 19px; }
.tool-heading { padding: 13px 15px; display: flex; align-items: center; gap: 8px; }
.tool-heading strong { font-size: .83rem; font-weight: 650; }
.tool-heading>span:last-child { margin-left: auto; font-size: .59rem; color: #7b8772; }
.observation-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid #e6eadf; padding: 10px 15px; font-size: .74rem; gap: 8px; }
.observation-row>span:not(:first-child) { text-align: center; }
.table-head { background: #f4f6ef; color: #6b7c5f; font-size: .65rem; }
.new-field { background: #f0f6e7; }
.new-field small { color: #587445; font-size: .56rem; }
.observation-tool>p { font-size: .62rem; color: #75836a; padding: 9px 15px; border-top: 1px solid #e6eadf; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 25px; padding-top: 16px; border-top: 1px solid #cdd8c3; }
.scene-buttons { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.scene-buttons button { padding: 7px 10px; font-size: .69rem; border-radius: 20px; background: transparent; color: #5e7155; border: 1px solid transparent; }
.scene-buttons button:hover { background: #e3ebd9; }
.scene-buttons button[aria-pressed="true"] { color: #f9f9eb; background: var(--forest); }
.demo-play { background: transparent; color: #5c6e51; font-size: .67rem; padding: 7px 0 7px 8px; text-decoration: underline; text-underline-offset: 4px; flex-shrink: 0; }
.demo-disclosure { color: #6f7f63; font-size: .65rem; padding: 17px 25px 22px; line-height: 1.8; }
.safety-demo { background: #eff1ee; border-color: #d5ddd5; }
.safety-demo .demo-context { color: #697c6d; }
.status-dot { width: 6px; height: 6px; background: #749278; border-radius: 50%; }
.safety-demo .demo-scene { min-height: 435px; }
.safety-topic { display: block; color: #526b58; font-size: .76rem; font-weight: 650; margin-bottom: 18px; }
.safety-demo .child-message { margin-left: 0; }
.masked-value { background: #f1eaca; border-radius: 3px; padding: 0 4px; white-space: nowrap; }
.safety-response { display: flex; gap: 12px; margin-top: 23px; align-items: flex-start; }
.response-symbol { background: #dfe9dc; color: #52734e; width: 29px; height: 29px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: .93rem; }
.safety-response strong { font-size: .91rem; font-weight: 650; display: block; }
.safety-response p { font-size: .79rem; color: #6c7d6c; margin-top: 5px; line-height: 1.8; }
.adult-review { margin-top: 24px; border-top: 1px solid #ccd7ca; padding-top: 17px; }
.adult-review>span { display: block; color: #6e7c6c; font-size: .65rem; }
.adult-review>strong { display: block; font-size: .86rem; font-weight: 650; margin-top: 6px; }
.adult-review>small { display: block; font-size: .68rem; color: #6a7c69; margin-top: 7px; line-height: 1.8; }
.approval-actions { display: flex; gap: 8px; margin-top: 13px; flex-wrap: wrap; }
.approval-actions button { background: #fffef8; border: 1px solid #cbd9c7; border-radius: 5px; font-size: .7rem; padding: 7px 12px; }
.approval-actions button:first-child { background: #315d42; border-color: #315d42; color: #fffef8; }
.approval-actions button:hover { filter: brightness(.95); }
@keyframes scene-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media(max-width:1150px) {
  .feature-row { gap: 45px; }
  .demo-scene { padding-inline: 20px; }
  .demo-controls { margin-inline: 20px; gap: 5px; }
  .scene-buttons { gap: 2px; }
  .scene-buttons button { padding-inline: 8px; font-size: .64rem; }
  .demo-play { font-size: .63rem; }
}
@media(max-width:980px) {
  .feature-row { grid-template-columns: 1fr; gap: 37px; }
  .feature-copy { max-width: 660px; }
  .feature-demo { width: 100%; max-width: 650px; margin-inline: auto; }
  .feature-reverse .feature-copy, .feature-reverse .feature-demo { grid-column: auto; grid-row: auto; }
  .hero h1 { font-size: 3.8rem; }
  .hero h1 br:last-of-type { display: initial; }
}
@media(max-width:700px) {
  .hero h1 { font-size: clamp(2.35rem, 8vw, 3.25rem); }
  .feature-copy h2 { font-size: 2.08rem; }
  .feature-lead { font-size: .97rem; }
  .feature-demo { border-radius: 11px; }
  .demo-heading { padding: 15px 18px; }
  .demo-product { font-size: .95rem; }
  .demo-product>span { margin-left: 6px; font-size: .65rem; }
  .demo-context { margin: 20px 18px 0; font-size: .7rem; }
  .demo-scene, .safety-demo .demo-scene { min-height: 435px; padding: 23px 18px 20px; }
  .child-message { margin-left: 12px; padding: 16px; }
  .message { font-size: .9rem; }
  .demo-concept strong { font-size: .88rem; }
  .coach-message { gap: 10px; }
  .demo-controls { margin-inline: 18px; flex-wrap: wrap; gap: 6px; }
  .scene-buttons button { padding: 7px 8px; font-size: .65rem; }
  .demo-play { margin-left: auto; }
  .demo-disclosure { padding: 15px 18px 20px; font-size: .63rem; }
  .prompt-parts { margin-left: 12px; }
  .tool-heading { padding-inline: 12px; gap: 5px; }
  .tool-heading strong { font-size: .73rem; }
  .tool-heading>span:last-child { font-size: .55rem; }
  .observation-row { padding-inline: 12px; font-size: .7rem; }
  .demo-evidence strong { font-size: .77rem; }
}
@media(prefers-reduced-motion:reduce) { .demo-scene { animation: none; } }
