@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&display=swap');

/* Nature-inspired marketing theme. Shared with the standalone mobile site. */
:root {
  --font-brand: "Nunito", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --ink: #0a1f2d;
  --ink-soft: #3c5058;
  --muted: #59696d;
  --paper: #fcf8ef;
  --cream: #f6f0e1;
  --leaf: #a9d8a4;
  --forest: #365b46;
  --gold: #f3c969;
  --lavender: #d9ccf8;
  --sky-50: #f3f7f9;
  --sky-100: #eff5fb;
  --sky-200: #dceafa;
  --sky-300: #bad5f0;
  --sky-400: #73a9df;
  --sky-500: #1678d4;
  --sky-600: #0968bf;
  --green: #e4efdd;
  --green-deep: #365e36;
  --yellow: #f9e6b4;
  --peach: #f7e9d6;
  --border: #e4dccb;
  --shadow-sm: 0 4px 18px #68542b0a, 0 1px 3px #68542b08;
  --shadow-lg: 0 20px 55px #68542b14;
  --shadow: var(--shadow-lg);
}
body { background: var(--paper); font-family: var(--font-brand); }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-brand); }
h1, h2 { font-weight: 900 !important; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
h3, h4, h5, h6 { font-weight: 800; letter-spacing: -.025em; line-height: 1.25; }
p { text-wrap: pretty; }
.site-header, .topbar { background: #fcf8eff5; border-bottom: 1px solid var(--border); }
.site-header.scrolled, .topbar.scrolled { box-shadow: 0 4px 18px #68542b0a; }
.eyebrow, .kicker, .breadcrumb { color: var(--forest); letter-spacing: .12em; font-weight: 700; }
.eyebrow { border-color: #d9dfc9; background: #f1f4e7; }
.button, .d-ai-panel button, .ai-card > button {
  color: #fff; background: linear-gradient(#1678d4, #0968bf); border: 1px solid #0968bf;
  border-radius: 10px; box-shadow: 0 2px 3px #154f7d1a, inset 0 1px 0 #ffffff30;
  font-weight: 700; min-height: 48px; transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.button:hover, .d-ai-panel button:hover, .ai-card > button:hover { background: #07599f; box-shadow: 0 4px 12px #154f7d20; transform: none; }
.button:active { background: #07487e; transform: translateY(1px); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.button-secondary, .hero .install-now, .d-button-outline, .button-outline-light {
  background: #fffdf8; color: var(--sky-600); border: 1px solid #aac7e3; box-shadow: none;
}
.button-secondary:hover, .hero .install-now:hover, .d-button-outline:hover, .button-outline-light:hover { background: var(--sky-100); color: var(--sky-600); }
.quiet-link { color: var(--sky-600); }
:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 4px; }
.d-story-hero, .hero, .page-hero {
  background-color: var(--paper);
  background-image: url('assets/meadow.svg'), radial-gradient(ellipse at 82% 42%, #e8efd7 0, transparent 45%);
  background-position: center bottom, center;
  background-size: 100% auto, cover;
  background-repeat: no-repeat;
}
.d-story-hero { min-height: 740px; padding: 152px 0 120px; }
.d-story-hero-grid { grid-template-columns: 1.04fr .96fr; gap: 56px; }
.d-story-hero h1 { font-size: clamp(3.8rem, 6.2vw, 5.9rem); }
.d-story-hero h1 span, .hero h1 span, .page-hero h1 em { color: var(--forest); }
h1 span::after { display: none; }
.d-story-hero-copy > p { max-width: 520px; font-size: 17px; line-height: 1.8; }
.owl-scene { position: relative; margin: 0; min-width: 0; display: grid; justify-items: center; padding: 0 8px 28px; }
.owl-scene > img { width: min(100%, 400px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 18px #5e522019); }
.owl-scene figcaption { margin-top: 5px; color: var(--forest); font-family: var(--font-brand); font-size: 20px; font-style: italic; font-weight: 700; text-align: center; }
.owl-note { position: absolute; left: -6px; bottom: 55px; padding: 14px 19px; border: 1px solid var(--border); border-radius: 14px; background: #fffdf8f5; box-shadow: var(--shadow-lg); transform: rotate(-3deg); font-size: 12px; }
.owl-note strong, .owl-note span { display: block; }
.owl-note strong { color: var(--forest); font-size: 15px; }
.owl-note span { color: var(--muted); margin-top: 3px; }
.d-proof, .quick-proof { background: #fffdf8; }
.d-proof-grid > div { min-height: 90px; }
.d-proof-grid strong { color: var(--forest); }
.d-story-section { padding: 88px 0; }
.d-story-heading { max-width: 740px; margin-bottom: 38px; }
.d-story-heading h2 { font-size: clamp(2.4rem, 3.8vw, 3.7rem); }
.d-problem, .problem-story, .d-experience, .natural-section, .d-progress, .requirements-section, .page-section { background: var(--paper); }
.d-library, .subject-section, .d-requirements, .progress-section, .page-section-soft { background: #f1f3e9; border-block: 1px solid var(--border); }
.d-problem-grid li, .problem-list li, .d-experience-grid article, .experience-groups article,
.d-requirements-grid li, .requirements-list li, .d-worksheet-grid article, .subject-card,
.d-progress-card, .d-progress-detail, .progress-card, .subject-progress article,
.page-card, .contact-form, .price-card, .hero-panel, .step-list li, .role-card {
  border: 1px solid var(--border); border-radius: 18px; background: #fffdf9; box-shadow: var(--shadow-sm);
}
.d-problem-grid li { min-height: 225px; }
.d-problem-grid li > span, .problem-list li > span { background: #f7edda; color: #89612b; border-radius: 50%; }
.d-problem-grid li:nth-child(even) > span, .problem-list li:nth-child(even) > span { background: #e7eedf; color: var(--forest); }
.d-experience-grid article { min-height: 320px; }
.d-experience-grid article > span, .experience-icon, .d-requirements-grid li > span, .requirements-list li > span, .page-icon { border-radius: 50%; }
.d-experience-grid article:nth-child(3) > span, .experience-groups article:nth-child(3) .experience-icon { background: #eee7fa; color: #7457a3; }
.d-ai, .ai-section { color: var(--ink); background: #eaf0e2; border-block: 1px solid #d6dfca; }
.d-ai-copy .kicker, .light-heading .kicker { color: var(--forest); }
.d-ai-copy > p, .light-heading > p, .d-control-note p, .control-note { color: var(--ink-soft); }
.d-ai-copy > ul li, .ai-capabilities li { color: var(--ink-soft); border-color: #cdd8c0; background: #f8faf2; }
.d-ai-copy > ul li::before, .ai-capabilities li::before { color: var(--green-deep); }
.d-control-note, .control-note { background: #f8faf2; border-color: #cdd8c0; }
.d-control-note strong, .control-note strong { color: var(--forest); }
.d-control-note svg, .control-note svg { color: var(--forest); }
.d-ai-panel, .ai-card { border: 1px solid var(--border); background: #fffefa; box-shadow: var(--shadow-lg); border-radius: 22px; }
.d-answer, .answer-row { background: var(--sky-100); }
.d-score, .score-ring { border-color: #dfe9d7; border-top-color: #78a46c; }
.d-score strong, .score-ring strong { color: var(--forest); }
.d-worksheet-grid img { background: #eef3f6; }
.d-worksheet-grid h3 { font-size: 20px; }
.d-bars i, .bars i { background: linear-gradient(#86b5e7, #1678d4); }
.d-bars i:last-child, .bars i:last-child { background: linear-gradient(#bad4a6, #739d60); }
.d-bars i:nth-child(3), .bars i:nth-child(3) { background: linear-gradient(#e4daf5, #ac91d5); }
.d-filter-row span, .filter-chips span { background: #fffdf9; }
.d-final, .final-cta, .page-cta { color: var(--ink); background: #f5ecd8 url('assets/meadow.svg') center bottom / 100% auto no-repeat; border-top: 1px solid var(--border); padding-bottom: 108px; }
.d-final h2, .final-cta h2, .page-cta h2 { color: var(--forest); }
.d-final p, .final-cta p, .page-cta p { color: var(--ink-soft); }
.d-final .kicker, .final-cta .kicker, .d-final > .container > small, .final-cta small { color: var(--forest); }
.page-cta .button { color: #fff; background: var(--sky-600); border-color: var(--sky-600); }
.site-footer, .footer { color: var(--ink); background: #fcf8ef; border-top: 1px solid var(--border); }
.footer-logo img, .footer img { filter: none; }
.footer-brand p, .footer-links a, .footer p, .footer nav a { color: var(--muted); }
.footer-brand > a, .footer-email { color: var(--sky-600); }
.footer-brand > a { width: fit-content; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  margin-top: 8px;
  color: var(--sky-600);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.social-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
}
.social-link:hover { color: #07599f; }
.footer-brand > .social-link { display: flex; margin-top: 2px; }
.footer-bottom, .footer .copyright { color: var(--muted); border-color: var(--border); }
.footer-links a:hover { color: var(--sky-600); }
.footer-main { padding-bottom: 40px; }
.text-link { min-height: 44px; }
.form-field input, .form-field select, .form-field textarea { background: #fffefa; }
.contact-form h2 { font-size: 2.2rem !important; }
.page-hero { padding-block: 72px; }
.page-hero h1 { max-width: 800px; }
.reveal { opacity: 1; transform: none; }
.storybook-note { display: flex; align-items: center; gap: 16px; margin: 0 auto 32px; max-width: 520px; padding: 16px 22px; border: 1px solid var(--border); border-radius: 18px; background: #fffdf8; }
.storybook-note img { width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
.storybook-note p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.storybook-note strong { display: block; color: var(--forest); margin-bottom: 4px; }
.demo-section { position: relative; overflow: hidden; padding: 88px 0; background: linear-gradient(145deg, #f7f0df 0%, #fffdf8 60%, #eef5ec 100%); border-block: 1px solid var(--border); }
.demo-section::before { content: ""; position: absolute; inset: auto -8% -90px auto; width: 360px; height: 220px; background: url('assets/meadow.svg') center / contain no-repeat; opacity: .42; pointer-events: none; }
.demo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: center; gap: clamp(40px, 7vw, 96px); }
.demo-copy { max-width: 620px; }
.demo-copy h2 { margin: 13px 0 18px; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.045em; color: var(--ink); }
.demo-copy > p { margin: 0; max-width: 590px; color: var(--ink-soft); font-size: 18px; line-height: 1.75; }
.demo-points { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.demo-points li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 750; }
.demo-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf); box-shadow: inset 0 0 0 5px #e7f0df; }
.demo-phone-showcase { position: relative; width: min(100%, 390px); justify-self: center; }
.demo-player-frame { position: relative; width: 100%; padding: 10px; border: 3px solid #8d9398; border-radius: 54px; background: #07090b; box-shadow: inset 0 0 0 1px #d9dde0, inset 0 0 0 4px #15191c, 0 32px 70px rgba(21, 27, 31, .26), 0 10px 24px rgba(55, 45, 25, .2); }
.demo-player-frame::after { content: ""; position: absolute; inset: 5px; z-index: 3; border: 1px solid rgba(255,255,255,.17); border-radius: 46px; pointer-events: none; }
.phone-island { position: absolute; z-index: 4; top: 20px; left: 50%; width: 112px; height: 30px; border-radius: 18px; background: #020304; box-shadow: 0 1px 2px rgba(255,255,255,.08); transform: translateX(-50%); pointer-events: none; }
.phone-island::after { content: ""; position: absolute; right: 10px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #304e62, #0b1821 55%, #020304 70%); }
.phone-button { position: absolute; z-index: -1; width: 5px; border: 1px solid #70767b; background: linear-gradient(90deg, #5d6368, #b7bcc0); box-shadow: inset 1px 0 rgba(255,255,255,.3); }
.phone-button-action { top: 100px; left: -7px; height: 34px; border-radius: 4px 0 0 4px; }
.phone-button-volume-up { top: 154px; left: -7px; height: 62px; border-radius: 5px 0 0 5px; }
.phone-button-volume-down { top: 228px; left: -7px; height: 62px; border-radius: 5px 0 0 5px; }
.phone-button-power { top: 174px; right: -7px; height: 92px; border-radius: 0 5px 5px 0; }
.demo-player-label { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding-top: 11px; color: var(--forest); font-size: 13px; }
.demo-player-label span { color: var(--muted); font-variant-numeric: tabular-nums; }
.demo-video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 42px; background: #050708; object-fit: contain; overflow: hidden; }
@media (max-width: 920px) {
  .site-nav, .mobile-menu { background: #fcf8effc; }
  .d-story-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .owl-scene { width: min(100%, 460px); margin-inline: auto; }
  .owl-scene > img { max-width: 300px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { max-width: 680px; margin-inline: auto; text-align: center; }
  .demo-copy > p { margin-inline: auto; }
  .demo-points { width: fit-content; margin-inline: auto; text-align: left; }
}
@media (max-width: 640px) {
  .d-story-hero { padding: 118px 0 60px; }
  .d-story-hero h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
  .hero { padding: 106px 0 46px; }
  .hero h1 { font-size: clamp(2.9rem, 12.5vw, 4.2rem); }
  .hero-copy { font-size: 16px; line-height: 1.75; }
  .hero .owl-scene { margin-top: 26px; padding-bottom: 0; }
  .hero .owl-scene > img { width: 210px; }
  .owl-scene figcaption { font-size: 17px; }
  .owl-note { left: 0; bottom: 40px; font-size: 10px; padding: 10px 12px; }
  .owl-note strong { font-size: 12px; }
  .hero .owl-note { display: none; }
  .hero .button-large { max-width: 360px; margin-inline: auto; }
  .section { padding-block: 60px; }
  .section-heading h2 { font-size: clamp(2.1rem, 9vw, 3.1rem); }
  .d-story-heading h2 { font-size: 2.5rem; }
  .section-heading > p, .library-story .section-heading p { font-size: 16px; }
  .subject-card p, .experience-groups li, .problem-list p, .requirements-list p { font-size: 14px; }
  .final-cta h2 { font-size: 2.65rem; }
  .d-final, .final-cta, .page-cta { padding-block: 65px 88px; }
  .ai-capabilities li { font-size: 13px; }
  .storybook-note { padding: 14px; gap: 12px; }
  .storybook-note img { width: 62px; height: 62px; }
  .demo-section { padding-block: 62px; }
  .demo-section::before { width: 260px; opacity: .28; }
  .demo-grid { gap: 32px; }
  .demo-copy h2 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .demo-copy > p { font-size: 16px; }
  .demo-phone-showcase { width: min(100%, 330px); }
  .demo-player-frame { padding: 8px; border-radius: 48px; }
  .demo-player-frame::after { inset: 4px; border-radius: 41px; }
  .phone-island { top: 16px; width: 98px; height: 27px; }
  .phone-island::after { top: 9px; width: 8px; height: 8px; }
  .demo-video { border-radius: 39px; }
  .menu-button { background: #f0eadb; border: 1px solid var(--border); }
  .sticky-action { background: #365b46f5; }
  .install-dialog { background: var(--paper); border: 1px solid var(--border); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
