/* gradex.cn company site. Colours and type come from tokens.css. */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/assets/fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --ease-out: cubic-bezier(.2, .75, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
  --gutter: 20px;
  --nav-h: 76px;
  /* Family defaults to violet; product bands override these. */
  --fam-50: var(--gx-violet-50);
  --fam-100: var(--gx-violet-100);
  --fam-300: var(--gx-violet-300);
  --fam-500: var(--gx-violet-400);
  --fam-700: var(--gx-violet-700);
  --fam-900: var(--gx-ink);
  --shadow-lift: 0 22px 44px -22px rgba(42, 37, 71, .38);
  --shadow-soft: 0 10px 30px -18px rgba(42, 37, 71, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--gx-mist);
  color: var(--gx-ink);
  font-family: var(--gx-font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
/* The page has two audiences. Teachers is the default; the hero switch sets the other. */
[data-audience="teachers"] [data-for="schools"],
[data-audience="schools"] [data-for="teachers"] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gx-ink); color: var(--gx-white); padding: 10px 16px; border-radius: var(--gx-radius-md);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gx-violet-700); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 22px;
  border-radius: var(--gx-radius-md); border: 1.5px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-primary { background: var(--gx-violet-600); color: var(--gx-white); }
.btn-primary:hover { background: var(--gx-violet-700); }
.btn-quiet { background: var(--gx-white); color: var(--gx-ink); border-color: var(--gx-line); }
.btn-quiet:hover { border-color: var(--gx-violet-200); }
.btn-honey { background: var(--gx-honey-700); color: var(--gx-white); }
.btn-honey:hover { background: var(--gx-honey-900); }
.btn-sage { background: var(--gx-sage-300); color: var(--gx-night); }
.btn-sage:hover { background: var(--gx-sage-100); }
.btn-night { background: transparent; color: var(--gx-white); border-color: rgba(255, 255, 255, .28); }
.btn-night:hover { border-color: var(--gx-sage-300); }
.btn-teacher { background: var(--gx-sage-700); color: var(--gx-white); }
.btn-teacher:hover { background: var(--gx-sage-900); }
.text-link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fam-700); text-decoration: none; }
.text-link .icon { transition: transform .3s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--gx-mist);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav.is-scrolled { border-bottom-color: var(--gx-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav-logo img { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 16px; }
.nav-links a:not(.btn) { text-decoration: none; position: relative; padding-block: 6px; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--gx-violet-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-links a:not(.btn):hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--gx-line); border-radius: var(--gx-radius-md); background: var(--gx-white); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--gx-ink); content: "";
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; top: -6px; }
.nav-toggle-bars::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding-block: clamp(24px, 3.5vw, 48px) clamp(56px, 7vw, 96px); overflow-x: clip; }
/* Sized to share a row with the board on desktop; the single-column layout below 1020px sets its own size. */
.hero-title {
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.hero-line { display: block; }
.hero-line-role { white-space: nowrap; }
.role {
  --role-bg: var(--gx-clay-100);
  --role-fg: var(--gx-clay-700);
  display: inline-block;
  position: relative;
  vertical-align: top;
  height: 1.12em;
  padding-inline: .14em;
  margin-left: -.06em;
  margin-right: .06em;
  border-radius: .2em;
  background: var(--role-bg);
  color: var(--role-fg);
  overflow: hidden;
  transition: width .6s var(--ease-out), background-color .6s, color .6s;
}
.role[data-family="sage"] { --role-bg: var(--gx-sage-100); --role-fg: var(--gx-sage-700); }
.role[data-family="honey"] { --role-bg: var(--gx-honey-100); --role-fg: var(--gx-honey-700); }
.role[data-family="clay"] { --role-bg: var(--gx-clay-100); --role-fg: var(--gx-clay-700); }
.role-word { display: inline-block; line-height: 1.12em; white-space: nowrap; }
.role.is-ready .role-word {
  position: absolute; left: .14em; top: 0;
  transition: transform .6s var(--ease-out), opacity .45s;
}
.role.is-ready .role-word.is-entering { transform: translateY(80%); opacity: 0; }
.role.is-ready .role-word.is-leaving { transform: translateY(-80%); opacity: 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: var(--gx-muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gx-sage-700); }
.hero-kicker .icon { width: 18px; height: 18px; stroke-width: 2; }

/* Teacher hero: the people behind the platform */
.hero-support {
  display: flex; align-items: center; gap: 14px; max-width: 48ch;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: var(--gx-white); box-shadow: inset 0 0 0 1.5px var(--gx-sage-100);
}
.hero-support-icon { width: 42px; height: 42px; flex: none; border-radius: var(--gx-radius-mark); display: grid; place-items: center; background: var(--gx-sage-100); color: var(--gx-sage-700); }
.hero-support-icon .icon { width: 22px; height: 22px; stroke-width: 2; }
.hero-support p { font-size: 14.5px; line-height: 1.45; color: var(--gx-muted); }
.hero-support b { display: block; font-size: 15.5px; color: var(--gx-ink); }

/* A pill on each hero side that crosses over to the other audience */
.hero-cross {
  --cross-50: var(--gx-sage-50); --cross-100: var(--gx-sage-100); --cross-500: var(--gx-sage-500);
  --cross-700: var(--gx-sage-700); --cross-900: var(--gx-sage-900);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: var(--gx-radius-pill);
  background: var(--cross-50); color: var(--cross-900); box-shadow: inset 0 0 0 1.5px var(--cross-100);
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background-color .2s, box-shadow .2s;
}
.hero-cross-schools { --cross-50: var(--gx-violet-50); --cross-100: var(--gx-violet-100); --cross-500: var(--gx-violet-400); --cross-700: var(--gx-violet-600); --cross-900: var(--gx-ink); }
.hero-cross:hover { background: var(--cross-100); box-shadow: inset 0 0 0 1.5px var(--cross-500); }
.hero-cross-tag { padding: 4px 10px; border-radius: var(--gx-radius-pill); background: var(--cross-700); color: var(--gx-white); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.hero-cross .icon { color: var(--cross-700); transition: transform .3s var(--ease-out); }
.hero-cross:hover .icon { transform: translateX(3px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: 15px; }
.hero-points li { display: flex; gap: 10px; }
.xlist li { position: relative; padding-left: 26px; }
.hero-points li::before { content: "×"; color: var(--gx-violet-400); font-weight: 800; }
.motion-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 6px 0; color: var(--gx-muted); font-size: 14px; font-weight: 600; cursor: pointer;
}
.motion-toggle:hover { color: var(--gx-ink); }
.motion-toggle .icon { width: 16px; height: 16px; }
.motion-toggle .icon-play { display: none; }
.motion-toggle[aria-pressed="true"] .icon-play { display: block; }
.motion-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* Hero sides: both share one grid cell, so switching never moves the page */
.hero-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: clamp(24px, 3.5vw, 44px); }
.hero-switch { position: relative; display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--gx-radius-pill); background: var(--gx-white); box-shadow: 0 0 0 1px var(--gx-line); }
.hero-tab {
  position: relative; z-index: 1; overflow: hidden; border: 0; background: none; cursor: pointer;
  padding: 10px 20px; border-radius: var(--gx-radius-pill); font-weight: 700; font-size: 15px; color: var(--gx-muted);
  transition: color .3s;
}
.hero-tab:hover { color: var(--gx-ink); }
.hero-tab[aria-selected="true"] { color: var(--gx-white); }
.hero-switch-thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0;
  border-radius: var(--gx-radius-pill); background: var(--gx-sage-700);
  transform: translateX(var(--thumb-x, 5px)); width: var(--thumb-w, 0);
  transition: transform .5s var(--ease-spring), width .5s var(--ease-spring), background-color .4s;
}
[data-audience="schools"] .hero-switch-thumb { background: var(--gx-violet-600); }
.hero-stage { display: grid; }
.hero-side { grid-area: 1 / 1; transition: opacity .5s var(--ease-out) .1s, transform .6s var(--ease-out) .1s, visibility 0s; }
.hero-side:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
.hero-side .board { transition: transform .8s var(--ease-spring) .1s; }
.hero-side:not(.is-active) .board { transform: translateX(32px) rotate(1deg); }
.hero-side.is-entering .hero-copy > * { animation: hero-rise .6s var(--ease-out) both; }
.hero-side.is-entering .hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-side.is-entering .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-side.is-entering .hero-copy > :nth-child(n+4) { animation-delay: .18s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } }
/* The shared statement leads; each side's headline sits a size below it. */
.hero-title.hero-statement { font-size: clamp(28px, 6.6vw, 38px); letter-spacing: -.035em; margin-bottom: clamp(16px, 2.4vw, 24px); }
.hero-title.hero-side-title { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1.05; }
.hero-side-title .role { margin-right: -.02em; }
.hero-mark.hero-mark-violet { background: var(--gx-violet-100); color: var(--gx-violet-700); }
.hero-mark { display: inline-block; padding-inline: .14em; margin-left: -.06em; border-radius: .2em; background: var(--gx-sage-100); color: var(--gx-sage-700); }
.hero-points-sage li::before { color: var(--gx-sage-500); }

