/* Educator page. Builds on base.css. */

/* ---------- educator hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 6vw, 80px) var(--gut) clamp(50px, 7vw, 100px);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
}
.hero__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__kicker { margin: 0 0 4px; font-family: var(--f-hand); font-weight: 700; color: var(--pen); font-size: clamp(1.7rem, 1.1rem + 1.8vw, 2.6rem); transform: rotate(-2.5deg); transform-origin: left bottom; display: inline-block; }
.hero__title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 1rem + 6.2vw, 6.6rem); line-height: 0.95; letter-spacing: -0.042em; text-wrap: balance; }
.hero__title .line { display: block; }
.hero__title .blue { color: var(--blue); }
.hero__sub { margin: 24px 0 0; max-width: 30em; font-size: var(--t-lg); color: var(--ink-2); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__proof { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-sm); color: var(--ink-2); padding: 0; list-style: none; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316a36a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.btn--line { border-color: var(--rule); background: var(--paper); color: var(--ink); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }

.stack { position: relative; justify-self: center; width: min(100%, 520px); }
.stack__back { position: absolute; inset: 6% -4% auto 8%; aspect-ratio: 1240 / 980; background: var(--paper); border-radius: 4px; box-shadow: var(--paper-shadow); transform: rotate(-5deg); overflow: hidden; }
.stack__back img { width: 100%; opacity: 0.9; }
.clip { position: absolute; z-index: 3; top: -18px; left: 22%; width: 34px; height: 74px; border: 4px solid #8d9ab4; border-radius: 18px; border-bottom-color: transparent; transform: rotate(-8deg); }
.clip::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; bottom: -14px; border: 4px solid #8d9ab4; border-radius: 12px; border-top-color: transparent; }
/* the paper on the desk */

