:root{color-scheme:light;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{margin:0}img{max-width:100%}[hidden]{display:none!important}

/* Layout: a 12-column grid on a warm-green paper ground. Every page opens on a deep band
   whose climb device carries its business line's colour: Mint for marketing, Ice for EdTech,
   Lilac for gamification. One stroke weight, one 57° angle, one typeface at three widths. */
:root {
  --paper: #ffffff;
  --surface: #f4f5f1;
  --ink: #141813;
  --ink-2: #4a5149;
  --ink-3: #737a71;
  --line: #e2e4dc;
  --plate: #ffffff;
  --deep: #333a32;
  --deep-ink: #eef3ec;
  --deep-ink-2: #a9b3a7;
  --deep-line: rgba(238, 243, 236, 0.16);
  --mint: #b1f7bb;
  --mint-deep: #333a32;
  --ice: #b4e2ff;
  --ice-deep: #2e3542;
  --lilac: #d8ccff;
  --lilac-deep: #37323f;
  --tint-mint: #dff7e2;
  --tint-ice: #dcecf6;
  --tint-lilac: #e7e1f7;
  --focus: #1f6b2c;
  --ok: #1f6b2c;
  --err: #a33a2e;

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-hero: clamp(34px, 6.3vw, 92px);
  --t-1: clamp(30px, 4.6vw, 68px);
  --t-2: clamp(24px, 2.9vw, 42px);
  --t-3: clamp(19px, 1.6vw, 23px);
  --t-body: 17px;
  --t-small: 14.5px;
  --t-label: 12.5px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 18px;
  --max: 1320px;
  --head-h: 72px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--head-h) + 16px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font);
  font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-weight: 400; font-stretch: 125%; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--mint); color: #1d221c; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible, .foot :focus-visible { outline-color: var(--mint); }

.wrap {
  width: 100%; max-width: calc(var(--max) + 64px); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.label {
  font-stretch: 75%; font-weight: 500; font-size: var(--t-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.band .label { color: var(--deep-ink-2); }
.intro { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.intro::before { content: ""; width: 22px; height: 2px; background: currentColor; transform: skewX(-33deg); opacity: .7; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.band .lede { color: var(--deep-ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone, var(--mint)); flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid currentColor; font-weight: 500; font-size: 15.5px; cursor: pointer; background: transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), scale .2s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: -2px -35%; z-index: -1; background: var(--sweep, var(--ink));
  transform: translateX(-112%) skewX(-33deg); transition: transform .65s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0) skewX(-33deg); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); flex: none; }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); --sweep: var(--mint); }
.btn-solid:hover, .btn-solid:focus-visible { color: #1d221c; border-color: var(--mint); }
.band .btn-solid, .ask .btn-solid { background: var(--tone, var(--mint)); color: #1d221c; border-color: var(--tone, var(--mint)); --sweep: var(--deep-ink); }
.band .btn-solid:hover, .ask .btn-solid:hover { color: #1d221c; border-color: var(--deep-ink); }
.btn-ghost { --sweep: var(--ink); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--paper); border-color: var(--ink); }
.band .btn-ghost { --sweep: var(--deep-ink); }
.band .btn-ghost:hover, .band .btn-ghost:focus-visible { color: var(--deep); border-color: var(--deep-ink); }

/* ---------- Header ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--head-h);
  background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.head.scrolled { border-bottom-color: var(--line); }
.head .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-name { font-stretch: 125%; font-size: 12.5px; line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.symbol { overflow: visible; }
.symbol path { fill: none; stroke: currentColor; stroke-width: 28; stroke-linecap: butt; }
.symbol.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: var(--d); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .sub-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.nav > a:hover, .nav .sub-btn:hover, .nav .has-sub:focus-within .sub-btn { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a[aria-current="page"], .nav .sub-btn.current { color: var(--ink); }
.nav a[aria-current="page"]::after, .nav .sub-btn.current::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.nav .dot { width: 7px; height: 7px; }
.has-sub { position: relative; }
.sub-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.sub {
  position: absolute; top: calc(100% + 8px); left: -8px; width: 320px; padding: 8px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(20, 24, 19, .35);
  visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { visibility: visible; opacity: 1; transform: none; }
.has-sub:hover .sub-btn svg, .has-sub.open .sub-btn svg { transform: rotate(180deg); }
.sub a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.sub a:hover, .sub a:focus-visible { background: var(--tint-mint); }
.sub a svg { width: 14px; height: 14px; opacity: .5; }
.sub .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; border-radius: 0 0 12px 12px; color: var(--ink-3); font-size: 14px; }

.head-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line);
  background: transparent; cursor: pointer; color: var(--ink); transition: background .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
.head .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

@media (max-width: 1080px) {
  .nav, .head .btn-talk { display: none; }
  .menu-btn { display: inline-grid; }
}

/* Phone menu: a floating button bottom right; tapping it stacks the pages above it as pills */
.fab, .fab-scrim { display: none; }
@media (max-width: 1080px) {
  .menu-btn { display: none !important; }
  .fab { position: fixed; z-index: 80; right: max(16px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
  .fab > * { pointer-events: auto; }
  .fab-scrim { display: block; position: fixed; inset: 0; z-index: 79; background: rgba(20, 24, 19, .5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
  .fab-scrim.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
}
.fab-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-height: calc(100dvh - 140px); }
.fab-list a { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 26px 0 22px; border-radius: 999px; background: var(--pill, #fff); color: #1d221c;
  font-size: 17px; font-weight: 500; letter-spacing: .005em; white-space: nowrap; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .55), 0 0 0 1px rgba(20, 24, 19, .06);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transform-origin: 100% 50%;
  transition: opacity .18s ease, transform .25s var(--ease), visibility 0s .25s; }
.fab-list a .ic, .fab-list a svg { width: 22px; height: 22px; flex: none; }
.fab-list a.talk { background: var(--deep); color: var(--mint); }
.fab-list a[aria-current="page"] { box-shadow: inset 0 0 0 2px #1d221c, 0 12px 28px -14px rgba(0, 0, 0, .55); }
.fab-list a.talk[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--mint), 0 12px 28px -14px rgba(0, 0, 0, .55); }
.fab-list a:active { scale: .97; }
.fab.open .fab-list a { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease), visibility 0s; transition-delay: calc(var(--r) * 35ms); }
.fab-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--deep); color: var(--mint);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); transition: background-color .3s var(--ease), color .3s var(--ease), scale .2s; }
.fab-btn:active { scale: .94; }
.fab-btn svg { grid-area: 1 / 1; width: 26px; height: 26px; transition: opacity .25s, transform .4s var(--ease); }
.fab-btn .i-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.open .fab-btn { background: var(--tint-mint); color: var(--deep); }
.fab.open .fab-btn .i-menu { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab.open .fab-btn .i-x { opacity: 1; transform: none; }
.fab-btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fab-list a, .fab.open .fab-list a { transition: opacity .01s, visibility 0s; transform: none; } }

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--deep); color: var(--deep-ink);
  padding: calc(env(safe-area-inset-top, 0px) + 14px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
}
.sheet.open { visibility: visible; opacity: 1; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; height: 46px; }
.sheet .icon-btn { border-color: var(--deep-line); color: var(--deep-ink); }
.sheet nav { display: flex; flex-direction: column; margin-top: 28px; }
.sheet nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px;
  border-bottom: 1px solid var(--deep-line); font-stretch: 125%; font-size: clamp(22px, 6.4vw, 30px); line-height: 1.15;
}
.sheet nav a.child { font-stretch: 100%; font-size: 17px; padding: 11px 2px 11px 22px; color: var(--deep-ink-2); }
.sheet-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.sheet-foot .btn { justify-content: center; }

/* ---------- Bands (deep heroes) ---------- */
.band { position: relative; background: var(--tone-deep, var(--deep)); color: var(--deep-ink); overflow: hidden; transition: background-color .9s var(--ease); }
.band-inner { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 112px) clamp(36px, 5vw, 64px); }
.band h1 { font-size: var(--t-hero); }
.band-device { position: relative; z-index: 1; height: clamp(120px, 17vw, 240px); margin-top: -1px; }
.band-device svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.device path { transition: fill .9s var(--ease), stroke .9s var(--ease); }
.climb.rise path { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes rise { from { transform: translateY(18%); } to { transform: none; } }
.lines.drawn path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }

.page-hero .band-inner { display: grid; gap: 28px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { max-width: 58ch; }
.page-hero .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--deep-ink-2); }
.crumbs a:hover { color: var(--deep-ink); }

/* Home hero */
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.slides { display: grid; margin-top: 8px; min-height: calc(var(--t-hero) * 2.15); }
.slide { grid-area: 1 / 1; font-size: var(--t-hero); max-width: 14ch; transition: opacity .45s var(--ease); }
.slide[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 48px); max-width: 760px; }
.hero-tab {
  text-align: left; background: none; border: 0; padding: 14px 0 0; cursor: pointer; color: var(--deep-ink-2);
  border-top: 2px solid var(--deep-line); position: relative; display: flex; align-items: center; gap: 9px; font-size: 15px;
}
.hero-tab .bar { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--tone-c, var(--mint)); }
.hero-tab[aria-selected="true"] { color: var(--deep-ink); }
.hero-tab[aria-selected="true"] .bar { width: 100%; }
.hero-tabs.running .hero-tab[aria-selected="true"] .bar { animation: fillbar var(--dur, 6.5s) linear forwards; }
.hero-tabs.paused .hero-tab[aria-selected="true"] .bar { animation-play-state: paused; }
@media (max-width: 400px) { .hero-tab { font-size: 13.5px; gap: 6px; } .hero-tabs { gap: 8px; } }
@keyframes fillbar { from { width: 0; } to { width: 100%; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: clamp(28px, 4vw, 44px); }
.served { display: flex; align-items: center; gap: 14px; }
.served b { font-stretch: 125%; font-weight: 400; font-size: 30px; line-height: 1; }
.served span { font-size: 14px; color: var(--deep-ink-2); line-height: 1.3; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--deep-line); transition: background .2s, color .2s; }
.social a:hover { background: var(--deep-ink); color: var(--deep); }
.social svg { width: 17px; height: 17px; }

