@import url('src/styles/tokens.css');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgb(255 255 255 / 55%), transparent 40%),
    radial-gradient(circle at 80% 40%, rgb(219 201 155 / 12%), transparent 35%);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px, auto, auto;
  font-family: var(--font-hand);
  font-size: 19px;
  line-height: 1.45;
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.shell { width: min(calc(100% - 48px), var(--content-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--purple); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header {
  min-height: 110px;
  display: grid;
  grid-template-columns: 238px 1fr auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: 238px; text-decoration: none; color: var(--purple); }
.brand-mark { flex: 0 0 56px; width: 56px; height: 56px; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; transform: rotate(-2deg); }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 24px; line-height: .94; letter-spacing: -1.1px; white-space: nowrap; }
.brand-base { margin-top: 4px; padding-left: 31px; font-family: var(--font-display); font-weight: 900; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.brand-base::after { content: ''; display: block; width: 116px; height: 4px; margin-top: 2px; background: var(--teal); border-radius: 50%; transform: rotate(-3deg); }
.nav-links { display: flex; justify-content: center; gap: clamp(16px, 2vw, 32px); font-weight: 700; color: var(--purple); }
.nav-links a { text-decoration: none; position: relative; padding-block: 10px; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 5px; height: 3px; background: var(--teal); transition: right .2s ease; transform: rotate(-2deg); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-links a[aria-current='page']::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-switcher { display: flex; gap: 5px; align-items: center; color: var(--ink); font-weight: 700; }
.language { border: 0; background: none; padding: 8px 2px; color: inherit; cursor: pointer; position: relative; }
.language.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: var(--teal); transform: rotate(-4deg); }
.menu-toggle { display: none; }

.button {
  border: 0;
  border-radius: var(--button-radius);
  min-height: 54px;
  padding: 13px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: white;
  background: var(--purple);
  font-family: var(--font-hand);
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 rgb(41 12 62 / 13%);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px) rotate(-.3deg); background: var(--purple-hover); box-shadow: 0 7px 0 rgb(41 12 62 / 12%); }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 4px solid color-mix(in srgb, var(--teal) 55%, white); outline-offset: 3px; }
.button svg { width: 24px; height: 24px; stroke-width: 2.5; }
.button-small { min-height: 48px; padding-inline: 22px; font-size: 17px; white-space: nowrap; }