/* Hero board: three live product cards */
.board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
  padding: clamp(14px, 2vw, 24px);
  border-radius: 36px;
  background: var(--gx-violet-100);
}
.board::after {
  content: "×";
  position: absolute; right: 22px; top: -46px;
  font-size: 84px; font-weight: 800; line-height: 1;
  color: var(--gx-honey-300);
  animation: spark-spin 14s linear infinite;
}
@keyframes spark-spin { to { transform: rotate(360deg); } }
.card {
  background: var(--gx-white);
  border-radius: 22px;
  padding: 18px;
  display: grid; gap: 12px; align-content: start;
  min-width: 0;
  box-shadow: 0 0 0 0 transparent;
  transition: transform .55s var(--ease-spring), box-shadow .55s var(--ease-out), opacity .45s;
}
.board.has-active .card { opacity: .62; }
.board.has-active .card.is-active { opacity: 1; transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lift), 0 0 0 2px var(--fam-500); }
.card-enrol { grid-row: span 2; --fam-50: var(--gx-honey-50); --fam-100: var(--gx-honey-100); --fam-500: var(--gx-honey-500); --fam-700: var(--gx-honey-700); }
.card-hire { --fam-50: var(--gx-sage-50); --fam-100: var(--gx-sage-100); --fam-500: var(--gx-sage-500); --fam-700: var(--gx-sage-700); }
.card-build { --fam-50: var(--gx-clay-50); --fam-100: var(--gx-clay-100); --fam-500: var(--gx-clay-500); --fam-700: var(--gx-clay-700); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag { font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: var(--gx-radius-pill); background: var(--fam-100); color: var(--fam-700); }
.card-meta { font-size: 12px; font-weight: 600; color: var(--gx-muted); }
.card-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.card-sub { font-size: 13px; color: var(--gx-muted); }

.scan {
  position: relative; width: 100%; aspect-ratio: 1.7; max-width: 100%;
  border-radius: 20%;
  background: var(--fam-50);
  display: grid; place-items: center; overflow: hidden;
}
.qr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; height: 62%; aspect-ratio: 1; }
.qr i { border-radius: 4px; background: var(--fam-700); }
.qr i:nth-child(2), .qr i:nth-child(4), .qr i:nth-child(8) { background: transparent; box-shadow: inset 0 0 0 3px var(--fam-700); }
.qr i:nth-child(5) { transform: scale(.55); }
.scan-line {
  position: absolute; left: 12%; right: 12%; top: 18%; height: 3px; border-radius: 3px;
  background: var(--gx-violet-600);
  box-shadow: 0 0 0 4px rgba(106, 95, 171, .15);
  animation: scan 2.2s var(--ease-out) infinite alternate;
}
@keyframes scan { to { top: 80%; } }
.stations { display: grid; gap: 8px; }
.stations li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--gx-muted); transition: color .3s; }
.stations li span {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2px solid var(--gx-line); background: var(--gx-white);
  display: grid; place-items: center;
  transition: background-color .35s, border-color .35s, transform .45s var(--ease-spring);
}
.stations li span::after { content: ""; width: 8px; height: 4px; border: solid var(--gx-white); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); opacity: 0; transition: opacity .2s .1s; }
.card-enrol[data-step="1"] .stations li:nth-child(-n+1),
.card-enrol[data-step="2"] .stations li:nth-child(-n+2),
.card-enrol[data-step="3"] .stations li:nth-child(-n+3),
.card-enrol[data-step="4"] .stations li:nth-child(-n+4),
.card-enrol[data-step="5"] .stations li { color: var(--gx-ink); }
.card-enrol[data-step="1"] .stations li:nth-child(-n+1) span,
.card-enrol[data-step="2"] .stations li:nth-child(-n+2) span,
.card-enrol[data-step="3"] .stations li:nth-child(-n+3) span,
.card-enrol[data-step="4"] .stations li:nth-child(-n+4) span,
.card-enrol[data-step="5"] .stations li span { background: var(--gx-sage-700); border-color: var(--gx-sage-700); transform: scale(1.08); }
.card-enrol[data-step="1"] .stations li:nth-child(-n+1) span::after,
.card-enrol[data-step="2"] .stations li:nth-child(-n+2) span::after,
.card-enrol[data-step="3"] .stations li:nth-child(-n+3) span::after,
.card-enrol[data-step="4"] .stations li:nth-child(-n+4) span::after,
.card-enrol[data-step="5"] .stations li span::after { opacity: 1; }

