﻿/* Shared design tokens keep every surface readable in both themes. */
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --surface: #ffffff;
  --ink: #202b26;
  --muted: #59655e;
  --line: #dedfd7;
  --soft: #efefe8;
  --accent: #b93e2b;
  --accent-hover: #963020;
  --accent-soft: #fce8df;
  --on-accent: #ffffff;
  --lime: #e5f69b;
  --on-lime: #28331b;
  --talk: #e8edff;
  --share: #e0f2e9;
  --draw: #f9e9d7;
  --demo: #f0f0e8;
  --stage: #e1e6d8;
  --header: #faf9f6ed;
  --shadow: 0 20px 55px #24362c12;
  --focus: #5953bc;
  --error: #ad3028;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141917;
  --surface: #1d2521;
  --ink: #f3f4eb;
  --muted: #b6c2b9;
  --line: #38443d;
  --soft: #27322b;
  --accent: #ff9e84;
  --accent-hover: #ffb7a3;
  --accent-soft: #3b2b25;
  --on-accent: #291c15;
  --talk: #292e45;
  --share: #203c32;
  --draw: #413329;
  --demo: #1a221d;
  --stage: #2c3930;
  --header: #141917ed;
  --shadow: 0 20px 55px #0003;
  --focus: #bdb4ff;
  --error: #ffab9a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }
:where(a, button, summary, input, textarea, select, video, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
::selection { background: var(--lime); color: var(--on-lime); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font); text-wrap: balance; }
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.section-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.upgrade-banner { padding-block: 14px; background: var(--accent-soft); color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.upgrade-banner a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.update-status { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.update-section { margin-top: 36px; }
.update-section h2 { margin-bottom: 12px; font-size: 25px; font-weight: 700; line-height: 1.35; }
.update-section p + p { margin-top: 16px; }
.update-section ul { list-style: disc; padding-left: 1.4em; }
.update-section li + li { margin-top: 12px; }
.eyebrow, .page-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.7;
  text-transform: uppercase;
}
.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 100;
  padding: 12px 20px; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--header); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  min-height: 88px; width: min(1380px, calc(100% - 64px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-dot { color: var(--accent); }
.desktop-nav { display: flex; gap: 28px; align-items: center; font-size: 15px; font-weight: 700; }
.desktop-nav a { padding-block: 12px; }
.desktop-nav a:hover, .site-footer a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  min-height: 56px; padding: 15px 24px; border: 1px solid transparent; border-radius: 16px;
  font-size: 16px; font-weight: 800; line-height: 1.4;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.button .icon { width: 20px; height: 20px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 0 #00000012; }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 6px 0 #00000012; }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--soft); }
.button-small { min-height: 46px; padding: 12px 18px; font-size: 15px; border-radius: 13px; }
.button-text { background: transparent; padding-inline: 4px; }
.button-text:hover { color: var(--accent); }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 94px; min-height: 46px; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: 13px;
  color: var(--ink); background: var(--surface); font-size: 14px; font-weight: 700;
  transition: background .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--soft); border-color: var(--muted); }
.theme-toggle .icon { width: 19px; height: 19px; }
.theme-icon-light, .theme-icon-dark { display: flex; }
:root:not([data-theme="dark"]) .theme-icon-dark,
:root[data-theme="dark"] .theme-icon-light { display: none; }
.mobile-nav { display: none; }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 42px; padding-block: 72px 66px;
}
.hero-copy { min-width: 0; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 8px 13px; background: var(--soft); border-radius: 9px;
}
.eyebrow-dot { width: 8px; height: 8px; display: inline-block; background: var(--accent); border-radius: 50%; }
.hero h1 { font-size: clamp(64px, 6.6vw, 96px); font-weight: 800; line-height: 1.08; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 em, .demo-heading em { color: var(--accent); font-weight: 800; font-style: italic; }
.hero h1 em { position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 5%; right: 0; bottom: -3px;
  height: 6px; border-radius: 50%; background: currentColor; transform: rotate(-4deg);
}
.hero-spark { display: inline-flex; margin-left: 17px; vertical-align: top; padding-top: 8px; color: var(--accent); transform: rotate(10deg); }
.hero-spark .icon { width: 42px; height: 42px; }
.hero-description { font-size: 20px; line-height: 1.8; max-width: 510px; margin-top: 30px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.hero-actions .button-text { flex-basis: 100%; justify-content: flex-start; min-height: 44px; padding-block: 6px; }
.hero-platforms { font-size: 14px; color: var(--muted); margin-top: 19px; }
.hero-platforms span { padding-inline: 7px; }
.hero-visual { position: relative; min-width: 0; height: 580px; isolation: isolate; }
.hero-orbit {
  position: absolute; inset: 20px 0 35px; z-index: -1; background-color: var(--soft);
  background-image: radial-gradient(var(--line) 1.5px, transparent 1.5px); background-size: 20px 20px;
  border: 1px solid var(--line); border-radius: 130px 130px 32px 32px; transform: rotate(3deg);
}
.device-frame { border: 6px solid #26372e; border-radius: 26px; overflow: hidden; background: #eef0ea; box-shadow: 0 24px 36px #10201925; }
.device-frame img { width: 100%; }
.hero-tablet { position: absolute; width: 290px; left: 12px; top: 123px; transform: rotate(-9deg); border-width: 7px; border-radius: 22px; }
.hero-phone { position: absolute; width: 230px; right: 35px; top: 25px; transform: rotate(7deg); border-radius: 29px; }
.hero-sticker {
  position: absolute; left: 14px; top: 31px; display: block; background: var(--lime); color: var(--on-lime);
  font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.7px;
  padding: 17px 22px; border-radius: 8px; transform: rotate(-10deg); box-shadow: 3px 5px 0 #17251814;
}
.hero-sticker > span { position: absolute; right: -19px; bottom: -15px; font-size: 36px; transform: rotate(9deg); color: var(--ink); }
.hero-note {
  position: absolute; right: 0; bottom: 50px; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 12px 16px;
  font-size: 14px; font-weight: 800; box-shadow: var(--shadow); transform: rotate(4deg);
}
.hero-note .icon { color: var(--accent); width: 21px; }
.hero-visual-caption { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: 13px; color: var(--muted); }
.quick-strip {
  display: flex; justify-content: space-around; gap: 20px; padding: 25px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
}
.quick-strip span { display: flex; align-items: center; gap: 13px; font-size: 17px; font-weight: 700; }
.quick-strip .icon { color: var(--accent); width: 24px; height: 24px; }
.how-section { padding-block: 100px 86px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 16px; color: var(--accent); }
.section-heading h2, .download-intro h2 { font-size: clamp(34px, 3.7vw, 50px); font-weight: 800; letter-spacing: -.045em; line-height: 1.18; }
.section-heading > p { max-width: 370px; font-size: 18px; line-height: 1.8; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { border: 1px solid var(--line); border-radius: 26px; overflow: hidden; position: relative; min-width: 0; }
.feature-talk { background: var(--talk); }
.feature-share { background: var(--share); }
.feature-draw { background: var(--draw); }
.feature-copy { padding: 30px 28px 0; }
.step-label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.feature h3 { font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -.8px; margin-top: 18px; }
.feature p { font-size: 17px; line-height: 1.75; margin-top: 13px; color: var(--muted); }
.feature-screen { margin: 28px auto 0; width: 180px; height: 280px; overflow: hidden; border: 5px solid #33473b; border-bottom: 0; border-radius: 23px 23px 0 0; background: #eef0ea; box-shadow: var(--shadow); }
.feature-screen img { width: 100%; }
.drawing-screen { margin: 48px 22px 0; border: 5px solid #526053; border-radius: 10px; overflow: hidden; transform: rotate(-5deg); box-shadow: var(--shadow); }
.drawing-screen img { width: 100%; }
.drawing-note { display: block; font-size: 16px; font-weight: 700; text-align: center; margin: 30px 16px 35px; transform: rotate(-4deg); }
.teacher-note { display: flex; align-items: center; gap: 20px; margin-top: 24px; background: var(--surface); border: 1px solid var(--line); padding: 24px 30px; border-radius: 20px; }
.teacher-note-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--lime); color: var(--on-lime); flex-shrink: 0; }
.teacher-note p { font-size: 17px; line-height: 1.8; }
.teacher-note strong { font-weight: 800; }
.teacher-note > img { display: none; }
.demo-section { background: var(--demo); padding-block: 85px 48px; border-block: 1px solid var(--line); }
.platform-tabs { display: flex; width: fit-content; max-width: 100%; gap: 5px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 32px; }
.platform-tab { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 16px; font-weight: 700; line-height: 1.5; padding: 13px 23px; min-height: 48px; border: 0; border-radius: 12px; color: var(--muted); background: transparent; transition: background .15s; }
.platform-tab .icon { width: 20px; height: 20px; }
.platform-tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.platform-tab:hover:not([aria-selected="true"]) { background: var(--soft); color: var(--ink); }
.demo-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 75px; align-items: center; }
.demo-stage { height: 590px; background: var(--stage); border: 1px solid var(--line); border-radius: 28px; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden; }
.demo-player { position: relative; height: 100%; max-width: 100%; aspect-ratio: var(--video-ratio); border-radius: 14px; overflow: hidden; background: #17271f; box-shadow: 0 18px 40px #0002; }
.demo-player video { width: 100%; height: 100%; display: block; object-fit: contain; aspect-ratio: var(--video-ratio); background: #17271f; }
.video-start { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; border: 0; background: #1d312827; font-size: 15px; font-weight: 800; }
.play-disc { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--lime); color: var(--on-lime); transition: transform .2s; }
.play-disc svg { width: 29px; height: 29px; }
.video-start:hover .play-disc { transform: scale(1.08); }
.video-start > span:last-child { background: #203c32; padding: 9px 14px; border-radius: 100px; }
.play-duration { font-weight: 500; color: #d2dec8; }
.demo-copy { max-width: 430px; }
.demo-badge { display: inline-flex; gap: 12px; font-size: 14px; font-weight: 800; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 7px 12px; }
.demo-badge span { color: var(--muted); font-weight: 600; }
.demo-copy h3 { font-size: 39px; line-height: 1.22; font-weight: 800; letter-spacing: -1.6px; margin-top: 23px; }
.demo-copy > p { font-size: 18px; color: var(--muted); line-height: 1.8; margin-top: 21px; }
.demo-points { padding: 0; margin: 26px 0; list-style: none; display: grid; gap: 14px; font-size: 16px; }
.demo-points li { display: flex; align-items: center; gap: 11px; }
.demo-points .icon { width: 20px; height: 20px; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; border-bottom: 1px solid var(--muted); padding-bottom: 5px; }
.text-link:hover { color: var(--accent); }
.text-link .icon { width: 20px; height: 20px; }
.demo-windows { grid-template-columns: 1.5fr 1fr; gap: 45px; }
.demo-windows .demo-stage { height: 440px; padding: 20px; }
.demo-windows .demo-player { width: 100%; height: auto; aspect-ratio: 16/9; border-radius: 8px; }
.demo-windows .demo-copy h3 { font-size: 34px; }
.demo-footnote { margin-top: 30px; font-size: 14px; color: var(--muted); text-align: center; }
.video-error { color: var(--error) !important; }
.no-js-demos { margin-top: 20px; }
.no-js-demos a { text-decoration: underline; }
.download-section { padding-block: 100px 70px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 50px; }
.download-intro .eyebrow { margin-bottom: 20px; color: var(--accent); }
.download-intro h2 { font-size: 60px; }
.download-intro > p:last-child { font-size: 18px; line-height: 1.8; color: var(--muted); margin-top: 24px; }
.download-art { width: 100%; border-radius: 28px; }
.download-grid { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 45px; }
.download-card { display: flex; align-items: center; gap: 13px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 24px 20px; transition: background .2s, transform .2s, border-color .2s; }
.download-card:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-4px); }
.download-card > .icon:first-child { width: 25px; height: 25px; color: var(--accent); }
.download-card > .icon:last-child { margin-left: auto; width: 20px; height: 20px; }
.download-card strong { display: block; font-size: 17px; font-weight: 800; }
.download-card small { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.download-note { grid-column: 1/-1; margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; }
.site-footer { background: var(--soft); border-top: 1px solid var(--line); }
.footer-top { padding-block: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top .brand { font-size: 17px; }
.footer-top > p { font-size: 14px; color: var(--muted); }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; font-weight: 600; }
.footer-top nav a { padding-block: 10px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.page-wrap { padding-block: 80px; min-height: 65vh; max-width: 900px; }
.page-kicker { color: var(--accent); }
.page-title { font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.2; margin: 18px 0; }
.page-lede { font-size: 20px; line-height: 1.8; color: var(--muted); max-width: 720px; margin-bottom: 35px; }
.page-wrap a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.faq-list { display: grid; gap: 14px; margin-top: 40px; }
.faq-item { border: 1px solid var(--line); border-radius: 17px; padding: 24px; background: var(--surface); }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { font-weight: 800; cursor: pointer; font-size: 18px; list-style: none; padding-right: 32px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: -3px; font-size: 25px; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { font-size: 17px; line-height: 1.85; color: var(--muted); margin-top: 17px; }
.faq-contact { margin-top: 40px; font-size: 18px; }
.faq-contact .button { margin-top: 14px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.contact-email { font-size: clamp(19px, 4vw, 25px); font-weight: 700; margin-top: 28px; overflow-wrap: anywhere; }
.contact-privacy { margin-top: 50px; font-size: 18px; line-height: 1.8; color: var(--muted); }
.contact-privacy h2 { color: var(--ink); font-size: 28px; font-weight: 800; margin-bottom: 15px; }
@media (max-width: 1150px) {
  .section-wrap { width: calc(100% - 64px); }
  .nav-wrap { width: calc(100% - 48px); gap: 16px; }
  .desktop-nav { gap: 18px; font-size: 14px; }
  .brand { font-size: 17px; }
  .hero { gap: 28px; }
  .hero h1 { font-size: 70px; }
  .hero-spark { margin-left: 10px; }
  .hero-spark .icon { width: 30px; height: 30px; }
  .hero-visual { height: 520px; }
  .hero-phone { width: 204px; right: 24px; }
  .hero-tablet { width: 250px; left: 6px; top: 128px; }
  .hero-sticker { font-size: 18px; padding: 15px 18px; }
  .hero-description { font-size: 19px; }
  .feature-copy { padding-inline: 23px; }
  .feature h3 { font-size: 24px; }
  .section-heading { gap: 35px; }
  .section-heading > p { max-width: 320px; }
  .demo-panel { gap: 40px; }
  .demo-copy h3 { font-size: 34px; }
  .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { flex-wrap: wrap; }
  .footer-top > p { flex: 1; text-align: right; }
  .footer-top nav { width: 100%; }
}
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; list-style: none; background: var(--surface); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 20px; height: 2px; background: var(--ink); }
  .mobile-nav nav { position: absolute; top: calc(100% + 8px); right: 24px; left: 24px; display: grid; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .mobile-nav nav a { padding: 12px 16px; font-size: 17px; font-weight: 700; border-radius: 10px; }
  .mobile-nav nav a:hover { background: var(--soft); }
  .hero h1 { font-size: 60px; }
  .hero-spark { margin-left: 8px; }
  .hero-spark .icon { width: 26px; height: 26px; }
  .hero-visual { height: 470px; }
  .hero-phone { width: 180px; right: 18px; }
  .hero-tablet { width: 215px; top: 125px; }
  .hero-sticker { font-size: 16px; }
  .hero-note { bottom: 48px; font-size: 12px; padding: 10px 12px; }
  .hero-visual-caption { font-size: 12px; }
  .quick-strip { padding-inline: 20px; }
  .quick-strip span { font-size: 15px; gap: 9px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-draw { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-bottom: 28px; }
  .feature-draw .drawing-screen { margin: 32px 24px 0; }
  .feature-draw .drawing-note { display: none; }
  .demo-windows { grid-template-columns: 1fr; }
  .demo-windows .demo-stage { height: auto; aspect-ratio: 16/10; }
  .demo-windows .demo-copy { max-width: 660px; }
}
@media (max-width: 760px) {
  .section-wrap { width: calc(100% - 40px); }
  .nav-wrap { width: calc(100% - 40px); min-height: 78px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 36px; text-align: center; }
  .hero h1 { font-size: clamp(62px, 10vw, 82px); }
  .hero-spark .icon { width: 34px; height: 34px; }
  .hero .eyebrow { margin-bottom: 22px; }
  .hero-description { font-size: 19px; max-width: 520px; margin: 28px auto 0; }
  .hero-actions { justify-content: center; margin-top: 26px; }
  .hero-actions .button-text { justify-content: center; }
  .hero-platforms { margin-top: 14px; }
  .hero-visual { width: 100%; max-width: 490px; height: 550px; margin-inline: auto; text-align: left; }
  .hero-phone { width: 220px; right: 35px; }
  .hero-tablet { width: 275px; left: 13px; top: 127px; }
  .hero-sticker { font-size: 19px; top: 38px; left: 12px; }
  .hero-note { font-size: 14px; bottom: 54px; }
  .hero-visual-caption { font-size: 13px; }
  .quick-strip { gap: 18px; flex-wrap: wrap; justify-content: center; }
  .quick-strip span { font-size: 16px; }
  .how-section { padding-block: 65px 60px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading > p { max-width: 540px; margin-top: 20px; }
  .feature-grid { gap: 16px; }
  .feature h3 { font-size: 25px; }
  .feature-copy { padding: 26px 22px 0; }
  .teacher-note { padding: 22px; align-items: flex-start; gap: 15px; }
  .teacher-note strong { display: block; }
  .demo-section { padding-block: 60px 35px; }
  .platform-tabs { width: 100%; }
  .platform-tab { flex: 1; padding: 12px 10px; font-size: 15px; }
  .demo-panel { grid-template-columns: 1fr; gap: 32px; }
  .demo-stage { height: 540px; }
  .demo-copy { max-width: 600px; }
  .demo-copy h3 { font-size: 34px; max-width: 520px; }
  .download-section { grid-template-columns: 1fr; gap: 30px; padding-block: 65px 50px; }
  .download-intro { text-align: center; }
  .download-intro h2 { font-size: 50px; }
  .download-art { max-width: 520px; margin: auto; }
  .download-grid { margin-top: 0; gap: 14px; }
  .download-note { margin: 0; }
  .footer-top { gap: 20px; }
  .footer-top > p { flex: auto; text-align: left; }
  .footer-top nav { gap: 22px; }
  .page-wrap { padding-block: 55px; }
}
@media (max-width: 600px) {
  .nav-actions > .button-small { display: none; }
  .nav-wrap { gap: 10px; }
  .brand { font-size: 17px; }
  .nav-actions { gap: 8px; }
  .theme-toggle { min-width: 46px; padding: 10px; }
  .theme-toggle-label { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-draw { grid-column: auto; display: block; }
  .feature-copy { padding: 28px 26px 0; }
  .feature h3 { font-size: 27px; }
  .feature p { font-size: 18px; }
  .feature-screen { width: 190px; height: 300px; }
  .feature-draw .drawing-screen { margin: 32px 28px 0; }
  .feature-draw .drawing-note { display: block; margin-bottom: 10px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { padding: 23px 25px; gap: 16px; }
  .download-card strong { font-size: 18px; }
  .download-card small { font-size: 14px; }
}
@media (max-width: 420px) {
  .section-wrap { width: calc(100% - 36px); }
  .nav-wrap { width: calc(100% - 28px); }
  .brand { font-size: 15px; gap: 7px; letter-spacing: -.6px; }
  .brand img { width: 29px; height: 29px; }
  .hero { padding-top: 36px; }
  .hero .eyebrow { font-size: 12px; }
  .hero h1 { font-size: clamp(52px, 15.5vw, 65px); }
  .hero-spark { margin-left: 7px; }
  .hero-spark .icon { width: 27px; height: 27px; }
  .hero-description { font-size: 18px; }
  .desktop-break { display: none; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 16px; gap: 9px; font-size: 15px; }
  .hero-platforms { font-size: 13px; }
  .hero-platforms span { padding-inline: 4px; }
  .hero-visual { height: 450px; }
  .hero-phone { width: 178px; right: 21px; }
  .hero-tablet { width: 215px; left: 7px; top: 111px; border-width: 5px; }
  .hero-sticker { font-size: 15px; left: 5px; top: 27px; padding: 13px 17px; }
  .hero-note { font-size: 12px; padding: 9px 11px; bottom: 48px; }
  .hero-visual-caption { font-size: 12px; }
  .quick-strip { flex-direction: column; align-items: center; gap: 16px; padding-block: 23px; }
  .quick-strip span { min-width: 190px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading .eyebrow { font-size: 12px; }
  .teacher-note { padding: 22px 18px; gap: 13px; }
  .teacher-note-icon { width: 38px; height: 38px; }
  .platform-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
  .platform-tab { font-size: 15px; }
  .demo-stage { height: 500px; padding: 18px; }
  .demo-copy h3, .demo-windows .demo-copy h3 { font-size: 31px; letter-spacing: -1px; }
  .demo-windows .demo-stage { padding: 12px; }
  .download-intro h2 { font-size: 44px; }
  .footer-top { display: grid; justify-content: center; text-align: center; }
  .footer-top .brand { justify-content: center; }
  .footer-top > p { text-align: center; }
  .footer-top nav { justify-content: center; gap: 20px; }
  .footer-bottom { flex-direction: column; gap: 7px; text-align: center; }
  .page-title { font-size: 36px; }
  .page-lede { font-size: 18px; }
  .faq-item { padding: 22px 19px; }
  .contact-actions .button { width: 100%; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; }
  .brand img { width: 26px; height: 26px; }
  .nav-actions { gap: 5px; }
  .hero-phone { width: 162px; right: 16px; }
  .hero-tablet { width: 195px; top: 107px; }
  .hero-visual { height: 425px; }
  .hero-visual-caption { max-width: 250px; left: 50%; transform: translateX(-50%); line-height: 1.6; }
  .hero-note { bottom: 57px; }
}
/* Preserve the older utility-based routes within the shared theme. */
.legacy-page [class*="bg-gradient-to-br"] { background-image: none; background-color: var(--soft); }
.legacy-page :is([class*="bg-white"], .bg-blue-50, .bg-blue-100, .bg-green-50, .bg-gray-50) { background-color: var(--surface); }
.legacy-page :is(.text-gray-900, .text-gray-700) { color: var(--ink); }
.legacy-page :is(.text-gray-600, .text-gray-500) { color: var(--muted); }
.legacy-page :is(.text-blue-600, .text-blue-800) { color: var(--accent); }
.legacy-page .text-red-600 { color: var(--error); }
:root[data-theme="dark"] .legacy-page :is(.text-green-600, .text-green-800) { color: #a5dfa9; }
.legacy-page :is([class*="border-gray"], [class*="border-blue"], [class*="border-green"]) { border-color: var(--line); }
.legacy-page :is(input, select)::placeholder { color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .legacy-page .animate-fade-in-up { opacity: 1; transform: none; }
}