.rise-in { animation: risein .9s var(--ease) both; }
.rise-in.d1 { animation-delay: .08s; } .rise-in.d2 { animation-delay: .16s; } .rise-in.d3 { animation-delay: .24s; }
@keyframes risein { from { transform: translateY(20px); } to { transform: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 128px); }
.sec-tight { padding-block: clamp(48px, 6vw, 80px); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: var(--t-1); max-width: 18ch; }
.split { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px 20px 0 0; display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(14px, 2.4vw, 32px); }
.stat b { font-stretch: 125%; font-weight: 400; font-size: clamp(36px, 5.6vw, 84px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat span { color: var(--ink-2); font-size: var(--t-small); line-height: 1.35; }
.band .stats { border-top-color: var(--deep-line); }
.band .stat + .stat { border-left-color: var(--deep-line); }
.band .stat span { color: var(--deep-ink-2); }

/* Statement */
.statement { font-stretch: 125%; font-size: var(--t-1); line-height: 1.08; max-width: 20ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--ink-3); }

/* Service index */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 48px; gap: 8px 24px; align-items: start;
  padding: 28px 0; position: relative; isolation: isolate;
}
.index a::before {
  content: ""; position: absolute; inset: 0 calc(-1 * clamp(12px, 2vw, 24px)); z-index: -1; border-radius: var(--r);
  background: var(--tint); opacity: 0; transition: opacity .3s var(--ease);
}
.index a:hover::before, .index a:focus-visible::before { opacity: 1; }
.index .num { font-stretch: 75%; font-size: 14px; color: var(--ink-3); padding-top: 9px; font-variant-numeric: tabular-nums; }
.index h3 { font-size: var(--t-2); display: flex; align-items: center; gap: 14px; }
.index .dot { width: 12px; height: 12px; }
.index p { color: var(--ink-2); max-width: 64ch; margin-top: 12px; font-size: 16px; }
.index .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.index .go svg { width: 16px; height: 16px; }
.index a:hover .go { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
@media (min-width: 900px) {
  .index a { grid-template-columns: 80px minmax(0, 5fr) minmax(0, 6fr) 48px; align-items: center; }
  .index p { margin-top: 0; }
}
@media (max-width: 600px) {
  .index a { grid-template-columns: minmax(0, 1fr) 40px; }
  .index .num { grid-column: 1 / -1; padding-top: 0; }
  .index .go { width: 40px; height: 40px; grid-row: 2; grid-column: 2; }
}

/* Showcase stack */
.stack { display: grid; gap: 0; }
.panel {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); min-height: min(78vh, 680px);
  background: var(--tone-deep); color: var(--deep-ink); border-radius: 28px 28px 0 0; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr; box-shadow: 0 -20px 40px -30px rgba(0,0,0,.5);
}
.panel + .panel { margin-top: -40px; }
.panel-text { padding: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.panel h2 { font-size: var(--t-1); max-width: 13ch; }
.panel .k { font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--tone); }
.panel-art { position: relative; min-height: 220px; }
.panel-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-art .nest-wrap { position: absolute; inset: 0; display: grid; place-items: end end; padding-right: clamp(20px, 6vw, 96px); }
.panel-art .nest-wrap svg { position: static; width: min(360px, 62%); height: auto; }

@media (min-width: 900px) {
  .panel.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); }
  .panel.split .panel-text { flex-direction: column; align-items: flex-start; justify-content: center; flex-wrap: nowrap; gap: 22px; }
  .panel.split { align-items: stretch; }
  .panel.split .panel-text { grid-column: 1; grid-row: 1; align-self: stretch; }
  .panel.split .panel-art { grid-column: 2; grid-row: 1; align-self: stretch; min-height: 0; height: auto; }
}

@media (min-width: 900px) {
  .hero-nest .band-device { position: absolute; inset: 0; height: auto; margin: 0; z-index: 1; }
  .hero-nest .band-inner { padding-bottom: clamp(72px, 8vw, 120px); }
  .hero-nest .band-inner > div { max-width: 58%; }
}
/* About: one line connects the three pillars */
.pillars { position: relative; }
.pl-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.pl-path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 0; stroke-linecap: round; }
.pillar { background: var(--surface); border-color: var(--line); min-height: 280px; position: relative; transition: background-color .7s var(--ease), border-color .7s var(--ease); }
.pillar h3 { font-size: var(--t-2); margin-top: auto; }
.pillar .node { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-stretch: 75%; font-size: 13.5px; font-variant-numeric: tabular-nums;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink); position: relative; z-index: 3; transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease); }
.pillar.lit { background: var(--tint); border-color: transparent; }
.pillar.lit .node { background: var(--ink); color: var(--paper); transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .pillar { background: var(--tint); border-color: transparent; } }
@media (max-width: 640px) { .card.pillar { padding-left: 66px; min-height: 0; } .card.pillar .node { position: absolute; left: 16px; top: 22px; } .card.pillar h3 { margin-top: 2px; } }

/* Testimonials */
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote { background: var(--tint); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.quote blockquote { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.quote .mark { width: 40px; height: 28px; color: var(--ink); opacity: .85; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) {
  .quotes-rail { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); scrollbar-width: none; }
  .quotes-rail::-webkit-scrollbar { display: none; }
  .quotes { grid-template-columns: repeat(3, 82%); }
  .quote { scroll-snap-align: start; }
}

/* Clients */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 18%; background: var(--plate); }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos ul, ul.logos { margin: 0; padding: 0; }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* CTA band */

.cta .btn-big { min-height: 64px; padding: 0 30px; font-size: clamp(17px, 1.6vw, 20px); }

/* Footer */
.foot { background: var(--deep); color: var(--deep-ink); padding-block: clamp(56px, 7vw, 96px) calc(env(safe-area-inset-bottom, 0px) + 32px); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.foot .motto { font-stretch: 125%; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; margin-top: 28px; }
.foot h3 { font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; color: var(--deep-ink-2); font-weight: 500; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot li a { color: var(--deep-ink); opacity: .86; }
.foot li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot address { font-style: normal; color: var(--deep-ink-2); font-size: 15px; line-height: 1.65; }
.copyline { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.copyline code { font-family: var(--font); font-size: 15.5px; user-select: all; }
.chip-btn { border: 1px solid var(--deep-line); background: none; color: var(--deep-ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.chip-btn:hover { background: var(--deep-ink); color: var(--deep); }
.foot-bottom { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--deep-line); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--deep-ink-2); }
.foot-bottom nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards & grids (inner pages) ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card h3 { font-size: var(--t-3); line-height: 1.2; }
.card p { color: var(--ink-2); font-size: 16px; }
.card .n { font-stretch: 75%; color: var(--ink-3); font-size: 13.5px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
a.card { transition: border-color .25s, transform .4s var(--ease); }
a.card:hover { border-color: var(--ink); }
.card .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.card .more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
a.card:hover .more svg { transform: translate(3px, -3px); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 26px 28px 8px 0; border-top: 2px solid var(--ink); position: relative; counter-increment: s; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-stretch: 125%; font-size: 40px; line-height: 1; margin-bottom: 18px; color: var(--ink-3); }
.steps p { color: var(--ink-2); }
@media (max-width: 800px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 0; } .steps li + li { padding-left: 0; border-left: 0; } .steps li { padding-bottom: 26px; } }

.aside-layout { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .aside-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 1000px) { .aside { position: sticky; top: calc(var(--head-h) + 24px); } }
.aside nav { display: grid; }
.aside nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.aside nav a:hover { color: var(--ink); }
.aside nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.aside .ask { background: var(--deep); color: var(--deep-ink); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; justify-items: start; }
.aside .ask p { font-stretch: 125%; font-size: 21px; line-height: 1.15; }
.goal { background: var(--tint-mint); border-radius: var(--r); padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; }
.goal p { font-stretch: 112%; font-size: clamp(20px, 2vw, 28px); line-height: 1.32; max-width: 40ch; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-size: clamp(17px, 1.4vw, 20px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s; }
.faq summary .pm svg { width: 13px; height: 13px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--mint); border-color: var(--mint); color: #1d221c; }
.faq .a { padding: 0 56px 24px 0; color: var(--ink-2); max-width: 70ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: var(--surface); }
button.chip { cursor: pointer; }
button.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .c { font-stretch: 75%; color: var(--ink-3); font-variant-numeric: tabular-nums; }
button.chip[aria-pressed="true"] .c { color: inherit; opacity: .7; }

/* Work */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) 24px; }
.work .tile:nth-child(even) { margin-top: clamp(0px, 8vw, 120px); }
.tile { display: grid; gap: 14px; min-width: 0; align-content: start; }
.tile .cover { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; position: relative; background: var(--tone-deep); max-width: 100%; }
.tile .cover svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .8s var(--ease); }
.tile:hover .cover svg { transform: scale(1.04); }
.tile .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tile .tags span { font-stretch: 75%; letter-spacing: .08em; font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); }
.tile h3 { font-size: var(--t-3); line-height: 1.2; display: flex; justify-content: space-between; gap: 12px; }
.work .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.work .tile:last-child:nth-child(odd) .cover { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .work { grid-template-columns: minmax(0, 1fr); } .work .tile:nth-child(even) { margin-top: 0; } }
@media (max-width: 640px) { .work .tile:last-child:nth-child(odd) .cover { aspect-ratio: 4 / 3; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.post { display: grid; gap: 14px; align-content: start; min-width: 0; }
.post .img { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); max-width: 100%; }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover img { transform: scale(1.03); }
.post .meta { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.post h3 { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.18; }
.post p { color: var(--ink-2); font-size: 15.5px; }
.post.lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.post.lead h3 { font-size: var(--t-2); }
@media (max-width: 800px) { .posts { grid-template-columns: minmax(0, 1fr); } .post.lead { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.blog-bar { display: grid; gap: 18px; margin-bottom: 40px; }
.kw summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
.kw .chips { margin-top: 14px; }
.kw .chip { min-height: 32px; font-size: 13.5px; padding: 0 12px; }
.post-hero h1 { font-size: var(--t-1); max-width: 22ch; }
.sec.article { padding-top: clamp(32px, 4vw, 56px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 14.5px; color: var(--deep-ink-2); }
.art-cover { margin: 0 0 clamp(32px, 5vw, 64px); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.art-cover img { width: 100%; height: 100%; object-fit: cover; }
.art-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.art-side { position: sticky; top: calc(var(--head-h) + 24px); }
.art-toc ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; border-left: 1px solid var(--line); }
.art-toc li { counter-increment: toc; }
.art-toc a { display: grid; grid-template-columns: 28px 1fr; padding: 7px 0 7px 14px; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); margin-left: -1px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-stretch: 75%; color: var(--ink-3); font-size: 12.5px; padding-top: 1px; }
.art-toc a:hover, .art-toc a.on { color: var(--ink); border-left-color: var(--deep); }
.art-body { max-width: 70ch; min-width: 0; font-size: 18px; line-height: 1.72; color: #262b25; overflow-wrap: anywhere; }
.art-body > * + * { margin-top: 1.1em; }
.art-body h2 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; margin-top: 2.1em; color: var(--ink); }
.art-body h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; margin-top: 1.8em; color: var(--ink); }
.art-body h4 { font-size: 17px; font-weight: 600; margin-top: 1.6em; }
.art-body h2:first-child, .art-body h3:first-child { margin-top: 0; }
.art-body h2 + *, .art-body h3 + * { margin-top: .6em; }
.art-body ul, .art-body ol { padding-left: 1.3em; display: grid; gap: .45em; }
.art-body ul { list-style: none; padding-left: 0; }
.art-body ul > li { position: relative; padding-left: 1.5em; }
.art-body ul > li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 2px; background: var(--deep); transform: skewX(-33deg); }
.art-body ol > li::marker { font-stretch: 75%; color: var(--ink-3); }
.art-body a:not(.btn) { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--focus) 50%, transparent); text-underline-offset: 3px; color: var(--focus); }
.art-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--mint); font-size: 1.12em; color: var(--ink); }
.art-body figure { margin: 1.8em 0; }
.art-body figure img { border-radius: 14px; width: 100%; }
.art-body figcaption { font-size: 14px; color: var(--ink-3); margin-top: 10px; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.art-body code { font-size: .88em; background: var(--surface); padding: 1px 6px; border-radius: 6px; }
.art-cta { margin-top: 3em !important; padding: clamp(24px, 3vw, 36px); border-radius: var(--r); background: var(--tint-mint); display: grid; gap: 18px; justify-items: start; font-size: 17px; }
.art-cta .intro { margin: 0; color: var(--deep); }
.art-tags { margin-top: 2.4em !important; display: grid; gap: 12px; }
.art-tags .chip { min-height: 34px; font-size: 14px; padding: 0 14px; }
.art-tags .chip:hover { border-color: var(--ink-3); }
.art-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 88px); padding-top: 32px; border-top: 1px solid var(--line); }
.art-nav a { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r); transition: background .2s, border-color .2s; min-width: 0; }
.art-nav a:hover { background: var(--surface); border-color: var(--ink-3); }
.art-nav a.next { grid-column: 2; text-align: right; }
.art-nav b { font-weight: 400; font-stretch: 112%; font-size: 18px; line-height: 1.3; }
@media (max-width: 900px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-side { position: static; }
  .art-toc { padding: 18px 20px; border-radius: 14px; background: var(--surface); }
  .art-body { font-size: 17px; }
}
@media (max-width: 640px) { .art-nav { grid-template-columns: minmax(0, 1fr); } .art-nav a.next { grid-column: auto; text-align: left; } }
.empty { padding: 40px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--ink-2); }