.ready { display: flex; align-items: center; gap: 12px; }
.ring { width: 48px; height: 48px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring-track { stroke: var(--gx-sage-100); }
.ring-fill {
  stroke: var(--gx-sage-700); stroke-linecap: round;
  stroke-dasharray: 113.1; stroke-dashoffset: 90;
  transition: stroke-dashoffset .7s var(--ease-out);
}
.docs { display: flex; flex-wrap: wrap; gap: 6px; }
.docs li {
  font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: var(--gx-radius-pill);
  background: var(--gx-mist); color: var(--gx-muted);
  transition: background-color .35s, color .35s, transform .45s var(--ease-spring);
}
.card-hire[data-step="1"] .ring-fill { stroke-dashoffset: 62; }
.card-hire[data-step="2"] .ring-fill { stroke-dashoffset: 34; }
.card-hire[data-step="3"] .ring-fill { stroke-dashoffset: 0; }
.card-hire[data-step="0"] .docs li:nth-child(-n+1),
.card-hire[data-step="1"] .docs li:nth-child(-n+2),
.card-hire[data-step="2"] .docs li:nth-child(-n+3),
.card-hire[data-step="3"] .docs li { background: var(--gx-sage-100); color: var(--gx-sage-700); }

.progress-steps { display: flex; gap: 6px; }
.progress-steps li {
  flex: 1; font-size: 12px; font-weight: 700; text-align: center;
  padding: 7px 4px; border-radius: 10px; background: var(--gx-mist); color: var(--gx-muted);
  transition: background-color .35s, color .35s;
}
.card-build[data-step="0"] .progress-steps li:nth-child(-n+1),
.card-build[data-step="1"] .progress-steps li:nth-child(-n+2),
.card-build[data-step="2"] .progress-steps li { background: var(--gx-clay-100); color: var(--gx-clay-700); }

/* Teacher side board: a verified profile filling in */
.board-sage { background: var(--gx-sage-100); padding-bottom: 100px; }
.board-sage::after { color: var(--gx-violet-300); }
.tprofile { grid-column: 1 / -1; gap: 10px; }
.tp-head { display: flex; align-items: center; gap: 14px; }
.tp-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; box-shadow: 0 0 0 3px var(--gx-white), 0 0 0 5px var(--gx-sage-300); }
.tp-who { min-width: 0; flex: 1; }
.tp-move, .ph-move { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--gx-sage-700); margin-top: 3px; }
.tp-move .icon, .ph-move .icon { width: 14px; height: 14px; stroke-width: 2; flex: none; }
.ph-move { justify-content: center; font-size: 11.5px; margin-top: 2px; }
.tp-head .vbadge { transition: transform .5s var(--ease-spring), opacity .3s; }
.tp-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-muted); padding-top: 4px; }
.tp-docs li { background: var(--gx-sage-100); color: var(--gx-sage-700); }
.tp-refs li { display: flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 14px; font-weight: 600; }
.tp-refs li + li { border-top: 1px solid var(--gx-line); }
.tp-refs em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--gx-muted); }
.tp-refs .tick { background: var(--gx-sage-700); border-color: var(--gx-sage-700); }
.tp-refs .tick::after { opacity: 1; }
.tqr, .tcomplete { display: flex; align-items: center; gap: 12px; }
.tqr-code { width: 60px; height: 60px; flex: none; fill: var(--gx-night); }
.tqr p, .tcomplete p { display: grid; font-size: 13px; color: var(--gx-muted); line-height: 1.35; min-width: 0; }
.tqr b, .tcomplete b { font-size: 15px; color: var(--gx-ink); letter-spacing: -.01em; }
.tcomplete .ring-fill { stroke-dashoffset: 0; }
.tview {
  --tview-x: -50%;
  position: absolute; left: 50%; bottom: 16px; z-index: 2;
  display: flex; align-items: flex-start; gap: 10px; width: min(380px, calc(100% - 24px));
  padding: 12px 16px; border-radius: 16px 16px 16px 6px; background: var(--gx-night); color: var(--gx-white);
  font-size: 14px; font-weight: 600; line-height: 1.4; box-shadow: var(--shadow-lift);
  transform: translateX(var(--tview-x)); transition: transform .55s var(--ease-spring), opacity .3s;
}
.tview .icon { color: var(--gx-sage-300); margin-top: 2px; }
.tview b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--gx-sage-300); }
.tboard-demo:is([data-step="0"]) .tp-docs li:nth-child(-n+2),
.tboard-demo:is([data-step="0"], [data-step="1"]) .tp-docs li:nth-child(n+3) { background: var(--gx-mist); color: var(--gx-muted); }
.tboard-demo:is([data-step="0"], [data-step="1"], [data-step="2"]) .tp-refs .tick { background: var(--gx-white); border-color: var(--gx-line); }
.tboard-demo:is([data-step="0"], [data-step="1"], [data-step="2"]) .tp-refs .tick::after { opacity: 0; }
.tboard-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"]) .tp-head .vbadge { transform: scale(.5); opacity: 0; }
.tboard-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"]) .tcomplete .ring-fill { stroke-dashoffset: 40; }
.tboard-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"]) .tview { transform: translate(var(--tview-x), 16px); opacity: 0; }

/* Shared verified badge */
.vbadge {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 4px 10px 4px 8px; border-radius: var(--gx-radius-pill);
  background: var(--gx-sage-100); color: var(--gx-sage-700); font-size: 12px; font-weight: 800;
}
.vbadge .icon { width: 13px; height: 13px; stroke-width: 3; }

/* Areas */
.areas { padding-bottom: clamp(56px, 7vw, 96px); }
.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: 28px 26px 26px; border-radius: 28px;
  background: var(--gx-white); text-decoration: none;
  border: 1.5px solid var(--gx-line);
  transition: transform .4s var(--ease-spring), border-color .3s, background-color .3s;
}
.area:hover { transform: translateY(-4px); border-color: var(--fam-500); background: var(--fam-50); }
.area h3 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.area p { color: var(--gx-muted); }
.area-x {
  width: 46px; height: 46px; border-radius: var(--gx-radius-mark); background: var(--fam-100); color: var(--fam-700);
  display: grid; place-items: center; font-size: 28px; font-weight: 800; line-height: 1;
  transition: transform .5s var(--ease-spring);
}
.area:hover .area-x { transform: rotate(90deg); }
.area-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fam-700); margin-top: 6px; }
.area-more .icon { transition: transform .3s var(--ease-out); }
.area:hover .area-more .icon { transform: translateX(4px); }
.area-honey, .band-honey { --fam-50: var(--gx-honey-50); --fam-100: var(--gx-honey-100); --fam-300: var(--gx-honey-300); --fam-500: var(--gx-honey-500); --fam-700: var(--gx-honey-700); --fam-900: var(--gx-honey-900); }
.area-sage, .band-sage { --fam-50: var(--gx-sage-50); --fam-100: var(--gx-sage-100); --fam-300: var(--gx-sage-300); --fam-500: var(--gx-sage-500); --fam-700: var(--gx-sage-700); --fam-900: var(--gx-sage-900); }
.area-clay, .band-clay { --fam-50: var(--gx-clay-50); --fam-100: var(--gx-clay-100); --fam-300: var(--gx-clay-300); --fam-500: var(--gx-clay-500); --fam-700: var(--gx-clay-700); --fam-900: var(--gx-clay-900); }

