/* 07-bento: the school as a board of live tiles. */

/* ---------- tokens ---------- */
:root {
  --teal: #2BB39A; --teal-d: #1E967F; --teal-ink: #0F6B57;
  --sky: #3BA3F0; --sky-ink: #125E9C;
  --grape: #8B5CF6; --grape-d: #7445E0;
  --blossom: #F49AC1; --blossom-ink: #9E3466;
  --tang: #F79420; --money: #9A5400;
  --sunny: #FFC93C; --warn: #8A6200;
  --coral: #F4756B; --err: #B3271A;
  --ink: #1F2B4D; --ink7: #3D4A6B; --ink5: #6B7693; --ink4: #98A1B5; --line: #E3E7EF;
  --page: #F5F6F8;
  --mint: #DFF4EE; --butter: #FFF3D6; --skyl: #E3F2FD; --lav: #EDE7FB; --blush: #FDE8F1; --cream: #FFF1DF; --peach: #FEE9E7;
  --r: 28px; --r-s: 20px;
  --gap: 14px;
  --gut: clamp(16px, 3vw, 40px);
  --maxw: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fd: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ft: 'Inter', system-ui, -apple-system, sans-serif;
  --sh1: 0 1px 2px rgba(31, 43, 77, .05), 0 10px 26px -14px rgba(31, 43, 77, .20);
  --sh2: 0 2px 6px rgba(31, 43, 77, .06), 0 30px 60px -22px rgba(31, 43, 77, .34);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--page); }
body {
  font: 400 16px/1.6 var(--ft); color: var(--ink7); background: var(--page);
  -webkit-font-smoothing: antialiased; min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--fd); color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; }
ul { padding: 0; list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic svg, svg.ic { width: 100%; height: 100%; }
[data-ic] { display: inline-grid; place-items: center; }
[data-ic] svg { width: 100%; height: 100%; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--fd); letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--ease), background-color .25s, box-shadow .45s var(--ease), color .25s;
}
.btn:active { transform: scale(.97); }
.btn-lg { height: 58px; padding: 0 26px; font-size: 16px; }
.btn-primary { background: var(--teal); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(15, 107, 87, .18); }
.btn-primary:hover { background: #3CC4AA; box-shadow: inset 0 -3px 0 rgba(15, 107, 87, .18), 0 12px 24px -12px rgba(30, 150, 127, .7); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A3964; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink4); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(31, 43, 77, .06); }
.btn .arr { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; margin-right: -12px; transition: transform .5s var(--ease); }
.btn-dark .arr { background: var(--teal); color: var(--ink); }
.btn .arr svg { width: 16px; height: 16px; }
.btn:hover .arr { transform: translateX(3px); }
.btn .play { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sunny); color: var(--ink); margin-left: -12px; position: relative; }
.btn .play svg { width: 13px; height: 13px; margin-left: 2px; }
.btn .play::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--sunny); opacity: .0; transform: scale(.8); transition: opacity .4s, transform .6s var(--ease); }
.btn:hover .play::after { opacity: 1; transform: scale(1); }
.btn .dur { font: 600 13px/1 var(--ft); color: var(--ink5); }

/* ---------- header ---------- */
.hdr { position: fixed; top: 12px; left: 0; right: 0; z-index: 70; pointer-events: none; }
.hdr-in {
  pointer-events: auto; width: min(var(--maxw), 100% - 2 * var(--gut)); margin-inline: auto; height: 64px;
  display: flex; align-items: center; gap: 18px; padding: 0 10px 0 12px; border-radius: 22px;
  background: rgba(255, 255, 255, .88); box-shadow: var(--sh1); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--fd); color: var(--ink); letter-spacing: -.03em; border-radius: 12px; }
.brand img { width: 38px; height: 38px; transition: transform .7s var(--ease); transform-origin: 50% 20%; }
.brand:hover img { transform: rotate(-12deg); }
.nav { position: relative; display: flex; gap: 2px; margin-left: 14px; }
.nav a { position: relative; z-index: 1; padding: 9px 14px; border-radius: 12px; font: 600 14.5px/1 var(--fd); color: var(--ink7); text-decoration: none; transition: color .25s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav-glide { position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 12px; background: var(--mint); opacity: 0; z-index: 0; }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr-cta .btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--ink); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn i:nth-child(1) { top: 18px; }
.menu-btn i:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 65; padding: 88px var(--gut) 24px; background: rgba(245, 246, 248, .97); overflow: auto; }
.menu[hidden] { display: none; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-grid a { display: flex; flex-direction: column; justify-content: space-between; min-height: 104px; padding: 16px; border-radius: 22px; text-decoration: none; font: 800 19px/1.15 var(--fd); color: var(--ink); background: var(--bg, #fff); box-shadow: var(--sh1); letter-spacing: -.02em; }
.menu-grid a .ic { width: 26px; height: 26px; }
.menu-grid a.wide { grid-column: span 2; min-height: 64px; flex-direction: row; align-items: center; }

/* ---------- pages ---------- */
main { padding-top: 92px; overflow-x: clip; }
.foot { overflow-x: clip; }
.page[hidden] { display: none; }
.sec { padding-block: clamp(28px, 4vw, 56px); position: relative; }
.sec-hd { font-size: clamp(32px, 3.5vw, 54px); }
.lede { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; color: var(--ink7); max-width: 56ch; }

/* ---------- bento + tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tile {
  position: relative; min-width: 0; border-radius: var(--r); padding: 22px;
  background: var(--bg, #fff); color: var(--fg, var(--ink7));
  box-shadow: var(--sh1); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
}
.tile.plain { background: transparent; box-shadow: none; padding: 6px 4px; overflow: visible; }
.tile.live.settled { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
@media (hover: hover) {
  .tile.live.settled:hover { transform: translateY(-6px); box-shadow: var(--sh2); }
}
.tile.live::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .34), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.tile.live:hover::after { opacity: 1; }
.tile:has(.open:focus-visible) { outline: 3px solid var(--sky); outline-offset: 3px; }

/* colour families: navy ink on every candy fill except grape */
.c-white { --bg: #fff; --k: var(--ink5); }
.c-teal { --bg: var(--teal); --fg: var(--ink); --k: var(--ink); }
.c-sky { --bg: var(--sky); --fg: var(--ink); --k: var(--ink); }
.c-sunny { --bg: var(--sunny); --fg: var(--ink); --k: var(--ink); }
.c-tang { --bg: var(--tang); --fg: var(--ink); --k: var(--ink); }
.c-coral { --bg: var(--coral); --fg: var(--ink); --k: var(--ink); }
.c-blossom { --bg: var(--blossom); --fg: var(--ink); --k: var(--ink); }
.c-grape { --bg: var(--grape); --fg: #fff; --k: #fff; --h: #fff; }
.c-navy { --bg: var(--ink); --fg: #DCE2F0; --k: #9FB0D6; --h: #fff; }
.c-mint { --bg: var(--mint); --k: var(--teal-ink); }
.c-skyl { --bg: var(--skyl); --k: var(--sky-ink); }
.c-butter { --bg: var(--butter); --k: var(--warn); }
.c-cream { --bg: var(--cream); --k: var(--money); }
.c-blush { --bg: var(--blush); --k: var(--blossom-ink); }
.c-peach { --bg: var(--peach); --k: var(--err); }
.c-lav { --bg: var(--lav); --k: var(--grape-d); }

.k { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--fd); color: var(--k, var(--ink5)); letter-spacing: -.005em; }
.k .ic { width: 17px; height: 17px; }
.tt { font: 800 clamp(18px, 1.45vw, 21px)/1.18 var(--fd); color: var(--h, var(--ink)); letter-spacing: -.022em; margin-top: 6px; max-width: 30ch; }
.tile-hd { position: relative; z-index: 3; padding-right: 46px; }
.h-reg .open { top: auto; bottom: 14px; }
@media (min-width: 1100px) { .f-tim .open { top: auto; bottom: 18px; right: auto; left: 22px; } }
.h-van .tile-row { padding-right: 46px; }
.h-van .open { top: 12px; right: 12px; }
h1[tabindex="-1"]:focus { outline: none; }
.sm-mask { padding-bottom: .16em; margin-bottom: -.16em; }
@media (min-width: 1100px) {
  .tile.side { flex-direction: row; gap: 22px; }
  .tile.side .tile-hd { flex: 0 0 230px; padding-right: 0; }
  .tile.side .stage { margin-top: 0; }
  .tile.inline .tile-hd { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .tile.inline .tt { margin-top: 0; max-width: none; }
}
.tile p { color: var(--fg, var(--ink7)); }

.open {
  position: absolute; right: 14px; top: 14px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0;
  display: grid; place-items: center; cursor: pointer; color: var(--ink); background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px -6px rgba(31, 43, 77, .35); transition: transform .6s var(--ease), background-color .3s;
}
.open svg { width: 18px; height: 18px; }
.open::before { content: ''; position: absolute; inset: -3000px; }
.tile:hover .open { transform: rotate(90deg) scale(1.08); }
.open:focus-visible { outline-offset: 2px; }
.c-white .open, .c-mint .open, .c-skyl .open, .c-butter .open, .c-cream .open, .c-blush .open, .c-peach .open, .c-lav .open { background: var(--ink); color: #fff; }

/* stage: a scene drawn at a fixed design size, scaled to fit its tile */
.stage { position: relative; flex: 1 1 auto; min-height: 0; min-width: 0; margin-top: 14px; z-index: 1; }
.stage > .stage-in { position: absolute; }
.stage.flush { margin: 12px -10px -10px; }
.stage-in { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: 50% 50%; }
.stage.bottom .stage-in { top: auto; bottom: 0; transform: translate(-50%, 0) scale(var(--s, 1)); transform-origin: 50% 100%; }

/* ---------- hero ---------- */
.hero { padding-top: 6px; padding-bottom: 14px; }
.b-hero {
  grid-template-rows: repeat(3, minmax(168px, auto)) auto;
  grid-template-areas:
    "intro intro intro intro intro intro intro van van van van van"
    "intro intro intro intro intro intro intro van van van van van"
    "intro intro intro intro intro intro intro reg reg reg ntf ntf"
    "f1 f1 f1 f2 f2 f2 f3 f3 f3 f4 f4 f4";
}
.h-intro { grid-area: intro; padding: clamp(26px, 3.4vw, 52px); justify-content: space-between; }
.h-intro h1 { font-size: clamp(42px, 5.25vw, 84px); line-height: .98; letter-spacing: -.045em; max-width: 12.5ch; }
.h-intro h1 .hl { --hlw: 100%; background: linear-gradient(var(--teal), var(--teal)) no-repeat 0 90% / var(--hlw) 62%; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: .14em; padding: 0 .05em; margin: 0 -.05em; }
.h-intro .lede { margin-top: 22px; max-width: 54ch; }
.h-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.h-bell { position: absolute; right: -36px; bottom: -40px; width: 230px; height: 230px; z-index: -1; color: var(--mint); transform-origin: 50% 12%; }
.h-van { grid-area: van; padding: 18px 18px 12px; }
.h-reg { grid-area: reg; padding: 18px; }
.h-ntf { grid-area: ntf; padding: 18px 16px; }
.h-f { padding: 16px 18px; flex-direction: row; align-items: center; gap: 14px; }
.h-f1 { grid-area: f1; } .h-f2 { grid-area: f2; } .h-f3 { grid-area: f3; } .h-f4 { grid-area: f4; }
.h-f .chip-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--cbg); color: var(--ink); }
.h-f .chip-ic svg { width: 22px; height: 22px; }
.h-f p { font: 600 14.5px/1.4 var(--fd); color: var(--ink); letter-spacing: -.01em; }
.livepill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .7); font: 700 12px/1 var(--fd); color: var(--ink); }
.livepill i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-ink); box-shadow: 0 0 0 0 rgba(15, 107, 87, .5); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(15, 107, 87, .5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(15, 107, 87, 0); } }
.tile-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 3; }