.sheet { margin: 0; position: relative; justify-self: center; width: min(100%, 520px); }
.sheet__paper {
  position: relative; aspect-ratio: 1240 / 980; overflow: hidden;
  background: var(--paper); border-radius: 4px;
  box-shadow: var(--paper-shadow);
  transform: rotate(3.2deg);
  transition: transform 0.7s var(--ease);
}
.sheet__paper > img { width: 100%; }
.sheet__fold {
  position: absolute; right: 0; top: 0; width: 64px; height: 64px;
  background: linear-gradient(225deg, var(--desk) 50%, #e6ebf5 50%, #fff 100%);
  box-shadow: -3px 3px 6px rgba(12, 24, 48, 0.08);
}
.sheet__cap {
  margin-top: 22px; text-align: center;
  font-family: var(--f-hand); font-size: 1.3rem; color: var(--ink-3);
  transform: rotate(-1.5deg);
}
.sheet__marks { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; }
.sheet__marks .ink { fill: none; stroke: var(--pen); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 0.9s var(--ease); }
.sheet__marks .ink--soft { stroke-width: 5; }
.sheet__marks .hand { font-family: var(--f-hand); font-size: 76px; font-weight: 700; fill: var(--pen); opacity: 0; transition: opacity 0.5s 0.35s; }
.sheet__marks .hand--sm { font-size: 46px; }
.sheet__marks .marker { fill: var(--marker); opacity: 0.55; mix-blend-mode: multiply; transform-origin: left center; transform: scaleX(0); transform-box: fill-box; transition: transform 0.7s var(--ease); }
.sheet__marks .marker + .marker { transition-delay: 0.15s; }

.hero.is-marked .sheet__paper { transform: rotate(-1.5deg) translateY(-6px); }
.hero.is-student .sheet__paper { transform: rotate(5deg) translateY(-6px); }
.hero.is-marked .sheet__marks--edu .ink { stroke-dashoffset: 0; }
.hero.is-marked .sheet__marks--edu .hand { opacity: 1; }
.hero.is-student .sheet__marks--stu .marker { transform: scaleX(1); }
.hero.is-student .sheet__marks--stu .ink { stroke-dashoffset: 0; transition-delay: 0.35s; }
.hero.is-student .sheet__marks--stu .hand { opacity: 1; }

/* ---------- worlds ---------- */
.world { position: relative; }

.slogan {
  padding: clamp(40px, 7vw, 110px) var(--gut) clamp(30px, 5vw, 70px);
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
}
.slogan__text {
  margin: 0; max-width: 15em;
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
  font-size: clamp(2.5rem, 1rem + 5.4vw, 6.2rem); text-wrap: balance;
}
.slogan__note {
  margin: 26px 0 0 auto; max-width: 23em; text-align: right;
  font-family: var(--f-hand); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.2; color: var(--pen);
  transform: rotate(-1.5deg);
}

/* ---------- walk (scrollytelling over a real paper) ---------- */
.walk { padding: clamp(30px, 6vw, 80px) var(--gut) clamp(60px, 8vw, 120px); }
.walk__head { max-width: var(--max); margin: 0 auto clamp(30px, 5vw, 60px); }
.walk__body {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 96px);
}
.walk__stage { position: relative; min-width: 0; }
.stage {
  position: sticky; top: calc(var(--bar-h) + 24px);
  height: calc(100vh - var(--bar-h) - 48px); max-height: 900px;
  display: grid; place-items: center;
}
.stage__paper {
  position: relative; height: 100%; aspect-ratio: 1240 / 1754; max-width: 100%;
  background: var(--paper); border-radius: 4px; box-shadow: var(--paper-shadow);
  overflow: hidden;
  transition: transform 0.9s var(--ease), filter 0.6s;
}
.stage__paper > img { width: 100%; height: 100%; object-fit: cover; }
.stage__over { position: absolute; inset: 0; width: 100%; height: 100%; }
.o rect, .o circle { transition: transform 0.6s var(--ease), opacity 0.4s, stroke-dashoffset 0.8s var(--ease); }
.o--redact rect { fill: #0c1222; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.o--read rect { fill: rgba(9, 87, 224, 0.06); stroke: var(--blue); stroke-width: 4; stroke-dasharray: 2200; stroke-dashoffset: 2200; opacity: 0; }
.o--score circle { fill: none; stroke: var(--pen); stroke-width: 6; stroke-dasharray: 360; stroke-dashoffset: 360; }
.o--score text { font-family: var(--f-hand); font-weight: 700; font-size: 64px; fill: var(--pen); text-anchor: middle; opacity: 0; transition: opacity 0.4s; }
.o--read rect:nth-child(2) { transition-delay: 0.08s; } .o--read rect:nth-child(3) { transition-delay: 0.16s; }
.o--read rect:nth-child(4) { transition-delay: 0.24s; } .o--read rect:nth-child(5) { transition-delay: 0.32s; }
.o--read rect:nth-child(6) { transition-delay: 0.4s; } .o--read rect:nth-child(7) { transition-delay: 0.48s; }
.o--score circle:nth-of-type(2) { transition-delay: 0.12s; } .o--score circle:nth-of-type(3) { transition-delay: 0.24s; }
.o--score circle:nth-of-type(4) { transition-delay: 0.36s; } .o--score circle:nth-of-type(5) { transition-delay: 0.48s; }

.scan {
  position: absolute; left: 0; right: 0; top: 0; height: 18%;
  background: linear-gradient(180deg, transparent, rgba(9, 87, 224, 0.12) 70%, rgba(9, 87, 224, 0.55) 98%, transparent);
  opacity: 0; transform: translateY(-100%);
  pointer-events: none;
}
.stage[data-step="1"] .scan { opacity: 1; animation: scan 2.6s var(--ease) infinite; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(560%); } }