/* Why schools work with Gradex */
.benefits { padding-bottom: clamp(56px, 8vw, 104px); }
.benefits-intro { display: grid; gap: 22px; justify-items: start; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.benefit {
  display: grid; gap: 10px; align-content: start;
  padding: 26px 24px; border-radius: 24px; background: var(--gx-white); border: 1.5px solid var(--gx-line);
  transition: transform .4s var(--ease-spring), border-color .3s;
}
.benefit:hover { transform: translateY(-3px); border-color: var(--gx-violet-200); }
.benefit-icon { width: 46px; height: 46px; border-radius: var(--gx-radius-mark); display: grid; place-items: center; background: var(--gx-violet-100); color: var(--gx-violet-700); margin-bottom: 6px; }
.benefit-icon .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.benefit h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.benefit p { color: var(--gx-muted); font-size: 16px; }

/* Who provides what */
.provider {
  max-width: 62ch; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .65); box-shadow: inset 0 0 0 1px rgba(42, 37, 71, .08);
  font-size: 14px; line-height: 1.45; color: var(--gx-muted);
}
.companies { padding-block: clamp(64px, 9vw, 112px) 0; }
.companies .wrap { display: grid; gap: 22px; justify-items: start; }
.company-grid { justify-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(10px, 2vw, 24px); }
.company { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px 26px; border-radius: 24px; background: var(--gx-white); border: 1.5px solid var(--gx-line); }
.company-tag { font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: var(--gx-radius-pill); background: var(--gx-violet-100); color: var(--gx-violet-700); }
.company h3 { font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.company p:not(.company-tag) { color: var(--gx-muted); }
.company-products { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.company-products li { font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: var(--gx-radius-pill); background: var(--gx-mist); }

/* Product bands */
.band {
  margin-inline: max(10px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-right, 0px));
  margin-bottom: 14px;
  padding-block: clamp(56px, 8vw, 112px);
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--fam-50);
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-flip .split-copy { order: 2; }
.split-copy { display: grid; gap: 22px; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--fam-700); }
.eyebrow::before { content: "×"; font-size: 18px; letter-spacing: 0; }
.section-title { font-size: clamp(34px, 5vw, 62px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; max-width: 15ch; }
.section-lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--gx-muted); max-width: 52ch; }
.section-note { font-size: 15px; color: var(--gx-muted); max-width: 52ch; padding-top: 4px; }
.xlist { display: grid; gap: 14px; max-width: 54ch; }
.xlist li::before { content: "×"; position: absolute; left: 2px; top: 0; color: var(--fam-700); font-weight: 800; }
.xlist strong { font-weight: 800; }
.xlist-tight { gap: 10px; font-size: 16px; }

/* Window chrome used by product demos */
.window {
  background: var(--gx-white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(42, 37, 71, .06);
  overflow: hidden;
  position: relative;
}
.window-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--gx-line); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--gx-line); }
.window-title { font-size: 13px; font-weight: 700; color: var(--gx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Enrol demo */
.enrol-demo { padding-bottom: 72px; }
.enrol-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 18px; }
.enrol-stats > div { background: var(--fam-50); border-radius: 16px; padding: 14px; display: grid; gap: 2px; }
.stat-num { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--fam-900); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--gx-muted); }
.enrol-table { padding: 0 18px; display: grid; }
.enrol-row { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 8px; align-items: center; padding-block: 11px; border-top: 1px solid var(--gx-line); font-size: 14px; font-weight: 600; }
.enrol-row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enrol-head { border-top: 0; font-size: 12px; font-weight: 700; color: var(--gx-muted); text-transform: uppercase; letter-spacing: .06em; }
.pill {
  justify-self: start; position: relative;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--gx-radius-pill);
  background: var(--gx-mist); color: var(--gx-muted);
  transition: background-color .4s, color .4s;
}
.pill.done { background: var(--gx-sage-100); color: var(--gx-sage-700); }
.p-done { display: none; }
.enrol-demo[data-step="1"] .t1, .enrol-demo[data-step="2"] :is(.t1, .t2), .enrol-demo[data-step="3"] :is(.t1, .t2, .t3),
.enrol-demo[data-step="4"] :is(.t1, .t2, .t3, .t4), .enrol-demo[data-step="5"] :is(.t1, .t2, .t3, .t4), .enrol-demo[data-step="6"] :is(.t1, .t2, .t3, .t4) {
  background: var(--gx-sage-100); color: var(--gx-sage-700); animation: pop .5s var(--ease-spring);
}
.enrol-demo[data-step="1"] .t1 .p-wait, .enrol-demo[data-step="2"] :is(.t1, .t2) .p-wait, .enrol-demo[data-step="3"] :is(.t1, .t2, .t3) .p-wait,
.enrol-demo[data-step="4"] :is(.t1, .t2, .t3, .t4) .p-wait, .enrol-demo[data-step="5"] :is(.t1, .t2, .t3, .t4) .p-wait, .enrol-demo[data-step="6"] :is(.t1, .t2, .t3, .t4) .p-wait { display: none; }
.enrol-demo[data-step="1"] .t1 .p-done, .enrol-demo[data-step="2"] :is(.t1, .t2) .p-done, .enrol-demo[data-step="3"] :is(.t1, .t2, .t3) .p-done,
.enrol-demo[data-step="4"] :is(.t1, .t2, .t3, .t4) .p-done, .enrol-demo[data-step="5"] :is(.t1, .t2, .t3, .t4) .p-done, .enrol-demo[data-step="6"] :is(.t1, .t2, .t3, .t4) .p-done { display: inline; }
@keyframes pop { 0% { transform: scale(.85); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
.toast {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--gx-ink); color: var(--gx-white); font-size: 14px; font-weight: 600;
  transform: translateY(140%); opacity: 0;
  transition: transform .55s var(--ease-spring), opacity .3s;
}
.toast .icon { color: var(--gx-sage-300); }
.enrol-demo[data-step="5"] .toast, .enrol-demo[data-step="6"] .toast { transform: translateY(0); opacity: 1; }

/* Hire */
.hire-intro { display: grid; gap: 22px; justify-items: start; }
.promises { display: grid; gap: 4px; margin-block: clamp(36px, 5vw, 64px); border-top: 1.5px solid rgba(61, 102, 80, .18); }
.promise {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px);
  padding-block: clamp(16px, 2.2vw, 26px);
  border-bottom: 1.5px solid rgba(61, 102, 80, .18);
  font-size: clamp(28px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05;
}
.promise-x { color: var(--fam-500); flex: none; display: inline-block; transition: transform .8s var(--ease-spring); }
.promise.is-pending .promise-x { transform: rotate(-90deg) scale(.4); }
.hl {
  background-image: linear-gradient(var(--fam-300), var(--fam-300));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .3em;
  transition: background-size 1s var(--ease-out) .25s;
}
.promise.is-pending .hl { background-size: 0% .3em; }

.tabs { display: grid; gap: 28px; }
.tab-list {
  position: relative; justify-self: start; display: inline-flex; gap: 4px; padding: 5px;
  border-radius: var(--gx-radius-pill); background: var(--gx-white); box-shadow: 0 0 0 1px rgba(42, 37, 71, .06);
}
.tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 11px 22px; border-radius: var(--gx-radius-pill); font-weight: 700; font-size: 15px; color: var(--gx-muted);
  transition: color .3s;
}
.tab[aria-selected="true"] { color: var(--gx-white); }
.tab-thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: var(--gx-radius-pill); background: var(--gx-sage-700);
  transform: translateX(var(--thumb-x, 5px)); width: var(--thumb-w, 0);
  transition: transform .45s var(--ease-spring), width .45s var(--ease-spring);
}
.tab-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: panel-in .55s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.panel-copy { display: grid; gap: 18px; }
.panel-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.panel-copy > p { color: var(--gx-muted); }