/* screenshot tile */
.shot-sec { padding-top: 0; }
.shot-wrap { position: relative; }
.shot-tile { padding: 0; background: #E9EBEF; border-radius: 34px; transform-origin: 50% 0; }
.shot-tile img { width: 100%; height: auto; aspect-ratio: 2000 / 1250; object-fit: cover; }
.shot-in { position: relative; overflow: hidden; border-radius: inherit; }
.shot-img { will-change: transform; }
.hot { position: absolute; left: var(--x); top: var(--y); z-index: 3; }
.hot i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(31, 43, 77, .4); animation: ping2 2.2s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(31, 43, 77, .35); } 80%, 100% { box-shadow: 0 0 0 14px rgba(31, 43, 77, 0); } }
.hot span { position: absolute; left: 18px; top: -19px; white-space: nowrap; padding: 9px 14px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 14px/1.2 var(--fd); box-shadow: var(--sh2); }
.hot.l span { left: auto; right: 18px; }
.shot-cap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; padding: 0 6px; }
.shot-cap p { font: 600 14px/1.4 var(--fd); color: var(--ink5); }
.shot-cap b { color: var(--ink); }

/* ---------- why: chaos to order ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: stretch; }
.why-copy { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 8px 4px; }
.why-copy .k { color: var(--teal-ink); }
.why-before { font: 700 clamp(20px, 1.75vw, 27px)/1.38 var(--fd); color: var(--ink5); letter-spacing: -.02em; }
.why-before span { background-image: linear-gradient(var(--coral), var(--coral)); background-repeat: no-repeat; background-position: 0 58%; background-size: var(--st, 0%) 3px; }
.why-copy h2 { font-size: clamp(32px, 3.4vw, 52px); }
.why-copy h2 .hl2 { color: var(--teal-ink); }
.why-stage { position: relative; min-height: 470px; }
.why-tiles { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: var(--gap); height: 100%; min-height: 470px; }
.why-t { --bg: #ECEEF2; grid-column: span 2; padding: 20px; }
.why.static .why-t { --bg: var(--to); }
.why.pinmode .why-grid { height: calc(100vh - 112px); min-height: 560px; max-height: 740px; }
.why.pinmode .why-stage { height: 100%; min-height: 0; display: flex; align-items: center; }
.why.pinmode .why-tiles { width: 100%; height: auto; min-height: 0; grid-auto-rows: minmax(196px, auto); }
.why-t:nth-child(1), .why-t:nth-child(2) { grid-column: span 3; }
.why-t .k { margin-bottom: 10px; }
.why-t .wx { display: grid; flex: 1; }
.why-t .wb, .why-t .wa { grid-area: 1 / 1; }
.why-t .wb { font: 600 15.5px/1.45 var(--ft); color: var(--ink5); }
.why-t .wb em { display: block; font: 700 11.5px/1 var(--fd); font-style: normal; color: var(--ink4); letter-spacing: .02em; margin-bottom: 8px; }
.why-t .wa { font: 700 clamp(16px, 1.3vw, 19px)/1.38 var(--fd); color: var(--ink); letter-spacing: -.012em; }
.why-t .wa em { display: block; font: 700 11.5px/1 var(--fd); font-style: normal; color: var(--ink); opacity: .7; letter-spacing: .02em; margin-bottom: 8px; }
.why-t .paper { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #ECEEF2; background-image: repeating-linear-gradient(0deg, transparent 0 25px, rgba(31, 43, 77, .06) 25px 26px); }
.why-noise { position: absolute; inset: 0; pointer-events: none; }
.nz { position: absolute; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1.5px dashed var(--ink4); font: 600 13px/1.2 var(--ft); color: var(--ink5); box-shadow: 0 6px 14px -8px rgba(31, 43, 77, .3); white-space: nowrap; }
.nz b { color: var(--ink7); }
.why.static .why-noise { display: none; }
.why.static .why-t .wx { gap: 12px; }
.why.static .why-t .wb, .why.static .why-t .wa { grid-area: auto; }
.why.static .why-t .wb { text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; font-size: 14px; }
.why.static .why-t .paper { display: none; }
.why.static .why-tiles { min-height: 0; }
.why.static .why-stage { min-height: 0; }

.outcomes { margin-top: var(--gap); padding: clamp(24px, 3vw, 40px); }
.out-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.out-hd h3 { color: #fff; font-size: clamp(22px, 2vw, 30px); }
.out-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.out { padding: 4px 22px 6px; border-left: 1px solid rgba(255, 255, 255, .14); }
.out:first-child { border-left: 0; padding-left: 0; }
.out h4 { color: #fff; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.025em; position: relative; display: inline-block; padding-bottom: 10px; margin-bottom: 10px; }
.out h4::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; border-radius: 4px; background: var(--u); transform-origin: 0 50%; transform: scaleX(var(--u-s, 1)); }
.out p { color: #C8D1E6; font-size: 15px; line-height: 1.55; }

/* ---------- features ---------- */
.b-feat {
  grid-auto-rows: 128px;
  grid-template-areas:
    "ttl ttl ttl ttl ttl van van van van van van van"
    "ttl ttl ttl ttl ttl van van van van van van van"
    "att att att att att van van van van van van van"
    "att att att att att adm adm adm adm adm adm adm"
    "att att att att att adm adm adm adm adm adm adm"
    "fee fee fee not not not not exm exm exm exm exm"
    "fee fee fee not not not not exm exm exm exm exm"
    "fee fee fee not not not not exm exm exm exm exm"
    "tim tim tim tim tim tim tim tim rec rec rec rec"
    "tim tim tim tim tim tim tim tim rec rec rec rec"
    "pay pay pay syl syl syl les les les clb clb clb"
    "pay pay pay syl syl syl les les les clb clb clb"
    "off off off off hlt hlt hlt hlt cta cta cta cta"
    "off off off off hlt hlt hlt hlt cta cta cta cta";
}
.f-ttl { grid-area: ttl; justify-content: flex-end; padding: 8px 8px 18px 4px; }
.f-ttl h2 { font-size: clamp(30px, 2.9vw, 44px); max-width: 16ch; }
.f-ttl .lede { margin-top: 16px; max-width: 40ch; }
.f-ttl .hint { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--fd); color: var(--ink5); }
.f-ttl .hint i { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.f-ttl .hint svg { width: 14px; height: 14px; }
.f-van { grid-area: van; } .f-att { grid-area: att; } .f-adm { grid-area: adm; } .f-fee { grid-area: fee; }
.f-not { grid-area: not; } .f-exm { grid-area: exm; } .f-tim { grid-area: tim; } .f-rec { grid-area: rec; }
.f-pay { grid-area: pay; } .f-syl { grid-area: syl; } .f-les { grid-area: les; } .f-clb { grid-area: clb; }
.f-off { grid-area: off; } .f-hlt { grid-area: hlt; } .f-cta { grid-area: cta; }
.f-cta { justify-content: space-between; text-decoration: none; }
.f-cta h3 { color: #fff; font-size: clamp(22px, 2vw, 30px); max-width: 15ch; }
.f-cta p { color: #C8D1E6; margin-top: 8px; }
.f-cta .go { display: flex; align-items: center; justify-content: space-between; font: 700 15px/1 var(--fd); color: #fff; }
.f-cta .go i { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: var(--ink); display: grid; place-items: center; transition: transform .6s var(--ease); }
.f-cta .go svg { width: 20px; height: 20px; }
.f-cta:hover .go i { transform: translateX(6px) rotate(-8deg); }
.f-cta .bars { display: flex; gap: 6px; margin-top: 18px; }
.f-cta .bars i { height: 10px; flex: 1; border-radius: 6px; background: var(--b); transform-origin: 0 50%; transition: transform .7s var(--ease); }
.f-cta .bars i:nth-child(odd) { transform: scaleX(.55); }
.f-cta:hover .bars i { transform: scaleX(1); }
.f-cta:hover .bars i:nth-child(even) { transform: scaleX(.6); }

/* ---------- roles ---------- */
.b-roles {
  grid-template-rows: auto 400px 420px auto;
  grid-template-areas:
    "hd hd hd hd hd hd hd als als als als als"
    "pri pri pri pri pri pri tea tea tea tea tea tea"
    "par par par par par par drv drv drv drv drv drv"
    "app app app app app app app app app app app app";
}
.app-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px; align-items: center; height: 100%; }
.r-app .stage { height: 100px; margin: 0; flex: none; }
.r-app h3 { color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; }
.r-hd { grid-area: hd; justify-content: flex-end; }
.r-hd h2 { font-size: clamp(32px, 3.5vw, 54px); max-width: 16ch; }
.r-als { grid-area: als; }
.r-pri { grid-area: pri; } .r-tea { grid-area: tea; } .r-par { grid-area: par; } .r-drv { grid-area: drv; } .r-app { grid-area: app; }
.role { flex-direction: row; gap: 18px; padding: 24px; }
.role .rc { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; position: relative; z-index: 3; }
.role .rs { flex: 0 0 auto; width: 46%; position: relative; }
.role.narrow .rs { width: 214px; }
.role .stage { margin-top: 0; height: 100%; }
.role .plat { font: 700 12.5px/1.2 var(--fd); color: var(--k); display: inline-flex; gap: 8px; align-items: center; }
.role .plat .ic { width: 16px; height: 16px; }
.role h3 { font-size: clamp(22px, 1.9vw, 28px); margin-top: 10px; color: var(--h, var(--ink)); }
.role .q { font: 700 16px/1.35 var(--fd); color: var(--ink); margin-top: 6px; letter-spacing: -.01em; }
.role ul { margin-top: 16px; display: grid; gap: 9px; }
.role li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; color: var(--ink7); }
.role li::before { content: ''; position: absolute; left: 2px; top: .52em; width: 8px; height: 8px; border-radius: 3px; background: var(--dot, var(--teal)); }
.role.narrow ul { gap: 7px; }
.role.narrow li { font-size: 13.5px; }
.r-als p { font-size: 15px; line-height: 1.55; color: var(--ink7); margin-top: 8px; max-width: 48ch; }
.r-app h3 { font-size: clamp(20px, 1.7vw, 25px); margin-top: 8px; }
.r-app > p { margin-top: 6px; font-size: 14.5px; }

/* ---------- van spotlight ---------- */
.spot { padding: clamp(22px, 2.6vw, 36px); background: var(--sunny); color: var(--ink); border-radius: 34px; }
.spot.pinned { height: calc(100vh - 112px); min-height: 600px; max-height: 860px; }
.spot.pinned .spot-grid { height: 100%; }
.spot-phone .stage { position: relative; }
.spot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5.4fr) minmax(0, 2.6fr); gap: var(--gap); height: 100%; }
.spot-copy { display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.spot-copy h2 { font-size: clamp(30px, 3vw, 46px); }
.spot-copy p { color: var(--ink); font-size: 16px; line-height: 1.6; max-width: 44ch; }
.spot-copy .k { color: var(--ink); }
.spot-map { position: relative; border-radius: 26px; overflow: hidden; background: #FFF7DF; min-height: 0; }
.spot-map svg { width: 100%; height: 100%; }
.spot-phone { display: flex; align-items: center; justify-content: center; position: relative; }
.drv-card { background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--sh1); }
.drv-card .dk { display: flex; justify-content: space-between; align-items: center; font: 700 12.5px/1 var(--fd); color: var(--ink5); }
.drv-card .roll { position: relative; height: 26px; overflow: hidden; margin-top: 10px; }
.drv-card .roll span { position: absolute; inset: 0; font: 800 19px/26px var(--fd); color: var(--ink); letter-spacing: -.02em; }
.drv-card .nx { font: 600 12.5px/1 var(--fd); color: var(--ink5); margin-top: 12px; }
.drv-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.drv-btns span { height: 52px; border-radius: 16px; display: grid; place-items: center; font: 800 16px/1 var(--fd); }
.drv-btns .b1 { background: var(--teal); color: var(--ink); }
.drv-btns .b2 { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }

/* ---------- made for your school ---------- */
.b-cust {
  grid-template-rows: 150px 150px 150px 150px;
  grid-template-areas:
    "hd hd hd hd hd cus cus cus cus cus cus cus"
    "hd hd hd hd hd cus cus cus cus cus cus cus"
    "rep rep rep rep brd brd brd brd onl onl onl onl"
    "rep rep rep rep brd brd brd brd onl onl onl onl";
}
.m-hd { grid-area: hd; justify-content: space-between; padding: clamp(24px, 2.6vw, 36px); }
.m-hd h2 { color: #fff; font-size: clamp(30px, 3vw, 46px); max-width: 13ch; }
.m-hd p { color: #C8D1E6; max-width: 40ch; }
.m-cus { grid-area: cus; } .m-rep { grid-area: rep; } .m-brd { grid-area: brd; } .m-onl { grid-area: onl; }
.mini-p { font-size: 14.5px; line-height: 1.5; margin-top: 4px; max-width: 42ch; }

/* ---------- how you start ---------- */
.b-start { grid-template-areas: "hd hd hd hd hd hd hd hd hd hd hd hd" "s1 s1 s1 s2 s2 s2 s3 s3 s3 s4 s4 s4"; grid-template-rows: auto 404px; }
.st-hd { grid-area: hd; flex-direction: row; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.st-hd h2 { font-size: clamp(32px, 3.5vw, 54px); max-width: 15ch; }
.st { padding: 22px; }
.st:nth-child(2) { grid-area: s1; } .st:nth-child(3) { grid-area: s2; } .st:nth-child(4) { grid-area: s3; } .st:nth-child(5) { grid-area: s4; }
.st .num { font: 800 64px/1 var(--fd); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); opacity: .9; }
.st h3 { font-size: 21px; margin-top: 6px; }
.st p { font-size: 14.5px; line-height: 1.5; margin-top: 8px; }
.st .stage { margin-top: 12px; }
.st-rail { position: relative; height: 6px; border-radius: 6px; background: rgba(31, 43, 77, .08); margin-top: 14px; overflow: hidden; width: min(340px, 100%); }
.st-rail i { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--sky), var(--grape), var(--tang)); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }

/* ---------- your data ---------- */
.data-sec { background: var(--ink); border-radius: 40px; padding: clamp(28px, 4vw, 56px) 0; margin-inline: clamp(8px, 1.4vw, 20px); }
.b-data { grid-template-rows: 220px 220px; grid-template-areas: "hd hd hd hd hd hd d1 d1 d1 d2 d2 d2" "hd hd hd hd hd hd d3 d3 d3 d4 d4 d4"; }
.d-hd { grid-area: hd; justify-content: space-between; background: transparent; box-shadow: none; padding: 8px 8px 8px 4px; }
.d-hd h2 { color: #fff; font-size: clamp(32px, 3.4vw, 52px); max-width: 14ch; }
.d-hd .k { color: #8DE0CF; }
.d-hd p { color: #C8D1E6; max-width: 44ch; }
.dt { background: #27365E; --fg: #DCE2F0; box-shadow: none; padding: 20px; }
.dt:nth-child(2) { grid-area: d1; } .dt:nth-child(3) { grid-area: d2; } .dt:nth-child(4) { grid-area: d3; } .dt:nth-child(5) { grid-area: d4; }
.dt p { font: 600 15.5px/1.45 var(--fd); color: #fff; letter-spacing: -.01em; position: relative; z-index: 2; }
.dt .stage { margin-top: 10px; }

/* ---------- pricing ---------- */
.b-price { grid-template-rows: 214px 214px auto; grid-template-areas: "hd hd hd hd hd hd hd qt qt qt qt qt" "hd hd hd hd hd hd hd qt qt qt qt qt" "i1 i1 i1 i2 i2 i2 i3 i3 i3 i4 i4 i4"; }
.p-hd { grid-area: hd; justify-content: space-between; padding: clamp(24px, 3vw, 44px); }
.p-hd h2 { font-size: clamp(30px, 3.1vw, 48px); max-width: 15ch; }
.p-hd p { max-width: 48ch; }
.p-qt { grid-area: qt; }
.p-i { padding: 18px 20px; flex-direction: row; align-items: center; gap: 14px; }
.p-i:nth-child(3) { grid-area: i1; } .p-i:nth-child(4) { grid-area: i2; } .p-i:nth-child(5) { grid-area: i3; } .p-i:nth-child(6) { grid-area: i4; }
.p-i .tick { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--cbg); color: var(--ink); flex: none; }
.p-i .tick svg { width: 18px; height: 18px; }
.p-i p { font: 700 15px/1.35 var(--fd); color: var(--ink); letter-spacing: -.01em; }
.p-i p span { display: block; font: 500 13.5px/1.4 var(--ft); color: var(--ink5); letter-spacing: 0; margin-top: 2px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faq-hd h2 { font-size: clamp(32px, 3.5vw, 54px); }
.faq-hd p { margin-top: 14px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: var(--gap); }
.qa { padding: 0; }
.qa button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 22px 22px; cursor: pointer; font: 700 17px/1.35 var(--fd); color: var(--ink); letter-spacing: -.015em; border-radius: var(--r); }
.qa button:focus-visible { outline: 3px solid var(--sky); outline-offset: -3px; }
.qa button i { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--cbg, var(--mint)); display: grid; place-items: center; transition: transform .6s var(--ease), background-color .3s; }
.qa button i svg { width: 16px; height: 16px; }
.qa[data-open] button i { transform: rotate(135deg); background: var(--ink); color: #fff; }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.qa[data-open] .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.6; }

/* ---------- closing ---------- */
.close-t { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; padding: clamp(28px, 4vw, 64px); align-items: center; border-radius: 40px; }
.close-t h2 { font-size: clamp(36px, 4.4vw, 70px); line-height: 1; max-width: 12ch; }
.close-t p { color: var(--ink); font-size: 17.5px; margin-top: 18px; max-width: 46ch; }
.close-t .h-act { margin-top: 30px; }
.mosaic { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin-inline: auto; }
.mosaic i { position: absolute; border-radius: 22%; background: var(--c); }

/* ---------- footer ---------- */
.foot { padding: 0 0 28px; }
.b-foot { grid-template-areas: "fb fb fb fb fb fl fl fl fl fc fc fc"; }
.fb { grid-area: fb; justify-content: space-between; gap: 30px; }
.fb .brand { font-size: 24px; }
.fb p { font: 700 clamp(20px, 1.8vw, 26px)/1.25 var(--fd); color: var(--ink); letter-spacing: -.02em; max-width: 18ch; }
.fl { grid-area: fl; }
.fl ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-top: 12px; }
.fl a, .fc a { text-decoration: none; font: 600 15px/1.3 var(--fd); color: var(--ink); padding: 6px 0; display: inline-flex; gap: 8px; align-items: center; border-radius: 8px; }
.fl a:hover, .fc a:hover { color: var(--teal-ink); }
.fc { grid-area: fc; }
.fc .stack { display: grid; gap: 4px; margin-top: 12px; }
.fc .ic { width: 18px; height: 18px; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 18px 6px 0; font-size: 14px; color: var(--ink5); }

/* ---------- contact page ---------- */
.contact { padding-top: 6px; }
.b-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; }
.c-col { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.c-title { padding: clamp(26px, 3vw, 44px); }
.c-title h1 { font-size: clamp(44px, 5vw, 80px); letter-spacing: -.045em; }
.c-title .lede { margin-top: 16px; max-width: 46ch; }
.c-form { padding: clamp(22px, 3vw, 40px); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.fld { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label, .fld .lab { font: 700 14px/1.2 var(--fd); color: var(--ink); }
.fld .lab span, .fld label span { font-weight: 500; color: var(--ink5); }
.fld input, .fld textarea {
  width: 100%; border: 0; border-radius: 16px; padding: 14px 16px; font: 500 16px/1.4 var(--ft); color: var(--ink);
  background: var(--page); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background-color .25s;
}
.fld textarea { min-height: 104px; resize: vertical; }
.fld input:hover, .fld textarea:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.fld input:focus, .fld textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--teal); }
.fld.bad input { box-shadow: inset 0 0 0 2px var(--err); background: #fff; }
.fld .err { font: 600 13px/1.3 var(--ft); color: var(--err); min-height: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 15px; border-radius: 999px; background: var(--page); font: 600 14.5px/1 var(--fd); color: var(--ink7); transition: background-color .3s, color .3s, transform .45s var(--ease), box-shadow .3s; }
.chip span::before { content: ''; width: 8px; height: 8px; border-radius: 3px; background: var(--cc, var(--ink4)); transition: transform .45s var(--ease); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:checked + span::before { transform: rotate(45deg) scale(1.15); background: var(--cc, var(--teal)); }
.chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.chip:hover span { box-shadow: inset 0 0 0 1.5px var(--line); }
.f-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.f-foot small { color: var(--ink5); font-size: 13.5px; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(31, 43, 77, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; display: none; }
.btn.sending .spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { display: none; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; }
.c-form.sent .done { display: flex; }
.c-form.sent form { display: none; }
.done svg { width: 84px; height: 84px; }
.done h2 { font-size: clamp(28px, 2.6vw, 40px); max-width: 16ch; }
.c-clock { flex-direction: row; align-items: center; gap: 20px; padding: 22px 24px; }
.c-clock .stage { margin: 0; width: 150px; height: 150px; flex: none; }
.c-clock h3 { font-size: 24px; }
.c-clock p { font-size: 15px; margin-top: 6px; }
.c-prev .stage { margin-top: 12px; height: 230px; flex: none; }
.c-person { flex-direction: row; gap: 16px; align-items: flex-start; }
.c-person .av { width: 56px; height: 56px; border-radius: 18px; background: var(--sunny); color: var(--ink); display: grid; place-items: center; font: 800 19px/1 var(--fd); flex: none; }
.c-person p { font: 600 16px/1.5 var(--fd); color: var(--ink); letter-spacing: -.01em; }
.c-reach { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.c-reach a { text-decoration: none; min-height: 132px; justify-content: space-between; gap: 14px; }
.c-reach a span { display: inline-block; margin-bottom: 4px; }
.c-reach a .ic { width: 26px; height: 26px; }
.c-reach a b { font: 700 15px/1.35 var(--fd); color: var(--ink); word-break: break-word; }
.c-reach a span { font: 600 12.5px/1 var(--fd); color: var(--k); }

/* ---------- detail sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; display: none; }
.sheet.on { display: block; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(31, 43, 77, .42); }
.sheet-card {
  position: absolute; inset: clamp(10px, 2vw, 26px); border-radius: 34px; overflow: hidden;
  background: var(--bg, #fff); color: var(--fg, var(--ink7));
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.sheet-copy { padding: clamp(30px, 4.4vw, 76px); display: flex; flex-direction: column; justify-content: center; gap: 18px; overflow: auto; position: relative; z-index: 2; }
.sheet-copy h2 { font-size: clamp(32px, 3.6vw, 58px); color: var(--h, var(--ink)); max-width: 14ch; }
.sheet-copy p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--fg, var(--ink7)); max-width: 46ch; }
.sheet-copy ul { display: grid; gap: 10px; margin-top: 4px; }
.sheet-copy li { position: relative; padding: 12px 16px 12px 44px; border-radius: 16px; background: rgba(255, 255, 255, .55); font: 600 15.5px/1.4 var(--fd); color: var(--ink); letter-spacing: -.01em; }
.c-grape .sheet-copy li, .c-navy .sheet-copy li { background: rgba(255, 255, 255, .14); color: #fff; }
.sheet-copy li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 5px; background: var(--ink); transform: rotate(45deg) scale(.8); }
.c-grape .sheet-copy li::before { background: var(--sunny); }
.sheet-copy .btn { align-self: flex-start; margin-top: 8px; }
.sheet-stage { position: relative; margin: clamp(14px, 1.6vw, 24px); margin-left: 0; border-radius: 26px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.c-white .sheet-stage { background: var(--page); }
.sheet-stage .stage { position: absolute; inset: 0; margin: 0; aspect-ratio: auto !important; width: auto !important; }
.sheet-close { position: absolute; top: 18px; right: 18px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: #fff; font: 700 14.5px/1 var(--fd); transition: transform .5s var(--ease); }
.sheet-close svg { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.sheet-close:hover svg { transform: rotate(90deg); }

/* ---------- flight layer for the page transition ---------- */
.fly { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.ghost { position: absolute; left: 0; top: 0; border-radius: 28px; will-change: transform; box-shadow: 0 18px 40px -20px rgba(31, 43, 77, .35); }
.fade-veil { position: fixed; inset: 0; z-index: 96; background: var(--page); opacity: 0; pointer-events: none; }

/* ================= scenes ================= */
.sc { position: relative; font-family: var(--ft); color: var(--ink); }
.card { background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(31, 43, 77, .06), 0 8px 20px -12px rgba(31, 43, 77, .3); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 700 12px/1 var(--fd); white-space: nowrap; }
.roll { position: relative; overflow: hidden; }
.roll > * { position: absolute; left: 0; top: 0; white-space: nowrap; }
.mk { width: 20px; height: 20px; border-radius: 6px; flex: none; }

/* registers (hero) */
.sc-rg { display: flex; flex-direction: column; justify-content: space-between; }
.rg-top { display: flex; justify-content: space-between; align-items: baseline; }
.rg-top .l { font: 700 13px/1 var(--fd); color: var(--teal-ink); }
.rg-n { font: 800 24px/1 var(--fd); letter-spacing: -.03em; }
.rg-n small { font: 600 13px/1 var(--fd); color: var(--ink5); letter-spacing: 0; }
.rg-grid { display: grid; grid-template-columns: repeat(8, 30px); gap: 6px; }
.rg-c { position: relative; height: 26px; border-radius: 8px; border: 1.5px dashed rgba(31, 43, 77, .28); background: rgba(255, 255, 255, .55); }
.rg-c b { position: absolute; inset: -1.5px; border-radius: 8px; background: var(--teal); display: grid; place-items: center; transform: scale(0); }
.rg-c b svg { width: 14px; height: 14px; color: var(--ink); }
.rg-msg { height: 20px; }
.rg-msg > * { font: 700 13.5px/20px var(--fd); }

/* ping (hero notices) */
.nt { position: absolute; left: 0; right: 0; padding: 12px 13px; }
.nt .top { display: flex; align-items: center; gap: 7px; font: 600 11px/1 var(--ft); color: var(--ink5); }
.nt .top .mk { width: 18px; height: 18px; border-radius: 5px; }
.nt b { display: block; font: 700 13.5px/1.3 var(--fd); margin-top: 8px; letter-spacing: -.01em; }
.nt span { display: block; font: 500 12px/1.3 var(--ft); color: var(--ink5); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* map */
.sc-map { overflow: hidden; border-radius: 20px; }
.mp-svg { position: absolute; left: 0; top: 0; }
.mp-chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #fff; font: 700 12.5px/1 var(--fd); box-shadow: 0 6px 16px -8px rgba(31, 43, 77, .35); }
.mp-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-ink); animation: ping 1.8s infinite; }
.mp-status { position: absolute; left: 14px; bottom: 14px; width: 214px; padding: 12px 14px; }
.mp-status small { display: block; font: 600 11.5px/1 var(--fd); color: var(--ink5); }
.mp-status .roll { height: 26px; margin-top: 6px; }
.mp-status .roll span { font: 800 19px/26px var(--fd); letter-spacing: -.02em; }
.mp-note { position: absolute; right: 14px; top: 14px; width: 236px; padding: 12px 13px; opacity: 0; }
.mp-note .top { display: flex; align-items: center; gap: 7px; font: 600 11px/1 var(--ft); color: var(--ink5); }
.mp-note .top .mk { width: 18px; height: 18px; border-radius: 5px; }
.mp-note b { display: block; font: 700 14px/1.3 var(--fd); margin-top: 7px; }
.mp-note span { display: block; font: 500 12px/1.3 var(--ft); color: var(--ink5); margin-top: 2px; }
.mp-panel { position: absolute; right: 0; top: 0; width: 226px; bottom: 0; padding: 16px; display: flex; flex-direction: column; }
.mp-panel .dk { font: 700 12px/1 var(--fd); color: var(--ink5); display: flex; justify-content: space-between; }
.mp-panel .roll { height: 26px; margin-top: 8px; }
.mp-panel .roll span { font: 800 18px/26px var(--fd); letter-spacing: -.02em; }
.mp-panel .nx { font: 600 12px/1 var(--fd); color: var(--ink5); margin-top: 14px; }
.mp-panel .btns { margin-top: auto; display: grid; gap: 8px; }
.mp-panel .btns span { height: 50px; border-radius: 15px; display: grid; place-items: center; font: 800 16px/1 var(--fd); }
.mp-panel .btns .b1 { background: var(--teal); }
.mp-panel .btns .b2 { box-shadow: inset 0 0 0 2px var(--line); }

/* register (class V-A) */
.sc-reg { padding: 16px; }
.rx-hd { display: flex; justify-content: space-between; align-items: flex-start; }
.rx-hd b { display: block; font: 800 17px/1.1 var(--fd); letter-spacing: -.02em; }
.rx-hd small { display: block; font: 500 12.5px/1.2 var(--ft); color: var(--ink5); margin-top: 4px; }
.rx-st { width: 104px; height: 26px; }
.rx-st span { right: 0; left: auto; }
.rx-st .s0 { background: #EEF0F4; color: var(--ink5); }
.rx-st .s1 { background: var(--mint); color: var(--teal-ink); }
.rx-grid { display: grid; grid-template-columns: repeat(11, 33px); gap: 6px 5px; margin-top: 16px; }
.rx-c { position: relative; height: 33px; border-radius: 10px; background: #F1F3F7; display: grid; place-items: center; font: 600 12px/1 var(--ft); color: var(--ink5); }
.rx-c b { position: absolute; inset: 0; border-radius: 10px; display: grid; place-items: center; font: 800 13px/1 var(--fd); color: var(--ink); opacity: 0; transform: scale(.4); }
.rx-c b.p { background: var(--teal); }
.rx-c b.a { background: var(--coral); }
.rx-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.rx-rest { padding: 9px 13px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--teal); font: 700 12.5px/1 var(--fd); color: var(--teal-ink); }
.rx-cnt { font: 600 12.5px/1 var(--ft); color: var(--ink5); }
.rx-cnt b { color: var(--ink); font-weight: 800; }
.rx-ft { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.rx-sum { width: 200px; height: 20px; }
.rx-sum span { font: 700 14px/20px var(--fd); }
.rx-sub { padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; font: 700 12.5px/1 var(--fd); }
.cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 5; filter: drop-shadow(0 3px 4px rgba(31, 43, 77, .3)); }
.cursor .rip { position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; }

/* admissions board */
.sc-bd { overflow: hidden; }
.bd-track { position: absolute; left: 0; top: 0; display: grid; grid-template-columns: repeat(6, 104px); gap: 8px; }
.bd-col { height: 196px; border-radius: 14px; background: rgba(255, 255, 255, .55); padding: 8px; }
.bd-h { display: flex; justify-content: space-between; font: 700 12px/1 var(--fd); color: var(--sky-ink); }
.bd-h span { color: var(--ink5); font-weight: 600; }
.bd-g { height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .9); margin-top: 8px; }
.bd-g:nth-child(2) { margin-top: 74px; }
.bd-card { position: absolute; left: 0; top: 30px; width: 96px; padding: 8px 8px 8px 10px; border-radius: 11px; background: #fff; box-shadow: 0 10px 20px -10px rgba(31, 43, 77, .45); border-left: 4px solid var(--sky); z-index: 2; }
.bd-card b { display: block; font: 800 11.5px/1.2 var(--fd); letter-spacing: -.01em; }
.bd-card small { display: block; font: 600 11px/1.2 var(--ft); color: var(--ink5); margin-top: 2px; }
.bd-card .roll { height: 16px; margin-top: 6px; }
.bd-card .roll em { font: 700 10px/16px var(--fd); font-style: normal; color: var(--sky-ink); }

/* receipt */
.rc-pr { position: absolute; left: 20px; right: 20px; top: 8px; height: 34px; border-radius: 14px; background: var(--ink); z-index: 3; }
.rc-pr::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 9px; height: 4px; border-radius: 4px; background: #0F1830; }
.rc-pr i { position: absolute; right: 14px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.rc-feed { position: absolute; left: 40px; right: 40px; top: 32px; bottom: 0; overflow: hidden; z-index: 2; }
.rc-paper { position: absolute; left: 0; right: 0; top: 0; padding: 22px 16px 26px; background: #fff; box-shadow: 0 10px 20px -12px rgba(31, 43, 77, .5);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 8px, transparent 5.5px, #000 6px) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, radial-gradient(circle 6px at 6px 8px, transparent 5.5px, #000 6px) bottom / 12px 8px repeat-x; }
.rc-paper .sch { text-align: center; font: 600 11px/1 var(--ft); color: var(--ink5); }
.rc-paper h5 { text-align: center; font: 800 15px/1 var(--fd); margin-top: 6px; letter-spacing: -.01em; }
.rc-paper hr { border: 0; border-top: 1.5px dashed var(--line); margin: 12px 0; }
.rc-row { display: flex; justify-content: space-between; font: 500 12px/1 var(--ft); color: var(--ink5); margin-top: 9px; }
.rc-row b { color: var(--ink); font-weight: 700; }
.rc-amt { display: flex; justify-content: space-between; align-items: baseline; font: 600 12px/1 var(--ft); color: var(--ink5); }
.rc-amt b { font: 800 20px/1 var(--ft); color: var(--ink); letter-spacing: -.02em; }
.rc-stamp { position: absolute; right: 14px; bottom: 54px; padding: 6px 10px; border: 3px solid var(--teal-ink); border-radius: 10px; color: var(--teal-ink); font: 800 15px/1 var(--fd); letter-spacing: .08em; opacity: 0; }

/* grade ring */
.sc-ring { display: flex; align-items: center; gap: 28px; color: #fff; }
.rg-ring { position: relative; width: 170px; height: 170px; flex: none; }
.rg-ring svg { width: 170px; height: 170px; transform: rotate(-90deg); }
.rg-ring .mid { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; text-align: center; }
.rg-ring .mid b { font: 800 46px/1 var(--fd); letter-spacing: -.04em; }
.rg-ring .mid small { font: 600 12px/1 var(--fd); opacity: .8; margin-top: 4px; }
.rg-side { flex: 1; }
.rg-side .nm { font: 800 17px/1.1 var(--fd); }
.rg-side .sub { font: 500 12.5px/1.2 var(--ft); opacity: .8; margin-top: 4px; }
.rg-sub { display: grid; grid-template-columns: 70px 1fr 26px 34px; gap: 8px; align-items: center; margin-top: 14px; font: 600 13px/1 var(--fd); }
.rg-sub .bar { height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.rg-sub .bar i { display: block; height: 100%; border-radius: 6px; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.rg-sub .gr { padding: 4px 0; text-align: center; border-radius: 8px; background: var(--sunny); color: var(--ink); font: 800 11.5px/1 var(--fd); }

/* notices stack */
.sc-stack .nt { padding: 13px 14px; }

/* week timetable */
.wk-top { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.wk-top .roll { width: 260px; height: 20px; }
.wk-top .roll span { font: 800 14px/20px var(--fd); letter-spacing: -.01em; }
.wk-tray { display: flex; gap: 6px; align-items: center; font: 600 11.5px/1 var(--fd); color: var(--ink5); }
.wk-tray .t { padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11.5px/1 var(--fd); }
.wk-gen { padding: 6px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-ink); font: 700 11.5px/1 var(--fd); }
.wk-grid { display: grid; gap: 5px; margin-top: 8px; }
.wk-h { font: 700 11.5px/22px var(--fd); color: var(--ink5); text-align: center; height: 22px; border-radius: 8px; }
.wk-h.today { background: var(--ink); color: #fff; }
.wk-p { font: 700 11px/28px var(--fd); color: var(--ink4); }
.wk-c { position: relative; height: 28px; border-radius: 8px; background: var(--cb, #fff); font: 600 11.5px/28px var(--fd); padding: 0 8px; white-space: nowrap; overflow: hidden; color: var(--ink); }
.wk-c .roll { position: absolute; inset: 0; padding: 0 8px; }
.wk-c .roll span { position: absolute; left: 8px; right: 6px; top: 0; overflow: hidden; text-overflow: ellipsis; }
.wk-c .flag { position: absolute; inset: 0; border-radius: 8px; border: 2px dashed var(--err); opacity: 0; }
.wk-fly { position: absolute; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11.5px/1 var(--fd); opacity: 0; z-index: 3; white-space: nowrap; }

/* small scenes */
.sm { display: flex; flex-direction: column; }
.pf-pg { position: absolute; inset: 0; }
.pf-who { display: flex; align-items: center; gap: 12px; }
.av { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font: 800 15px/1 var(--fd); color: var(--ink); flex: none; }
.pf-who b { display: block; font: 800 16px/1.15 var(--fd); letter-spacing: -.015em; }
.pf-who small { display: block; font: 500 12.5px/1.3 var(--ft); color: var(--ink5); margin-top: 3px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pf-chips .pill { opacity: 0; }
.slip { padding: 14px 16px; }
.slip .hd { display: flex; justify-content: space-between; align-items: baseline; }
.slip .hd b { font: 800 14px/1.1 var(--fd); }
.slip .hd small { font: 600 11.5px/1 var(--ft); color: var(--ink5); }
.slip .ln { display: flex; justify-content: space-between; font: 500 12.5px/1 var(--ft); color: var(--ink5); margin-top: 10px; }
.slip .ln b { color: var(--ink); font-weight: 800; }
.bar2 { height: 8px; border-radius: 6px; background: rgba(31, 43, 77, .08); overflow: hidden; margin-top: 7px; }
.bar2 i { display: block; height: 100%; border-radius: 6px; background: var(--bc, var(--sky)); transform-origin: 0 50%; transform: scaleX(0); }
.toast { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 12.5px/1.2 var(--fd); opacity: 0; }
.toast .mk { width: 18px; height: 18px; border-radius: 5px; }
.stamp { position: absolute; padding: 6px 10px; border: 3px solid var(--teal-ink); border-radius: 10px; color: var(--teal-ink); font: 800 14px/1 var(--fd); letter-spacing: .06em; opacity: 0; background: rgba(255, 255, 255, .7); }
.hs-row { position: absolute; left: 0; right: 0; height: 30px; display: grid; grid-template-columns: 76px 1fr 40px; gap: 10px; align-items: center; font: 700 13px/1 var(--fd); }
.hs-row .bar2 { margin: 0; height: 12px; background: rgba(255, 255, 255, .7); }
.hs-row em { font-style: normal; text-align: right; font: 800 13px/1 var(--ft); }
.chk { width: 18px; height: 18px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink4); display: grid; place-items: center; position: relative; }
.chk svg { width: 12px; height: 12px; color: #fff; position: relative; z-index: 1; }
.chk i { position: absolute; inset: 0; border-radius: 6px; background: var(--teal-ink); transform: scale(0); }

/* phones (drawn straight on) */
.ph { position: absolute; inset: 0; border-radius: 32px; background: var(--ink); padding: 7px; box-shadow: 0 20px 40px -24px rgba(31, 43, 77, .6); }
.ph-s { position: relative; height: 100%; border-radius: 26px; background: #fff; overflow: hidden; padding: 6px 12px 12px; }
.ph-bar { height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 8px; font: 700 11px/1 var(--fd); color: var(--ink5); border-bottom: 1px solid #F0F2F6; margin-bottom: 10px; }
.ph-sig { display: flex; gap: 2px; align-items: flex-end; }
.ph-sig i { width: 3px; border-radius: 1px; background: var(--ink5); }
.ph-sig i:nth-child(1) { height: 5px; } .ph-sig i:nth-child(2) { height: 8px; } .ph-sig i:nth-child(3) { height: 11px; }
.ph-h b { display: block; font: 800 14.5px/1.15 var(--fd); letter-spacing: -.015em; }
.ph-h small { display: block; font: 500 11px/1.2 var(--ft); color: var(--ink5); margin-top: 2px; }
.ph-map { position: relative; height: 112px; border-radius: 16px; background: var(--butter); margin-top: 10px; overflow: hidden; }
.ph-map svg { position: absolute; inset: 0; }
.ph-map .roll { position: absolute; left: 8px; bottom: 8px; right: 8px; height: 26px; border-radius: 9px; background: #fff; }
.ph-map .roll span { left: 9px; font: 800 12.5px/26px var(--fd); }
.ph-rows { margin-top: 10px; display: grid; gap: 6px; }
.ph-rows div { display: flex; align-items: center; justify-content: space-between; padding: 8px 9px; border-radius: 11px; background: var(--page); font: 600 11px/1 var(--fd); color: var(--ink5); }
.ph-rows div b { font: 800 11.5px/1 var(--fd); color: var(--ink); }
.ph-rows i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 6px; background: var(--d); }
.ph-ban { position: absolute; left: 6px; right: 6px; top: 6px; height: 40px; padding: 0 10px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 11.5px/1.3 var(--fd); display: flex; gap: 8px; align-items: center; opacity: 0; z-index: 4; }
.ph-ban .mk { width: 18px; height: 18px; border-radius: 5px; }
.dv-start { position: absolute; left: 12px; right: 12px; top: 120px; height: 84px; border-radius: 24px; background: var(--sunny); display: grid; place-items: center; font: 800 24px/1 var(--fd); letter-spacing: -.02em; }
.dv-start small { display: block; font: 600 11px/1 var(--ft); color: var(--ink7); margin-top: 6px; text-align: center; letter-spacing: 0; }
.dv-run { position: absolute; left: 12px; right: 12px; top: 72px; bottom: 12px; opacity: 0; display: flex; flex-direction: column; }
.dv-run .nx { font: 600 11px/1 var(--fd); color: var(--ink5); }
.dv-run .roll { height: 22px; margin-top: 6px; }
.dv-run .roll span { font: 800 15px/22px var(--fd); }
.dv-btn { height: 52px; border-radius: 16px; display: grid; place-items: center; font: 800 15px/1 var(--fd); margin-top: 8px; }
.dv-btn.b1 { background: var(--teal); margin-top: 12px; }
.dv-btn.b2 { box-shadow: inset 0 0 0 2px var(--line); }
.dv-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.dv-meta .roll { height: 18px; width: 110px; margin: 0; }
.dv-meta .roll span { font: 700 11.5px/18px var(--fd); color: var(--ink); }
.dv-sos { padding: 6px 9px; border-radius: 9px; box-shadow: inset 0 0 0 2px var(--coral); color: var(--err); font: 800 11px/1 var(--fd); }
.dv-gm { margin-top: 10px; padding: 9px; border-radius: 12px; background: var(--skyl); color: var(--sky-ink); font: 700 11px/1.2 var(--fd); text-align: center; }

/* control room, teacher day, apps, roles */
.cr { padding: 12px 14px; }
.cr + .cr { margin-top: 10px; }
.cr .ln { display: flex; justify-content: space-between; align-items: baseline; font: 700 12.5px/1 var(--fd); color: var(--ink5); }
.cr .ln b { font: 800 18px/1 var(--fd); color: var(--ink); letter-spacing: -.02em; }
.cr .ln b small { font: 600 12px/1 var(--fd); color: var(--ink5); }
.cr-r { display: flex; align-items: center; gap: 10px; margin-top: 9px; font: 600 12.5px/1.25 var(--fd); color: var(--ink); opacity: 0; }
.cr-r em { font-style: normal; font: 800 13px/1 var(--ft); width: 22px; text-align: right; flex: none; }
.cr-r i { width: 26px; height: 26px; border-radius: 8px; background: var(--cb); flex: none; display: grid; place-items: center; }
.cr-r i svg { width: 14px; height: 14px; }
.dy { position: absolute; left: 0; right: 0; display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 12px; font: 600 13px/1 var(--fd); }
.dy time { font: 600 12px/1 var(--ft); color: var(--ink5); width: 40px; flex: none; }
.dy-now { position: absolute; left: 0; right: 0; top: 0; height: 38px; border-radius: 12px; background: #fff; box-shadow: 0 8px 18px -10px rgba(31, 43, 77, .4); }
.dy-now::before { content: 'Now'; position: absolute; right: 10px; top: 11px; padding: 4px 8px; border-radius: 999px; background: var(--teal); font: 800 10.5px/1 var(--fd); color: var(--ink); }
.ap { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; position: relative; }
.ap + .ap { margin-top: 6px; }
.ap .ai { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--cb); flex: none; }
.ap .ai svg { width: 20px; height: 20px; }
.ap b { display: block; font: 800 14.5px/1.15 var(--fd); letter-spacing: -.01em; }
.ap small { display: block; font: 500 12.5px/1.2 var(--ft); color: var(--ink5); margin-top: 2px; }
.ap-hi { position: absolute; left: 0; right: 0; height: 60px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px -12px rgba(31, 43, 77, .4); }
.r10 { display: flex; flex-wrap: wrap; gap: 7px; }
.r10 span { padding: 8px 12px; border-radius: 999px; background: #fff; font: 700 12.5px/1 var(--fd); color: var(--ink5); box-shadow: inset 0 0 0 1.5px var(--line); }

/* custom */
.bl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bl { height: 100px; border-radius: 16px; background: var(--cb); padding: 12px; font: 800 13px/1.15 var(--fd); display: flex; flex-direction: column; justify-content: space-between; }
.bl .ic { width: 18px; height: 18px; }
.bl.slot { background: transparent; border: 2px dashed rgba(31, 43, 77, .3); }
.bl-piece { position: absolute; border-radius: 10px; background: var(--teal); }
.bl-new { position: absolute; border-radius: 16px; background: var(--teal); padding: 12px; font: 800 13px/1.15 var(--fd); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; }
.fm-card { position: absolute; inset: 0; padding: 14px; }
.fm-b { position: absolute; border-radius: 10px; background: var(--cb); }
.fm-b small { position: absolute; left: 10px; top: 9px; font: 700 10.5px/1 var(--fd); color: var(--ink); opacity: .7; }
.br { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: #fff; display: grid; grid-template-columns: 64px 1fr; }
.br-side { background: var(--acc); padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.br-crest { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font: 800 12px/1 var(--fd); color: var(--acc); }
.br-side i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.br-main { padding: 12px 14px; }
.br-top { display: flex; justify-content: space-between; align-items: center; font: 800 13px/1 var(--fd); }
.br-top em { font-style: normal; padding: 5px 9px; border-radius: 999px; background: var(--acc); color: #fff; font: 700 10.5px/1 var(--fd); }
.br-h { font: 800 19px/1.1 var(--fd); margin-top: 14px; letter-spacing: -.02em; }
.br-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.br-cards i { height: 56px; border-radius: 12px; background: var(--page); position: relative; }
.br-cards i::after { content: ''; position: absolute; left: 10px; bottom: 10px; width: 40%; height: 6px; border-radius: 4px; background: var(--acc); }
.tg { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; border-radius: 13px; background: #fff; font: 700 13px/1 var(--fd); }
.tg + .tg { margin-top: 5px; }
.tg small { font: 600 11px/1 var(--ft); color: var(--ink5); margin-left: 8px; }
.sw { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #DDE1EA; flex: none; }
.sw i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(31, 43, 77, .25); }
.sw b { position: absolute; inset: 0; border-radius: 999px; background: var(--teal); opacity: 0; }
.sw.on b { opacity: 1; }
.sw.on i { transform: translateX(16px); }

/* quote */
.qt { position: absolute; inset: 0; padding: 22px 24px; }
.qt h5 { font: 800 18px/1 var(--fd); letter-spacing: -.02em; }
.qt .sub { font: 500 12.5px/1.3 var(--ft); color: var(--ink5); margin-top: 6px; }
.qt-l { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1.5px dashed var(--line); font: 600 13.5px/1 var(--fd); opacity: 0; }
.qt-l em { font-style: normal; padding: 5px 9px; border-radius: 999px; background: var(--mint); color: var(--teal-ink); font: 700 11.5px/1 var(--fd); }
.qt-t { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font: 800 15px/1 var(--fd); opacity: 0; }
.qt-t em { font-style: normal; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font: 700 12.5px/1 var(--fd); }

/* data */
.dfence { display: flex; gap: 16px; }
.dfence i { flex: 1; height: 64px; border-radius: 14px; background: var(--cb); position: relative; }
.dfence i::after { content: attr(data-n); position: absolute; left: 10px; top: 9px; font: 800 11px/1 var(--fd); color: var(--ink); font-style: normal; }
.dots { display: grid; grid-template-columns: repeat(8, 20px); gap: 8px; }
.dots i { width: 20px; height: 20px; border-radius: 7px; background: rgba(255, 255, 255, .14); }
.ledg { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.ledg > div { border-radius: 14px; background: rgba(255, 255, 255, .08); padding: 9px 10px; }
.ledg b { display: block; font: 700 11px/1 var(--fd); color: #C8D1E6; }
.ledg .tk { display: flex; gap: 4px; margin-top: 8px; }
.ledg .tk i { width: 14px; height: 14px; border-radius: 4px; background: var(--cb); transform: scale(0); }
.ledg::after { content: ''; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--sunny); }

/* contact preview */
.pv { position: absolute; inset: 0; border-radius: 18px; background: #fff; padding: 16px; box-shadow: var(--sh1); }
.pv-top { display: flex; align-items: center; gap: 8px; font: 700 12.5px/1 var(--fd); }
.pv-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.pv-top span { color: var(--ink5); font-weight: 600; }
.pv h4 { font-size: 26px; margin-top: 12px; letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-line { font: 600 14px/1.4 var(--fd); color: var(--ink5); margin-top: 6px; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; min-height: 30px; }
.pv-chips span { padding: 7px 11px; border-radius: 999px; font: 700 12.5px/1 var(--fd); color: var(--ink); background: var(--cb); }
.pv-chips .ph0 { background: var(--page); color: var(--ink5); }

/* clock */
.clk { position: absolute; inset: 0; }
.clk svg { width: 100%; height: 100%; }

/* ================= responsive ================= */
@media (max-width: 1240px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .hdr-cta .btn-ghost { display: none; }
}
@media (max-width: 1099px) {
  .nav, .hdr-cta .btn-primary { display: none; }
  .menu-btn { display: block; }
  .hdr-cta .btn-ghost { display: inline-flex; }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: none !important; grid-template-rows: none !important; grid-auto-rows: auto !important; }
  .bento > * { grid-area: auto !important; }
  .bento > * { grid-column: span 6 !important; }
  .bento > .s3 { grid-column: span 3 !important; }
  .stage { flex: none; aspect-ratio: var(--ar, 1.6); width: 100%; }
  .stage.flush { width: auto; }
  .h-intro { min-height: 0; }
  .h-bell { width: 170px; height: 170px; }
  .why-grid { grid-template-columns: 1fr; }
  .out-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .out:nth-child(3) { border-left: 0; padding-left: 0; }
  .role { flex-direction: column; }
  .role .rs, .role.narrow .rs { width: 100%; }
  .role.narrow .rs .stage { max-width: 230px; margin-inline: auto; }
  .spot-grid { grid-template-columns: minmax(0, 1fr); }
  .spot-grid > * { min-width: 0; }
  .spot-map { aspect-ratio: 440 / 520; max-height: 560px; }
  .spot-phone { height: 430px; }
  .app-in { grid-template-columns: 1fr; gap: 16px; }
  .r-app .stage { height: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .close-t { grid-template-columns: 1fr; }
  .b-foot > .fb { grid-column: span 6; }
  .b-contact { grid-template-columns: 1fr; }
  .sheet-card { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46%) minmax(0, 1fr); }
  .sheet-stage { margin: 12px 12px 0; }
  .sheet-copy { padding: 24px 24px 32px; justify-content: flex-start; }
  .sheet-close { top: 20px; right: 20px; }
  .data-sec .dt .stage { max-width: 320px; }
}
@media (max-width: 699px) {
  :root { --r: 24px; --gap: 12px; }
  .hdr { top: 8px; }
  .hdr-in { height: 60px; border-radius: 20px; }
  .hdr-cta .btn-ghost { display: none; }
  main { padding-top: 82px; }
  .bento > .s3 { grid-column: span 6 !important; }
  .bento > .p3 { grid-column: span 3 !important; }
  .tile { padding: 18px; }
  .h-intro { padding: 24px 20px; }
  .h-intro h1 { font-size: clamp(38px, 11vw, 48px); }
  .h-act .btn { width: 100%; }
  .h-f { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .h-f p { font-size: 13.5px; }
  .h-bell { width: 130px; height: 130px; right: -28px; bottom: -30px; }
  .hot span { font-size: 11px; padding: 6px 9px; border-radius: 10px; top: -15px; }
  .hot i { width: 14px; height: 14px; left: -7px; top: -7px; border-width: 2px; }
  .hot.hide-m { display: none; }
  .shot-tile { border-radius: 22px; }
  .shot-tile img { aspect-ratio: 4 / 3.4; object-position: 0 0; }
  .out-grid { grid-template-columns: 1fr; }
  .out { border-left: 0; padding-left: 0; }
  .faq-cols { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .c-reach { grid-template-columns: 1fr; }
  .c-clock .stage { width: 104px; height: 104px; }
  .c-clock h3 { font-size: 20px; }
  .c-clock { gap: 14px; padding: 18px; }
  .sheet-card { border-radius: 26px; }
  .sheet-copy h2 { font-size: 30px; }
  .close-t { border-radius: 28px; }
  .data-sec { border-radius: 28px; margin-inline: 6px; }
  .st .num { font-size: 52px; }
  .why-t .wa { font-size: 16px; }
  .role { padding: 20px; }
  .copy { flex-direction: column; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ================= one school day, ten roles ================= */
.b-dayhd { grid-template-areas: "hd hd hd hd hd hd hd it it it it it"; }
.d-hd2 { grid-area: hd; justify-content: flex-end; }
.d-hd2 h2 { font-size: clamp(32px, 3.5vw, 54px); max-width: 16ch; }
.d-intro { grid-area: it; justify-content: space-between; gap: 18px; }
.d-intro p { font: 600 17px/1.5 var(--fd); color: var(--ink); letter-spacing: -.01em; }
.d-tip { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--fd); color: var(--teal-ink); }
.d-tip i { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transform: rotate(90deg); }
.d-tip i svg { width: 14px; height: 14px; }
.day { position: relative; margin-top: var(--gap); --sk1: #FFD5BE; --sk2: #FFF3E6; }
.day-rail { position: sticky; top: 84px; z-index: 30; width: min(var(--maxw), 100% - 2 * var(--gut)); margin: 0 auto var(--gap); display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 22px; background: linear-gradient(100deg, var(--sk1), var(--sk2)); box-shadow: var(--sh1); }
.rail-clock { flex: none; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px 0 13px; border-radius: 16px; background: rgba(255, 255, 255, .85); font: 800 17px/1 var(--fd); color: var(--ink); min-width: 126px; font-variant-numeric: tabular-nums; }
.rail-clock i { width: 20px; height: 20px; border-radius: 50%; background: var(--sunny); box-shadow: 0 0 0 5px rgba(255, 201, 60, .3); transition: background-color .6s, box-shadow .6s; flex: none; }
.rail-clock i.moon { background: #fff; box-shadow: inset -7px -2px 0 0 #B9A0F9, 0 0 0 5px rgba(255, 255, 255, .35); }
.rail-list { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.rail-list::-webkit-scrollbar { display: none; }
.rail-list a { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 10px 0 6px; border-radius: 15px; text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, .45); transition: background-color .35s, box-shadow .35s; }
.rail-list a:hover { background: rgba(255, 255, 255, .85); }
.rail-list a.on { background: #fff; box-shadow: 0 8px 18px -10px rgba(31, 43, 77, .45); }
.rail-list a:focus-visible { outline-offset: -3px; }
.av2 { width: 38px; height: 38px; border-radius: 12px; background: var(--c); overflow: hidden; flex: none; display: block; transition: transform .5s var(--ease); }
.rail-list a.on .av2, .rail-list a:hover .av2 { transform: scale(1.08) rotate(-4deg); }
.av2 svg { width: 100%; height: 100%; display: block; }
.rl { display: flex; flex-direction: column; gap: 4px; }
.rl b { font: 800 12.5px/1 var(--fd); white-space: nowrap; }
.rl small { font: 600 11px/1 var(--ft); color: var(--ink5); white-space: nowrap; }
.rail-list a.on .rl small { color: var(--ink); }

/* ---------- the day: every role, Bellmeir in action ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); scroll-margin-top: 172px; }
.st-stage { grid-column: 1 / 9; grid-row: 1; padding: 0; justify-content: flex-end; }
.st-text { grid-column: 9 / 13; grid-row: 1; padding: 24px 26px 22px; }
.story.flip .st-stage { grid-column: 5 / 13; }
.story.flip .st-text { grid-column: 1 / 5; }
.st-chip { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); font: 800 13.5px/1 var(--fd); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(31, 43, 77, .35); }
.story.flip .st-chip { left: auto; right: 16px; }
.st-chip i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.st-text .when { font: 700 13px/1 var(--fd); color: var(--ink5); }
.st-text h3 { font-size: clamp(24px, 2.1vw, 32px); margin-top: 10px; }
.st-text h3 small { display: block; font: 600 14px/1.3 var(--ft); color: var(--ink5); letter-spacing: 0; margin-top: 6px; }
.beats { margin-top: 18px; padding: 0; list-style: none; display: grid; gap: 14px; }
.beats li { position: relative; padding-left: 19px; font: 500 15px/1.45 var(--ft); color: var(--ink7); }
.beats li::before, .beats li > i { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px; border-radius: 3px; }
.beats li::before { background: rgba(31, 43, 77, .09); }
.beats li > i { background: var(--dot); transform-origin: 50% 0; }
.beats span { display: block; font: 800 11px/1 var(--fd); letter-spacing: .06em; text-transform: uppercase; color: var(--ink5); margin-bottom: 6px; }
.beats .res { color: var(--ink); }
.beats .res b { font: 800 16px/1.35 var(--fd); letter-spacing: -.01em; }
.st-foot { margin-top: auto; padding-top: 18px; }
.act-replay { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; cursor: pointer; background: var(--page); color: var(--ink); font: 700 13.5px/1 var(--fd); box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, box-shadow .25s; }
.act-replay:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink4); }
.act-replay svg { width: 16px; height: 16px; }
.act-replay[hidden] { display: none; }

/* the moment itself: a scene drawn at a fixed size and scaled to its tile */
.act-stage { position: relative; width: 100%; aspect-ratio: var(--ar, 1.72); overflow: hidden; }
.act-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s, 1)); font-family: var(--ft); }
.act-bg .van-drv { display: none; }
.act-bg, .cone { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.tb { position: absolute; z-index: 6; margin: 0; padding: 11px 15px; border-radius: 18px; background: #fff; color: var(--ink); font: 800 16px/1.25 var(--fd); letter-spacing: -.01em; box-shadow: 0 14px 30px -16px rgba(31, 43, 77, .5); }
.tb::after { content: ''; position: absolute; bottom: -12px; left: 18px; width: 20px; height: 13px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.tb.r::after { left: auto; right: 18px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.cl { position: absolute; z-index: 6; padding: 8px 13px; border-radius: 999px; background: var(--ink); color: #fff; font: 800 13px/1 var(--fd); white-space: nowrap; }

/* devices */
.dev { position: absolute; z-index: 3; }
.dev .scr { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--page); }
.dev.mon { padding: 11px; border-radius: 18px; background: var(--ink); box-shadow: 0 30px 50px -32px rgba(31, 43, 77, .6); }
.dev.mon .scr { border-radius: 8px; }
.dev.xph { padding: 8px; border-radius: 36px; background: var(--ink); box-shadow: 0 30px 50px -28px rgba(31, 43, 77, .6); }
.dev.xph .scr { border-radius: 28px; }
.dev.xph .scr::after { content: ''; position: absolute; left: 50%; top: 9px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ink); z-index: 9; }
.L-m .dev.mon { padding: 8px; border-radius: 14px; }
.ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--sky); opacity: 0; z-index: 19; pointer-events: none; }
.cur { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; width: 22px; height: 22px; transform-origin: 3px 2px; filter: drop-shadow(0 2px 2px rgba(31, 43, 77, .3)); }
.cur svg { display: block; }
.L-m .d-only { display: none !important; }
.m-only { display: none !important; }
.L-m .m-only { display: inline-flex !important; }
.swp { display: inline-grid; vertical-align: middle; }
.swp > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: flex-end; white-space: nowrap; }

/* the portal: grey canvas, white panels, capsule buttons, dotted pills */
.pt { position: absolute; inset: 0; display: flex; flex-direction: column; color: var(--ink7); }
.pt-top { flex: none; height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #fff; box-shadow: 0 1px 0 var(--line); font: 800 12px/1 var(--fd); color: var(--ink); }
.pt-top .mk { width: 18px; height: 18px; flex: none; }
.pt-tm { margin-left: auto; font: 600 11px/1 var(--ft); color: var(--ink5); white-space: nowrap; }
.pt-av { width: 20px; height: 20px; border-radius: 50%; background: var(--mb); color: var(--mc); display: grid; place-items: center; font: 800 8.5px/1 var(--fd); font-style: normal; flex: none; }
.pt-row { flex: 1; min-height: 0; display: flex; gap: 10px; padding: 10px 12px 12px 10px; }
.pt-dock { flex: none; width: 36px; align-self: flex-start; padding: 6px 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(31, 43, 77, .06), 0 6px 14px -10px rgba(31, 43, 77, .3); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.pt-dock i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; color: var(--ink4); }
.pt-dock i svg { width: 14px; height: 14px; }
.pt-dock i.on { background: var(--mb); color: var(--mc); }
.pt-main { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.pt-h { display: flex; align-items: center; gap: 9px; min-height: 32px; }
.pt-ic { width: 30px; height: 30px; border-radius: 10px; background: var(--mb); color: var(--mc); display: grid; place-items: center; flex: none; }
.pt-ic svg { width: 16px; height: 16px; }
.pt-ht { min-width: 0; }
.pt-h h4 { font: 800 16px/1.1 var(--fd); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.pt-h p { font: 500 11px/1.25 var(--ft); color: var(--ink5); margin-top: 3px; white-space: nowrap; }
.pt-h > :last-child:not(.pt-ht) { margin-left: auto; }
.L-m .pt-dock { display: none; }
.L-m .pt-top { height: 26px; padding: 0 10px; font-size: 11px; }
.L-m .pt-row { padding: 8px 8px 8px; }
.L-m .pt-main { gap: 7px; }
.L-m .pt-h { min-height: 28px; gap: 7px; }
.L-m .pt-ic { width: 26px; height: 26px; border-radius: 9px; }
.L-m .pt-h h4 { font-size: 14.5px; }
.L-m .pt-h p { display: none; }
.pn { position: relative; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(31, 43, 77, .06), 0 8px 18px -14px rgba(31, 43, 77, .35); }
.L-m .pn { padding: 8px 10px; border-radius: 12px; }
.pn-t { display: flex; align-items: center; gap: 8px; font: 800 12.5px/1.2 var(--fd); color: var(--ink); margin-bottom: 4px; }
.pn-t .n { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--page); display: inline-grid; place-items: center; font: 800 11px/1 var(--fd); color: var(--ink); }
.pn-a { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 8px; }
.pn-a > .dp, .pn-a > .cap { grid-area: auto; }
.rw { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid #EEF0F4; position: relative; background: #fff; }
.pn-t + .rw, .ls > .rw:first-child { border-top: 0; }
.rw > span:first-child { min-width: 0; overflow: hidden; }
.rw > span:first-child > b, .rw > span:first-child > small { overflow: hidden; text-overflow: ellipsis; }
.rw b { display: block; font: 700 12.5px/1.2 var(--fd); color: var(--ink); white-space: nowrap; }
.rw small { display: block; font: 500 10.5px/1.25 var(--ft); color: var(--ink5); margin-top: 2px; white-space: nowrap; }
.rw .stx { display: inline-grid; justify-items: end; align-items: center; flex: none; }
.rw .stx > * { grid-area: 1 / 1; }
.xf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #EEF0F4; }
.xf span { font: 500 11px/1.2 var(--ft); color: var(--ink5); }
.xf b { font: 700 12px/1.2 var(--fd); color: var(--ink); white-space: nowrap; }
.dp { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--pb); color: var(--pc); font: 700 10.5px/1 var(--fd); white-space: nowrap; }
.dp::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.cap { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 12px; border-radius: 999px; font: 700 11.5px/1 var(--fd); white-space: nowrap; }
.cap.ink { background: var(--ink); color: #fff; }
.cap.teal { background: var(--teal); color: var(--ink); }
.cap.gh { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #DCE1EA; }
.cap.dim { opacity: .45; }
.srch { position: relative; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--page); box-shadow: inset 0 0 0 1.5px #DCE1EA; font: 700 12.5px/1 var(--fd); color: var(--ink); }
.srch > svg { width: 14px; height: 14px; color: var(--ink5); flex: none; }
.srch .sel { position: absolute; left: 30px; top: 0; bottom: 0; display: flex; align-items: center; gap: 8px; }
.srch .sel b { font: 800 12.5px/1 var(--fd); }
.srch .sel small { font: 600 11px/1 var(--ft); color: var(--ink5); }
.bar { display: block; height: 8px; border-radius: 4px; background: #EEF0F4; overflow: hidden; margin-top: 7px; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--teal); transform-origin: 0 50%; }

/* front desk */
.fd { flex: 1; min-height: 0; display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 9px; align-items: start; }
.L-m .fd { grid-template-columns: minmax(0, 1fr); }
.L-m .fd > .pn { grid-area: 1 / 1; }
.trk { display: flex; align-items: center; gap: 6px; margin-top: 7px; font: 700 11px/1.2 var(--fd); color: var(--sky-ink); }
.trk svg { width: 13px; height: 13px; flex: none; }
.fd-list .rw { padding: 7px 0; }
.L-m .fd-list .rw { padding: 6px 0; }
/* teacher's register */
.tiles { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.tiles i { position: relative; height: 34px; border-radius: 9px; background: #EEF0F4; }
.tiles small { position: absolute; left: 5px; top: 4px; font: 700 8.5px/1 var(--ft); color: var(--ink5); }
.tiles b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 9px; font: 800 13px/1 var(--fd); color: #fff; background: #0F6B57; }
.tiles b.ab { background: #B3271A; }
.L-m .tiles { gap: 3px; }
.L-m .tiles i { height: 25px; border-radius: 7px; }
.L-m .tiles small { display: none; }
.L-m .tiles b { border-radius: 7px; font-size: 11px; }
.rg-ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font: 700 12.5px/1 var(--fd); color: var(--ink); }
.rg-ft .mu { color: var(--ink5); font-weight: 600; }
.rg-ft .swp > span { justify-content: flex-start; }
.rg-a { display: flex; gap: 6px; }
.L-m .rg-ft { flex-direction: column; align-items: stretch; gap: 7px; margin-top: 8px; }
.L-m .rg-a > .cap { flex: 1; }
.brd { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 12px; }
.stt-w { margin-left: 4px !important; }
.brd b { display: block; font: 800 12.5px/1.2 var(--fd); color: var(--ink); }
.brd small { display: block; font: 500 10.5px/1.2 var(--ft); color: var(--ink5); margin-top: 2px; }
.brd-n { font: 800 19px/1 var(--fd); color: var(--ink); letter-spacing: -.02em; }
.brd-n .swp > span { justify-content: flex-start; }
.brd .bar { grid-column: 1 / -1; }
/* principal */
.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg small { display: block; font: 600 11px/1.2 var(--ft); color: var(--ink5); }
.fg > b { display: block; font: 800 20px/1.15 var(--fd); color: var(--ink); letter-spacing: -.02em; margin-top: 3px; }
.fg .swp > span { justify-content: flex-start; }
.cells { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; margin-top: 7px; }
.cells i { height: 8px; border-radius: 3px; background: var(--teal); }
.L-m .figs { gap: 10px; }
.L-m .fg > b { font-size: 17px; }
.nd { overflow: visible; }
.nd .rw { padding: 7px 0; }
.menu2 { position: absolute; right: 0; top: calc(100% - 4px); z-index: 8; width: 168px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(31, 43, 77, .08), 0 18px 34px -16px rgba(31, 43, 77, .45); display: grid; gap: 4px; }
.menu2 small { font: 600 10px/1 var(--ft); color: var(--ink5); padding: 2px 4px 4px; }
.menu2 span { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; border-radius: 9px; }
.menu2 .mi1 { background: var(--lav); }
.menu2 b { font: 700 12px/1 var(--fd); color: var(--ink); }
.menu2 em { font: 600 10.5px/1 var(--ft); font-style: normal; color: var(--ink5); }
/* accounts */
.pend { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.pend small { font: 600 10.5px/1 var(--ft); color: var(--ink5); }
.pend .swp { font: 800 16px/1 var(--fd); color: var(--money); }
.fee .rw em { font: 800 12.5px/1 var(--fd); font-style: normal; color: var(--ink); margin-right: 8px; }
.fee .rw .stx { display: flex; align-items: center; }
.fee .rw .stx > .rp, .fee .rw .stx > .pd0 { grid-area: auto; }
.fee .rw .stx { position: relative; }
.fee .rw .pd0 { position: absolute; right: 0; }
.mdl { position: absolute; right: 0; top: 40px; z-index: 8; width: 232px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: 0 2px 6px rgba(31, 43, 77, .08), 0 24px 44px -18px rgba(31, 43, 77, .5); }
.L-m .mdl { left: 14px; right: 14px; width: auto; top: 34px; }
.L-m .fee .rw em { margin-right: 0; }
.L-m .fee .rw:not(.f0) .cap { display: none; }
.L-m .fee .rw .pd0 { position: static; margin-left: 6px; }
.rc-win { position: absolute; z-index: 4; overflow: hidden; }
.rcpt { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 11px 10px 12px; border-radius: 4px 4px 0 0; background: #fff; box-shadow: 0 -2px 10px rgba(31, 43, 77, .12); color: var(--ink); }
.rcpt small { font: 600 9px/1.1 var(--ft); color: var(--ink5); }
.rcpt b { font: 800 12px/1.15 var(--fd); }
.rcpt span { font: 600 10.5px/1.2 var(--ft); color: var(--ink7); }
.rcpt strong { font: 800 18px/1.1 var(--fd); letter-spacing: -.02em; }
.rcpt .paid { position: absolute; right: 7px; bottom: 9px; padding: 4px 6px; border: 2.5px solid #0F6B57; border-radius: 6px; color: #0F6B57; font: 800 11px/1 var(--fd); font-style: normal; letter-spacing: .06em; }
/* infirmary */
.hlg { display: grid; grid-template-columns: minmax(0, 1fr) 134px; gap: 9px; align-items: start; }
.L-m .hlg { grid-template-columns: minmax(0, 1fr); }
.note { display: flex; align-items: center; gap: 9px; margin: 8px 0 4px; padding: 8px 10px; border-radius: 12px; background: #FDE8F1; box-shadow: inset 3px 0 0 #F49AC1; }
.note i { width: 26px; height: 26px; border-radius: 50%; background: #F49AC1; color: #fff; display: grid; place-items: center; flex: none; }
.note i svg { width: 14px; height: 14px; }
.note b { display: block; font: 800 12.5px/1.2 var(--fd); color: #9E3466; }
.note small { display: block; font: 600 10.5px/1.25 var(--ft); color: var(--ink7); margin-top: 2px; }
.stk .rw .n { font: 800 13px/1 var(--fd); color: var(--ink); }
.stk-m, .od-m { align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--mb); color: var(--mc); font: 800 11px/1 var(--fd); }
.L-m .note { margin: 6px 0 2px; padding: 6px 8px; }
/* library */
.lb { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 9px; align-items: start; }
.L-m .lb { grid-template-columns: minmax(0, 1fr); }
.lb .srch { margin: 6px 0 2px; }
.od { overflow: hidden; }
/* owner */
.ohero small { font: 600 10.5px/1 var(--ft); color: var(--ink5); }
.ohero h4 { font: 800 18px/1.15 var(--fd); color: var(--ink); letter-spacing: -.02em; margin-top: 4px; }
.ohero p { font: 600 12.5px/1.5 var(--fd); color: var(--ink7); margin-top: 3px; }
.cp { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #DFF4EE; color: #0F6B57; font-weight: 800; }
.ofig { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ofig .fg b { display: block; font: 800 17px/1.1 var(--fd); color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.ofig .fg small { margin-top: 3px; }
.L-m .ofig { grid-template-columns: 1fr 1fr; row-gap: 6px; }
.L-m .ofig .fg b { font-size: 15px; }
.L-m .ohero small { display: none; }
.L-m .ohero h4 { font-size: 15px; }
.L-m .ohero p { font-size: 11.5px; line-height: 1.45; }

/* the phone apps */
.xa { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--page); color: var(--ink7); }
.ap-sb { flex: none; height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 2px 20px 0; font: 700 11px/1 var(--fd); color: var(--ink); }
.sig { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 7px; } .sig i:nth-child(3) { height: 10px; }
.ap-hd { padding: 6px 14px 10px; }
.ap-hd small { display: block; font: 600 11px/1.2 var(--ft); color: var(--ink5); }
.ap-hd b { display: block; font: 800 18px/1.2 var(--fd); color: var(--ink); letter-spacing: -.02em; margin-top: 3px; }
.gp { margin: 0 10px; padding: 2px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(31, 43, 77, .06), 0 8px 18px -14px rgba(31, 43, 77, .35); }
.gr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 0; border-top: 1px solid #EEF0F4; font: 500 12px/1.25 var(--ft); color: var(--ink7); }
.gr:first-child { border-top: 0; }
.gr b { font: 800 13px/1.25 var(--fd); color: var(--ink); }
.gr em { font: 700 11px/1 var(--fd); font-style: normal; color: #0F6B57; white-space: nowrap; }
.gr.col { flex-direction: column; align-items: flex-start; gap: 4px; }
.gr.wi { justify-content: flex-start; gap: 10px; }
.gr.wi small { display: block; font: 500 11px/1.25 var(--ft); color: var(--ink5); margin-top: 2px; }
.mi { width: 30px; height: 30px; border-radius: 10px; background: var(--mb); color: var(--mc); display: grid; place-items: center; flex: none; }
.mi svg { width: 16px; height: 16px; }
.ap-note { margin: 10px 14px 0; font: 600 11px/1.35 var(--ft); color: var(--ink5); text-align: center; }
.ap-note.al { text-align: left; margin-top: 6px; margin-bottom: 10px; }
.scn { position: absolute; left: 0; right: 0; top: 28px; bottom: 0; display: flex; flex-direction: column; }
.dvb { margin: 14px 10px 0; height: 66px; border-radius: 20px; background: var(--coral); color: var(--ink); display: grid; place-items: center; font: 800 24px/1 var(--fd); letter-spacing: -.02em; }
.dvb.end { height: 46px; border-radius: 999px; font-size: 16px; margin-top: auto; margin-bottom: 14px; }
.mp { position: absolute; inset: 0; }
.mp svg { width: 100%; height: 100%; display: block; }
.gm-chip { position: absolute; left: 10px; bottom: 12px; padding: 8px 11px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 11px/1 var(--fd); box-shadow: 0 6px 14px -8px rgba(31, 43, 77, .45); }
.xn { position: absolute; left: 8px; right: 8px; top: 6px; z-index: 6; padding: 10px 12px 12px; border-radius: 18px; background: #fff; box-shadow: 0 2px 6px rgba(31, 43, 77, .08), 0 18px 34px -14px rgba(31, 43, 77, .5); }
.nt-h { display: flex; align-items: center; gap: 6px; font: 700 10.5px/1 var(--fd); color: var(--ink); }
.nt-h .mk { width: 16px; height: 16px; flex: none; }
.nt-h small { margin-left: auto; font: 600 10px/1 var(--ft); color: var(--ink4); }
.nt-t { display: block; margin-top: 8px; font: 800 13.5px/1.25 var(--fd); color: var(--ink); }
.nt-s { display: block; margin-top: 3px; font: 500 11px/1.3 var(--ft); color: var(--ink5); }
.nt-a { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.nt-a span { height: 34px; border-radius: 999px; display: grid; place-items: center; font: 800 12.5px/1 var(--fd); color: var(--ink); }
.nt-a .a1 { background: var(--teal); }
.nt-a .a2 { box-shadow: inset 0 0 0 1.5px #DCE1EA; }
.nt-ok { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 34px; border-radius: 999px; background: #DFF4EE; color: #0F6B57; display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 11.5px/1 var(--fd); white-space: nowrap; }
.nt-ok i, .tst i { width: 16px; height: 16px; display: grid; place-items: center; flex: none; }
.nt-ok svg, .tst svg { width: 14px; height: 14px; }
.sbar { margin: 2px 14px 0; height: 10px; border-radius: 5px; background: #E3E7EF; overflow: hidden; }
.sbar i { display: block; height: 100%; border-radius: 5px; background: #0F6B57; transform-origin: 0 50%; }
.tst { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 12px 13px; border-radius: 16px; background: var(--ink); color: #fff; font: 800 12.5px/1.25 var(--fd); }
.tst i { color: #7FE0C8; }
.van-hd { display: flex; align-items: center; gap: 8px; padding: 10px 0 8px; }
.van-hd b { font: 800 13.5px/1 var(--fd); color: var(--ink); }
.van-hd .dp { margin-left: auto; }
.mp.msm { position: relative; height: 120px; border-radius: 12px; overflow: hidden; }
.van-st { padding: 9px 0 11px; }
.van-st small { display: block; font: 600 10.5px/1.2 var(--ft); color: var(--ink5); }
.rb { display: grid; margin-top: 5px; overflow: hidden; }
.rb b { grid-area: 1 / 1; font: 800 19px/1.2 var(--fd); color: var(--ink); letter-spacing: -.02em; }
.xa .gp + .gp { margin-top: 10px; }
.xn.push { top: 34px; }
.dv-send { margin: 12px 10px 0; height: 42px; border-radius: 999px; background: var(--teal); color: var(--ink); display: grid; place-items: center; font: 800 14px/1 var(--fd); }
.gl { margin-bottom: 11px; }
.gl > small { display: block; margin: 0 16px 6px; font: 700 11px/1 var(--fd); color: var(--ink5); }
.ttb { display: flex; flex-wrap: wrap; gap: 5px; padding: 10px; }
.ttb span { padding: 6px 9px; border-radius: 999px; background: var(--page); font: 700 11.5px/1 var(--fd); color: var(--ink); }
.L-m .ap-hd b { font-size: 16px; }
.L-m .dvb { height: 58px; font-size: 21px; }
.L-m .gr b { font-size: 12.5px; }
.L-m .mp.msm { height: 96px; }
.L-m .rb b { font-size: 17px; }
.L-m .nt-t { font-size: 13px; }
.dev.ph2 { z-index: 5; }

.hop { position: relative; height: 96px; margin: var(--gap) 0; border-radius: 22px; overflow: hidden; background: linear-gradient(90deg, var(--h1), var(--h2)); }
.hop-road { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: rgba(31, 43, 77, .08); }
.hop-road::after { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background-image: linear-gradient(90deg, #fff 0 22px, transparent 22px 44px); background-size: 44px 2px; opacity: .8; }
.hop-mover { position: absolute; left: 0; bottom: 6px; height: 76px; will-change: transform; }
.hop[data-kind="van"] .hop-mover { height: 62px; bottom: 5px; }
.hop-mover svg { height: 100%; width: auto; display: block; }
.hop-time { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font: 600 13px/1 var(--fd); color: var(--ink5); white-space: nowrap; z-index: 2; }
.hop-time b { font: 800 14px/1 var(--fd); color: var(--ink); }
.b-apps { margin-top: var(--gap); }
.b-apps .r-app { grid-column: 1 / -1; }

@media (max-width: 1099px) {
  .story { grid-template-columns: minmax(0, 1fr); scroll-margin-top: 152px; }
  .story > *, .story.flip > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .st-foot { padding-top: 16px; }
  .day-rail { top: 80px; }
}
@media (max-width: 699px) {
  .rl { display: none; }
  .rail-list a { padding: 0 4px; flex: 0 0 auto; }
  .rail-clock { min-width: 0; padding: 0 12px 0 10px; font-size: 15px; }
  .day-rail { top: 76px; padding: 6px; gap: 6px; }
  .st-text { padding: 20px; }
  .st-chip { display: none; }
  .beats li { font-size: 14.5px; }
  .hop { height: 86px; }
  .hop-time { top: 10px; font-size: 12px; padding: 7px 12px; }
}

/* demo form: shown when FormSubmit refuses or the network fails */
.f-err { margin: 0 0 14px; color: #B3271A; font-size: 14px; line-height: 1.5; }
.f-err a { color: inherit; font-weight: 600; }

/* ── Phones: the mobile pass of November 2026 ──────────────────────────────── */
.act-next { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; margin-left: auto; border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: #fff; font: 700 14px/1 var(--fd); }
.act-next b { font-weight: 800; }
.act-next small { font: 600 12px/1 var(--ft); opacity: .7; }
.f-foot small a, .legal a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 699px) {
  /* Before and after: one card a row. Three across left columns 100px wide,
     where every word broke onto its own line. */
  .why-tiles { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .why-t, .why-t:nth-child(1), .why-t:nth-child(2) { grid-column: 1 / -1; }
  .why.static .why-t .wb { font-size: 14.5px; }
  .why-t .wa { font-size: 17px; }

  /* The role stories, one at a time (day.js sets .one and .on). */
  .day.one .story { display: none; }
  .day.one .story.on { display: grid; }
  .day.one .hop { display: none; }
  .day.one .rail-list a.on { padding: 0 12px 0 6px; }
  .day.one .rail-list a.on .rl { display: flex; }
  .day.one .st-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
  .day.one .act-next { display: inline-flex; }

  /* An opened tile: the whole card scrolls. Its words used to sit in a box 46%
     of the screen tall that scrolled on its own, with nothing to say so, and
     the last points and the button were simply cut off. */
  .sheet-card { display: block; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .sheet-copy { overflow: visible; padding: 72px 22px 22px; gap: 14px; }
  .sheet-copy .btn { align-self: stretch; }
  .sheet-stage { height: min(300px, 44vh); margin: 0 12px 12px; }
  .sheet-close { top: 14px; right: 14px; }

  /* Things a thumb has to hit. */
  .act-replay { height: 44px; }
  .fl a, .fc a { min-height: 44px; }
  .hdr .brand { min-height: 44px; }
}

/* ── Document pages (privacy, terms): the same board, set for reading ──────── */
html:has(.doc) { scroll-behavior: smooth; }
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; max-width: 1180px; }
.doc-side { position: sticky; top: 92px; gap: 14px; padding: 28px; }
.doc-side h1 { font-size: clamp(34px, 3.3vw, 46px); }
.doc-date { font: 600 14px/1.3 var(--ft); color: var(--k, var(--ink5)); }
.doc-toc { display: grid; gap: 2px; margin: 8px -8px -8px; }
.doc-toc a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; font: 600 14.5px/1.3 var(--fd); color: var(--ink7); transition: background-color .25s, color .25s; }
.doc-toc a:hover, .doc-toc a.on { background: rgba(255, 255, 255, .78); color: var(--ink); }
.doc-main { display: grid; gap: var(--gap); min-width: 0; }
.doc-sec { padding: clamp(22px, 2.6vw, 34px); gap: 12px; scroll-margin-top: 92px; }
.doc-sec h2 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -.02em; }
.doc-sec p, .doc-sec li { font: 400 16px/1.65 var(--ft); color: var(--ink7); }
.doc-sec strong { color: var(--ink); font-weight: 600; }
.doc-sec ul { display: grid; gap: 10px; }
.doc-sec li { position: relative; padding-left: 22px; }
.doc-sec li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); transform: rotate(45deg); }
.doc-sec a { color: var(--teal-ink); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-cta { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: clamp(24px, 3vw, 36px); }
.doc-cta h2 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); }
.doc-cta p { margin-top: 6px; }
.fl a[aria-current="page"] { color: var(--teal-ink); }
@media (max-width: 1099px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-side { position: static; }
  .doc-toc { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 699px) {
  /* a ten-line index before the first word is a screen of scrolling for nothing */
  .doc-toc { display: none; }
  .doc-side { padding: 22px; }
  .doc-sec { scroll-margin-top: 84px; }
  .doc-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html:has(.doc) { scroll-behavior: auto; } }


/* Discoverability pass, Nov 2026: category line above the hero headline, links to the inner pages */
.h-intro .k { display: flex; margin-bottom: 10px; color: var(--teal-ink); }
.more-link { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 14px; font: 700 15px/1.3 var(--fd); color: var(--teal-ink); text-decoration: none; }
.more-link:hover { text-decoration: underline; }
.more-link i, .more-link svg { width: 18px; height: 18px; flex: none; }