/* EdTech */
.quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 28px; overflow: hidden; gap: 2px; background: var(--ice-deep); }
.quad > div { background: var(--tint-ice); padding: clamp(24px, 3.4vw, 44px); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; }
.quad .n { font-stretch: 125%; font-size: clamp(40px, 5vw, 72px); line-height: 1; color: var(--ice-deep); opacity: .5; }
.quad h3 { font-size: var(--t-3); line-height: 1.2; max-width: 16ch; }
.quad-axis { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; }
@media (max-width: 560px) { .quad > div { min-height: 150px; } .quad h3 { font-size: 17px; } }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs [role="tab"] { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; min-height: 42px; padding: 0 18px; cursor: pointer; font-size: 15px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabpanel ol, .tabpanel ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tabpanel li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; gap: 14px; align-items: baseline; font-size: 17px; min-width: 0; }
.tabpanel li .n { font-stretch: 75%; color: var(--ink-3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tabpanel ol li:not(:last-child)::after { content: ""; }
@media (max-width: 900px) { .tabpanel ol, .tabpanel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tabpanel ol, .tabpanel ul { grid-template-columns: minmax(0, 1fr); } }
.value { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.value li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.value h3 { font-size: var(--t-3); line-height: 1.2; }
.value p { color: var(--ink-2); }
@media (max-width: 700px) { .value li { grid-template-columns: minmax(0, 1fr); } }

/* Gamification */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.flow .node { background: var(--tint-lilac); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; min-width: 0; height: 100%; }
.flow .node h3 { font-stretch: 100%; font-size: 15px; letter-spacing: .06em; font-weight: 600; text-transform: uppercase; line-height: 1.3; }
.flow .node p { color: var(--ink-2); font-size: 15px; }
.flow .arrow { width: 44px; height: 24px; color: var(--ink-3); }
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .flow .arrow { transform: rotate(90deg); justify-self: center; } }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.who li { list-style: none; padding: 20px 0; border-bottom: 1px solid var(--line); font-stretch: 112%; font-size: clamp(17px, 1.5vw, 21px); display: flex; align-items: center; gap: 12px; }
.who { padding: 0; margin: 0; column-gap: 24px; }
@media (max-width: 700px) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--ink-2); }
.green-note { background: var(--tint-mint); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .green-note { grid-template-columns: 260px minmax(0, 1fr); align-items: start; } }