.doc-progress { display: flex; align-items: center; gap: 16px; padding: 18px; }
.ring-lg { width: 64px; height: 64px; }
.doc-ready { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.doc-ready .p-done { color: var(--gx-sage-700); }
.doc-list { display: grid; padding: 0 18px 12px; }
.doc-list li {
  display: flex; align-items: center; gap: 12px; padding-block: 11px; border-top: 1px solid var(--gx-line);
  font-size: 15px; font-weight: 600; color: var(--gx-muted); transition: color .3s;
}
.doc-list em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--gx-sage-700); background: var(--gx-sage-100); padding: 3px 9px; border-radius: var(--gx-radius-pill); opacity: 0; transition: opacity .3s; }
.tick { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--gx-line); display: grid; place-items: center; flex: none; transition: background-color .3s, border-color .3s, transform .45s var(--ease-spring); }
.tick::after { content: ""; width: 9px; height: 4.5px; border: solid var(--gx-white); border-width: 0 0 2.2px 2.2px; transform: translateY(-1px) rotate(-45deg); opacity: 0; transition: opacity .2s .1s; }
.teacher-demo .ring-fill { stroke-dashoffset: 113.1; }
.teacher-demo[data-step="1"] .ring-fill { stroke-dashoffset: 94.25; }
.teacher-demo[data-step="2"] .ring-fill { stroke-dashoffset: 75.4; }
.teacher-demo[data-step="3"] .ring-fill { stroke-dashoffset: 56.55; }
.teacher-demo[data-step="4"] .ring-fill { stroke-dashoffset: 37.7; }
.teacher-demo[data-step="5"] .ring-fill { stroke-dashoffset: 18.85; }
.teacher-demo[data-step="6"] .ring-fill, .teacher-demo[data-step="7"] .ring-fill { stroke-dashoffset: 0; }
.teacher-demo[data-step="1"] .doc-list li:nth-child(-n+1), .teacher-demo[data-step="2"] .doc-list li:nth-child(-n+2),
.teacher-demo[data-step="3"] .doc-list li:nth-child(-n+3), .teacher-demo[data-step="4"] .doc-list li:nth-child(-n+4),
.teacher-demo[data-step="5"] .doc-list li:nth-child(-n+5), .teacher-demo[data-step="6"] .doc-list li, .teacher-demo[data-step="7"] .doc-list li { color: var(--gx-ink); }
.teacher-demo[data-step="1"] .doc-list li:nth-child(-n+1) .tick, .teacher-demo[data-step="2"] .doc-list li:nth-child(-n+2) .tick,
.teacher-demo[data-step="3"] .doc-list li:nth-child(-n+3) .tick, .teacher-demo[data-step="4"] .doc-list li:nth-child(-n+4) .tick,
.teacher-demo[data-step="5"] .doc-list li:nth-child(-n+5) .tick, .teacher-demo[data-step="6"] .doc-list li .tick, .teacher-demo[data-step="7"] .doc-list li .tick {
  background: var(--gx-sage-700); border-color: var(--gx-sage-700); transform: scale(1.06);
}
.teacher-demo[data-step="1"] .doc-list li:nth-child(-n+1) .tick::after, .teacher-demo[data-step="2"] .doc-list li:nth-child(-n+2) .tick::after,
.teacher-demo[data-step="3"] .doc-list li:nth-child(-n+3) .tick::after, .teacher-demo[data-step="4"] .doc-list li:nth-child(-n+4) .tick::after,
.teacher-demo[data-step="5"] .doc-list li:nth-child(-n+5) .tick::after, .teacher-demo[data-step="6"] .doc-list li .tick::after, .teacher-demo[data-step="7"] .doc-list li .tick::after { opacity: 1; }
.teacher-demo[data-step="6"] .doc-list em, .teacher-demo[data-step="7"] .doc-list em { opacity: 1; }
.teacher-demo[data-step="6"] .doc-progress .p-wait, .teacher-demo[data-step="7"] .doc-progress .p-wait { display: none; }
.teacher-demo[data-step="6"] .doc-progress .p-done, .teacher-demo[data-step="7"] .doc-progress .p-done { display: inline; }