.hero { min-height: 580px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(40px, 6vw, 82px); padding-block: 48px 62px; position: relative; }
.hero-copy { position: relative; z-index: 2; }
.hero h1, h2, h3 { margin: 0; color: var(--purple); font-family: var(--font-display); font-weight: 900; }
.hero h1 { font-size: clamp(46px, 4.7vw, 68px); line-height: .94; letter-spacing: -2px; max-width: 640px; text-wrap: balance; }
.hero-intro { max-width: 480px; margin: 24px 0 10px; font-size: clamp(22px, 2vw, 28px); line-height: 1.24; font-weight: 700; }
.hero-detail { max-width: 460px; margin: 8px 0 0; font-size: 19px; }
.scribble { color: var(--teal); width: max-content; margin: 22px 0 35px 68px; font-size: 31px; font-weight: 700; line-height: 1; transform: rotate(-4deg); position: relative; }
.scribble::after { content: ''; position: absolute; left: -8px; right: -14px; height: 5px; bottom: -10px; background: var(--teal); border-radius: 50%; transform: rotate(-2deg); }
.hero-art { position: relative; background: #faf7e9; padding: 11px; box-shadow: 0 10px 18px rgb(63 49 23 / 22%); transform: rotate(1.6deg); }
.hero-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tape { position: absolute; display: block; z-index: 3; background: rgb(221 199 142 / 76%); border: 1px solid rgb(145 118 63 / 12%); box-shadow: inset 0 0 12px rgb(255 255 255 / 45%); opacity: .88; }
.tape-left { width: 115px; height: 35px; left: -34px; top: -16px; transform: rotate(-35deg); }
.tape-right { width: 112px; height: 34px; right: -30px; top: -15px; transform: rotate(34deg); }
.doodle.star { position: absolute; color: var(--purple); font-family: var(--font-hand); font-size: 55px; font-weight: 400; }
.star-one { right: -38px; top: -84px; transform: rotate(8deg); }
.spark, .plane-doodle { position: absolute; width: 34px; height: 34px; pointer-events: none; z-index: 1; }
.spark { stroke: none; fill: currentColor; }
.plane-doodle { color: var(--teal); stroke-width: 1.7; }
.chalk-note { position: absolute; z-index: 1; pointer-events: none; font-family: var(--font-hand); font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: .01em; opacity: .82; text-shadow: 1px 1px 0 rgb(255 255 255 / 70%), -1px 0 1px currentColor; }
.chalk-note-teal { color: var(--teal); }
.chalk-note-coral { color: #b94445; }
.chalk-note-purple { color: var(--purple); }
.chalk-wonder { left: 43%; bottom: 20px; transform: rotate(-8deg); }
.spark-hero { right: 41%; bottom: 14%; color: #d29d20; }
.programs { position: relative; }
.plane-programs { left: -6px; top: 190px; transform: rotate(-18deg); }
.chalk-question { right: 8px; top: 28px; transform: rotate(7deg); }
.tutor-section { position: relative; }
.plane-tutor { right: 10px; top: 54px; color: var(--purple); transform: rotate(18deg); }
.spark-tutor { right: 7px; top: 120px; color: #d29d20; }
.process { position: relative; }
.chalk-try { right: 26px; top: 18px; transform: rotate(5deg); }
.spark-process { left: 16px; top: 125px; color: #d29d20; }
.method-hero { position: relative; }
.spark-method { right: 12%; top: 50px; color: #d29d20; }
.method-chalk { left: 7%; bottom: 46px; transform: rotate(-7deg); }
.method-example { position: relative; }
.plane-example { left: 16px; top: 172px; transform: rotate(-20deg); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid rgb(25 21 46 / 62%); border-bottom: 2px solid rgb(25 21 46 / 62%); padding-block: 20px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; padding-inline: 16px; text-align: center; font-weight: 700; color: #2d2053; }
.trust-item + .trust-item { border-left: 1px solid rgb(25 21 46 / 35%); }
.trust-item svg { flex: 0 0 39px; width: 39px; height: 39px; color: var(--purple); stroke-width: 1.8; }

.section-space { padding-block: 70px; }
.section-heading { text-align: center; max-width: 900px; margin-inline: auto; }
.section-heading h2, .tutor-copy h2 { font-size: clamp(42px, 4vw, 59px); line-height: 1; letter-spacing: -1px; }
.section-heading p { margin: 20px auto 0; max-width: 760px; font-size: 22px; font-weight: 600; }
.underline { display: block; width: 470px; max-width: 70%; height: 7px; margin: 8px auto 0; background: var(--teal); border-radius: 60%; transform: rotate(-1deg); }
.underline.short { width: 180px; }

.programs { position: relative; }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 90px); max-width: 1000px; margin: 65px auto 0; }
.paper-card { min-height: 395px; position: relative; padding: 48px 42px 34px 64px; filter: drop-shadow(0 8px 6px rgb(46 37 20 / 15%)); clip-path: polygon(1% 2%, 98% 0, 100% 96%, 95% 98%, 90% 97%, 84% 99%, 78% 97%, 72% 99%, 65% 97%, 59% 99%, 52% 97%, 45% 99%, 39% 97%, 32% 99%, 25% 97%, 18% 99%, 11% 97%, 3% 99%, 0 94%); }
.paper-blue { background: #d8e8e7; transform: rotate(-1deg); }
.paper-green { background: #e0e9d9; transform: rotate(1deg); }
.paper-card::before { content: ''; position: absolute; inset: 0; opacity: .3; pointer-events: none; background-image: linear-gradient(rgb(74 101 115 / 15%) 1px, transparent 1px); background-size: 100% 28px; }
.paper-card h3, .paper-card > * { position: relative; }
.paper-card h3 { font-size: 37px; line-height: 1; border-bottom: 5px solid var(--teal); width: max-content; max-width: 100%; padding-bottom: 5px; transform: rotate(-1deg); }
.paper-card ul { list-style: none; padding: 0; margin: 27px 0 30px; font-size: 20px; }
.paper-card li { position: relative; padding-left: 36px; margin: 9px 0; }
.paper-card li::before { content: ''; position: absolute; left: 0; top: -2px; color: var(--teal); border: 2px solid var(--teal); width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); mask: none; }
.paper-card li::after { content: ''; position: absolute; left: 5px; top: 3px; width: 13px; height: 13px; background: white; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m5 12 4 4L19 6l1.5 1.5L9 19 3.5 13.5 5 12Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.price { margin: 0; display: inline-block; background: var(--teal); color: white; padding: 9px 20px; font-size: 19px; font-weight: 700; transform: rotate(-1deg); box-shadow: -8px 0 0 -2px var(--teal), 8px 0 0 -2px var(--teal); }
.price strong { font-size: 28px; }
.proposal-note { margin: 12px 0 0; color: rgb(25 21 46 / 72%); font-size: 14px; }
.rate-list { position: relative; display: grid; gap: 4px; margin: 24px 0 0; padding: 8px 14px; color: var(--purple); background: rgb(255 255 255 / 42%); border-block: 2px solid rgb(67 17 102 / 35%); font-size: 18px; }
.rate-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rate-list strong { font-family: var(--font-display); font-size: 23px; }
.rate-limit { position: relative; margin: 9px 0 0; color: var(--purple); font-family: var(--font-display); font-size: 18px; font-weight: 900; }
.session-policy { position: relative; display: flex; align-items: center; gap: 16px; width: min(100%, 820px); margin: 48px auto 0; padding: 18px 24px; background: rgb(255 246 207 / 78%); border: 2px solid rgb(118 79 8 / 35%); box-shadow: 5px 6px 0 rgb(118 79 8 / 10%); transform: rotate(-.6deg); }
.policy-mark { flex: 0 0 46px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--purple); background: #f4c2cb; }
.policy-mark svg { width: 26px; height: 26px; stroke-width: 1.8; }
.session-policy h3 { font-size: 24px; }
.session-policy p { margin: 2px 0 0; font-size: 18px; }
.card-tape { width: 90px; height: 28px; left: 50%; top: -14px; transform: translateX(-50%) rotate(2deg); }
.binder-holes { position: absolute; left: 12px; top: 70px; bottom: 45px; display: flex; flex-direction: column; justify-content: space-around; }
.binder-holes i { width: 15px; height: 15px; border-radius: 50%; background: var(--paper); box-shadow: inset 1px 1px 3px rgb(0 0 0 / 16%); }
.margin-apple { position: absolute; left: -31px; top: 97px; width: 61px; height: 61px; color: var(--apple); stroke: #8e2424; stroke-width: 1.1; transform: rotate(-10deg); }

.tutor-section { display: grid; grid-template-columns: .42fr .58fr; align-items: center; gap: 70px; padding-inline: 65px; border-block: 2px dashed rgb(67 17 102 / 38%); }
.tutor-photo { width: min(100%, 310px); margin: auto; padding: 11px 11px 18px; position: relative; background: #faf7e9; box-shadow: var(--paper-shadow); transform: rotate(-2.5deg); }
.tutor-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; filter: saturate(.92) contrast(.98); }
.tutor-photo figcaption { margin: 10px 4px 0; color: var(--purple); font-size: 18px; line-height: 1.1; text-align: center; }
.photo-tape { position: absolute; z-index: 2; width: 104px; height: 28px; top: -15px; left: 50%; background: rgb(221 199 142 / 76%); box-shadow: inset 0 0 12px rgb(255 255 255 / 45%); transform: translateX(-50%) rotate(2deg); }
.hand-label { margin: 0 0 8px; color: var(--teal); font-size: 25px; font-weight: 700; transform: rotate(-1deg); width: max-content; }
.tutor-copy h2 { max-width: 700px; }
.tutor-copy > p:not(.hand-label) { font-size: 21px; max-width: 720px; }
.small-note { color: rgb(25 21 46 / 70%); font-size: 15px !important; }
.credential-link { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-top: 14px; padding: 8px 12px; color: var(--purple); background: rgb(255 255 255 / 58%); border: 2px solid var(--purple); font-size: 17px; font-weight: 800; text-decoration: none; box-shadow: 3px 3px 0 rgb(67 17 102 / 18%); }
.credential-link:hover { color: white; background: var(--purple); transform: translateY(-1px); }
.credential-link span { font-size: 21px; line-height: 1; }
.text-link { color: var(--purple); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--teal); }
.method-teaser { padding-top: 38px; padding-bottom: 24px; }
.method-teaser-paper { width: min(100%, 900px); margin-inline: auto; padding: 34px 45px; background: rgb(255 255 255 / 70%); border: 2px solid var(--purple); box-shadow: 7px 7px 0 rgb(67 17 102 / 16%); transform: rotate(-.5deg); }
.method-teaser h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; }
.method-teaser p:not(.hand-label) { max-width: 760px; font-size: 21px; }

.method-page h1, .method-page h2, .method-page h3 { color: var(--purple); font-family: var(--font-display); font-weight: 900; }
.method-hero { padding-block: 78px 52px; text-align: center; }
.method-hero .hand-label { margin-inline: auto; }
.method-hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(48px, 6vw, 78px); line-height: .98; }
.method-lede { max-width: 820px; margin: 26px auto; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.28; }
.method-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.method-tags span { padding: 6px 16px; background: #d8e8e7; color: var(--purple); border: 2px solid var(--purple); border-radius: 40px; font-weight: 800; font-size: 16px; }
.method-example { padding-top: 40px; }
.example-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; max-width: 1000px; margin: 46px auto 0; padding: 42px 48px; background: #fff8dc; border: 2px solid rgb(118 79 8 / 35%); box-shadow: 8px 8px 0 rgb(118 79 8 / 13%); transform: rotate(-.4deg); }
.fraction-visual { display: grid; gap: 28px; }
.fraction-unit { display: flex; gap: 20px; align-items: center; color: var(--purple); font-family: var(--font-display); font-size: 31px; }
.fraction-bar { display: grid; width: 100%; height: 92px; border: 3px solid var(--purple); background: white; }
.fraction-bar.quarters { grid-template-columns: repeat(4, 1fr); }
.fraction-bar.halves { grid-template-columns: repeat(2, 1fr); }
.fraction-bar i { display: block; border-right: 2px solid var(--purple); }
.fraction-bar i:last-child { border-right: 0; }
.fraction-bar i:first-child { background: var(--teal); }
.example-dialogue p { margin: 0 0 20px; font-size: 21px; line-height: 1.3; }
.example-dialogue p:last-child { margin-bottom: 0; }
.example-dialogue strong { color: var(--purple); }
.method-steps { max-width: 900px; margin: 45px auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.method-steps li { display: flex; gap: 18px; padding: 26px; background: rgb(255 255 255 / 72%); border: 2px dashed rgb(67 17 102 / 46%); }
.method-steps li > span { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--purple); background: #bfe1f4; font-family: var(--font-display); font-size: 28px; font-weight: 900; }
.method-steps h3 { margin: 0; font-size: 28px; line-height: 1.08; }
.method-steps p { margin: 10px 0 0; font-size: 18px; }
.method-fit-paper { max-width: 900px; margin-inline: auto; padding: 44px 55px; background: #dfe9d9; border: 2px solid rgb(67 17 102 / 45%); box-shadow: 8px 8px 0 rgb(67 17 102 / 12%); }
.method-fit h2 { margin: 0 0 16px; font-size: clamp(38px, 4vw, 56px); line-height: 1; }
.method-fit p { font-size: 20px; }
.method-fit .button { margin-top: 12px; }
.faq-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.faq-list article { padding: 24px; background: rgb(255 255 255 / 72%); border-top: 5px solid var(--teal); }
.faq-list h3 { font-size: 26px; line-height: 1.1; }
.faq-list p { font-size: 18px; }

.section-heading.compact { max-width: 600px; }
.steps { list-style: none; padding: 0; margin: 55px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px; counter-reset: steps; }
.steps li { min-height: 120px; display: grid; grid-template-columns: 74px 1fr; gap: 16px; align-items: start; position: relative; }
.steps li:not(:last-child)::after { content: ''; position: absolute; right: -61px; top: 47px; width: 42px; height: 28px; background: currentColor; color: var(--purple); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 11h12.2l-4.1-4.1L13.5 5l6.5 7-6.5 7-1.4-1.9 4.1-4.1H4v-2Z'/%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-7deg); }
.step-number { width: 69px; height: 69px; border-radius: 50%; display: grid; place-items: center; color: var(--purple); font-size: 36px; font-family: var(--font-display); transform: rotate(-7deg); }
.step-number.pink { background: #f4c2cb; }
.step-number.blue { background: #bfe1f4; }
.step-number.green { background: #cbe6b7; }
.steps h3 { font-size: 28px; margin-top: 6px; }
.steps p { margin: 8px 0 0; font-size: 18px; }

.closing { padding-bottom: 65px; }
.paint-banner { position: relative; width: min(100%, 960px); margin-inline: auto; padding: 34px 200px 36px 95px; color: white; text-align: center; isolation: isolate; }
.paint-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--purple); clip-path: polygon(2% 13%, 10% 7%, 25% 10%, 43% 4%, 58% 8%, 76% 3%, 95% 10%, 99% 25%, 97% 46%, 100% 65%, 96% 88%, 79% 94%, 61% 90%, 44% 97%, 27% 91%, 8% 96%, 0 82%, 3% 61%, 0 42%); }
.paint-banner h2 { color: white; font-size: 43px; line-height: 1; }
.paint-banner p { margin: 7px 0 18px; font-size: 19px; }
.button-paper { background: var(--paper); color: var(--purple); min-height: 47px; }
.button-paper:hover { background: white; color: var(--purple-hover); }
.banner-plane { position: absolute; right: 60px; top: 45px; width: 86px; height: 86px; stroke: white; stroke-width: 1.7; transform: rotate(5deg); }

.site-footer { min-height: 80px; border-top: 1px solid rgb(25 21 46 / 35%); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--purple); }
.footer-brand { font-weight: 800; }

dialog { width: min(700px, calc(100% - 28px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0; border: 0; background: transparent; color: var(--ink); }
dialog::backdrop { background: rgb(25 21 46 / 72%); backdrop-filter: blur(3px); }
.dialog-paper { position: relative; padding: 42px; background-color: var(--paper); background-image: linear-gradient(var(--grid-fine) 1px, transparent 1px), linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px); background-size: 20px 20px; box-shadow: 0 20px 80px rgb(0 0 0 / 35%); }
.dialog-paper h2 { font-size: 44px; line-height: 1; }
.dialog-close { position: absolute; top: 14px; right: 14px; border: 0; background: transparent; color: var(--purple); font-size: 36px; line-height: 1; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
form { display: grid; gap: 18px; margin-top: 26px; }
label, fieldset { display: grid; gap: 5px; font-weight: 700; }
fieldset { grid-template-columns: repeat(3, auto); align-content: start; border: 0; padding: 0; margin: 0; }
legend { margin-bottom: 5px; }
.check { display: flex; align-items: center; gap: 6px; font-weight: 400; }
input, select, textarea { width: 100%; border: 2px solid rgb(67 17 102 / 55%); border-radius: 6px; padding: 10px 12px; background: rgb(255 255 255 / 62%); color: var(--ink); font-family: var(--font-form); font-size: 16px; }
input[type='checkbox'] { width: 19px; height: 19px; accent-color: var(--purple); }
.consent { display: flex; align-items: flex-start; grid-template-columns: auto 1fr; font-size: 16px; font-weight: 500; }
.form-note { color: #764f08; background: #fff3c9; border-left: 4px solid var(--star); padding: 10px 12px; margin: 0; font-family: var(--font-form); font-size: 14px; }
.form-success { padding: 32px 0 5px; }
.form-success h3 { font-size: 32px; }

@media (max-width: 1150px) {
  .header-actions .button { display: none; }
  .nav-links { gap: 20px; font-size: 17px; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 205px 1fr auto; }
  .brand { width: 205px; gap: 8px; }
  .brand-mark { flex-basis: 48px; width: 48px; height: 48px; }
  .brand-name { font-size: 20px; }
  .brand-base { font-size: 13px; padding-left: 25px; }
  .brand-base::after { width: 98px; }
  .nav-links { gap: 20px; }
  .hero { min-height: 500px; gap: 35px; }
  .hero h1 { font-size: 46px; }
  .scribble { margin-left: 35px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid rgb(25 21 46 / 25%); padding-top: 16px; margin-top: 16px; }
  .trust-item:nth-child(4) { border-top: 1px solid rgb(25 21 46 / 25%); padding-top: 16px; margin-top: 16px; }
  .steps { gap: 35px; }
  .steps li:not(:last-child)::after { right: -30px; font-size: 30px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .shell { width: min(calc(100% - 32px), var(--content-width)); }
  .site-header { min-height: 92px; grid-template-columns: 1fr auto auto; }
  .brand { width: 168px; gap: 7px; }
  .brand-mark { flex-basis: 42px; width: 42px; height: 42px; }
  .brand-name { font-size: 18px; letter-spacing: -.8px; }
  .brand-base { font-size: 12px; padding-left: 22px; margin-top: 4px; }
  .brand-base::after { width: 88px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; border: 0; background: transparent; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 28px; height: 3px; border-radius: 2px; background: var(--purple); }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 24px; background: var(--paper); border: 2px solid var(--purple); box-shadow: var(--paper-shadow); flex-direction: column; align-items: center; }
  .nav-links.open { display: flex; }
  .header-actions { gap: 0; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 58px; }
  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(44px, 13vw, 58px); }
  .hero-intro { font-size: 21px; margin-inline: auto; }
  .hero-detail { margin-inline: auto; }
  .scribble { margin: 20px auto 32px; font-size: 27px; }
  .hero-art { width: min(94%, 600px); margin: 10px auto 0; }
  .plane-programs { left: auto; right: 4px; top: 178px; }
  .plane-tutor { right: 4px; top: 18px; }
  .plane-example { left: auto; right: 12px; top: 105px; }
  .spark-hero { right: 8%; bottom: 34%; }
  .chalk-wonder { left: auto; right: 0; bottom: 3px; }
  .chalk-question { right: 8px; top: 6px; font-size: 24px; }
  .chalk-try { right: 10px; top: 5px; font-size: 24px; }
  .spark-process { left: 0; top: 95px; }
  .method-chalk { left: 0; bottom: 8px; font-size: 24px; }
  .spark-method { right: 2%; top: 6px; }
  .spark-tutor { right: 3px; top: 65px; }
  .star-one { right: 6px; top: -45px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; gap: 6px; font-size: 15px; }
  .trust-item svg { width: 35px; height: 35px; }
  .section-space { padding-block: 56px; }
  .section-heading h2, .tutor-copy h2 { font-size: 42px; }
  .section-heading p { font-size: 19px; }
  .program-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 50px; }
  .paper-card { width: min(100%, 520px); margin-inline: auto; min-height: 370px; padding: 45px 30px 30px 54px; }
  .paper-card h3 { width: auto; max-width: 100%; font-size: 34px; }
  .rate-list { font-size: 17px; }
  .rate-list strong { font-size: 21px; }
  .session-policy { align-items: flex-start; margin-top: 32px; padding: 16px; }
  .session-policy h3 { font-size: 22px; }
  .session-policy p { font-size: 17px; }
  .margin-apple { display: none; }
  .tutor-section { grid-template-columns: 1fr; gap: 35px; padding-inline: 20px; text-align: center; }
  .tutor-photo { width: 220px; }
  .hand-label { margin-inline: auto; }
  .credential-link { margin-inline: auto; text-align: left; }
  .steps { grid-template-columns: 1fr; width: min(100%, 520px); margin-inline: auto; gap: 42px; }
  .steps li:not(:last-child)::after { content: '↓'; left: 26px; right: auto; top: 100px; font-size: 26px; }
  .paint-banner { padding: 45px 32px; }
  .paint-banner h2 { font-size: 37px; }
  .banner-plane { display: none; }
  .site-footer { flex-wrap: wrap; justify-content: center; padding-block: 28px; text-align: center; }
  .method-teaser-paper { padding: 28px; }
  .method-hero { padding-block: 48px 24px; }
  .example-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .method-steps { grid-template-columns: 1fr; }
  .method-fit-paper { padding: 28px; }
  .faq-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-paper { padding: 38px 22px 28px; }
}

@media (max-width: 430px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 4px; }
  .brand { width: 132px; gap: 5px; }
  .brand-mark { flex-basis: 36px; width: 36px; height: 36px; }
  .brand-name { font-size: 15px; letter-spacing: -.55px; }
  .brand-base { font-size: 10px; padding-left: 18px; }
  .brand-base::after { width: 75px; height: 3px; }
  .chalk-note { font-size: 22px; }
  .plane-programs, .plane-tutor, .plane-example, .spark-process { opacity: .75; }
  .language-switcher { font-size: 14px; }
  .hero { padding-top: 30px; }
  .hero h1 { letter-spacing: -1px; }
  .trust { width: calc(100% - 24px); }
  .trust-item { padding-inline: 8px; }
  .paper-card { padding-left: 49px; }
  .price { font-size: 16px; padding-inline: 11px; }
  .price strong { font-size: 24px; }
  fieldset { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