/* Contact */
.contact { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; } }
.form { display: grid; gap: 22px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
@media (max-width: 640px) { .fields { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 14px; color: var(--ink-2); padding: 0; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 14px 16px; font-size: 16.5px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field :is(input, textarea, select):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 70%, transparent); }
.field .err { color: var(--err); font-size: 13.5px; min-height: 0; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .err span { display: block; }
.phone-controls { display: grid; grid-template-columns: min(9rem, 46%) minmax(0, 1fr); gap: 8px; }
.phone-controls input { min-width: 0; }
.phone-country { position: relative; min-width: 0; }
.phone-country select {
  appearance: none; display: block; height: 100%; min-width: 0; padding-inline: 12px 30px;
  color: var(--ink); font: inherit; font-size: 16.5px; cursor: pointer;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.phone-country::after {
  content: ""; position: absolute; right: 13px; top: 50%; width: 7px; height: 7px;
  border: solid var(--ink-2); border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.phone-country option { color: var(--ink); background: var(--paper); }
@supports (appearance: base-select) and selector(::picker(select)) {
  .phone-country select, .phone-country select::picker(select) { appearance: base-select; }
  .phone-country select::picker-icon { display: none; }
  .phone-country select::picker(select) {
    width: min(21rem, calc(100vw - 2rem)); max-height: min(20rem, 48vh); overflow: auto;
    margin-block: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--paper); color: var(--ink); box-shadow: 0 12px 32px rgb(20 28 19 / 14%);
    overscroll-behavior: contain;
  }
  .phone-country option { padding: 9px 12px; border-radius: 8px; font-size: 14px; white-space: normal; }
  .phone-country option:is(:hover, :focus-visible, :checked) { background: var(--tint-mint); }
}
fieldset.field { border: 0; margin: 0; padding: 0; }
.svc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.svc label { cursor: pointer; }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; color: var(--ink); transition: background .2s, border-color .2s; }
.svc span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--ink-3); transition: background .2s; }
.svc input:checked + span { background: var(--tint-mint); border-color: var(--ink); }
.svc input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--tint-mint); }
.svc input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.sent { border-radius: var(--r); background: var(--tint-mint); padding: 20px 22px; display: grid; gap: 6px; }
.sent[hidden] { display: none; }
.sent[data-status="error"] { color: var(--err); background: #fff0ed; }
.sent b { font-weight: 600; }
.info { display: grid; gap: 28px; align-content: start; }
.info .blk { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.info address { font-style: normal; color: var(--ink-2); line-height: 1.65; }
.info .copyline code { color: var(--ink); }
.info .chip-btn { border-color: var(--line); color: var(--ink); }
.info .chip-btn:hover { background: var(--ink); color: var(--paper); }
.info .social a { border-color: var(--line); }
.info .social a:hover { background: var(--ink); color: var(--paper); }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.proto-note { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: 24px; color: var(--ink-2); max-width: 70ch; }

/* ================= Motion layer =================
   Every move runs on the latch: wipes and sweeps lean at 57°, bands rise, lines draw.
   Everything ends on transform: none, and all of it is off under reduced motion. */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; opacity: .85; }

/* Split headlines: each word rises out of its own mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; view-timeline: --wv block; }
.w > span { display: inline-block; }
.w-time .w > span { animation: wordin 1s var(--ease) both; animation-delay: calc(var(--w) * 55ms + 80ms); }
.slide[aria-hidden="false"] .w > span { animation: wordin 1s var(--ease) both; animation-delay: calc(var(--w) * 50ms + 260ms); }
.slide[aria-hidden="true"] .w > span { transform: translateY(-108%); transition: transform .5s cubic-bezier(.7, 0, .84, 0); }
@keyframes wordin { from { transform: translateY(108%); } to { transform: none; } }
@keyframes rv { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes wup { from { transform: translateY(108%); } to { transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
    .w-mask .w > span { animation: wup linear both; animation-timeline: --wv; animation-range: entry calc(10% + var(--w) * 4%) cover calc(28% + var(--w) * 3%); }
  }
}

/* Devices driven from script; complete when the script is absent */
.panel .lines path, .cta .lines path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.panel .nest path { transform-box: fill-box; transform-origin: 50% 0; }
.panel { transform-origin: 50% 0; }
.panel::after { content: ""; position: absolute; inset: 0; background: #0b0d0b; opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; z-index: 3; }

/* Page wipe and first-visit intro */
.wipe { position: fixed; inset: 0; z-index: 85; pointer-events: none; overflow: hidden; visibility: hidden; }
.wipe > i { position: absolute; top: -10%; bottom: -10%; left: -45vh; right: -45vh; background: var(--wipe-c, #333A32); transform: translateX(-130%) skewX(-33deg); }
.wipe .mark { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; color: var(--wipe-ink, #B1F7BB); opacity: 0; }
.wipe .mark b { font-stretch: 125%; font-weight: 400; font-size: clamp(26px, 3.4vw, 48px); line-height: 1; color: #eef3ec; letter-spacing: -0.01em; }
.wipe .mark .brand-name { color: #eef3ec; font-size: 14px; }
.wipe.covering { visibility: visible; pointer-events: auto; animation: autohide 0s 3.2s forwards; }
.wipe.covering > i { transform: translateX(0) skewX(-33deg); }
.wipe.covering .mark { opacity: 1; }
@keyframes autohide { to { visibility: hidden; pointer-events: none; } }
.intro-running .rise-in, .intro-running .climb.rise path, .intro-running .w > span, .intro-running .head .symbol.draw path { animation-play-state: paused; }

/* Cursor */
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 96; pointer-events: none; display: none; }
.has-cursor .cursor, .has-cursor .cursor-dot { display: block; }
.cursor-dot i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transition: opacity .2s, background .3s; }
.cursor .ring {
  position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent);
  display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), background .35s, border-color .35s, opacity .3s;
}
.cursor .lbl { font-stretch: 75%; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #1d221c; opacity: 0; transition: opacity .2s; }
.cursor.link .ring { width: 60px; height: 60px; left: -30px; top: -30px; background: color-mix(in srgb, var(--page-tone, var(--mint)) 40%, transparent); border-color: transparent; }
.cursor.label .ring { width: 88px; height: 88px; left: -44px; top: -44px; background: var(--page-tone, var(--mint)); border-color: transparent; }
.cursor.label .lbl { opacity: 1; }
.cursor.link + .cursor-dot i, .cursor.label + .cursor-dot i, .cursor.text + .cursor-dot i { opacity: 0; }
.cursor.dark .ring { border-color: rgba(238, 243, 236, .55); }
.cursor.dark + .cursor-dot i { background: #eef3ec; }
.cursor.text .ring, .cursor.away .ring { opacity: 0; }
.cursor.away + .cursor-dot i { opacity: 0; }

/* Magnetic targets */
.go, .icon-btn, .social a { transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease), translate .45s var(--ease); }


/* Work tiles tilt in 3D */
.tile .cover { transition: transform .7s var(--ease); will-change: transform; }
.tile .cover svg { transition: transform .8s var(--ease), translate .7s var(--ease); }

/* EdTech quadrant: the hovered quadrant takes more of the square */
.quad { grid-template-rows: 1fr 1fr; transition: grid-template-columns .7s var(--ease), grid-template-rows .7s var(--ease); }
.quad > div { transition: background-color .5s var(--ease), color .5s var(--ease); }
.quad > div:hover { background: var(--ice-deep); color: #eaf4fb; }
.quad > div:hover .n { color: var(--ice); opacity: 1; }
@media (hover: hover) and (min-width: 700px) {
  .quad:has(> div:nth-child(odd):hover) { grid-template-columns: 1.45fr 1fr; }
  .quad:has(> div:nth-child(even):hover) { grid-template-columns: 1fr 1.45fr; }
  .quad:has(> div:nth-child(-n+2):hover) { grid-template-rows: 1.3fr 1fr; }
  .quad:has(> div:nth-child(n+3):hover) { grid-template-rows: 1fr 1.3fr; }
}

/* Gamification: packets travel phone → engine → dashboard */
.flow .arrow { position: relative; }
.flow .arrow::after { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink-2); animation: packet 1.9s var(--ease) infinite; }
.flow .arrow:nth-of-type(4)::after { animation-delay: .95s; }
@keyframes packet { 0% { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(32px); opacity: 0; } }
.flow .node.core { position: relative; }
.flow .node.core::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--lilac) 70%, transparent); animation: beat 2.4s var(--ease) infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lilac) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }


/* Services: a pinned gallery that scrolls sideways as you scroll down */
.hs { position: relative; }
.hs-pin { padding-block: clamp(56px, 7vw, 96px) 24px; display: grid; gap: clamp(24px, 3vw, 40px); }
.hs.pinned .hs-pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); height: calc(100vh - var(--head-h)); align-content: center; padding-block: 16px; overflow: hidden; }
.hs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.hs-head h2 { font-size: var(--t-1); max-width: 13ch; }
.hs-meta { display: flex; align-items: center; gap: 20px; }
.hs-count { font-stretch: 75%; font-size: 14px; letter-spacing: .08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hs-count b { color: var(--ink); font-weight: 500; }
.hs-viewport { overflow: hidden; }
.hs-track {
  list-style: none; margin: 0; display: flex; gap: 20px; width: max-content; will-change: transform;
  padding-block: 10px; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .hs-track { padding-inline: max(32px, calc((100vw - var(--max)) / 2)); } }
.hs-card { flex: none; width: clamp(280px, 29vw, 420px); }
.hs-card a { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: 24px; overflow: hidden; background: var(--tone-deep); color: var(--deep-ink); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.hs-card a:hover, .hs-card a:focus-visible { translate: 0 -8px; box-shadow: 0 30px 60px -36px rgba(20, 24, 19, .6); }
.hs-art { position: relative; aspect-ratio: 16 / 10; }
.hs-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hs-art .device path { transition: translate .8s var(--ease), scale .8s var(--ease); }
.hs-art .nest path { transform-box: fill-box; transform-origin: 50% 0; }
.hs-card a:hover .climb path { translate: 0 calc(var(--i) * -4px); }
.hs-card a:hover .lines path { translate: calc(var(--i) * 9px) 0; }
.hs-card a:hover .nest path { scale: calc(1 + var(--i) * 0.025); }
.hs-body { padding: 22px 26px 28px; display: grid; gap: 12px; align-content: start; }
.hs-body .num { font-stretch: 75%; font-size: 13px; letter-spacing: .1em; color: var(--tone); }
.hs-body h3 { font-stretch: 125%; font-weight: 400; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.1; }
.hs-body p { color: var(--deep-ink-2); font-size: 15px; line-height: 1.55; }
.hs-body .more { display: inline-flex; gap: 8px; align-items: center; font-size: 14.5px; color: var(--tone); margin-top: 4px; }
.hs-body .more svg { width: 14px; height: 14px; }
.hs-rail { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hs-rail span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--hp, 0)); }
.hs.free .hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hs.free .hs-viewport::-webkit-scrollbar { display: none; }
.hs.free .hs-card { scroll-snap-align: start; width: min(80vw, 360px); }
.hs.free .hs-viewport { scroll-padding-inline: max(16px, env(safe-area-inset-left, 0px)); }

/* Words light up as you read */
.w-fill .w > span { color: #d3d7cd; transition: color .4s var(--ease); }
.w-fill .w.lit > span { color: inherit; }

/* ---------- Latch strands: the site's own graphic system ----------
   Bundles of parallel strokes with one weight and equal spacing. They run flat, turn at 57°
   or 90°, and every corner is a set of concentric arcs, so the spacing holds through each bend. */
.art { position: absolute; inset: 0; }
.art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.art .b { fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 0; stroke-linecap: butt; transition: stroke .9s var(--ease); }
.art .pz { fill: none; pointer-events: none; }
.hero .band-device { position: absolute; inset: 0; height: auto; margin: 0; z-index: 1; }
.hero .band-inner { padding-bottom: clamp(96px, 10vw, 150px); }
@media (max-width: 899px) {
  .hero .band-inner { padding-block: 40px 104px; }
  .hero .hero-top { align-items: center; }
  .hero .hero-top .social { display: none; }
  .hero .hero-top .intro { margin-bottom: 0; }
  .hero .slides { margin-top: 20px; }
  .hero .hero-cta { margin-top: 28px; }
}
[data-cursor="Click"], [data-cursor="Next"] { cursor: pointer; }
.btn:active { scale: .96; }

/* Story: Create, Refine, Strengthen, told by scrolling */
.story-pin { padding-block: clamp(56px, 8vw, 112px); }
.story.pinned { height: 330vh; }
.story.pinned .story-pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); height: calc(100vh - var(--head-h)); display: grid; align-items: center; padding-block: 20px; }
.story-grid { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
.story-text { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.story-art { position: relative; aspect-ratio: 5 / 4; width: 100%; max-width: 100%; border-radius: 28px; overflow: hidden; background: var(--deep); }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 520px; }
.story-steps li { display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-3); transition: color .3s; }
.story-steps li span { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.story-steps li span::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.story-steps li.on { color: var(--ink); }
.w.on > span { color: var(--ink) !important; box-shadow: inset 0 -0.32em 0 var(--mint); transition: color .3s, box-shadow .3s; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story.pinned .story-art { aspect-ratio: auto; height: 32vh; }
  .story.pinned .statement { font-size: clamp(24px, 6.6vw, 40px); }
  .story.pinned .story-text .btn { display: none; }
}

/* Click feedback: swapped content rises in sequence */
@keyframes swapin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .tabpanel.swap li, .posts.swap > * { animation: swapin .65s var(--ease) both; animation-delay: calc(var(--k, 0) * 55ms); }
}
.faq .a { overflow: hidden; }