.pipeline {
  --gap: 8px;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap);
  padding: 18px; min-height: 230px;
}
.col { display: grid; gap: var(--gap); align-content: start; background: var(--gx-mist); border-radius: 14px; padding: 8px; min-width: 0; }
.col-title { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-muted); padding: 4px 4px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cand {
  display: grid; gap: 4px;
  background: var(--gx-white); border-radius: 10px; padding: 9px 10px; min-height: 52px;
  font-size: 13px; font-weight: 700; box-shadow: 0 0 0 1px var(--gx-line);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.mini { justify-self: start; font-size: 11px; font-weight: 700; color: var(--gx-violet-700); background: var(--gx-violet-100); padding: 1px 7px; border-radius: var(--gx-radius-pill); }
.mini.ok { color: var(--gx-sage-700); background: var(--gx-sage-100); }
.c-mover {
  position: absolute; z-index: 2;
  top: calc(18px + 8px + 22px + var(--gap) + 52px + var(--gap));
  left: calc(18px + 8px);
  width: calc((100% - 36px - 3 * var(--gap)) / 4 - 16px);
  box-shadow: 0 0 0 2px var(--gx-sage-500), var(--shadow-soft);
  transition: transform .8s var(--ease-spring);
}
.hr-demo[data-step="1"] .c-mover { transform: translateX(calc(100% + 16px + var(--gap))); }
.hr-demo[data-step="2"] .c-mover { transform: translateX(calc(2 * (100% + 16px + var(--gap)))); }
.hr-demo[data-step="3"] .c-mover { transform: translateX(calc(3 * (100% + 16px + var(--gap)))); }

/* For teachers: a night band, so the teacher offer reads as its own place on the page */
.band-night {
  --fam-500: var(--gx-sage-300);
  --fam-700: var(--gx-sage-300);
  --on-night-muted: rgba(255, 255, 255, .74);
  background: var(--gx-night); color: var(--gx-white);
}
.band-night .section-lede { color: var(--on-night-muted); }
.free-stamp { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.free-stamp strong {
  font-weight: 800;
  background-image: linear-gradient(rgba(159, 200, 175, .4), rgba(159, 200, 175, .4));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 100% .3em;
}
.free-stamp span { color: var(--gx-sage-300); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The phone scans the QR on a paper CV, then opens the verified profile. Without the script,
   or with motion off, it rests on the finished profile. */
.scan-demo { display: grid; justify-items: center; }
.scan-stage { position: relative; width: 520px; height: 600px; }
.paper {
  position: absolute; left: 0; top: 60px; width: 270px; height: 390px;
  display: grid; align-content: start; gap: 9px; padding: 28px 24px;
  border-radius: 10px; background: var(--gx-white); color: var(--gx-ink);
  transform: rotate(-5deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.paper-name { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.paper-role { font-size: 13px; color: var(--gx-muted); margin-bottom: 6px; }
.paper-head { width: 42%; height: 9px; margin-top: 10px; border-radius: 4px; background: var(--gx-violet-100); }
.paper-line { height: 7px; border-radius: 4px; background: var(--gx-line); }
.paper-short { width: 62%; }
.paper-qr { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; line-height: 1.25; color: var(--gx-muted); }
.paper-qr svg { width: 64px; height: 64px; fill: var(--gx-night); }

.phone {
  position: absolute; right: 0; top: 20px; width: 240px; height: 530px; padding: 9px;
  border-radius: 40px; background: #0F0D1C;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), inset 0 0 0 1.5px rgba(255, 255, 255, .14);
  transition: transform .9s var(--ease-spring);
}
.phone::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 17px; width: 66px; height: 18px; margin-left: -33px; border-radius: 10px; background: #0F0D1C; }
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--gx-mist); color: var(--gx-ink); }
.phone-cam {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 42%, #5B566E, #24212F 70%);
}
.cam-view { position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.cam-qr { width: 150px; height: 150px; padding: 12px; border-radius: 6px; background: #F4F1EA; transform: rotate(-5deg); transition: box-shadow .4s; }
.cam-qr svg { width: 100%; height: 100%; fill: var(--gx-night); }
.cam-corners { position: absolute; inset: -8px; transition: transform .6s var(--ease-spring); }
.cam-corners i { position: absolute; width: 30px; height: 30px; border: 4px solid var(--gx-white); transition: border-color .3s; }
.cam-corners i:nth-child(1) { left: 0; top: 0; border-width: 4px 0 0 4px; border-radius: 10px 0 0 0; }
.cam-corners i:nth-child(2) { right: 0; top: 0; border-width: 4px 4px 0 0; border-radius: 0 10px 0 0; }
.cam-corners i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 4px 4px; border-radius: 0 0 0 10px; }
.cam-corners i:nth-child(4) { right: 0; bottom: 0; border-width: 0 4px 4px 0; border-radius: 0 0 10px 0; }
.cam-line {
  position: absolute; left: 6%; right: 6%; top: 10%; height: 3px; border-radius: 3px;
  background: var(--gx-sage-300); box-shadow: 0 0 14px 3px rgba(159, 200, 175, .7);
  animation: cam-scan 1.4s ease-in-out infinite alternate; transition: opacity .2s;
}
@keyframes cam-scan { to { top: 88%; } }
.cam-hint { padding: 7px 14px; border-radius: var(--gx-radius-pill); background: rgba(0, 0, 0, .45); color: var(--gx-white); font-size: 13px; font-weight: 700; transition: background-color .3s, color .3s; }
.scan-demo[data-step="1"] .cam-corners, .scan-demo[data-step="2"] .cam-corners { transform: scale(.9); }
.scan-demo[data-step="2"] .cam-corners i { border-color: var(--gx-sage-300); }
.scan-demo[data-step="2"] .cam-line { opacity: 0; }
.scan-demo[data-step="2"] .cam-qr { box-shadow: 0 0 0 6px rgba(159, 200, 175, .55), 0 0 40px 6px rgba(159, 200, 175, .45); }
.scan-demo[data-step="2"] .cam-hint { background: var(--gx-sage-300); color: var(--gx-night); }
.scan-demo[data-step="2"] .cam-hint .p-wait { display: none; }
.scan-demo[data-step="2"] .cam-hint .p-done { display: inline; }

.phone-profile {
  position: absolute; inset: 0; display: grid; align-content: start; gap: 5px; padding: 32px 12px 12px;
  background: linear-gradient(var(--gx-sage-50), var(--gx-mist) 40%);
  transition: transform .75s var(--ease-out);
}
.ph-url { justify-self: center; display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--gx-radius-pill); background: var(--gx-white); font-size: 11px; font-weight: 700; color: var(--gx-muted); }
.ph-url .icon { width: 11px; height: 11px; stroke-width: 2.6; }
.ph-head { display: grid; justify-items: center; text-align: center; padding: 2px 0 0; }
.ph-photo { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 6px; box-shadow: 0 0 0 3px var(--gx-white), 0 0 0 5px var(--gx-sage-300); }
.ph-name { font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ph-role { font-size: 12px; color: var(--gx-muted); }
.ph-head .vbadge { margin-top: 6px; transition: transform .5s var(--ease-spring), opacity .3s; }
.ph-label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gx-muted); padding: 5px 2px 0; }
.ph-rows { display: grid; gap: 3px; }
.ph-rows li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 4px 10px; border-radius: 10px; background: var(--gx-white); font-size: 12.5px; font-weight: 600; }
.ph-tick {
  width: 18px; height: 18px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--gx-sage-700); border: 2px solid var(--gx-sage-700);
  transition: background-color .3s, border-color .3s, transform .45s var(--ease-spring);
}
.ph-tick::after { content: ""; width: 7px; height: 3.5px; border: solid var(--gx-white); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); transition: opacity .2s .1s; }
.ph-stamp {
  margin-top: 6px; padding: 7px; border-radius: 10px; border: 1.5px dashed var(--gx-sage-500);
  color: var(--gx-sage-700); font-size: 11.5px; font-weight: 800; text-align: center;
  transform: rotate(-1.5deg); transition: transform .5s var(--ease-spring), opacity .3s;
}
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"]) .phone { transform: translate(-140px, 36px) rotate(-8deg); }
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"]) .phone-profile { transform: translateY(100%); }
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"]) .ph-head .vbadge { transform: scale(.5); opacity: 0; }
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"]) :is(.q1, .q2) .ph-tick,
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) :is(.q3, .q4) .ph-tick,
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) :is(.q5, .q6) .ph-tick { background: var(--gx-white); border-color: var(--gx-line); transform: scale(.9); }
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"]) :is(.q1, .q2) .ph-tick::after,
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) :is(.q3, .q4) .ph-tick::after,
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"]) :is(.q5, .q6) .ph-tick::after { opacity: 0; }
.scan-demo:is([data-step="0"], [data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"], [data-step="6"], [data-step="7"]) .ph-stamp { transform: rotate(-1.5deg) scale(.85); opacity: 0; }

.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 7vw, 88px); }
.perk {
  display: grid; gap: 10px; align-content: start;
  padding: 26px 24px; border-radius: 24px;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .3s, box-shadow .3s;
}
.perk:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(159, 200, 175, .5); }
.perk-icon { width: 46px; height: 46px; border-radius: var(--gx-radius-mark); display: grid; place-items: center; background: rgba(159, 200, 175, .16); color: var(--gx-sage-300); margin-bottom: 6px; }
.perk-icon .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.perk h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.perk p { color: var(--on-night-muted); font-size: 16px; }

.support {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(26px, 4vw, 52px); border-radius: 32px;
  background: linear-gradient(135deg, rgba(159, 200, 175, .16), rgba(255, 255, 255, .03) 70%);
  box-shadow: inset 0 0 0 1px rgba(159, 200, 175, .3);
}
.support-copy { display: grid; gap: 16px; justify-items: start; }
.support-copy > p:not(.eyebrow) { color: var(--on-night-muted); max-width: 52ch; }
.support-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; max-width: 16ch; }
.support-title span { color: var(--gx-sage-300); }
.channels { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 4px; }
.channels li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: var(--gx-radius-pill); background: rgba(255, 255, 255, .08); font-size: 15px; font-weight: 700; }
.channels .icon { color: var(--gx-sage-300); width: 20px; height: 20px; stroke-width: 2; }
.support-steps { position: relative; display: grid; gap: 12px; }
.support-steps::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; border-radius: 2px; background: rgba(159, 200, 175, .35); }
.support-steps li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.support-when {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gx-night); box-shadow: inset 0 0 0 2px var(--gx-sage-300);
  color: var(--gx-sage-300); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .6s var(--ease-spring);
}
.support-steps li.is-pending .support-when { transform: scale(.6); }
.support-steps li > div { padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .05); }
.support-steps h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.support-steps p { color: var(--on-night-muted); font-size: 15px; }