.stage:is([data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) .o--redact rect { transform: scaleX(1); }
.stage:is([data-step="3"]) .o--read rect { opacity: 1; stroke-dashoffset: 0; }
.stage:is([data-step="4"], [data-step="5"]) .o--read rect { opacity: 0.35; stroke-dashoffset: 0; }
.stage:is([data-step="4"], [data-step="5"]) .o--score circle { stroke-dashoffset: 0; }
.stage:is([data-step="4"], [data-step="5"]) .o--score text { opacity: 1; transition-delay: 0.5s; }

.bubble {
  position: absolute; left: 44%; top: 4%;
  display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px;
  background: var(--ink); color: #fff; box-shadow: 0 16px 30px -14px rgba(12, 24, 48, 0.6);
  opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.4s, transform 0.5s var(--ease);
  font-size: var(--t-sm);
}
.bubble::after { content: ""; position: absolute; left: 22px; bottom: -7px; width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.bubble__k { font-size: var(--t-xs); color: #9fb3d9; font-weight: 600; }
.bubble__v { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.01em; }
.stage[data-step="3"] .bubble { opacity: 1; transform: none; transition-delay: 0.5s; }

.total {
  position: absolute; right: 5%; bottom: 3%;
  display: flex; align-items: baseline; gap: 2px;
  padding: 1.6cqw 2.8cqw 1.9cqw; border-radius: 2.5cqw; background: var(--mint-soft); color: var(--mint);
  border: 2px solid var(--mint);
  font-family: var(--f-display); font-weight: 800;
  opacity: 0; transform: rotate(-6deg) scale(1.4); transition: opacity 0.3s, transform 0.5s var(--ease);
}
/* Sized to the paper, so the stamp keeps its place below the last score at any paper size. */
.total__n { font-size: 6.6cqw; line-height: 1; letter-spacing: -0.03em; }
.total__d { font-size: 2.8cqw; }
.stage[data-step="4"] .total { opacity: 1; transform: rotate(-6deg); transition-delay: 1.1s; }

.stage__report {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
}
.stage__report img {
  /* The box keeps the report's own ratio, so no empty white area hangs below it. */
  height: min(88cqh, 88cqw * 1288 / 911); width: auto; max-width: none; aspect-ratio: 911 / 1288; object-fit: contain; border-radius: 4px; background: #fff;
  box-shadow: var(--paper-shadow);
  transform: translate(60%, 8%) rotate(8deg); opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.5s;
}
.stage[data-step="5"] .stage__report img { transform: translate(8%, 3%) rotate(2.5deg); opacity: 1; }
.stage[data-step="5"] .stage__paper { transform: translate(-10%, -2%) rotate(-4deg) scale(0.94); filter: brightness(0.97); }

.walk__steps { list-style: none; margin: 0; padding: 0; min-width: 0; }
.step {
  min-height: 78vh; display: flex; flex-direction: column; justify-content: center;
  padding-block: 24px; opacity: 0.32; transition: opacity 0.5s;
}
.step:first-child { min-height: 64vh; justify-content: flex-start; padding-top: 10vh; }
.step:last-child { min-height: 70vh; }
.step.is-on { opacity: 1; }
.step__no {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border: 2px solid var(--ink); border-radius: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 1.15rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.step.is-on .step__no { background: var(--blue); border-color: var(--blue); color: #fff; }
.step__t { margin: 0 0 10px; font-family: var(--f-display); font-weight: 750; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; }
.step p { margin: 0; max-width: 26em; color: var(--ink-2); font-size: var(--t-lg); line-height: 1.5; }

/* ---------- split: one PDF, one paper per student ---------- */
.split {
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
  padding: clamp(40px, 7vw, 110px) var(--gut);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: center;
}
.split__copy { min-width: 0; }
.split__vis { min-width: 0; position: relative; display: grid; gap: 22px; }
.pdf {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--paper-shadow);
  max-width: 440px;
}
.pdf__icon { display: grid; place-items: center; width: 44px; height: 54px; border-radius: 6px; background: var(--coral); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; }
.pdf__name { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdf__meta { color: var(--ink-3); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.roster li {
  position: relative; aspect-ratio: 3 / 4; border-radius: 4px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(12, 24, 48, 0.08), 0 8px 16px -10px rgba(12, 24, 48, 0.25);
  padding: 6px 6px 0; overflow: hidden;
}
.roster li::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 26px; bottom: 8px;
  background: repeating-linear-gradient(180deg, transparent 0 6px, #e7ecf6 6px 7px);
}
.roster li span { position: relative; display: block; font-size: 0.62rem; font-weight: 700; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roster li i { position: absolute; right: 5px; bottom: 5px; font-style: normal; font-size: 0.58rem; font-weight: 800; color: var(--mint); }

/* ---------- more: what else teachers get ---------- */
.more { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(30px, 6vw, 90px) var(--gut) clamp(60px, 8vw, 120px); }
.more__title { margin-bottom: clamp(30px, 5vw, 60px); }
.more__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.more__item { min-width: 0; }
.more__item--rubric {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 4vw, 52px); border-radius: var(--r-lg); background: var(--sky-2);
}
.more__item--class { grid-column: 1 / span 7; display: grid; gap: 22px; align-content: start; }
.more__item--lang { grid-column: 8 / -1; display: grid; gap: 22px; align-content: start; }
.more__text p { margin: 0; color: var(--ink-2); max-width: 32em; }
.tilt { margin: 0; }
.tilt img { border-radius: 4px; box-shadow: var(--paper-shadow); max-height: 460px; width: auto; margin-inline: auto; }
.tilt--l img { transform: rotate(-3deg); }

.klass { padding: 22px 22px 16px; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--paper-shadow); }
.klass__h { margin: 0 0 14px; font-weight: 700; font-size: var(--t-sm); }
.klass__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.klass__rows li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr) 3em; align-items: center; gap: 14px; font-size: var(--t-sm); }
.klass__rows span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.klass__rows b { position: relative; height: 10px; border-radius: 99px; background: var(--desk-2); overflow: hidden; }
.klass__rows b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.1s var(--ease); }
.klass__rows em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.klass__rows .is-low b::after { background: var(--amber); }
.klass__rows .is-low em { color: #a86b00; }
.klass__note { margin: 12px 0 0; font-size: var(--t-xs); color: var(--ink-3); text-align: right; }

.langs { list-style: none; margin: 0; padding: 22px; display: flex; flex-wrap: wrap; gap: 8px 10px; border-radius: var(--r-md); background: var(--blue); }
.langs li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-family: var(--f-display); font-weight: 650; font-size: 1.05rem; }
.langs li:first-child { background: #fff; color: var(--blue); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; margin: 0 var(--gut) clamp(40px, 6vw, 90px); border-radius: var(--r-lg); background: var(--blue); color: #fff; }
.cta__in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(22px, 5vw, 80px); }
.cta__t { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.3rem, 1.2rem + 4vw, 4.6rem); letter-spacing: -0.045em; line-height: 1; max-width: 12em; }
.cta__s { margin: 16px 0 0; font-size: var(--t-lg); color: rgba(255, 255, 255, 0.86); }
.cta__row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta__doodle { position: absolute; right: -2%; bottom: 8%; width: min(46%, 520px); height: auto; }
.cta__doodle path { fill: none; stroke: var(--marker); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: var(--draw, 0); }

/* ---------- press clippings ---------- */
.press { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(50px, 8vw, 120px) var(--gut); }
.press__head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 56px); }
.press__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.press__list li { min-width: 0; }
.press__list li:nth-child(3n + 1) { transform: rotate(-1.4deg); }
.press__list li:nth-child(3n + 2) { transform: rotate(1deg) translateY(14px); }
.press__list li:nth-child(3n) { transform: rotate(-0.4deg); }
.press__list a {
  display: grid; gap: 10px; height: 100%; padding: 22px 22px 18px; text-decoration: none;
  background: var(--paper); box-shadow: 0 1px 2px rgba(12, 24, 48, 0.06), 0 14px 28px -20px rgba(12, 24, 48, 0.4);
  clip-path: polygon(0 3%, 6% 0, 14% 2%, 26% 0, 38% 2.5%, 52% 0, 64% 2%, 77% 0, 90% 2.4%, 100% 0, 100% 100%, 0 100%);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.press__list a:hover { transform: translateY(-4px) rotate(0.6deg); box-shadow: 0 2px 4px rgba(12, 24, 48, 0.06), 0 24px 40px -22px rgba(12, 24, 48, 0.45); }
.press__src { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--blue); }
.press__t { font-size: var(--t-md); font-weight: 600; line-height: 1.35; }
.press__list time { font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- contact ---------- */
.contact {
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) var(--gut) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: start;
}
.contact__copy { min-width: 0; }
.contact__info { margin: 30px 0 0; display: grid; gap: 16px; }
.contact__info div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.contact__info dt { color: var(--ink-3); font-size: var(--t-sm); }
.contact__info dd { margin: 0; font-weight: 700; user-select: all; overflow-wrap: anywhere; }
.form { min-width: 0; display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--paper-shadow); }
.form__row { display: grid; gap: 6px; }
.form label { font-weight: 700; font-size: var(--t-sm); }
.form input, .form textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--desk);
  font: inherit; color: var(--ink); transition: border-color 0.2s, background-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.contact__info dd a { color: inherit; text-decoration: none; }