/* ================= Kit styles ================= */
/* Logo */
.logo { display: block; height: 44px; width: auto; color: var(--ink); overflow: visible; }
.logo .logo-sym path { fill: none; stroke: currentColor; stroke-width: 28; }
.logo.draw .logo-sym path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; animation-delay: var(--d); }
.logo.draw .logo-wm { animation: wmIn .8s var(--ease) both .55s; }
@keyframes wmIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.sheet .logo, .foot .logo { color: var(--deep-ink); }
.foot .logo { height: 72px; }
.sheet .logo { height: 38px; }
.wipe .mark .logo { height: 96px; color: #B1F7BB; }
.intro-running .head .logo path { animation-play-state: paused; }

/* Icons */
.ic { width: 22px; height: 22px; flex: none; }
.ic-tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--tile); color: var(--tile-ink); flex: none; transition: transform .5s var(--ease); }
.ic-tile .ic { width: 25px; height: 25px; }
.card:hover .ic-tile, .icard:hover .ic-tile { transform: rotate(-6deg) scale(1.06); }

/* Image placeholders */
.ph { margin: 0; position: relative; width: 100%; max-width: 100%; border-radius: var(--r); border: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent); overflow: hidden;
  background: repeating-linear-gradient(-33deg, transparent 0 16px, color-mix(in srgb, var(--ink) 4%, transparent) 16px 17px), var(--surface); }
.ph-in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ink-3); text-align: center; padding: 16px; }
.ph-in .ic { width: 30px; height: 30px; }
.ph-in span { font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; font-size: 12.5px; font-weight: 500; }
.ph-in small { font-size: 13px; }
.band .ph { border-color: rgba(238, 243, 236, .28); background: repeating-linear-gradient(-33deg, transparent 0 16px, rgba(238, 243, 236, .05) 16px 17px), rgba(238, 243, 236, .04); }
.band .ph-in { color: var(--deep-ink-2); }

/* Filled brand devices in banners */
@keyframes tilein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .fx .fx-b { animation: rise .95s var(--ease) both; animation-delay: calc(var(--i) * 50ms + 150ms); }
  .fx .fx-t { animation: tilein .7s var(--ease) both; animation-delay: calc(var(--i) * 45ms + 150ms); }
}