.by-teachers {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 28px 48px;
  margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1.5px solid rgba(255, 255, 255, .14);
}
.by-teachers-quote { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; max-width: 24ch; }
.by-teachers-quote span { color: var(--gx-sage-300); }
.join-steps { display: grid; gap: 10px; justify-items: start; }
.join-steps li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: var(--gx-radius-pill);
  background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 15px;
}
.join-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gx-sage-300); color: var(--gx-night); font-size: 14px; font-weight: 800; }

/* School sentiment (inside Gradex Hire, worded for whichever audience is showing) */
.sentiment {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1.5px solid rgba(61, 102, 80, .18);
}
.sentiment-copy { display: grid; gap: 18px; justify-items: start; }
.sentiment-title { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.sentiment-copy > p:not(.eyebrow) { color: var(--gx-muted); max-width: 52ch; }
.sentiment-demo { padding-bottom: 4px; }
.sch-head { display: flex; align-items: center; gap: 12px; padding: 18px 18px 6px; }
.sch-crest { width: 44px; height: 44px; flex: none; border-radius: var(--gx-radius-mark); display: grid; place-items: center; background: var(--gx-sage-100); color: var(--gx-sage-700); font-weight: 800; font-size: 15px; }
.sch-score { display: flex; align-items: center; gap: 16px; padding: 8px 18px 14px; }
.sch-num { font-size: 46px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--gx-sage-900); font-variant-numeric: tabular-nums; }
.sch-num span { font-size: 18px; letter-spacing: 0; color: var(--gx-muted); margin-left: 2px; }
.sch-label { display: grid; font-size: 13px; color: var(--gx-muted); line-height: 1.35; }
.sch-label b { font-size: 15px; color: var(--gx-ink); }
.sch-themes { padding: 0 18px; }
.sch-themes li {
  display: grid; grid-template-columns: minmax(0, 1fr) 34% 30px; gap: 12px; align-items: center;
  padding-block: 9px; border-top: 1px solid var(--gx-line); font-size: 14px; font-weight: 600;
}
.sch-themes b { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.sch-themes em {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--gx-radius-pill);
  background: var(--gx-honey-100); color: var(--gx-honey-700); font-size: 11px; font-weight: 800; font-style: normal;
  transition: opacity .3s, transform .45s var(--ease-spring);
}
.bar { position: relative; display: block; height: 8px; border-radius: 8px; background: var(--gx-sage-100); overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: 8px; background: var(--gx-sage-700); transition: width .9s var(--ease-out); }
.b1 { --fill: 94%; } .b2 { --fill: 92%; } .b3 { --fill: 96%; } .b4 { --fill: 84%; } .b5 { --fill: 72%; }
.sch-low .bar::after { background: var(--gx-honey-500); }
.sch-themes li:nth-child(2) .bar::after { transition-delay: .08s; }
.sch-themes li:nth-child(3) .bar::after { transition-delay: .16s; }
.sch-themes li:nth-child(4) .bar::after { transition-delay: .24s; }
.sch-themes li:nth-child(5) .bar::after { transition-delay: .32s; }
.sch-quote {
  display: grid; gap: 4px; margin: 14px 18px 18px; padding: 12px 14px; border-radius: 14px;
  background: var(--gx-sage-50); font-size: 14px; font-weight: 600; line-height: 1.45;
  transition: opacity .4s, transform .5s var(--ease-out);
}
.sch-quote span { font-size: 12px; font-weight: 700; color: var(--gx-muted); }
/* The bars fill, then the flag and a teacher's comment arrive. Without the script it rests filled. */
.sentiment-demo[data-step="0"] .bar::after { width: 0; }
.sentiment-demo:is([data-step="0"], [data-step="1"]) .sch-themes em { opacity: 0; transform: scale(.7); }
.sentiment-demo:is([data-step="0"], [data-step="1"]) .sch-quote { opacity: 0; transform: translateY(10px); }

/* Build */
.ai-note { background: var(--gx-white); border-radius: 22px; padding: 22px 24px; display: grid; gap: 8px; max-width: 54ch; box-shadow: 0 0 0 1px rgba(42, 37, 71, .06); }
.ai-note h3 { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.ai-note p { color: var(--gx-muted); font-size: 16px; }
.build-demo { display: grid; gap: 16px; }
.bubble {
  justify-self: start; max-width: 40ch;
  background: var(--gx-white); border-radius: 22px 22px 22px 6px; padding: 16px 18px;
  font-size: 16px; font-weight: 600; line-height: 1.45;
  box-shadow: var(--shadow-soft);
  display: grid; gap: 6px;
}
.bubble-who { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gx-clay-700); }
.built { justify-self: end; width: min(100%, 460px); transition: transform .7s var(--ease-spring), opacity .4s; padding-bottom: 18px; }
.build-demo[data-step="0"] .built { transform: translateY(18px) scale(.97); opacity: .35; }
.consent-meter { margin: 18px 18px 8px; height: 10px; border-radius: 10px; background: var(--gx-clay-50); overflow: hidden; }
.consent-fill { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--gx-clay-500); transition: width .8s var(--ease-out); }
.build-demo[data-step="2"] .consent-fill { width: 30%; }
.build-demo[data-step="3"] .consent-fill { width: 64%; }
.build-demo[data-step="4"] .consent-fill { width: 92%; }
.consent-count { padding: 0 18px; font-size: 14px; color: var(--gx-muted); }
.consent-count b { color: var(--gx-ink); font-variant-numeric: tabular-nums; }
.consent-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; padding: 14px 18px 0; }
.consent-grid i { aspect-ratio: 1; border-radius: 30%; background: var(--gx-mist); transition: background-color .4s, transform .5s var(--ease-spring); }
.build-demo[data-step="2"] .consent-grid i:nth-child(-n+9),
.build-demo[data-step="3"] .consent-grid i:nth-child(-n+19),
.build-demo[data-step="4"] .consent-grid i:nth-child(-n+28) { background: var(--gx-clay-100); transform: scale(.92); }
.build-demo[data-step="2"] .consent-grid i:nth-child(3n+1):nth-child(-n+9),
.build-demo[data-step="3"] .consent-grid i:nth-child(3n+1):nth-child(-n+19),
.build-demo[data-step="4"] .consent-grid i:nth-child(3n+1):nth-child(-n+28) { background: var(--gx-clay-500); }

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-top: clamp(48px, 7vw, 96px);
}
.steps::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 2px;
  background: var(--gx-clay-500); transform-origin: left; transform: scaleX(var(--steps-progress, 1));
}
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-right: 12px; }
.step-num {
  width: 60px; height: 60px; border-radius: var(--gx-radius-mark);
  display: grid; place-items: center;
  background: var(--gx-white); color: var(--gx-clay-700);
  font-size: 24px; font-weight: 800;
  box-shadow: 0 0 0 2px var(--gx-clay-500);
  margin-bottom: 8px;
  transition: transform .6s var(--ease-spring);
}
.step.is-pending .step-num { transform: scale(.6) rotate(-20deg); }
.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.step p { color: var(--gx-muted); font-size: 16px; }

