@font-face {
  font-family: Archivo;
  src: url("assets/fonts/Archivo-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("assets/fonts/Archivo-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url("assets/fonts/Archivo-600.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("assets/fonts/Poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #f9f9f2;
  --ink: #12392d;
  --dark: #103d2e;
  --green: #0d6249;
  --lime: #e2f685;
  --muted: #4e6359;
  --line: #d5ddcf;
  --title-font: Poppins, "Arial Black", sans-serif;
  --gutter: clamp(1.25rem, 5.6vw, 5.5rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 Archivo, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
figure, p, h1, h2, h3, ol, ul { margin: 0; }
button, a, summary, input { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2761b7; outline-offset: 4px; }
::selection { background: var(--lime); color: var(--ink); }
section[id] { scroll-margin-top: 1.5rem; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 80rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link:focus { position: fixed; top: .75rem; left: 1rem; padding: .75rem 1rem; z-index: 20; background: white; }
.button {
  display: inline-flex; gap: .65rem; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 999px; padding: .9rem 1.4rem;
  background: var(--dark); color: #fff; font-weight: 600; line-height: 1.25; text-decoration: none;
  transition: background .18s, transform .18s;
}
.button .icon { color: var(--lime); width: 1rem; height: 1rem; }
.button:hover { background: var(--green); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-small { padding: .73rem 1.15rem; font-size: .9375rem; }
.text-link { font-weight: 600; text-underline-offset: .3em; text-decoration-color: #799484; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: currentColor; }

.masthead { position: relative; z-index: 3; border-bottom: 1px solid var(--line); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 1.65vw, 2rem); min-height: 5rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 6.65rem; }
.nav-links, .nav-actions { display: flex; align-items: center; }
.nav-links { gap: clamp(.85rem, 2vw, 2.5rem); }
.nav-links a { font-size: .9375rem; font-weight: 500; text-decoration: none; padding-block: .65rem; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: .35rem; }
.nav-actions { gap: .55rem; }
.nav-actions a, .nav-links a { white-space: nowrap; }
.menu-demo { display: none; }
.prof-link { background: transparent; color: var(--dark); border-color: #97ae9f; }
.prof-link .icon { color: currentColor; }
.prof-link:hover { background: #e6eddd; }
.menu-toggle, .dialog-close {
  display: grid; place-items: center; padding: 0; height: 2.75rem; width: 2.75rem; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: var(--paper);
}

.hero {
  display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr);
  align-items: center; gap: clamp(2rem, 5.4vw, 5.85rem);
  padding-block: clamp(3.3rem, 5.8vw, 6rem) clamp(3.8rem, 6.2vw, 6.3rem);
}
.level-label {
  display: inline-flex; align-items: center; gap: .55rem; padding: .32rem .8rem;
  border: 1px solid #c8d8bf; border-radius: 999px; background: #ecf1e3; color: #30543e;
  font-size: .875rem; line-height: 1.45; font-weight: 600;
}
.level-label .icon { width: 1.05rem; height: 1.05rem; }
h1, h2, .school-intro h3 { font-family: var(--title-font); font-weight: 800; }
h1 {
  margin: 1.5rem 0 1.5rem -.045em; font-size: clamp(4.95rem, 7.95vw, 7.85rem);
  line-height: .99; letter-spacing: -.045em; word-spacing: .025em;
}
.marked { position: relative; display: inline-block; isolation: isolate; }
.marked::after {
  content: ""; position: absolute; z-index: -1; left: .035em; right: -.055em; bottom: .005em; height: .155em;
  background: var(--lime); transform: rotate(-2.6deg);
  clip-path: polygon(0 28%, 16% 7%, 54% 0, 80% 7%, 100% 16%, 98% 81%, 72% 87%, 29% 90%, 1% 100%);
}
.title-dot { color: var(--green); }
.intro, .section-lead, .section-intro > p { color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.23rem); line-height: 1.55; }
.intro { max-width: 34.5rem; }
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.65rem; }
.hero-actions .button { padding: 1.02rem 1.37rem; }
.hero-actions .text-link { font-size: .95rem; }
.hero-figure { position: relative; isolation: isolate; margin: .25rem .5rem .5rem 0; }
.hero-figure::before {
  content: ""; position: absolute; z-index: -1; inset: .5rem -.5rem -.5rem .6rem; border-radius: 1.4rem;
  background: #d7e7bc; border: 1px solid #b6cba5; transform: rotate(1.15deg);
}
.hero-mount { overflow: hidden; border-radius: 1.3rem; background: var(--dark); border: 1px solid #345b46; }
.photo-window { position: relative; isolation: isolate; }
.photo-window > img { width: 100%; aspect-ratio: 1.6; object-fit: cover; object-position: 49% 46%; }
.view-label {
  position: absolute; left: 1.05rem; top: 1.05rem; display: inline-flex; align-items: center; gap: .42rem;
  border-radius: 999px; background: #142f26ec; color: white; padding: .37rem .7rem; font-size: .8125rem; font-weight: 500;
}
.view-label .icon { width: .95rem; height: .95rem; }
.finder { position: absolute; inset: 23% 21% 15% 18%; pointer-events: none; color: rgba(255,255,243,.89); }
.finder i { position: absolute; width: 1.35rem; height: 1.35rem; border: 0 solid; filter: drop-shadow(0 0 1px rgba(22,30,21,.45)); }
.finder i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: .26rem; }
.finder i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: .26rem; }
.finder i:nth-child(3) { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: .26rem; }
.finder i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: .26rem; }
.voice-caption { display: flex; align-items: center; gap: .95rem; padding: 1.08rem 1.22rem 1.18rem; color: white; }
.voice-token { display: grid; place-items: center; flex: 0 0 auto; height: 2.85rem; width: 2.85rem; border-radius: 50%; background: var(--lime); color: var(--dark); }
.voice-token .icon { width: 1.5rem; height: 1.5rem; stroke-width: 2; }
.voice-name { display: block; color: var(--lime); font-size: .81rem; font-weight: 600; }
.voice-name span { color: #cbdace; font-weight: 400; }
.voice-caption q { display: block; margin-top: .15rem; font-size: clamp(1rem, 1.37vw, 1.28rem); line-height: 1.35; font-weight: 500; quotes: "« " " »"; }
.tape {
  position: absolute; right: 7%; top: -.6rem; width: 5.3rem; height: 1.5rem; transform: rotate(8deg);
  background: #e5eea7ed; clip-path: polygon(2% 0,100% 4%,98% 21%,100% 33%,98% 44%,100% 59%,98% 75%,100% 92%,0 100%,2% 81%,0 67%,2% 54%,0 35%,2% 24%,0 12%);
}

.method { background: var(--dark); color: #fff; }
.method-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); list-style: none; padding: 2.1rem 0; }
.method-list li { display: flex; gap: 1rem; align-items: flex-start; padding-inline: clamp(1.1rem, 2.3vw, 2.7rem); }
.method-list li + li { border-left: 1px solid #416453; }
.method-list li:first-child { padding-left: 0; }
.method-list li:last-child { padding-right: 0; }
.step-icon { display: grid; place-items: center; flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border: 1px solid #547361; border-radius: .8rem; color: var(--lime); }
.step-icon .icon { width: 1.45rem; height: 1.45rem; }
.method-list h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.3; margin: .03rem 0 .25rem; }
.method-list p { max-width: 27ch; color: #d4e3d7; font-size: 1rem; line-height: 1.4; }

.section { padding-block: clamp(4.3rem, 7.1vw, 7.25rem); }
.eyebrow {
  display: flex; gap: .58rem; align-items: center; margin: 0 0 1.1rem;
  color: var(--green); font-size: .875rem; font-weight: 600; line-height: 1.3; letter-spacing: .095em; text-transform: uppercase;
}
.eyebrow::before { content: ""; height: 2px; width: 1.55rem; background: currentColor; }
h2 { font-size: clamp(2.7rem, 4.8vw, 4.85rem); letter-spacing: -.044em; word-spacing: .02em; line-height: 1.04; }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-bottom: 2.4rem; }
.section-intro > p { max-width: 25rem; margin-bottom: .22rem; }
.demo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #c5d2be; border-radius: 1.4rem; overflow: hidden; background: #fffefa; }
.notebook-area { display: grid; place-items: center; padding: clamp(2rem, 4vw, 4.5rem); background: #e7eddb; }
.notebook {
  position: relative; width: 100%; max-width: 27.5rem; min-height: 19.8rem; padding: 1.65rem 1rem 1.75rem clamp(4.4rem, 6.2vw, 6.25rem);
  transform: rotate(-2deg); border: 1px solid #d3ddcc; border-radius: .16rem .45rem .45rem .16rem;
  background-color: #fffff9;
  background-image: linear-gradient(90deg, transparent 0 3.2rem, #ddaaa1 3.2rem calc(3.2rem + 1px), transparent calc(3.2rem + 1px)), linear-gradient(#dfe7e3 1px, transparent 1px), linear-gradient(90deg, #e5eae4 1px, transparent 1px);
  background-size: 100% 100%, 1.4rem 1.4rem, 1.4rem 1.4rem;
  box-shadow: 2px 3px 0 #f7f9ef, 3px 4px 0 #c6d0be, 0 .75rem 1.2rem #394c3014;
}
.paper-holes { position: absolute; inset: 18% auto 18% .85rem; display: flex; flex-direction: column; justify-content: space-between; }
.paper-holes i { width: .58rem; height: .58rem; border-radius: 50%; background: #e7eddb; box-shadow: inset 1px 1px 2px #43563b55; }
.notebook-subject { color: #52664e; font-size: .8125rem; font-weight: 600; }
.notebook-task { margin-block: .6rem .8rem; font: italic 1.5rem/1.25 Georgia, serif; color: #365b54; }
.math-work { color: #204d5f; font: 500 clamp(1.65rem, 2.55vw, 2.6rem)/1.44 Georgia, "Times New Roman", serif; letter-spacing: .015em; }
.math-result { display: inline-block; border-bottom: 3px double #367056; color: #216448; }
.coach { align-self: center; min-width: 0; padding: clamp(1.7rem, 3.25vw, 3.6rem); }
.coach-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.coach-name { display: inline-flex; gap: .45rem; align-items: center; color: var(--green); font-size: 1.12rem; font-weight: 600; }
.coach-name .icon { width: 1.65rem; height: 1.65rem; }
.demo-progress { color: #627268; font-size: .8125rem; }
.coach h3 { margin: 1.15rem 0 1.3rem; font-weight: 600; font-size: clamp(1.3rem, 2.05vw, 1.8rem); letter-spacing: -.035em; line-height: 1.24; }
.coach h3:focus { outline: none; }
.demo-choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.demo-choices button {
  border: 1px solid #9ab59f; border-radius: .65rem; padding: .68rem .99rem; background: #f0f5e9; color: var(--ink); font-weight: 600;
}
.demo-choices button:hover, .demo-choices button:focus-visible { background: #e2efc8; }
.quiet-button { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.05rem; padding: .45rem .1rem; border: 0; background: transparent; color: var(--green); font-weight: 600; }
.quiet-button .icon { width: 1.05rem; height: 1.05rem; }
.quiet-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.feedback:not(:empty), .hint-text { margin-top: 1rem; color: var(--muted); }
.hint-text { padding: .7rem .85rem; background: #f1f3e8; border-left: 2px solid #9eba76; }
.answer-form label { display: block; font-weight: 600; margin-bottom: .4rem; }
.answer-controls { display: flex; gap: .6rem; align-items: center; }
.answer-controls input { width: 6.5rem; min-width: 0; height: 2.75rem; padding: .4rem .7rem; border: 1px solid #84a08d; border-radius: .5rem; color: var(--ink); background: white; }
.answer-controls input[aria-invalid="true"] { border-color: #a44824; }

.tour { background: #e9efdf; }
.tour-grid, .adults-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 8vw, 9rem); }
.section-lead { margin-top: 1.18rem; max-width: 34rem; }
.tour-choices { list-style: none; margin-top: 1.6rem; padding: 0; }
.tour-choices li + li { margin-top: .38rem; }
.tour-choices a { display: flex; gap: .8rem; align-items: center; padding: .72rem .85rem; border: 1px solid transparent; border-radius: .85rem; text-decoration: none; }
.tour-choices a:hover { border-color: #b5c6ac; }
.tour-choices a[aria-current="true"] { background: #f9faf1; border-color: #a7bf9f; }
.tour-icon { flex: 0 0 auto; color: var(--green); display: grid; place-items: center; width: 1.95rem; height: 1.95rem; }
.tour-icon .icon { width: 1.45rem; height: 1.45rem; }
.tour-choices strong, .app-preview figcaption strong { display: block; line-height: 1.35; font-size: 1.05rem; font-weight: 600; }
.tour-choices small, .app-preview figcaption small { display: block; margin-top: .12rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.choice-mark { flex: 0 0 auto; margin-left: auto; width: .8rem; height: .8rem; border-radius: 50%; border: 1px solid #98b19a; }
.tour-choices a[aria-current="true"] .choice-mark { border: 3px solid #f9faf1; outline: 1px solid #407453; background: var(--green); }
.app-preview { overflow: hidden; border: 1px solid #b4c8a5; border-radius: 1.4rem; background: #f9faf3; }
.screen-stage {
  position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; padding: 2.15rem 1rem;
  background-color: #d4e2be; background-image: radial-gradient(#adbf9e 1px, transparent 1px); background-size: 1rem 1rem;
}
.screen-stage::before {
  content: ""; z-index: -1; position: absolute; width: 26rem; height: 26rem; border: 2.5rem solid #e8efc8; border-radius: 50%; transform: translate(30%,30%);
}
.device { width: clamp(10.8rem, 14.3vw, 13.4rem); border: 3px solid #244234; border-radius: 2rem; background: #fbfaf4; box-shadow: .6rem .9rem 1.4rem #324c3040; transform: rotate(2.5deg); }
.app-preview figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; }
.zoom-link { display: inline-flex; gap: .4rem; align-items: center; color: var(--green); font-size: .875rem; font-weight: 600; text-underline-offset: .23em; }
.zoom-link .icon { width: .95rem; height: .95rem; }
.adults { background: #fffefa; }
.commitments { padding: 0; margin-top: 1.5rem; list-style: none; }
.commitments li { display: flex; align-items: baseline; gap: .62rem; padding-block: .6rem; line-height: 1.44; border-top: 1px solid var(--line); }
.commitments li .icon { position: relative; top: .17rem; width: 1.08rem; height: 1.08rem; color: var(--green); stroke-width: 2.2; }
.school-card { border: 1px solid #d1cfe0; border-radius: 1.3rem; background: #eeedf6; overflow: hidden; }
.school-intro { padding: clamp(1.4rem, 3vw, 2.5rem) clamp(1.4rem, 3vw, 2.5rem) 1.2rem; }
.school-intro .eyebrow { color: #554a6a; margin-bottom: .62rem; }
.school-intro h3 { font-size: clamp(1.8rem, 2.8vw, 2.85rem); letter-spacing: -.04em; line-height: 1.1; }
.school-intro p:last-child { margin-top: .75rem; color: #4d5551; }
.school-shot { margin: 0 clamp(1.4rem, 3vw, 2.5rem) 1.2rem; }
.school-shot > a { position: relative; display: block; }
.school-shot img { width: 100%; border: 1px solid #d3d6cd; border-radius: .55rem; }
.school-zoom { position: absolute; right: .48rem; bottom: .48rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; background: var(--dark); color: white; border-radius: 50%; }
.school-zoom .icon { width: 1.1rem; height: 1.1rem; }
.school-shot figcaption { font-size: .8125rem; color: #565c59; margin-top: .5rem; }

.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: clamp(2.25rem, 6vw, 6.5rem); grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.faq-list details { border-top: 1px solid #becdbb; }
.faq-list details:last-child { border-bottom: 1px solid #becdbb; }
.faq-list summary, .credits summary { cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker, .credits summary::-webkit-details-marker { display: none; }
.faq-list summary { position: relative; padding: 1.1rem 2.25rem 1.1rem 0; font-weight: 600; font-size: 1.1rem; line-height: 1.4; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: .35rem; top: 50%; width: .85rem; height: 2px; background: var(--green); }
.faq-list summary::after { transform: rotate(90deg); transition: transform .15s; }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { padding: 0 2rem 1.25rem 0; color: var(--muted); }
.faq-list details a { color: var(--green); text-underline-offset: .2em; }
.footer { background: var(--dark); color: #f4f6e9; }
#espace-prof { scroll-margin-top: 1rem; }
.download { background: #e8efd9; border-top: 1px solid #ccd9bf; }
.download-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4.25rem); }
.download-copy .app-icon { width: 3.75rem; height: 3.75rem; border-radius: .88rem; margin-bottom: 1rem; }
.download-copy h2 { font-size: clamp(2.35rem, 4.2vw, 4rem); }
.download-copy p { color: var(--muted); font-size: 1.1rem; max-width: 36ch; margin: .9rem 0 1.3rem; }
.store-link[aria-disabled="true"] { background: #d7dfce; color: #475c4e; border-color: #aabda7; transform: none; cursor: default; }
.store-link[aria-disabled="true"] .icon { color: inherit; }
.store-note, .contact-note { display: block; margin-top: .5rem; font-size: .875rem; }
.store-link[href] + .store-note, .email-button[href] + .contact-note, .social-actions a[href] small { display: none; }
.download-preview { justify-self: center; width: min(100%, 22rem); text-align: center; }
.home-crop { display: flex; justify-content: center; height: 15.5rem; overflow: hidden; padding-top: 1.35rem; border-radius: 1rem; background: #cedeb7; }
.home-crop img { align-self: flex-start; width: min(64%, 12.5rem); height: auto; border: 3px solid #294733; border-radius: 1.7rem; transform: rotate(3deg); box-shadow: .45rem .6rem 1.1rem #253b2435; }
.download-preview figcaption { margin-top: .45rem; font-size: .8125rem; color: var(--muted); }
.footer-reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding-top: clamp(2.4rem, 5vw, 4.25rem); }
.footer-reach section { padding: clamp(1.3rem, 2.7vw, 2.4rem); border-radius: 1.15rem; }
.footer-reach h2 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); margin-bottom: 1.2rem; }
.footer-contact { background: #edf3d7; color: var(--ink); }
.footer-social { background: #1e4d3c; border: 1px solid #537762; }
.channel-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; max-width: 100%; padding: .67rem 1.1rem; border-radius: .75rem;
  font-weight: 600; line-height: 1.35; text-decoration: none;
}
.channel-button .icon { width: 1.25rem; height: 1.25rem; }
.email-button { background: var(--dark); color: white; }
.email-button .icon { color: var(--lime); }
.email-address { min-width: 0; overflow-wrap: anywhere; }
.email-button[aria-disabled="true"] { background: #385648; }
.contact-note { color: #50624e; }
.social-actions { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; padding: 0; }
.social-actions .channel-button { background: #f0f6e9; color: var(--ink); }
.social-actions small { font-size: .75rem; font-weight: 400; color: #506354; }
.channel-button[href]:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.footer-top { padding-block: 3rem 2.45rem; border-bottom: 1px solid #496856; }
.footer-brand img { width: clamp(7rem, 12vw, 11rem); }
.button-lime { color: var(--dark); background: var(--lime); }
.button-lime .icon { color: inherit; }
.button-lime:hover { background: #ecffa0; }
.footer-bottom { padding-block: 1.1rem 1.5rem; align-items: flex-start; color: #d9e3d8; font-size: .875rem; }
.footer-bottom a, .credits summary { text-underline-offset: .22rem; }
.credits { margin-right: auto; }
.credits summary { text-decoration: underline; }
.credits div { margin-top: .6rem; }
.back-top { flex-shrink: 0; }

.image-dialog {
  color: var(--ink); border: 1px solid var(--line); border-radius: 1rem; background: var(--paper);
  padding: 1rem; max-width: calc(100% - 2rem); max-height: 94vh; max-height: 94dvh; overflow: auto;
  box-shadow: 0 1rem 5rem #06140f40;
}
.image-dialog::backdrop { background: #0e271ed9; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.dialog-top h2 { font: 600 1.1rem/1.3 Archivo, Arial, sans-serif; letter-spacing: -.02em; }
.dialog-close { width: 2.55rem; height: 2.55rem; }
.image-dialog img { margin-inline: auto; width: auto; max-width: min(100%, 65rem); max-height: 72vh; max-height: 72dvh; object-fit: contain; }
.image-dialog > p { margin-top: .5rem; color: var(--muted); font-size: .8125rem; }
body.dialog-open { overflow: hidden; }

@media (min-width: 100rem) {
  .hero { padding-block: 6rem; }
}
@media (max-width: 65rem) {
  .hero { gap: 2rem; }
  .hero-actions { gap: .9rem; }
  .method-list li { gap: .7rem; }
  .tour-grid, .adults-grid { gap: clamp(2rem, 4.3vw, 3.5rem); }
}
@media (max-width: 60rem) {
  .menu-demo { display: block; }
  .header-demo { display: none; }
  .nav-bar { min-height: 4.3rem; gap: 1rem; }
  .brand img { width: 5.9rem; }
  .enhanced .menu-toggle { display: grid; }
  .enhanced .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 2;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1rem;
    border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 .6rem 1rem #12392d10;
  }
  .enhanced .nav-links.is-open { display: flex; }
  .enhanced .nav-links a { padding: .7rem 0; }
  html:not(.enhanced) .nav-bar { flex-wrap: wrap; padding-block: .65rem; }
  html:not(.enhanced) .nav-links { order: 3; flex-wrap: wrap; gap: .25rem 1.1rem; width: 100%; }
}
@media (max-width: 54rem) {
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0,1.05fr); gap: 1.6rem; }
  h1 { font-size: clamp(4.3rem, 8.7vw, 5.4rem); }
  .voice-caption { padding: .8rem; gap: .6rem; }
  .voice-token { width: 2.3rem; height: 2.3rem; }
  .photo-window > img { aspect-ratio: 1.22; }
  .method-list { padding-block: 1.7rem; }
  .method-list li { flex-direction: column; }
  .section-intro > p { max-width: 19rem; }
  .notebook-area { padding: 1.5rem; }
  .coach { padding: 1.5rem; }
  .tour-choices a { padding: .65rem; gap: .5rem; }
  .tour-icon { width: 1.55rem; }
}
@media (min-width: 60.001rem) {
  .menu-toggle { display: none; }
}
@media (max-width: 44rem) {
  .hero { grid-template-columns: 1fr; gap: 2.4rem; padding-block: 2.4rem 2.8rem; }
  .hero-copy { max-width: 34rem; }
  h1 { font-size: clamp(4.65rem, 15.2vw, 6.35rem); margin-block: 1.05rem 1.15rem; }
  .hero-actions { gap: .8rem 1.15rem; margin-top: 1.2rem; }
  .hero-actions .button { padding: .87rem 1.18rem; }
  .hero-figure { width: calc(100% - .5rem); max-width: 34rem; margin: 0; justify-self: center; }
  .photo-window > img { aspect-ratio: 1.65; }
  .view-label { left: .8rem; top: .8rem; }
  .voice-caption { padding: .8rem .9rem; }
  .tape { width: 4.3rem; height: 1.2rem; top: -.43rem; }
  .method-list { grid-template-columns: 1fr; padding-block: .7rem; }
  .method-list li, .method-list li:first-child, .method-list li:last-child { flex-direction: row; align-items: center; gap: 1rem; padding: 1rem 0; }
  .method-list li + li { border-left: 0; border-top: 1px solid #416453; }
  .method-list p { max-width: 45ch; }
  .section-intro { display: block; margin-bottom: 1.5rem; }
  .section-intro > p { max-width: 35rem; margin-top: .9rem; }
  .section { padding-block: 3.7rem; }
  .eyebrow { margin-bottom: .8rem; }
  .demo, .tour-grid, .adults-grid, .faq-grid { grid-template-columns: 1fr; }
  .demo { border-radius: 1rem; }
  .notebook-area { padding: 1.65rem; }
  .notebook { min-height: 14.4rem; max-width: 24rem; padding-block: 1.1rem; }
  .notebook-task { margin-block: .25rem .45rem; }
  .math-work { font-size: 1.55rem; line-height: 1.3; }
  .coach { padding: 1.4rem; }
  .tour-grid, .adults-grid, .faq-grid { gap: 1.8rem; }
  .tour-copy h2 br, .parents-copy h2 br { display: none; }
  .tour-choices { margin-top: 1rem; }
  .app-preview { width: 100%; max-width: 32rem; justify-self: center; }
  .screen-stage { padding: 1.5rem 1rem; }
  .device { width: 10.9rem; border-radius: 1.6rem; }
  .faq-grid { gap: 1.4rem; }
  .footer-top { padding-block: 2.25rem 1.6rem; }
  .download-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .download-preview { justify-self: start; }
  .footer-top { flex-wrap: wrap; }
  .footer-reach { grid-template-columns: 1fr; gap: .85rem; }
}
@media (max-width: 24rem) {
  :root { --gutter: 1rem; }
  .brand img { width: 5rem; }
  .nav-actions { gap: .35rem; }
  .nav-actions .button { padding: .62rem .8rem; }
  .hero-actions { gap: .75rem; }
  .hero-actions .text-link { font-size: .875rem; }
  .section { padding-block: 3rem; }
  .coach { padding: 1.1rem; }
  .tour-choices small { font-size: .8125rem; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.store-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