.contact__info dd a:hover, .contact__info dd a:focus-visible { color: var(--blue); text-decoration: underline; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400 !important; color: var(--ink-2); line-height: 1.45; }
.form__consent input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: none; accent-color: var(--blue); }
.form__consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__consent a { color: var(--blue); }
.form__status { margin: 0; min-height: 1.4em; font-size: var(--t-sm); color: var(--mint); font-weight: 600; }
.form__status.is-err { color: var(--coral); }


/* ---------- educator responsive ---------- */
@media (max-width: 900px) {
  :root { --bar-h: 60px; }
  .hero {
    padding-top: clamp(24px, 5vw, 36px);
    padding-bottom: clamp(32px, 6vw, 48px);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Mobilde hero görselini kaldır: site doğrudan metinle karşılasın */
  .stack {
    display: none !important;
  }
  /* Mobilde üst rozeti kaldır: site doğrudan "Öğretmenler için yapay zekâ..." metniyle karşılasın */
  .hero__copy .kvkk-badge {
    display: none !important;
  }
  .hero__kicker {
    font-size: 1rem;
    font-weight: 750;
    color: var(--blue);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    display: inline-block;
  }
  .hero__title {
    font-size: clamp(2.1rem, 7.5vw, 3.1rem);
    line-height: 1.12;
    margin-bottom: 16px;
  }
  .hero__sub {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero__cta .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding-top: 18px;
  }
  .hero__proof li {
    font-size: 0.86rem;
  }
  .hero__kvkk {
    grid-column: 1 / -1;
  }
  .walk__body { grid-template-columns: 1fr; gap: 0; }
  .walk__stage { position: sticky; top: var(--bar-h); z-index: 2; height: 50vh; padding-block: 10px; background: var(--desk); }
  .stage { position: relative; top: 0; height: 100%; }
  .walk__steps { position: relative; z-index: 1; }
  .step, .step:first-child, .step:last-child { min-height: 52vh; justify-content: flex-end; padding: 0 0 8vh; opacity: 1; }
  .step__t { font-size: 1.7rem; }
  .split, .contact { grid-template-columns: 1fr; }
  .more__item--rubric { grid-template-columns: 1fr; }
  .more__item--class, .more__item--lang { grid-column: 1 / -1; }
  .press__list { grid-template-columns: 1fr 1fr; }
  .slogan__note { text-align: left; margin-left: 0; }
}
@media (max-width: 560px) {
  .roster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roster li:nth-child(n + 17) { display: none; }
  .press__list { grid-template-columns: 1fr; }
  .press__list li:nth-child(n) { transform: none; }
  .klass__rows li { grid-template-columns: minmax(0, 8em) minmax(0, 1fr) 2.6em; }
  /* On narrow screens the line would run behind the transparent button and read as a strike-through. */
  .cta__doodle { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  /* Stack the contact section on phones */
  .contact { flex-direction: column; gap: 24px; }
  /* Reduce hero padding on small screens */
  .hero { padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(32px, 5vw, 60px); }
  /* Stack stack (paper) below copy on very narrow screens */
  .hero__grid { gap: 20px; }
  /* Make the split section stack */
  .split__vis { padding-inline: 0; }
  /* Screen tabs scrollable on mobile */
  .screen__tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding: 4px; scroll-snap-type: x mandatory; }
  .screen__tabs button { scroll-snap-align: start; white-space: nowrap; }
}

/* Very narrow screens (375px iPhone SE) */
@media (max-width: 390px) {
  .hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__sub { font-size: 1rem; }
  .slogan__text { font-size: clamp(2rem, 8vw, 3rem); }
}


/* hand-made details: pen arrow, tape, paper clip */
.arrow-pen { width: 92px; height: auto; margin: -8px 0 -14px 120px; }
.arrow-pen path { fill: none; stroke: var(--pen); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: var(--draw, 0); }
.tilt { position: relative; }
.tape { position: absolute; z-index: 2; top: -14px; left: 50%; width: 120px; height: 34px; margin-left: -60px; background: rgba(255, 216, 77, 0.6); transform: rotate(-4deg); box-shadow: 0 1px 2px rgba(12, 24, 48, 0.08); clip-path: polygon(2% 0, 98% 4%, 100% 100%, 0 96%); }
.h3--big { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.press__list a { position: relative; }
.press__list li:nth-child(odd) a::before { content: ""; position: absolute; top: -10px; left: 28px; width: 70px; height: 22px; background: rgba(9, 87, 224, 0.18); transform: rotate(-6deg); }
.press__list li:nth-child(even) a::before { content: ""; position: absolute; top: -10px; right: 28px; width: 70px; height: 22px; background: rgba(255, 216, 77, 0.55); transform: rotate(5deg); }
.press__list a { clip-path: none; }
.walk { overflow-x: clip; }

/* ---------- hero papers at true A4 proportions ---------- */
.stack { width: min(100%, 390px); margin-top: 26px; }
.stack .sheet__paper { aspect-ratio: 1240 / 1754; transform: rotate(3deg); }
.stack__back { inset: 3% -10% auto 10%; aspect-ratio: 1240 / 1754; transform: rotate(-6deg); }
.clip { top: -26px; left: 18%; width: 30px; height: 70px; transform: rotate(4deg); }
.hero.is-marked .stack .sheet__paper { transform: rotate(-1deg) translateY(-6px); }

/* ---------- real screens in a browser window ---------- */
.screen { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: clamp(40px, 7vw, 110px) var(--gut); }
.screen__head { max-width: 760px; }
.screen__tabs { margin: 30px 0 22px; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--desk-2); border: 1px solid var(--rule); flex-wrap: wrap; }
.screen__tabs button { border: 0; background: none; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); color: var(--ink-2); transition: background-color 0.3s, color 0.3s; }
.screen__tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.screen__stage { position: relative; }
.notes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 40px 0 0 0; pointer-events: none; }
.note {
  position: absolute; left: var(--x); top: var(--y); display: grid; gap: 1px; max-width: 15em;
  padding: 10px 14px 11px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.82rem; line-height: 1.3;
  box-shadow: 0 14px 30px -14px rgba(12, 24, 48, 0.7);
  opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 0.4s, transform 0.5s var(--ease);
}
.note b { font-family: var(--f-display); font-size: 1rem; color: var(--marker); }
.note.is-on { opacity: 1; transform: none; }
.note:nth-child(2).is-on { transition-delay: 0.2s; } .note:nth-child(3).is-on { transition-delay: 0.4s; }