.ideas { margin-top: clamp(40px, 6vw, 72px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ideas-track, .roles-track { display: flex; width: max-content; gap: 10px; }
.ideas-track span {
  white-space: nowrap; font-size: 15px; font-weight: 700; padding: 10px 16px; border-radius: var(--gx-radius-pill);
  background: var(--gx-white); color: var(--gx-clay-900); box-shadow: 0 0 0 1px rgba(42, 37, 71, .06);
}
.is-marquee { animation: marquee var(--marquee-duration, 40s) linear infinite; }
.ideas:hover .is-marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Contact */
.contact { padding-block: clamp(72px, 10vw, 136px) 0; overflow: hidden; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.contact-inner > div:first-child { display: grid; gap: 22px; justify-items: start; }
.contact-title { font-size: clamp(36px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.045em; line-height: 1; max-width: 14ch; }
.contact-card { background: var(--gx-violet-100); border-radius: 32px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 10px; }
.contact-label { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gx-violet-700); }
.contact-email { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--gx-violet-700); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.roles-marquee { margin-top: clamp(64px, 9vw, 120px); padding-block: 22px; border-block: 1.5px solid var(--gx-line); overflow: hidden; }
.roles-track { gap: 0; }
.roles-track span {
  white-space: nowrap; font-size: clamp(36px, 6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1;
  display: inline-flex; align-items: center;
}
.roles-track span::after { content: "×"; color: var(--gx-violet-300); margin-inline: .35em; }
.roles-track span:nth-child(3n+2) { color: var(--gx-violet-600); }

/* Footer */
.footer { padding-block: 56px 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand p { color: var(--gx-muted); font-weight: 600; }
.footer-cols { display: flex; gap: clamp(40px, 8vw, 96px); }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols a { text-decoration: none; font-weight: 600; }
.footer-cols a:hover { color: var(--gx-violet-700); text-decoration: underline; text-underline-offset: 3px; }
.footer-head { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gx-muted); }
.footer-legal { flex-basis: 100%; max-width: 92ch; font-size: 13px; line-height: 1.55; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--gx-line); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--gx-muted); }

/* Scroll reveal. Elements are only hidden once the script has marked them as below the fold. */
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }

/* 404 */
.notfound { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-block: 64px; justify-items: start; }
.notfound h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.notfound p { color: var(--gx-muted); font-size: 19px; max-width: 40ch; }
.notfound-x { font-size: 120px; font-weight: 800; line-height: .8; color: var(--gx-violet-300); animation: spark-spin 14s linear infinite; }

/* Responsive */
@media (min-width: 1021px) {
  .hero-title.hero-statement { font-size: clamp(30px, 2.9vw, 40px); }
  .hero-statement .hero-line { display: inline; }
}
@media (min-width: 1021px) and (max-width: 1240px) {
  .scan-stage { zoom: .88; }
}
@media (max-width: 1020px) {
  .hero-title { font-size: clamp(44px, 8.4vw, 76px); }
  .hero-title.hero-side-title { font-size: clamp(32px, 6.4vw, 48px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .hero-lede { max-width: 46ch; }
  .perks, .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .by-teachers, .support, .company-grid, .sentiment { grid-template-columns: minmax(0, 1fr); }
  .split, .tab-panel, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .split-flip .split-copy { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(var(--gutter), env(safe-area-inset-left, 0px)) 20px;
    background: var(--gx-mist); border-bottom: 1px solid var(--gx-line);
    font-size: 18px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .2s, visibility 0s .3s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--ease-out), opacity .2s; }
  .nav-links a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--gx-line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 16px; min-height: 50px; }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  :root { --gutter: 18px; }
  .hero-line-role { white-space: normal; }
  .hero-love { display: block; }
  .hero-statement .hero-line-role { white-space: nowrap; }
  .hero-statement .hero-love { display: inline; }
  .board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; }
  .board::after { font-size: 60px; right: 16px; top: -34px; }
  .card { padding: 14px; border-radius: 18px; }
  .card-enrol { grid-row: auto; grid-column: 1 / -1; grid-template-columns: 38% minmax(0, 1fr); column-gap: 14px; }
  .card-enrol .card-head, .card-enrol .scan { grid-column: 1; }
  .card-enrol .card-head { grid-column: 1 / -1; }
  .card-enrol .scan { grid-row: 2 / span 3; aspect-ratio: 1; }
  .card-enrol .stations { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 6px; }
  .card-title { font-size: 16px; }
  .ready { flex-direction: column; align-items: flex-start; gap: 8px; }
  .docs li:nth-child(n+3) { display: none; }
  .progress-steps { flex-direction: column; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .perks, .benefit-grid { grid-template-columns: minmax(0, 1fr); }
  .perk, .benefit { padding: 22px 20px; }
  .support { border-radius: 24px; }
  .sch-themes li { grid-template-columns: minmax(0, 1fr) 26% 28px; gap: 8px; font-size: 13px; }
  .sch-num { font-size: 38px; }
  .support-steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .support-when { width: 52px; height: 52px; font-size: 10.5px; }
  .support-steps::before { left: 25px; }
  .scan-stage { zoom: .66; }
  .board-sage { padding-bottom: 104px; }
  .tp-docs li:nth-child(n+3) { display: block; }
  .tp-refs em { display: none; }
  .card.tqr { grid-column: 1 / -1; }
  .card.tcomplete { display: none; }
  .tview { left: 12px; right: 12px; bottom: 12px; width: auto; --tview-x: 0; }
  .enrol-stats { gap: 6px; padding: 12px; }
  .enrol-stats > div { padding: 10px; }
  .enrol-table { padding: 0 12px; }
  .enrol-row { grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: 4px; font-size: 13px; }
  .pill { padding: 3px 7px; font-size: 11px; }
  .toast { left: 12px; right: 12px; }
  .pipeline { padding: 12px; --gap: 6px; }
  .col { padding: 5px; }
  .cand { font-size: 11px; padding: 7px; white-space: normal; }
  .c-mover { top: calc(12px + 5px + 22px + var(--gap) + 52px + var(--gap)); left: calc(12px + 5px); width: calc((100% - 24px - 3 * var(--gap)) / 4 - 10px); }
  .hr-demo[data-step="1"] .c-mover { transform: translateX(calc(100% + 10px + var(--gap))); }
  .hr-demo[data-step="2"] .c-mover { transform: translateX(calc(2 * (100% + 10px + var(--gap)))); }
  .hr-demo[data-step="3"] .c-mover { transform: translateX(calc(3 * (100% + 10px + var(--gap)))); }
  .mini { font-size: 10px; padding: 1px 5px; }
  .tab { padding: 10px 16px; }
  .footer-cols { gap: 48px; }
}

/* Paused (by the visitor) and reduced motion: keep every state readable, stop the loops. */
.motion-paused .board::after, .motion-paused .scan-line, .motion-paused .cam-line, .motion-paused .is-marquee, .motion-paused .notfound-x { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .ideas-track, .roles-track { flex-wrap: wrap; width: auto; }
}
