:root {
  color-scheme: light;
  --paper: #fbfaf8;
  --ink: #171315;
  --muted: #6d6667;
  --line: #ded9d6;
  --mist: #f0edeb;
  --berry: #651738;
  --berry-deep: #411024;
  --child-card: #f7f5f2;
  --focus: #075fbd;
  font-family: "Hiragino Sans", "Yu Gothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: clip; }
button, a { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .75rem 1rem; z-index: 10; }
.skip-link:focus { top: 1rem; }

.site-header, .site-footer { width: 100%; max-width: 1200px; margin: 0 auto; padding: 1.5rem clamp(1.25rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { color: inherit; display: inline-flex; text-decoration: none; }
.wordmark img { display: block; width: 126px; height: 27px; }
.site-footer { border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.site-footer nav { display: flex; gap: 1.1rem; }
.site-footer a { color: inherit; }

.section { min-height: 720px; padding: clamp(5.5rem, 13vw, 11rem) clamp(1.25rem, 4vw, 3rem); overflow: clip; }
.section > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.eyebrow { color: var(--berry); font-size: .9rem; font-weight: 700; letter-spacing: .05em; margin: 0 0 .5rem; }
h1, h2, p { margin-top: 0; }
h1, h2 { letter-spacing: -.075em; line-height: 1.1; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 7vw, 6.6rem); max-width: 8.7em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.45rem, 5vw, 4.8rem); margin-bottom: 1.2rem; }
.lead, .section-intro > p:not(.eyebrow) { color: #443d3e; font-size: clamp(1.05rem, 2vw, 1.35rem); overflow-wrap: anywhere; }
.narrow-break { display: none; }
.section-intro { max-width: 610px; }

.beta-cta { appearance: none; border: 0; border-radius: 999px; padding: .85rem 1.35rem; min-height: 3rem; color: #fff; background: var(--berry); font-weight: 700; margin-top: 1rem; }
.beta-cta[disabled] { cursor: not-allowed; opacity: .58; }
.beta-cta--small { margin: 0; font-size: .86rem; padding: .55rem .95rem; min-height: 2.4rem; }
.beta-notice { font-size: .78rem; color: var(--muted); margin: .75rem 0 0; }

.hero { min-height: calc(100dvh - 76px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.hero-copy { max-width: 580px; }
.hero-capture { position: relative; justify-self: center; width: min(100%, 360px); min-height: 360px; }
.hero-paper { position: absolute; left: 1rem; top: 2rem; width: 190px; height: 255px; padding: 1.2rem; border: 1px solid #d1c9c5; background: #fffefa; box-shadow: 0 18px 35px rgb(45 33 35 / .08); transform: rotate(-6deg); display: flex; flex-direction: column; gap: .8rem; }
.hero-paper b { font-size: 1.1rem; }.hero-paper i { width: 100%; border-top: 1px solid #968c88; }.hero-paper em { align-self: flex-end; color: #b92f45; font-size: 2.2rem; font-style: normal; font-weight: 800; }
.hero-frame { position: absolute; right: 1rem; top: 4rem; width: 212px; height: 268px; border: 2px solid var(--berry); border-radius: 23px; transform: rotate(5deg); }.hero-frame::before, .hero-frame::after { position: absolute; width: 30px; height: 30px; content: ""; border-color: var(--berry); border-style: solid; }.hero-frame::before { left: -.5rem; top: -.5rem; border-width: 3px 0 0 3px; }.hero-frame::after { right: -.5rem; bottom: -.5rem; border-width: 0 3px 3px 0; }
.hero-registered { position: absolute; right: 0; bottom: 1rem; display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 800; font-size: .85rem; }.hero-registered span { display: grid; width: 1.25rem; height: 1.25rem; place-items: center; border-radius: 50%; background: #fff; color: var(--berry); }
.phone { width: min(100%, 335px); min-height: 600px; background: #111; border: 8px solid #292425; border-radius: 42px; box-shadow: 0 20px 60px rgb(40 25 28 / .16); overflow: hidden; padding: 1.25rem; color: #fff; }
.phone-status, .phone-topline, .solve-header { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 700; }
.phone-topline { margin-top: 1.6rem; align-items: center; }
.role-chip { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; background: #353132; font-size: .75rem; }
.switch-symbol { font-size: 1.5rem; line-height: 1; }
.phone--parent h2 { font-size: 1.95rem; margin: 3rem 0 2rem; letter-spacing: -.05em; }
.parent-task { background: #292728; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: .8rem; padding: .8rem; border-radius: 20px; }
.parent-task p, .parent-task small { display: block; margin: .1rem 0; color: #cec9ca; font-size: .82rem; }
.safe-thumbnail { width: 58px; height: 72px; background: #ebe7e1; color: #292122; border-radius: 9px; padding: .35rem; display: flex; flex-direction: column; gap: .25rem; overflow: hidden; }
.safe-thumbnail span { font-size: .58rem; font-weight: 900; }
.safe-thumbnail i { display: block; border-top: 1px solid #9b9290; width: 100%; }
.mock-register { border: 0; border-radius: 999px; background: #fff; color: #171315; font-weight: 800; width: 100%; padding: 1rem; margin-top: 14rem; }

.capture { background: var(--mist); display: grid; align-content: center; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 8vw, 8rem); }
.capture-story { position: relative; min-height: 375px; max-width: 520px; width: 100%; }
.worksheet-card { position: absolute; left: 3%; top: 1rem; width: 220px; height: 300px; border: 1px solid #c9c1bd; background: #fffdf9; box-shadow: 0 12px 25px rgb(45 33 35 / .08); padding: 1.25rem; transform: rotate(-5deg); display: flex; flex-direction: column; gap: 1rem; }
.worksheet-card b { font-size: 1.2rem; }.worksheet-card span { font-size: .8rem; color: #6a6261; word-spacing: .6rem; }.worksheet-card em { color: #ba3140; font-size: 2rem; font-style: normal; font-weight: 800; align-self: end; }
.camera-frame { position: absolute; width: 245px; height: 305px; right: 10%; top: 2.75rem; border: 2px solid var(--berry); border-radius: 22px; transform: rotate(4deg); }
.camera-frame::before, .camera-frame::after { content: ""; position: absolute; width: 28px; height: 28px; border-color: var(--berry); border-style: solid; }
.camera-frame::before { left: -.45rem; top: -.45rem; border-width: 3px 0 0 3px; }.camera-frame::after { bottom: -.45rem; right: -.45rem; border-width: 0 3px 3px 0; }
.camera-frame span { display: block; position: absolute; inset: 45% 45%; border-radius: 50%; background: var(--berry); }
.registered-task { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: .6rem; padding: .85rem 1.15rem; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 800; transform: translateY(10px); }
.registered-task i { display: grid; place-items: center; font-style: normal; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #fff; color: var(--berry); }

.reduce { background: var(--berry-deep); color: #fff; display: grid; align-content: center; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 8vw, 8rem); }
.reduce .eyebrow { color: #f7afc8; }.reduce .section-intro > p:not(.eyebrow) { color: #f0dce2; }
.reduce-stage { max-width: 660px; position: relative; min-height: 480px; }
.problem-pile { position: absolute; left: 0; top: 3rem; width: 220px; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.problem-pile i { height: 42px; border-radius: 9px; background: #f5e9eb; opacity: .95; }
.reduction-flow { position: absolute; left: 2rem; bottom: 1.7rem; display: flex; align-items: center; gap: .65rem; color: #f2dce2; }.reduction-flow > b { color: #f09ab8; font-size: 1.35rem; }.reduction-number { display: flex; align-items: baseline; gap: .1rem; }.reduction-number strong { font-size: clamp(2rem, 5vw, 3.55rem); letter-spacing: -.1em; line-height: 1; }.reduction-number span { font-size: .75rem; font-weight: 800; }.reduction-number--start strong { font-size: clamp(3.5rem, 9vw, 6.8rem); }.reduction-number--final { color: #fff; }.reduction-number--final strong { font-size: clamp(3.25rem, 7vw, 5rem); }
.child-card { position: absolute; right: 0; bottom: 0; width: min(78%, 310px); min-height: 230px; padding: 1.4rem; color: var(--ink); background: var(--child-card); border: 3px solid #fb9cbd; border-radius: 32px; box-shadow: 0 12px 0 #9e294f; display: flex; flex-direction: column; }
.child-card p, .child-card span { margin: 0; }.child-card p { font-weight: 700; }.child-card strong { font-size: 3rem; letter-spacing: -.07em; margin-top: auto; }.child-card span { color: var(--muted); font-weight: 700; }.child-card i { position: absolute; right: 1.4rem; bottom: 1.2rem; font-size: 1.5rem; font-style: normal; }

.solve { background: #f1e6e9; display: grid; align-content: center; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 8vw, 8rem); }
.solve-demo { position: relative; min-height: 660px; max-width: 500px; }
.phone--child { position: absolute; left: 0; top: 0; background: #5c1735; border-color: #5c1735; min-height: 570px; box-shadow: 0 20px 45px rgb(86 14 43 / .25); }
.solve-header { margin-top: 2rem; font-size: .95rem; }.progress { display: flex; gap: .35rem; margin: 2rem 0 1.2rem; }.progress i { width: 24px; height: 5px; border-radius: 999px; background: #8b5770; }.progress .active { background: #fff; }
.solve-problem { font-size: 2.45rem; font-weight: 800; line-height: 1.2; margin: 0 0 1.1rem; letter-spacing: -.06em; }.answer-box { min-height: 115px; background: #fff; color: #5b5556; border-radius: 17px; padding: 1rem; position: relative; }.answer-box span { font-size: .85rem; }.answer-box b { position: absolute; font-size: 2.3rem; color: #1e1a1a; left: 46%; top: 31%; font-family: cursive; transform: rotate(-5deg); }.hint-button { color: #fff; padding: .85rem 0 .45rem; background: transparent; border: 0; font-weight: 800; }.hint-copy { margin: .35rem 0 .8rem; padding: .65rem .8rem; background: #7c3250; border-radius: 10px; font-size: .82rem; }.solve-actions { display: flex; gap: .55rem; margin-top: .5rem; }.solve-actions button { min-height: 2.9rem; border-radius: 999px; border: 0; padding: 0 .85rem; font-weight: 800; }.solve-actions button:first-child { background: transparent; color: #fff; border: 1px solid #b8859a; }.mock-next { flex: 1; background: #f25889; color: #260714; }
.result-card { position: absolute; right: 0; bottom: 0; width: 230px; padding: 1.15rem; background: #fffdfd; border-radius: 20px; box-shadow: 0 16px 30px rgb(57 18 34 / .14); }.result-card p, .result-card span { display: block; margin: 0; }.result-card p, .result-card span { font-size: .78rem; }.result-card strong { display: block; font-size: 2rem; letter-spacing: -.07em; margin: .2rem 0; }.complete-mark { position: absolute; right: -1rem; bottom: -1.4rem; font-size: 4rem; font-weight: 900; letter-spacing: -.12em; color: var(--berry); opacity: 0; transform: scale(.9); }

.closing { min-height: 96dvh; display: grid; place-items: center; gap: clamp(5rem, 11vw, 10rem); padding-bottom: clamp(7rem, 14vw, 12rem); text-align: center; }.completion-sequence { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 2vw, 2rem); width: min(100%, 760px); }.completion-step { min-width: 125px; }.completion-step strong, .completion-step span { display: block; }.completion-step strong { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1; letter-spacing: -.09em; }.completion-step span { color: var(--muted); margin-top: .6rem; font-size: .85rem; font-weight: 700; }.completion-arrow { color: var(--berry); font-size: 1.45rem; }.completion-step--one { padding: 1.1rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; }.completion-step--one strong { font-size: clamp(1.9rem, 4vw, 3.2rem); }.one-problem { display: flex; justify-content: space-between; gap: .75rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 800; }.one-problem b { color: var(--berry); }.completion-step--zero { min-width: 145px; }.completion-step--zero strong { color: var(--berry); font-size: clamp(4rem, 9vw, 7.5rem); }.closing-copy { max-width: 620px; }.closing-copy > p:first-child { font-size: clamp(1.45rem, 3vw, 2.25rem); margin-bottom: 0; }.closing h2 { margin: .2rem 0 2.5rem; }.closing img { border-radius: 22%; box-shadow: 0 8px 20px rgb(0 0 0 / .12); }.brand-line { margin: 1.5rem 0 0; font-weight: 700; }
.legal-page { width: min(100% - 2.5rem, 720px); margin: clamp(4rem, 11vw, 8rem) auto; }.legal-page h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); }.legal-page .lead { margin-bottom: 4rem; }.legal-page section { border-top: 1px solid var(--line); padding: 1.65rem 0; }.legal-page section h2 { font-size: 1.3rem; letter-spacing: -.04em; margin-bottom: .7rem; }.legal-page section p { color: #443d3e; }.legal-page code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--mist); border-radius: .25rem; padding: .08rem .24rem; }.back-link { margin-top: 3rem; }.back-link a { color: var(--berry); font-weight: 700; }

.scene-reveal { opacity: 1; transform: none; transition: opacity 500ms ease, transform 500ms ease; }.motion-enabled .scene-reveal { opacity: 0; transform: translateY(18px); }.scene-reveal.is-visible { opacity: 1; transform: none; }
[data-scene] > * { transition: opacity 420ms ease, transform 420ms ease; }
.capture-story.is-visible .camera-frame { animation: frame-settle 540ms ease both; }.capture-story.is-visible .registered-task { opacity: 1; transform: none; }.registered-task { opacity: 0; }
.reduce-stage.is-reduced .problem-pile i:nth-of-type(n + 4) { opacity: 0; transform: scale(.8) translateY(12px); }.reduce-stage.is-reduced .child-card { transform: translateY(-8px); }.motion-enabled .reduce-stage .reduction-number, .motion-enabled .reduce-stage .reduction-flow > b { opacity: 0; transform: translateY(12px); }.motion-enabled .reduce-stage.is-reduced .reduction-number, .motion-enabled .reduce-stage.is-reduced .reduction-flow > b { animation: sequence-in 420ms ease forwards; }.motion-enabled .reduce-stage.is-reduced .reduction-number:nth-of-type(3) { animation-delay: 90ms; }.motion-enabled .reduce-stage.is-reduced .reduction-number:nth-of-type(5) { animation-delay: 180ms; }.motion-enabled .reduce-stage.is-reduced .reduction-number:nth-of-type(7) { animation-delay: 270ms; }
.solve-demo.is-complete .complete-mark { opacity: 1; transform: none; }.solve-demo.is-complete .result-card { opacity: 0; transform: scale(.94); }
 .motion-enabled .completion-sequence > * { opacity: 0; transform: translateY(12px); }.motion-enabled .completion-sequence.is-visible > * { animation: sequence-in 420ms ease forwards; }.motion-enabled .completion-sequence.is-visible > :nth-child(2) { animation-delay: 90ms; }.motion-enabled .completion-sequence.is-visible > :nth-child(3) { animation-delay: 180ms; }.motion-enabled .completion-sequence.is-visible > :nth-child(4) { animation-delay: 270ms; }.motion-enabled .completion-sequence.is-visible > :nth-child(5) { animation-delay: 360ms; }
@keyframes frame-settle { from { transform: rotate(4deg) scale(.95); opacity: .4; } to { transform: rotate(4deg); opacity: 1; } }
@keyframes sequence-in { to { opacity: 1; transform: none; } }

@media (max-width: 760px) { .site-header { width: 100%; padding-top: 1rem; }.site-header .beta-cta { display: none; }.section { width: 100%; min-height: auto; padding-block: 6rem; }.hero, .capture, .reduce, .solve { display: block; }.hero { padding-top: 4.5rem; }.hero-copy { width: calc(100vw - 2.5rem); min-width: 0; }.hero h1 { max-width: 100%; font-size: 2.5rem; word-break: normal; }.hero .lead { width: 100%; word-break: normal; }.narrow-break { display: inline; }.hero-capture { margin-top: 3.5rem; }.section-intro { margin-bottom: 3rem; }.section-intro h2 { font-size: clamp(2.1rem, 10vw, 2.55rem); }.capture-story { min-height: 330px; }.camera-frame { right: 1%; }.reduce-stage { min-height: 590px; }.problem-pile { left: 0; top: 0; width: 175px; }.problem-pile i { height: 33px; }.reduction-flow { top: 215px; right: 0; bottom: auto; left: 0; justify-content: center; gap: .28rem; }.reduction-flow > b { font-size: 1rem; }.reduction-number strong { font-size: 1.4rem; }.reduction-number--start strong { font-size: 3.15rem; }.reduction-number--final strong { font-size: 2.7rem; }.child-card { width: min(88%, 310px); }.solve-demo { min-height: 650px; }.phone--child { width: 312px; }.result-card { right: 0; bottom: 0; }.closing { gap: 5rem; }.completion-sequence { flex-direction: column; }.completion-arrow { transform: rotate(0deg); }.completion-step { width: min(100%, 300px); }.site-footer { display: block; }.site-footer nav { margin-top: .6rem; } }
@media (max-width: 390px) { h1 { font-size: 2.9rem; }.phone { width: 100%; }.phone--child { width: calc(100% - 20px); }.child-card { width: 84%; }.camera-frame { width: 220px; }.worksheet-card { width: 190px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.scene-reveal, [data-scene] > * { transition: none; }.motion-enabled .scene-reveal, .scene-reveal { opacity: 1; transform: none; }.registered-task { opacity: 1; transform: none; }.complete-mark { transition: none; }.capture-story.is-visible .camera-frame { animation: none; } }