/* ---------- feature index, set like an answer key ---------- */
.index { padding: clamp(40px, 7vw, 100px) var(--gut); }
.index__in { max-width: var(--max); margin: 0 auto; padding: clamp(26px, 4vw, 56px); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--paper-shadow); position: relative; }
.index__in::before { content: ""; position: absolute; left: clamp(14px, 2.4vw, 30px); top: 0; bottom: 0; width: 2px; background: rgba(226, 96, 79, 0.35); }
.index__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); counter-reset: f; }
.index__list li { counter-increment: f; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 2px 8px; padding: 16px 0; border-bottom: 1px dashed var(--rule); }
.index__list li::before { content: counter(f) "."; grid-row: 1 / span 2; font-family: var(--f-hand); font-size: 1.5rem; line-height: 1; color: var(--pen); font-weight: 700; }
.index__list b { font-family: var(--f-display); font-size: 1.12rem; letter-spacing: -0.01em; }
.index__list span { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.45; }
@media (max-width: 900px) {
  .index__list { grid-template-columns: 1fr 1fr; }
  .notes { position: static; display: grid; gap: 8px; margin-top: 16px; }
  .note { position: static; max-width: none; display: none; }
  .note.is-on { display: grid; }
  .stack { width: min(76%, 320px); }
}
@media (max-width: 560px) { .index__list { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .stage__report img { transform: translate(12%, 8%) rotate(6deg); }
  .stage[data-step="5"] .stage__report img { transform: translate(4%, 3%) rotate(2deg); }
  .clip { top: -34px; }
}
.clip { top: -40px; height: 64px; }

/* ---------- walk, pinned: one scroll, one step ---------- */
.walk__dots { display: none; }
.walk.is-pinned .walk__body { height: calc(100vh - var(--bar-h) - 48px); align-items: stretch; }
.walk.is-pinned .walk__stage { height: 100%; }
.walk.is-pinned .stage { position: relative; top: 0; height: 100%; max-height: none; }
.walk.is-pinned .walk__steps { position: relative; height: 100%; }
.walk.is-pinned .step {
  position: absolute; inset: 0; min-height: 0; padding: 0; justify-content: center;
  opacity: 0; transform: translateY(46px); pointer-events: none;
  transition: opacity 0.45s, transform 0.7s var(--ease);
}
.walk.is-pinned .step.is-past { transform: translateY(-46px); }
.walk.is-pinned .step.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.12s; }
.walk.is-pinned .walk__dots { display: flex; position: absolute; left: 0; bottom: 12%; gap: 8px; }
.walk__dots i { width: 34px; height: 5px; border-radius: 99px; background: var(--rule); transition: background-color 0.4s; }
.walk__dots i.is-on { background: var(--blue); }
@media (max-width: 900px) {
  .walk.is-pinned .walk__body { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: calc(100svh - var(--bar-h) - 16px); }
  .walk.is-pinned .walk__stage { position: relative; top: 0; height: auto; min-height: 0; background: none; padding: 0; }
  /* The step text needs room for its longest line on small phones, with the dots below it. */
  .walk.is-pinned .walk__steps { height: 250px; }
  .walk.is-pinned .step { justify-content: flex-start; padding-top: 14px; padding-bottom: 22px; }
  .walk.is-pinned .step__t { font-size: 1.45rem; }
  .walk.is-pinned .step p { font-size: var(--t-md); }
  .walk.is-pinned .step__no { width: 36px; height: 36px; margin-bottom: 10px; }
  .walk.is-pinned .walk__dots { bottom: 0; }
}