/* Service illustrations */
.svc { display: block; width: 100%; height: 100%; }
.svc .a-grow { transform-box: fill-box; transform-origin: 50% 100%; }
.svc .a-grow-x { transform-box: fill-box; transform-origin: 0 50%; }
.svc .a-pop { transform-box: fill-box; transform-origin: 50% 50%; }
.svc .a-draw, .svc .a-sym path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc .a-ripple { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
@keyframes aGrow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes aGrowX { from { transform: scaleX(0); } to { transform: none; } }
@keyframes aSlide { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }
@keyframes aSlideL { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes aPop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes aDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes aCursor { 0% { transform: translate(140px, 90px); opacity: 0; } 12% { opacity: 1; } 42%, 82% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes aRipple { 0%, 42% { transform: scale(.2); opacity: 0; } 48% { opacity: 1; } 78%, 100% { transform: scale(4); opacity: 0; } }
@keyframes aFlow { to { stroke-dashoffset: -36; } }
@keyframes aFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: no-preference) {
  .pre .hs-card:not(.on) .svc .a-grow { transform: scaleY(0); }
  .pre .hs-card:not(.on) .svc .a-grow-x { transform: scaleX(0); }
  .pre .hs-card:not(.on) .svc :is(.a-slide, .a-slide-l, .a-pop) { opacity: 0; }
  .pre .hs-card:not(.on) .svc :is(.a-draw, .a-sym path) { stroke-dashoffset: 1; }
  .hs-card.on .a-grow { animation: aGrow .9s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-grow-x { animation: aGrowX .9s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-slide { animation: aSlide .8s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-slide-l { animation: aSlideL .8s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-pop { animation: aPop .7s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-draw { animation: aDraw 1.2s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 300ms); }
  .hs-card.on .a-sym path { animation: aDraw 1.2s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 150ms); }
  .hs-card.on .a-cursor { animation: aCursor 3.4s var(--ease) infinite 1s; }
  .hs-card.on .a-ripple { animation: aRipple 3.4s ease-out infinite 1s; }
  .hs-card.on .a-flow { animation: aFlow 1.4s linear infinite; }
  .hs-card.on .a-float { animation: aFloat 3s ease-in-out infinite; animation-delay: var(--d, 0ms); }
}


/* Service cards: abstract illustrations, one gentle motion each */
.svc .v-arc { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.svc .v-run { stroke-dasharray: .08 1.2; stroke-dashoffset: .08; opacity: 0; }
@keyframes vRun { 0% { stroke-dashoffset: .08; opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -1.05; opacity: 0; } }
.svc .v-ping { transform-box: fill-box; transform-origin: center; opacity: 0; }
.svc .v-q { transform-box: fill-box; transform-origin: center; }
.svc .v-frame { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.svc .v-fill, .svc .v-lock { transform-box: fill-box; transform-origin: center; }
.svc .v-beam { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.svc .v-orb { transform-box: view-box; transform-origin: 200px 125px; }
@keyframes vDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes vArcWave { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes vPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes vLock { from { transform: translate(70px, -40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vEcho { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes vQ { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes vQGlow { 0%, 70%, 100% { filter: none; } 35% { filter: brightness(1.35); } }
@keyframes vFill { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes vWake { 0%, 100% { fill: var(--wake-off); } 40%, 60% { fill: var(--wake-on); } }
@keyframes vSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .pre .hs-card:not(.on) .svc :is(.v-arc, .v-frame, .v-beam) { stroke-dashoffset: 1; }
  .pre .hs-card:not(.on) .svc :is(.v-lock, .v-echo, .v-q) { opacity: 0; }
  .hs-card.on .v-arc { animation: vDraw 1.2s var(--ease) both; animation-delay: calc(var(--k) * 110ms + 150ms); }
  .hs-card.on .v-run { animation: vRun 2.8s cubic-bezier(.45, 0, .2, 1) infinite; animation-delay: calc(var(--k) * 140ms + 1.6s); }
  .hs-card.on .v-ping { animation: vPing 2.6s ease-out infinite 1.2s; }
  .hs-card.on .v-lock { animation: vLock 1.1s var(--ease) both .25s; }
  .hs-card.on .v-echo { animation: vEcho .9s var(--ease) both; animation-delay: calc(var(--k) * 160ms + .9s); }
  .hs-card.on .v-q { animation: vQ 1s var(--ease) both, vQGlow 4.8s ease-in-out infinite; animation-delay: calc(var(--k) * 110ms + 150ms), calc(var(--k) * 1.2s + 1.6s); }
  .hs-card.on .v-frame { animation: vDraw 1.2s var(--ease) both; animation-delay: calc(var(--k) * 220ms + 150ms); }
  .hs-card.on .v-fill { animation: vFill 2.8s ease-in-out infinite 1.4s; }
  .hs-card.on .v-beam { animation: vDraw 1.1s var(--ease) both .2s; }
  .hs-card.on .v-wake { animation: vWake 3s ease-in-out infinite; animation-delay: calc(var(--k) * 180ms + 1.3s); }
  .hs-card.on .v-orb.a { animation: vSpin 12s linear infinite; }
  .hs-card.on .v-orb.b { animation: vSpin 20s linear infinite reverse; }
}

/* Panel scenes */
.scene { position: absolute; inset: 0; }
.scene svg { display: block; width: 100%; height: 100%; }
.g-ring { transform-box: fill-box; transform-origin: 50% 50%; animation: gRing 2.4s ease-out infinite; }
@keyframes gRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ar-s { transition: fill .35s var(--ease); }
.ar-beam { stroke-dasharray: .18 1.2; animation: beam .9s ease-out forwards; }
@keyframes beam { from { stroke-dashoffset: .18; opacity: 1; } to { stroke-dashoffset: -1; opacity: .2; } }
.ar-wave { animation: arWave .7s ease-out; }
@keyframes arWave { 40% { fill: #EEF3EC; } }
.ar-bar { transition: height .25s linear, y .25s linear; }
.ux-flash svg { animation: uxFlash .8s ease-out; }
@keyframes uxFlash { 30% { filter: brightness(1.35); } to { filter: none; } }

/* The latch */
.latch-stage .scene .lt { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
/* Closing band: copy on the left, the latch on the right. One line enters from the left above the copy,
   turns at 57° into the symbol, and leaves to the right edge along the bottom. */
.cta { display: flex; flex-direction: column; cursor: pointer; }
.cta .cta-inner { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; align-content: center; padding-block: 56px 8px; order: 1; }
.cta .cta-inner h2 { font-size: var(--t-1); max-width: 16ch; }
.cta .cta-inner .lede { max-width: 46ch; }
.cta .cta-inner .btn { max-width: 100%; white-space: normal; text-align: left; padding-block: 12px; }
.lt-click { animation: ltClick .7s ease-out; }
@keyframes ltClick { 25% { filter: brightness(1.45) drop-shadow(0 0 10px currentColor); } to { filter: none; } }
@media (max-width: 899px) {
  .cta { cursor: auto; }
  .cta .latch-stage { display: none; }
  .cta .cta-inner { padding-block: clamp(56px, 14vw, 72px) clamp(60px, 15vw, 80px); gap: 20px; }
  .cta .cta-inner h2 { font-size: clamp(27px, 7.4vw, 40px); max-width: 15ch; }
  .cta .cta-inner .lede { font-size: 16px; }
}
.cta .latch-stage { position: relative; z-index: 1; order: 2; height: clamp(220px, 58vw, 300px); }
@media (min-width: 900px) {
  .cta { min-height: clamp(480px, 40vw, 600px); justify-content: center; }
  .cta .latch-stage { position: absolute; inset: 0; height: auto; }
  .cta .cta-inner { padding-block: clamp(140px, 11vw, 168px) clamp(96px, 8vw, 128px); }
  .cta .cta-inner > * { max-width: min(640px, 50vw); }
}

/* Page banner with an illustration or picture beside the text */
.band-inner.has-side { display: grid; gap: 32px 56px; align-items: center; }
@media (min-width: 980px) { .band-inner.has-side { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero-side { position: relative; min-width: 0; }
.hero-side .iso, .hero-side .ev { display: block; width: 100%; height: auto; max-height: 520px; }
.page-hero .band-inner.has-side h1 { max-width: 15ch; font-size: clamp(32px, 4.3vw, 66px); }
@media (prefers-reduced-motion: no-preference) { .stack .panel:not(:last-child) { margin-bottom: 42vh; } }

/* EdTech illustration */
@keyframes isoIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: none; } }
@keyframes isoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes isoCheck { 0%, 12% { stroke-dashoffset: 1; } 32%, 86% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes isoProg { 0% { transform: scaleX(.05); } 70%, 100% { transform: none; } }
.iso .iso-check { stroke-dasharray: 1; }
.iso .iso-prog { transform-box: fill-box; transform-origin: 0 50%; }
@media (prefers-reduced-motion: no-preference) {
  .iso .iso-layer { animation: isoIn 1s var(--ease) both, isoFloat 6s ease-in-out infinite; animation-delay: calc(var(--k) * 160ms + 200ms), calc(1.4s + var(--k) * -1.6s); }
  .iso .iso-check { animation: isoCheck 4.5s var(--ease) infinite; animation-delay: var(--d); }
  .iso .iso-prog { animation: isoProg 5s var(--ease) infinite; }
  .iso .iso-orbit { animation: isoFloat 4s ease-in-out infinite; }
}
.edu { background-image: linear-gradient(rgba(46, 53, 66, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 53, 66, .045) 1px, transparent 1px); background-size: 36px 36px; background-position: -1px -1px; }
.icard { display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.4vw, 30px); min-width: 0; }
.icard h3 { font-size: var(--t-3); line-height: 1.2; }
.icard p { color: var(--ink-2); font-size: 16px; }
.tabpanel li .ic { color: var(--ice-deep); width: 22px; height: 22px; align-self: center; }
.tabpanel li { align-items: center; }
.value li { grid-template-columns: 52px minmax(0, 4.5fr) minmax(0, 7fr); align-items: center; }
@media (max-width: 700px) { .value li { grid-template-columns: 52px minmax(0, 1fr); } .value li p { grid-column: 2; } }
.chip .ic { width: 17px; height: 17px; color: var(--ice-deep); }

/* Gamification illustration */
.ev .ev-row { transition: transform .9s var(--ease); }
.ev .ev-bar { transform-box: fill-box; transform-origin: 0 50%; transition: transform .9s var(--ease); }
.ev .ev-timer { stroke-dasharray: 1; }
.ev .ev-opt { transition: opacity .3s; }
@keyframes evTimer { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }
@keyframes evBlink { 50% { opacity: .25; } }
@keyframes evFlow { to { stroke-dashoffset: -40; } }
@keyframes evPick { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .35; } }
@keyframes evC { from { opacity: 1; transform: none; } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }
@media (prefers-reduced-motion: no-preference) {
  .ev .ev-timer { animation: evTimer 6s linear infinite; }
  .ev .ev-live { animation: evBlink 1.6s ease-in-out infinite; }
  .ev .ev-beams path { animation: evFlow 1.2s linear infinite; }
  .ev .ev-opt.pick { animation: evPick 2s ease-in-out infinite; }
  .ev .ev-c { animation: evC 1.5s cubic-bezier(.2, .7, .3, 1) forwards; }
}
.ev-stage { position: relative; cursor: pointer; }
.ev-hint { position: absolute; left: 50%; bottom: -6px; translate: -50% 0; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(238, 243, 236, .1); color: var(--deep-ink); font-size: 13.5px; border: 1px solid rgba(238, 243, 236, .18); }
.ev-hint .ic { width: 16px; height: 16px; }
.feat { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat { grid-template-columns: minmax(0, 1fr); } }
.feat .icard { position: relative; overflow: hidden; }
.feat .icard h3 { font-stretch: 100%; font-size: 14.5px; letter-spacing: .06em; font-weight: 600; text-transform: uppercase; }
.feat .xp { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-top: auto; }
.feat .xp i { display: block; height: 100%; width: 100%; background: var(--lilac-deep); transform-origin: 0 50%; transform: scaleX(var(--xp, 1)); transition: transform 1.2s var(--ease); }
.who2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.who2 li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 16.5px; transition: border-color .3s, transform .4s var(--ease); }
.who2 li:hover { border-color: var(--lilac-deep); transform: translateY(-3px); }
@media (max-width: 800px) { .who2 { grid-template-columns: minmax(0, 1fr); } }
.ticks.ic-list li { padding-left: 46px; }
.ticks.ic-list li::before { display: none; }
.ticks.ic-list li .ic { position: absolute; left: 6px; top: 14px; color: var(--lilac-deep); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
@media (max-width: 800px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

/* Marketing service pages */
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.offer .icard:first-child { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 20px; }
.offer .icard:first-child > :not(.ic-tile) { grid-column: 2; }
.offer .icard:first-child .ic-tile { grid-row: 1 / span 2; }
@media (max-width: 640px) { .offer { grid-template-columns: minmax(0, 1fr); } }
.goal2 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 900px) { .goal2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.goal2 .goal { align-content: center; }
.proc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; }
.proc::before { content: ""; position: absolute; left: 26px; right: 26px; top: 26px; height: 2px; background: var(--line); }
.proc li { position: relative; display: grid; gap: 14px; align-content: start; padding-right: 8px; }
.proc li .ic-tile { position: relative; z-index: 1; box-shadow: 0 0 0 8px var(--paper); }
.proc li b { font-stretch: 75%; letter-spacing: .1em; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.proc li p { color: var(--ink-2); }
@media (max-width: 800px) { .proc { grid-template-columns: minmax(0, 1fr); gap: 26px; } .proc::before { left: 25px; right: auto; top: 26px; bottom: 26px; width: 2px; height: auto; } .proc li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; } .proc li > :not(.ic-tile) { grid-column: 2; } .proc li .ic-tile { grid-row: 1 / span 2; } }
.mk-cards .card .ic-tile { margin-bottom: 8px; }

/* Work: room for projects */
.tile .cover.empty { background: var(--surface); border: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent); display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--ink-3); transition: border-color .3s, color .3s; }
.tile .cover.empty .plus { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--tone-deep); transition: transform .5s var(--ease); }
.tile .cover.empty .plus .ic { width: 26px; height: 26px; }
.tile .cover.empty span { font-stretch: 75%; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; font-weight: 500; }
.tile:hover .cover.empty { border-color: var(--ink); color: var(--ink); }
.tile:hover .cover.empty .plus { transform: rotate(90deg); }

/* ---------- Footer: light, small and quiet ---------- */
.foot { background: #f4f5f1; color: var(--ink-2); font-size: 12.5px; line-height: 1.55; border-top: 1px solid var(--line); padding-block: 0 calc(env(safe-area-inset-bottom, 0px) + 22px); }
.foot-top { display: flex; align-items: center; gap: 10px; padding-block: 16px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.foot-mark { display: inline-flex; color: var(--ink); }
.foot-mark .symbol path { stroke-width: 30; }
.foot-crumb { display: inline-flex; gap: 10px; align-items: center; }
.foot-crumb span { color: var(--ink-3); }
.foot-note { padding-block: 16px; color: var(--ink-3); border-bottom: 1px solid var(--line); margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; padding-block: 22px 26px; }
.fcol summary { list-style: none; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.fcol summary::-webkit-details-marker { display: none; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot .fcol a { color: var(--ink-2); opacity: 1; }
.foot .fcol a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .fcol address { font-style: normal; color: var(--ink-2); font-size: 12.5px; line-height: 1.6; max-width: 30ch; }
.foot .copyline { margin-top: 10px; gap: 8px; }
.foot .copyline code { font-size: 12.5px; color: var(--ink); }
.foot .chip-btn { border: 1px solid var(--line); color: var(--ink-2); background: #fff; padding: 2px 10px; font-size: 11.5px; }
.foot .chip-btn:hover { background: var(--ink); color: #fff; }
.foot .foot-bottom { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; color: var(--ink-3); font-size: 12px; }
.foot .foot-bottom nav { display: flex; gap: 0; }
.foot .foot-bottom nav a { color: var(--ink-2); }
.foot .foot-bottom nav a + a { border-left: 1px solid var(--line); margin-left: 10px; padding-left: 10px; }
.foot :focus-visible { outline-color: var(--focus); }
@media (min-width: 834px) { .fcol summary { pointer-events: none; } }
@media (max-width: 833px) {
  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 6px 18px; }
  .fcol { border-bottom: 1px solid var(--line); }
  .fcol summary { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 13px 0; cursor: pointer; font-weight: 500; }
  .fcol summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
  .fcol[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
  .fcol ul, .fcol address, .fcol .copyline { padding-bottom: 14px; }
  .fcol .copyline { margin-top: 0; }
  .foot .foot-bottom { border-top: 0; flex-direction: column; }
}

/* ================= Gamification world ================= */
.gm { --g-bg: #1f1c25; --g-panel: #29252f; --g-line: rgba(216, 204, 255, .12); --g-ink: #f1edff; --g-ink2: #b9b0d6; --g-l: #D8CCFF; --g-m: #B1F7BB; --g-i: #B4E2FF;
  background-color: var(--g-bg); color: var(--g-ink); position: relative;
  background-image: linear-gradient(var(--g-line) 1px, transparent 1px), linear-gradient(90deg, var(--g-line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.gm ::selection { background: var(--g-l); color: #1f1c25; }
.gm :focus-visible { outline-color: var(--g-l); }
.gm .lv { position: relative; padding-block: clamp(84px, 11vw, 150px); border-top: 1px solid var(--g-line); }
.gm .lv-tag { font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--g-l); display: inline-flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.gm .lv-tag::before { content: ""; width: 8px; height: 8px; background: var(--g-l); transform: rotate(45deg); }
.gm .lv-k { font-stretch: 75%; font-weight: 600; font-size: 13px; letter-spacing: .14em; color: var(--g-ink2); }
.gm-h1 { font-size: clamp(36px, 6.2vw, 94px); line-height: .98; max-width: 13ch; letter-spacing: -0.01em; }
.gm-h1 em { font-style: normal; color: var(--g-l); }
.gm-h2 { font-size: clamp(30px, 4.6vw, 64px); line-height: 1.02; max-width: 16ch; }
.gm-h2.big { font-size: clamp(32px, 5.4vw, 78px); max-width: 18ch; }
.gm-p { color: var(--g-ink2); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; max-width: 54ch; }
.gm-p.lead { font-size: clamp(18px, 1.6vw, 22px); }
.gm-hint { margin-top: 26px; color: var(--g-ink2); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.gm .key { font-stretch: 75%; font-weight: 600; letter-spacing: .12em; font-size: 12px; padding: 4px 9px; border: 1.5px solid var(--g-l); border-bottom-width: 3px; border-radius: 6px; color: var(--g-l); }
.gm .crumbs { color: var(--g-ink2); margin-bottom: 34px; }
/* corner brackets: the HUD frame */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--g-l); pointer-events: none; }
.frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
/* buttons */
.gbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1.5px solid var(--g-l); color: var(--g-l); font-stretch: 75%; font-weight: 600; font-size: 15px; letter-spacing: .12em;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); transition: background-color .3s, color .3s, scale .2s; text-align: center; }
.gbtn:hover { background: rgba(216, 204, 255, .12); }
.gbtn.primary { background: var(--g-l); color: #1f1c25; }
.gbtn.primary:hover { background: var(--g-m); border-color: var(--g-m); }
.gbtn:active { scale: .97; }
.gbtn.big { min-height: 62px; font-size: 16.5px; padding: 0 32px; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* HUD */
.gm-hud { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h)); z-index: 40; background: rgba(31, 28, 37, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--g-line); }
.gm-hud-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 46px; font-stretch: 75%; font-size: 12.5px; letter-spacing: .14em; color: var(--g-ink2); font-weight: 500; }
.gm-hud b { color: var(--g-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.gm-lv i { font-style: normal; color: var(--g-l); margin-left: 10px; }
.gm-segs { display: flex; gap: 5px; flex: 1; max-width: 360px; }
.gm-segs i { flex: 1; height: 5px; background: rgba(216, 204, 255, .16); transform: skewX(-33deg); transition: background-color .4s; }
.gm-segs i.on { background: var(--g-l); }
.gm-sc b { color: var(--g-m); }
@media (max-width: 600px) { .gm-segs { display: none; } }
/* Lobby */
.lv-lobby { padding-bottom: 0 !important; border-top: 0 !important; overflow: hidden; }
.lobby-in { position: relative; z-index: 2; }
.gm-crowd { position: relative; height: clamp(220px, 34vw, 420px); margin-top: clamp(40px, 6vw, 72px); -webkit-mask-image: linear-gradient(transparent, #000 30%); mask-image: linear-gradient(transparent, #000 30%); }
.gm-crowd svg { display: block; width: 100%; height: 100%; }
.gm-crowd .cr { fill: rgba(216, 204, 255, .2); transition: fill .5s; }
.gm-crowd .cr.on { fill: var(--g-l); }
.gm-crowd .cr.on:nth-child(5n) { fill: var(--g-m); }
.gm-crowd .cr.on:nth-child(7n) { fill: var(--g-i); }
/* two-column levels */
.lv-grid { display: grid; gap: 48px 72px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* Level 1: join */
#gm-isas .k { transition: color .4s, background-color .4s; }
#gm-isas { margin-bottom: 24px; }
#gm-isas .k { padding: 0 .1em; margin: 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
#gm-isas .k.on { color: #1f1c25; background: var(--g-m); }
.join { cursor: pointer; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; background: rgba(41, 37, 47, .6); border: 1px solid var(--g-line); }
.join svg { display: block; width: 100%; height: 100%; }
.join .s { opacity: 0; transition: opacity .35s; }
.join:not([class*="st-"]) .s0, .join.st-0 .s0, .join.st-1 .s1, .join.st-2 .s2, .join.st-3 .s2 { opacity: 1; }
.join .ring circle { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--k) * 12ms); }
.join.st-3 .ring circle { transform: none; }
.join .pulse { transform-box: fill-box; transform-origin: center; }
@keyframes gmPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .join:not([class*="st-"]) .pulse, .join.st-0 .pulse { animation: gmPulse 1.8s ease-out infinite; } }
/* Level 2: the switch */
.sw-row { display: flex; align-items: center; gap: 18px; font-stretch: 75%; font-weight: 600; letter-spacing: .16em; font-size: 14px; margin-bottom: 30px; color: var(--g-ink2); }
.sw { width: 92px; height: 44px; border-radius: 999px; border: 2px solid var(--g-l); background: transparent; position: relative; cursor: pointer; padding: 0; }
.sw i { position: absolute; top: 5px; left: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--g-ink2); transition: transform .45s var(--ease), background-color .3s; }
.sw[aria-checked="true"] { background: rgba(177, 247, 187, .14); border-color: var(--g-m); }
.sw[aria-checked="true"] i { transform: translateX(46px); background: var(--g-m); }
.lv.active .sw-row .sw-l:last-child, .lv:not(.active) .sw-row .sw-l:first-child { color: var(--g-ink); }
.room { margin-bottom: 30px; }
.room svg { display: block; width: 100%; height: auto; }
.room .rp { fill: rgba(216, 204, 255, .22); transform-box: fill-box; transform-origin: center bottom; transform: translateY(5px) scaleY(.82); transition: fill .4s, transform .5s var(--ease); transition-delay: calc(var(--c) * 14ms); }
.lv.active .room .rp { fill: var(--g-l); transform: none; }
@keyframes gmJump { 0%, 100% { transform: none; } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) { .lv.active .room .rp { animation: gmJump .8s ease-in-out infinite; animation-delay: .5s; } }
.sw-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .sw-cards { grid-template-columns: minmax(0, 1fr); } }
.gcard { padding: clamp(24px, 3vw, 36px); background: var(--g-panel); border: 1px solid var(--g-line); display: grid; gap: 14px; align-content: start; transition: opacity .5s, border-color .5s, background-color .5s; }
.gcard p:last-child { color: var(--g-ink); font-size: 17px; line-height: 1.6; }
.gcard::before, .gcard::after { opacity: 0; transition: opacity .4s; }
.lv:not(.active) .gcard.why, .lv.active .gcard.what { border-color: rgba(216, 204, 255, .4); }
.lv:not(.active) .gcard.why::before, .lv:not(.active) .gcard.why::after, .lv.active .gcard.what::before, .lv.active .gcard.what::after { opacity: 1; }
.lv:not(.active) .gcard.what, .lv.active .gcard.why { opacity: .5; }
/* Replays */
.lv-reel { padding-block: clamp(56px, 7vw, 96px) !important; }
.reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 800px) { .reel { grid-template-columns: minmax(0, 1fr); } }
.gm .ph { border-color: rgba(216, 204, 255, .25); background: repeating-linear-gradient(-33deg, transparent 0 16px, rgba(216, 204, 255, .05) 16px 17px), rgba(41, 37, 47, .6); border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.gm .ph-in { color: var(--g-ink2); }
/* Level 3: loadout */
.loadout { display: grid; gap: 28px; margin-top: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .loadout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; } }
.lo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lo-item { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; text-align: left; padding: 16px 18px; background: transparent; border: 1px solid var(--g-line); color: var(--g-ink2); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s; }
.lo-item:hover { border-color: rgba(216, 204, 255, .4); }
.lo-item[aria-pressed="true"] { background: var(--g-panel); border-color: var(--g-l); color: var(--g-ink); }
.lo-n { font-stretch: 75%; font-weight: 600; letter-spacing: .1em; color: var(--g-l); padding-top: 2px; }
.lo-t { display: grid; gap: 4px; }
.lo-t b { font-stretch: 100%; font-weight: 600; font-size: 14.5px; letter-spacing: .06em; }
.lo-t span { font-size: 15px; line-height: 1.5; }
.console { background: var(--g-panel); border: 1px solid var(--g-line); min-height: 320px; display: grid; place-items: center; padding: 20px; }
.console svg { width: 100%; height: auto; max-height: 420px; }
.console .cv { opacity: 0; transition: opacity .45s; }
.console[data-sel="0"] .cv[data-i="0"], .console[data-sel="1"] .cv[data-i="1"], .console[data-sel="2"] .cv[data-i="2"], .console[data-sel="3"] .cv[data-i="3"], .console[data-sel="4"] .cv[data-i="4"] { opacity: 1; }
.cv-sync circle, .cv-beat, .cv-bar, .cv-tn, .cv-mod { transform-box: fill-box; }
.cv-sync circle { transform-origin: center; }
.cv-beat { transform-origin: center; }
.cv-bar { transform-origin: 50% 100%; }
.cv-tn { transform-origin: center; }
@keyframes cvSync { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.5); } }
@keyframes cvBeat { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@keyframes cvFlow { to { stroke-dashoffset: -30; } }
@keyframes cvBar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes cvBlink { 50% { opacity: .2; } }
@keyframes cvGrow { 0%, 10% { opacity: 0; transform: scale(.3); } 30%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes cvSnap { 0%, 8% { transform: translateY(-70px); opacity: 0; } 30%, 80% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .console[data-sel="0"] .cv-sync circle { animation: cvSync 1.2s ease-out infinite; }
  .console[data-sel="0"] .cv-beat { animation: cvBeat 1.2s ease-out infinite; }
  .console[data-sel="1"] .cv-link { animation: cvFlow .8s linear infinite; }
  .console[data-sel="2"] .cv-bar { animation: cvBar var(--d) ease-in-out infinite; animation-delay: calc(var(--k) * -.3s); }
  .console[data-sel="2"] .cv-live { animation: cvBlink 1.2s ease-in-out infinite; }
  .console[data-sel="3"] :is(.cv-tn, .cv-tl) { animation: cvGrow 3.6s var(--ease) infinite; animation-delay: calc(var(--k) * .45s); }
  .console[data-sel="4"] .cv-mod { animation: cvSnap 3.2s var(--ease) infinite; animation-delay: calc(var(--k) * .35s); }
}
/* Level 4: two players, achievements */
.players { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .players { grid-template-columns: minmax(0, 1fr); } }
.pl { background: var(--g-panel); border: 1px solid var(--g-line); padding: clamp(24px, 3vw, 36px); }
.pl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.pl-tag { font-stretch: 75%; font-weight: 700; font-size: 15px; letter-spacing: .1em; width: 46px; height: 46px; display: grid; place-items: center; background: var(--g-l); color: #1f1c25; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.pl:nth-child(2) .pl-tag { background: var(--g-i); }
.ach { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ach li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--g-line); color: var(--g-ink2); font-size: 16.5px; transition: color .5s; }
.ach-ic { width: 38px; height: 38px; border: 1.5px solid rgba(216, 204, 255, .3); display: grid; place-items: center; transition: background-color .4s, border-color .4s, transform .5s var(--ease); }
.ach-ic svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.ach-ic .ck { opacity: 0; transform: scale(.4); color: #1f1c25; }
.ach li.on { color: var(--g-ink); }
.ach li.on .ach-ic { background: var(--g-m); border-color: var(--g-m); transform: rotate(-8deg); }
.ach li.on .ach-ic .lk { opacity: 0; transform: scale(.4); }
.ach li.on .ach-ic .ck { opacity: 1; transform: none; }
/* Level 5: bonus, in mint */
.lv-bonus { background: linear-gradient(180deg, rgba(177, 247, 187, .06), transparent 70%); }
.lv-bonus .lv-tag { color: var(--g-m); }
.lv-bonus .lv-tag::before { background: var(--g-m); }
.bonus { background: var(--g-panel); border: 1px solid var(--g-line); padding: 20px; }
.bonus::before, .bonus::after { border-color: var(--g-m); }
.bonus svg { display: block; width: 100%; height: auto; }
.hw { transform-box: fill-box; transform-origin: center; transition: opacity .5s, transform .6s var(--ease); }
.hw.gone { opacity: 0; transform: scale(.6) translateY(16px); }
.leaf { transform-box: fill-box; transform-origin: 0 100%; transform: scale(.15); transition: transform .3s linear; }
/* Level 6: arena select */
.arena { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
@media (max-width: 700px) { .arena { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stage { position: relative; display: grid; gap: 14px; align-content: space-between; min-height: 150px; padding: 18px; text-align: left; background: var(--g-panel); border: 1px solid var(--g-line); color: var(--g-ink); cursor: pointer; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.stage:hover { border-color: rgba(216, 204, 255, .45); transform: translateY(-3px); }
.stage .ic { width: 28px; height: 28px; color: var(--g-l); }
.st-n { position: absolute; right: 16px; top: 16px; font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .12em; color: var(--g-ink2); }
.st-t { font-size: clamp(16px, 1.5vw, 19px); font-stretch: 112%; line-height: 1.2; }
.stage[aria-pressed="true"] { background: var(--g-l); color: #1f1c25; border-color: var(--g-l); }
.stage[aria-pressed="true"] .ic, .stage[aria-pressed="true"] .st-n { color: #1f1c25; }
/* Level 7: start */
.lv-start { height: 240vh; padding: 0 !important; }
.start-pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--head-h) + 46px); height: calc(100vh - var(--head-h) - 46px); display: grid; align-items: center; overflow: hidden; }
.start-in { position: relative; display: grid; place-items: center; min-height: 100%; }
.count { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.count span { grid-area: 1 / 1; font-stretch: 125%; font-size: clamp(160px, 30vw, 420px); line-height: 1; color: var(--g-l); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .5s var(--ease); }
.count span.on { opacity: 1; transform: none; }
.count span:nth-child(3) { color: var(--g-m); }
.start-copy { display: grid; gap: 26px; justify-items: center; text-align: center; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.start-copy .gm-h2 { margin-inline: auto; }
.lv-start.go .start-copy { opacity: 1; transform: none; }
.lv-start.go .count span { opacity: 0 !important; }
.final { font-stretch: 75%; letter-spacing: .16em; font-size: 13px; color: var(--g-ink2); }
.final b { color: var(--g-m); font-size: 15px; margin-left: 8px; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .lv-start { height: auto; padding-block: 96px !important; }
  .start-pin { position: relative; top: auto; height: auto; }
  .count { display: none; }
  .start-copy { opacity: 1; transform: none; }
  .leaf { transform: none !important; }
}

/* Real pictures */
.pic { margin: 0; position: relative; width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pic:hover img { transform: scale(1.03); }
.pic figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; line-height: 1.3;
  background: rgba(20, 24, 19, .62); color: #eef3ec; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.band .pic { background: rgba(238, 243, 236, .06); }
.gm .reel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gm .reel .pic:first-child { grid-column: 1 / -1; }
.gm .pic { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); background: rgba(41, 37, 47, .6); }
.gm .pic figcaption { left: 16px; bottom: 16px; border-radius: 0; font-stretch: 75%; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; background: rgba(31, 28, 37, .72); color: var(--g-l); }
@media (max-width: 800px) { .gm .reel { grid-template-columns: minmax(0, 1fr); } .gm .reel .pic:first-child { aspect-ratio: 4 / 3 !important; } }

/* Mockup frames */
.mk { display: grid; place-items: center; background: var(--bg); }
.mk img { transition: none; }
.pic.mk:hover img { transform: none; }
.lap { width: 80%; transition: transform .8s var(--ease); }
.pic.mk:hover .lap, .pic.mk:hover .win, .pic.mk:hover .paper { transform: translateY(-4px); }
.lap-scr { aspect-ratio: 16 / 10; background: #121412; border-radius: 12px 12px 0 0; padding: 2.4% 2.4% 3%; box-shadow: 0 0 0 1px #3a3d39; }
.lap-scr img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.lap-base { height: 11px; width: 118%; margin-left: -9%; border-radius: 0 0 16px 16px; background: linear-gradient(#e4e6e0, #a7aaa3); position: relative; box-shadow: 0 18px 26px -16px rgba(0,0,0,.45); }
.lap-base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 4px; border-radius: 0 0 6px 6px; background: #bfc2bb; }
.win { width: 84%; border-radius: 10px; overflow: hidden; background: #121412; box-shadow: 0 24px 40px -20px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.12); transition: transform .8s var(--ease); }
.win-bar { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; background: #f4f5f1; }
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d7cd; }
.win-bar i:first-child { background: #f1a29a; } .win-bar i:nth-child(2) { background: #f2d38a; } .win-bar i:nth-child(3) { background: #9fd8a5; }
.win-bar span { flex: 1; height: 10px; margin: 0 18%; border-radius: 6px; background: #e2e4dc; }
.win img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.paper { width: 76%; transform: rotate(-2deg); box-shadow: 0 2px 3px rgba(0,0,0,.08), 0 26px 40px -18px rgba(0,0,0,.42); transition: transform .8s var(--ease); background: #fff; }
.pic.mk:hover .paper { transform: rotate(-2deg) translateY(-4px); }
.paper img { display: block; width: 100%; height: 100%; object-fit: cover; }
.posts-mk { display: flex; gap: 5%; justify-content: center; width: 100%; padding: 0 6%; }
.ig { width: 38%; max-width: 230px; background: #fff; border-radius: 10px; padding: 0 0 6px; box-shadow: 0 22px 34px -18px rgba(0,0,0,.45); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.ig:nth-child(2) { transform: rotate(3deg) translateY(6%); }
.pic.mk:hover .ig { transform: none; }
.ig-h { display: flex; align-items: center; gap: 6px; padding: 7px 8px; }
.ig-h b { width: 14px; height: 14px; border-radius: 50%; background: #e2463a; flex: none; }
.ig-h span { height: 5px; width: 40%; border-radius: 3px; background: #2b2b2b; }
.ig-h em { margin-left: auto; width: 3px; height: 9px; border-left: 3px dotted #777; }
.ig img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.ig-f { display: flex; gap: 6px; padding: 7px 8px 2px; align-items: center; }
.ig-f i { width: 10px; height: 10px; border: 1.6px solid #333; border-radius: 3px; }
.ig-f i:first-child { border-radius: 50% 50% 40% 40%; }
.ig-f u { margin-left: auto; width: 8px; height: 10px; border: 1.6px solid #333; border-bottom-width: 3px; text-decoration: none; }

/* Client marquee */
.mq-wrap { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq { overflow: hidden; }
.mq-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; will-change: transform; }
.mq-track li { flex: none; width: clamp(150px, 15vw, 210px); aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: 16px; background: var(--plate); display: grid; place-items: center; padding: 12px 24px; transition: border-color .3s; }
.mq-track li:hover { border-color: var(--ink); }
.mq-track img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s, opacity .3s; }
.mq-track li:hover img { filter: none; opacity: 1; }


@media (prefers-reduced-motion: reduce) {
  .wipe, .cursor, .cursor-dot { display: none !important; }
  .mq { overflow-x: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .panel { position: relative; top: auto; }
  .panel + .panel { margin-top: 16px; border-radius: 28px; }
}