/* ---------- KVKK ---------- */
.hero__proof .hero__kvkk { flex-basis: 100%; gap: 10px; color: var(--ink); }
.hero__kvkk b { font-weight: 800; }
.hero__kvkk span { color: var(--ink-3); font-size: var(--t-xs); }
.kvkk { padding: clamp(50px, 7vw, 110px) var(--gut); background: var(--ink); color: #fff; }
.kvkk__in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.kvkk__vis { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); }
.kvkk__paper { position: relative; aspect-ratio: 1240 / 560; overflow: hidden; background: #fff; border-radius: 4px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6); transform: rotate(-2.5deg); }
.kvkk__paper img { width: 100%; }
.kvkk__bar { position: absolute; background: #0c1222; transform-origin: left center; transform: scaleX(var(--k, 1)); transition: transform 0.7s var(--ease); }
.kvkk__bar--name { left: 4.6%; top: 13.9%; width: 8%; height: 7.4%; }
.kvkk__bar--no { left: 88.5%; top: 18.6%; width: 8.2%; height: 7.6%; transition-delay: 0.25s; }
.kvkk__stamp {
  position: absolute; right: -4%; bottom: -16%; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  border: 5px solid var(--mint); color: var(--mint); background: rgba(12, 24, 48, 0.85);
  font: 800 2rem / 1 var(--f-display); letter-spacing: 0.02em; transform: rotate(-14deg);
  box-shadow: inset 0 0 0 3px rgba(22, 163, 106, 0.4);
}
.kvkk__stamp small { display: block; margin-top: -26px; font: 700 1.25rem var(--f-hand); letter-spacing: 0; }
.kvkk__copy { min-width: 0; }
.kvkk .eyebrow { color: var(--marker); }
.kvkk .lead { color: rgba(255, 255, 255, 0.8); max-width: 36em; }
.kvkk__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.kvkk__list li { position: relative; padding-left: 38px; color: rgba(255, 255, 255, 0.78); line-height: 1.5; }
.kvkk__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.kvkk__list b { color: #fff; }
@media (max-width: 900px) { .kvkk__in { grid-template-columns: 1fr; } .kvkk__vis { margin-bottom: 30px; } .kvkk__stamp { width: 104px; height: 104px; font-size: 1.6rem; } }
.kvkk-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--mint-soft); color: #0e6b47; text-decoration: none; font-size: var(--t-sm); border: 1px solid rgba(22, 163, 106, 0.35); transition: transform 0.3s var(--ease); }
.kvkk-badge:hover { transform: translateY(-2px); }
.kvkk-badge b { font-weight: 800; }
.kvkk-badge span { color: #2c6f55; }
.kvkk-badge span::before { content: "·"; margin-right: 8px; }
@media (max-width: 560px) { .kvkk-badge { font-size: 0.8rem; flex-wrap: wrap; row-gap: 2px; border-radius: 16px; } .kvkk-badge span { flex-basis: 100%; padding-left: 26px; } .kvkk-badge span::before { content: none; } }

/* Keep the walk paper A4 on every screen. With height:100% and max-width:100%
   a stage narrower than the paper squashed the box (phones, and 1920x1080
   monitors): the image (cover) was cropped while the SVG boxes, scores and
   redaction bars were not, so they landed in the wrong place. The paper also
   overflowed the pinned stage on laptops. Now it fits the stage both ways. */
.stage { container-type: size; }
.stage__paper { height: min(100cqh, 100cqw * 1754 / 1240); width: auto; max-width: none; container-type: inline-size; }

/* Puanist: SEO başlığı daha uzun olduğu için ana başlık boyutu ayarlandı */
.hero__title { font-size: clamp(2.3rem, 1rem + 3.6vw, 4.2rem); text-wrap: balance; }
