/* InstiFlow landing page styles. Injected only while the landing page is mounted (see Landing.tsx). */
/* Layout: UMANO's held-phone hero card + Heybox's split serif/sans type, layered ribbon and corner meta. Muted coral on soft peach-grey; one light look, one dark band below. */
:root {
  --ground: #EDEBE8;
  --panel-top: #F5DED3;
  --panel-bot: #EFE8E3;
  --coral: #E9764F;
  --coral-ink: #B9532F;
  --rib-1: #E9764F;
  --rib-2: #EE9172;
  --rib-3: #F2AD95;
  --rib-4: #F6C8B8;
  --rib-5: #FAE2D9;
  --soft: #FBEFEA;
  --paper: #FFFFFF;
  --ink: #1B1715;
  --muted: #6E6460;
  --faint: #B8AEA9;
  --line: rgba(27,23,21,0.12);
  --night: #1A1715;
  --night-card: #241F1C;
  --night-line: rgba(255,255,255,0.12);
  --night-muted: #A99F9A;
  --ok: #2A6B44;
  --ok-bg: #E5F1E9;
  --warn: #8A5512;
  --warn-bg: #FBEEDB;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ground); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--coral-ink); }
.btn-line { border-color: rgba(27,23,21,.28); color: var(--ink); background: rgba(255,255,255,.45); }
.btn-line:hover { background: var(--paper); border-color: var(--ink); }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: var(--paper); }
.btn-ghost-night { border-color: var(--night-line); color: var(--paper); background: transparent; }
.btn-ghost-night:hover { background: var(--paper); color: var(--ink); }

/* ---------- logo lockup (shared by intro, nav and the dark section) ---------- */
.lk { --u: 1px; display: flex; align-items: center; gap: calc(10 * var(--u)); }
.lk-drop { position: relative; flex: none; }
.logo-tile { display: block; width: calc(34 * var(--u)); height: calc(34 * var(--u)); }
.logo-tile svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-tile .gl, .mk-tile .gl { fill: #FFFFFF; }
.g-cap, .g-i, .g-f { transform-box: fill-box; transform-origin: 50% 100%; }
.g-tassel { transform-box: view-box; transform-origin: 23.9px 44px; }
.lk-shadow { position: absolute; left: 50%; bottom: calc(-12 * var(--u)); width: calc(30 * var(--u)); height: calc(4 * var(--u)); margin-left: calc(-15 * var(--u)); border-radius: 50%; background: radial-gradient(closest-side, rgba(27,23,21,.35), rgba(27,23,21,0)); }
.logo-word { font-family: var(--sans); font-weight: 500; font-size: calc(22 * var(--u)); line-height: 1.15; letter-spacing: -.035em; white-space: nowrap; color: var(--ink); overflow: hidden; padding-bottom: .04em; }
.logo-word em { letter-spacing: -.012em; padding-right: .02em; }
.lt { display: inline-block; }

/* ---------- premium floating nav ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut-r) 0 var(--gut); pointer-events: none; transition: transform .6s var(--ease); }
.top.hide { transform: translateY(-140%); }
.nav {
  pointer-events: auto; position: relative;
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 9px 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 0 0 1px rgba(27,23,21,.06), 0 12px 32px rgba(80,40,20,.08);
  transition: max-width .7s var(--ease), padding .5s var(--ease), background-color .45s, box-shadow .45s;
}
.top.compact .nav { max-width: 1000px; padding: 6px 6px 6px 14px; background: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 0 0 1px rgba(27,23,21,.08), 0 18px 44px rgba(80,40,20,.13); }
.logo { text-decoration: none; margin-right: auto; padding: 4px 6px 4px 0; border-radius: 12px; }
.nav-links { position: relative; display: flex; gap: 2px; }
.nav-links a { position: relative; z-index: 1; font-size: 14px; font-weight: 500; text-decoration: none; padding: 12px 15px; border-radius: 999px; color: #4A423E; transition: color .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::before { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--coral); }
.nav-pill { position: absolute; z-index: 0; left: 0; top: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(27,23,21,.06); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; pointer-events: none; }
.nav-links.hovering .nav-pill { opacity: 1; }
.clock { margin: 0; font-size: 11.5px; line-height: 1.3; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 0 14px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); white-space: nowrap; transition: color .45s, border-color .45s; }
.clock b { display: block; color: var(--ink); font-weight: 500; letter-spacing: .02em; font-variant-numeric: tabular-nums; transition: color .45s; }
.clock .colon { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.nav .btn { min-height: 46px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
@media (max-width: 400px) { .top { padding-left: 12px; padding-right: 12px; } .top .nav { gap: 6px; } .top .nav .btn-ink { padding: 0 16px; font-size: 13.5px; } .top .nav .btn-ink .ar { display: none; } }
.nav .btn-ink { gap: 8px; }
.nav .btn-ink .ar { display: inline-block; width: 15px; height: 15px; overflow: hidden; position: relative; }
.nav .btn-ink .ar svg { position: absolute; inset: 0; transition: transform .45s var(--ease); }
.nav .btn-ink .ar svg + svg { transform: translate(-130%, 130%); }
.nav .btn-ink:hover .ar svg:first-child { transform: translate(130%, -130%); }
.nav .btn-ink:hover .ar svg + svg { transform: none; }
.nav-progress { position: absolute; left: 28px; right: 28px; bottom: 0; height: 2px; border-radius: 2px; background: var(--coral); transform-origin: left center; transform: scaleX(0); pointer-events: none; }
.nav-menu { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; place-items: center; flex: none; }
.nav-menu i { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: background-color .2s; }
.nav-menu i::before, .nav-menu i::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav-menu i::before { top: -5px; } .nav-menu i::after { top: 5px; }
.sheet-open .nav-menu i { background: transparent; }
.sheet-open .nav-menu i::before { transform: translateY(5px) rotate(45deg); }
.sheet-open .nav-menu i::after { transform: translateY(-5px) rotate(-45deg); }
.nav-sheet { position: fixed; z-index: 49; left: var(--gut); right: var(--gut-r); top: calc(84px + env(safe-area-inset-top, 0px)); background: var(--paper); border-radius: 28px; padding: 10px; box-shadow: 0 0 0 1px rgba(27,23,21,.06), 0 30px 60px rgba(60,30,15,.18); display: flex; flex-direction: column; transform-origin: top center; animation: sheetIn .45s var(--ease); }
.nav-sheet a { font-size: 30px; font-weight: 500; letter-spacing: -.04em; text-decoration: none; padding: 12px 14px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; }
.nav-sheet a:hover { background: #F6F1EE; }
.nav-sheet a small { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-sheet .btn { margin-top: 8px; justify-content: center; font-size: 15px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } to { opacity: 1; transform: none; } }

/* nav over dark sections */
.top.dark .nav { background: rgba(30,26,24,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.4); }
.top.dark .logo-word { color: var(--paper); }
.top.dark .nav-links a { color: #CFC6C1; }
.top.dark .nav-links a:hover, .top.dark .nav-links a.active { color: var(--paper); }
.top.dark .nav-pill { background: rgba(255,255,255,.1); }
.top.dark .clock { color: #9A908B; border-color: rgba(255,255,255,.12); }
.top.dark .clock b { color: var(--paper); }
.top.dark .nav .btn-line { color: var(--paper); border-color: rgba(255,255,255,.22); background: transparent; }
.top.dark .nav .btn-ink { background: var(--paper); color: var(--ink); }
.top.dark .nav-menu { background: var(--paper); color: var(--ink); }

/* ---------- hero card ---------- */
.hero { padding: 10px 10px 0; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 0 0 44px 44px;
  background:
    linear-gradient(180deg, rgba(238,170,135,0) 38%, rgba(236,158,120,.34) 78%, rgba(233,140,100,.5) 100%),
    radial-gradient(110% 70% at 50% 0%, var(--panel-top) 0%, var(--panel-bot) 70%);
  padding-top: 150px;
  min-height: 1000px;
}
.card::before { /* fine paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(27,23,21,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.hero-copy { position: relative; z-index: 5; text-align: center; display: flex; flex-direction: column; align-items: center; }
.h1 { margin: 0; font-weight: 500; font-size: clamp(46px, 7.4vw, 112px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.h1 em { letter-spacing: -.02em; padding-right: .04em; }
.h1 .w { display: inline-block; white-space: nowrap; }
.h1 .ch { display: inline-block; }
.sub { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 21px); color: #3E3633; }
.rot { display: inline-grid; vertical-align: bottom; text-align: center; }
.rot > span { grid-area: 1 / 1; font-family: var(--serif); font-style: italic; font-size: 1.22em; line-height: 1; color: var(--coral-ink); padding: 0 .12em; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .45s var(--ease); opacity: 0; filter: blur(8px); transform: translateY(.35em); }
.rot > span.on { opacity: 1; filter: blur(0); transform: none; }
.rot > span.out { opacity: 0; filter: blur(8px); transform: translateY(-.35em); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(27,23,21,.07); }
.role { min-height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: transparent; font: 500 13px/1 var(--sans); color: #4A423E; cursor: pointer; transition: background-color .25s, color .25s; }
.role:hover { color: var(--ink); }
.role[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* stage */
.stage { position: relative; height: 560px; margin-top: 30px; }
.stage-inner { position: absolute; inset: 0; }
/* warm light behind the hand: the photo is lit in orange, so the room should be too */
.stage-inner::after { content: ""; position: absolute; z-index: 1; left: 50%; bottom: -260px; width: min(1180px, 110vw); height: 820px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(233,118,79,.5) 0%, rgba(236,136,98,.32) 34%, rgba(240,165,130,.14) 62%, rgba(242,180,150,0) 100%); }
.ribbon { position: absolute; left: 0; width: 100%; top: 40px; height: 440px; z-index: 0; pointer-events: none; }
.ribbon path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

.phone-wrap { position: absolute; z-index: 3; left: 50%; --pw: 560px; bottom: calc(var(--pw) * -.34); width: var(--pw); margin-left: calc(var(--pw) / -2); }
@media (max-width: 1280px) and (min-width: 981px) { .phone-wrap { --pw: 500px; } .screen > * { zoom: .9; } .screen { padding-top: 44px; } }
@media (max-width: 1100px) and (min-width: 981px) { .phone-wrap { --pw: 460px; } .screen > * { zoom: .83; } .screen { padding-top: 40px; } }
.phone-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* hand-held phone photo (same mockup as the live site); the app screen sits on the photo's screen area */
.phone { position: relative; width: 100%; aspect-ratio: 1000 / 1244; filter: drop-shadow(0 40px 50px rgba(90,45,25,.22)); }
.hand-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.screen {
  position: absolute; left: 16.14%; top: 1.96%; width: 47.92%; height: 85.47%;
  border-radius: 10.8% / 4.87%;
  background: #F3F1EF; overflow: hidden;
  padding: 48px 12px 16px; display: flex; flex-direction: column; gap: 9px;
}
.screen::before { content: ""; position: absolute; left: 33.9%; top: 1.48%; width: 32.2%; height: 4.2%; border-radius: 999px; background: #0E0E0E; z-index: 2; }
.pnote { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.92); border-radius: 18px; padding: 10px 12px; box-shadow: 0 6px 16px rgba(27,23,21,.08); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pnote .ic, .inote .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--coral); display: grid; place-items: center; }
.pnote .ic svg, .inote .ic svg { width: 20px; height: 20px; }
.pnote small, .inote small { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--muted); }
.pnote b, .inote b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.pnote span, .inote span.t { display: block; font-size: 12px; color: #4A423E; line-height: 1.3; }
.ps { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.phone.swap .ps, .phone.swap .pnote { opacity: 0; transform: translateY(8px); }
.ps-title { margin: 8px 2px 0; font-family: var(--serif); font-size: 27px; line-height: 1.05; }
.ps-tag { margin: 0 2px 4px; font-size: 13px; color: var(--muted); }
.ps-card { background: var(--paper); border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; box-shadow: 0 0 0 1px rgba(27,23,21,.05); }
.ps-card p { margin: 0; font-size: 11.5px; color: var(--muted); }
.ps-card strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tr { font-size: 11px; font-weight: 600; color: var(--ok); background: var(--ok-bg); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.tr.warn { color: var(--warn); background: var(--warn-bg); }
.ps-act { margin-top: 4px; min-height: 48px; border-radius: 999px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* hero sides: show, don't tell */
.stat.vis { align-items: center; gap: 20px; }
.vis-body { display: flex; flex-direction: column; gap: 9px; }
.stat-cap, .feed-cap { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mods9 { display: grid; grid-template-columns: repeat(3, 30px); gap: 5px; }
.mods9 i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.74); color: var(--coral-ink); box-shadow: 0 0 0 1px rgba(27,23,21,.05), 0 4px 10px -2px rgba(90,45,25,.12); animation: modLit 9s infinite; animation-delay: calc(var(--i) * 1s); }
.mods9 svg, .apps4 svg { width: 16px; height: 16px; }
@keyframes modLit { 0%, 9% { background: var(--coral); color: #FFFFFF; } 15%, 100% { background: rgba(255,255,255,.74); color: var(--coral-ink); } }
.apps4 { display: flex; padding-left: 9px; }
.apps4 i { width: 38px; height: 38px; margin-left: -9px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255,255,255,.7), 0 6px 14px -4px rgba(90,45,25,.25); transition: transform .35s var(--ease); }
.apps4 i:hover { transform: translateY(-4px); z-index: 2; }
.apps4 .a1 { background: var(--ink); color: #FFFFFF; }
.apps4 .a2 { background: var(--coral); color: #FFFFFF; }
.apps4 .a3 { background: #F6C8B8; color: var(--ink); }
.apps4 .a4 { background: #FFFFFF; color: var(--coral-ink); }
.feed-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.feed-cap { display: inline-flex; align-items: center; gap: 8px; }
.feed-cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(233,118,79,.2); }
.feed { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fd { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px rgba(27,23,21,.05), 0 10px 22px -8px rgba(90,45,25,.28); font-size: 13.5px; white-space: nowrap; }
.fd b { font-weight: 600; }
.fd small { font-size: 12.5px; color: var(--muted); }
.fd .ic { width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #FFFFFF; display: grid; place-items: center; }
.fd .ic svg { width: 15px; height: 15px; }
.fd:nth-child(2) { opacity: .8; } .fd:nth-child(3) { opacity: .55; } .fd:nth-child(n+4) { display: none; }
html.lite .mods9 i { animation: none; }
@media (max-width: 760px) {
  .stat.vis { align-items: flex-start; gap: 12px; }
  .mods9 { grid-template-columns: repeat(3, 26px); gap: 4px; }
  .mods9 i { width: 26px; height: 26px; border-radius: 8px; }
  .mods9 svg, .apps4 svg { width: 14px; height: 14px; }
  .apps4 i { width: 34px; height: 34px; }
}

/* nav, quieter: three links in the middle, one clear action */
.nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.logo { justify-self: start; margin-right: 0; }
.nav-act { justify-self: end; display: flex; align-items: center; gap: 4px; }
.nav .btn-line { border-color: transparent; background: transparent; padding: 0 16px; transition: background-color .25s, color .25s; }
.nav .btn-line:hover { background: rgba(27,23,21,.05); }
.top.dark .nav .btn-line { border-color: transparent; }
.top.dark .nav .btn-line:hover { background: rgba(255,255,255,.08); }
.nav-links a { color: #5A514D; }
@media (max-width: 980px) { .nav { display: flex; } .logo { margin-right: auto; } }

/* corner meta (Heybox) */
.side { position: absolute; z-index: 4; bottom: 70px; }
.side-l { left: max(6vw, var(--gut)); width: min(300px, calc(22vw - 24px)); }
.side-r { right: max(6vw, var(--gut-r)); width: min(300px, calc(22vw - 24px)); display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.stat { padding-block: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat-num { font-size: 64px; line-height: 1; letter-spacing: -.045em; font-weight: 400; min-width: 1.2em; font-variant-numeric: tabular-nums; }
.stat-lbl { font-size: 12.5px; line-height: 1.4; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.side-r p { margin: 0; max-width: 30ch; text-align: right; font-size: 15px; color: #3E3633; }

.badge { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 16px 34px rgba(90,45,25,.12); display: grid; place-items: center; }
.badge .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge text { font: 500 8.6px var(--sans); letter-spacing: .3em; text-transform: uppercase; fill: var(--ink); }
.badge .core { width: 42px; height: 42px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- intro (UMANO notification → phone, Heybox blur letters) ---------- */
.intro-bg, .intro-center { display: none; }
html.intro .intro-bg { display: block; position: fixed; inset: 0; z-index: 80; background: var(--ground); transition: opacity .7s var(--ease), visibility 0s linear .7s; }
html.intro.go .intro-bg { opacity: 0; visibility: hidden; }
html.intro .intro-center { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.intro-logo { --u: 4px; }
@media (max-width: 760px) { .intro-logo { --u: 2.4px; } }
html.intro:not(.go) .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.intro:not(.go) .nav > :not(.logo) { opacity: 0; transform: translateY(-10px); }
html.intro .nav > :not(.logo) { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n, 0) * 70ms + 420ms); }
html.intro:not(.logo-in) .nav .logo { opacity: 0; }
html.intro:not(.go) .h1 .ch { opacity: 0; filter: blur(16px); transform: translateY(.14em); }
html.intro .h1 .ch { transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 32ms + 200ms); }
html.intro:not(.go) .rise { opacity: 0; transform: translateY(22px); }
html.intro .rise { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 700ms); }
html.intro:not(.go) .ribbon path { stroke-dashoffset: 1; }
html.intro .ribbon path { transition: stroke-dashoffset 2s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 70ms + 300ms); }
html.intro:not(.go) .phone-wrap { transform: translateY(260px); }
html.intro .phone-wrap { transition: transform 1.25s var(--ease) .05s; }
html.intro:not(.landed) .pnote { opacity: 0; }
html.intro:not(.go) .side { opacity: 0; transform: translateY(26px); }
html.intro .side { transition: opacity .9s var(--ease) 1.2s, transform .9s var(--ease) 1.2s; }
html.intro:not(.go) .badge { transform: scale(.5) rotate(-40deg); }
html.intro .badge { transition: transform 1.1s var(--ease) 1.3s; }

/* ---------- icon tiles ---------- */
.pnote .ic { background: none; border-radius: 0; }
.pnote .ic svg { width: 100%; height: 100%; }

/* ---------- cursor ring (desktop only) ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 100; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid var(--coral); pointer-events: none; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background-color .3s; display: grid; place-items: center; }
  .cursor i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); transition: transform .3s var(--ease); }
  .cursor.on { opacity: 1; }
  .cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(233,118,79,.12); }
  .cursor.big i { transform: scale(0); }
}

/* ---------- mark reveal (dark) ---------- */
.mk { position: relative; margin-top: 10px; background: #121011; color: var(--paper); border-radius: 44px 44px 0 0; padding-block: 170px 150px; overflow: hidden; }
.mk::before { content: ""; position: absolute; left: 50%; top: 36%; width: 900px; height: 560px; margin: -280px 0 0 -450px; background: radial-gradient(closest-side, rgba(233,118,79,.16), rgba(233,118,79,0)); pointer-events: none; }
.mk-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.mk-lock { display: flex; align-items: center; justify-content: center; gap: 30px; height: 190px; }
.mk-drop { position: relative; z-index: 2; flex: none; }
.mk-tile { all: unset; cursor: pointer; display: block; width: 168px; height: 168px; border-radius: 42px; transition: transform .45s var(--ease); }
.mk-tile:hover { transform: rotate(-5deg) scale(1.04); }
.mk-tile:focus-visible { outline: 2px solid var(--coral); outline-offset: 8px; border-radius: 44px; }
.mk-tile svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 40px rgba(0,0,0,.45)); }
.mk-shadow { position: absolute; left: 50%; bottom: -26px; width: 150px; height: 18px; margin-left: -75px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), rgba(0,0,0,0)); z-index: 1; }
.mk-word { overflow: hidden; white-space: nowrap; font-size: 132px; line-height: 1.1; letter-spacing: -.045em; font-weight: 500; padding-bottom: .06em; }
.mk-word em { letter-spacing: -.02em; padding-right: .03em; }
.mk-word .lt { display: inline-block; }
.mk-copy { margin-top: 64px; text-align: center; padding-left: var(--gut); padding-right: var(--gut-r); }
.mk-copy h2 { margin: 0 auto; font-weight: 500; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.045em; max-width: 16ch; text-wrap: balance; }
.mk-copy p { margin: 20px auto 0; max-width: 48ch; color: var(--night-muted); font-size: 17px; text-wrap: pretty; }
.mk-hint { margin-top: 26px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #6E6560; }
.mk.armed .mk-drop { transform: translateY(-120vh); }
.mk.armed .mk-shadow { opacity: 0; }
.mk.armed .mk-word { max-width: 0; }
.mk.armed .mk-copy, .mk.armed .mk-hint { opacity: 0; }
.mk.armed .g-i, .mk.armed .g-f { opacity: 0; }
.mk::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

@media (max-width: 760px) {
  .mk { padding-block: 110px 90px; border-radius: 30px; }
  .mk-lock { gap: 14px; height: 110px; }
  .mk-tile { width: min(84px, 21vw); height: min(84px, 21vw); border-radius: 21px; }
  .mk-shadow { width: 76px; margin-left: -38px; bottom: -16px; height: 10px; }
  .mk-word { font-size: min(52px, 13.4vw); }
  .mk-copy { margin-top: 44px; }
}

/* ---------- marquee ---------- */
.bands { position: relative; height: 230px; overflow: hidden; margin-top: 20px; }
.band { position: absolute; left: -5%; width: 110%; padding: 18px 0; overflow: hidden; display: flex; }
.band-a { top: 68px; background: var(--coral); transform: rotate(-3deg); z-index: 2; }
.band-b { top: 88px; background: #DDD8D4; transform: rotate(2.4deg); z-index: 1; }
.band-track { display: flex; flex: none; animation: slide 40s linear infinite; }
.band-b .band-track { animation-direction: reverse; animation-duration: 48s; }
.band-track span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font-size: 22px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; color: var(--ink); }
.band-b .band-track span { color: #6E6460; }
.band-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: 100px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 60px; }
.sec-head h2 { margin: 0; font-weight: 500; font-size: clamp(40px, 5.2vw, 74px); line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.sec-head p { margin: 0; max-width: 42ch; justify-self: end; color: var(--muted); font-size: 17px; text-wrap: pretty; }

.mods { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mod-list { list-style: none; margin: 0; padding: 0 0 18vh; }
.mod-list button { all: unset; cursor: pointer; display: flex; align-items: baseline; gap: 16px; font-size: clamp(46px, 7vw, 104px); font-weight: 500; line-height: 1.06; letter-spacing: -.05em; color: #C9C1BC; transition: color .35s var(--ease); padding-block: 2px; }
.mod-list button:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 4px; border-radius: 8px; }
.mod-list button small { font-size: 13px; letter-spacing: .08em; font-weight: 500; color: #C9C1BC; transform: translateY(-1.6em); transition: color .35s; }
.mod-list button:hover { color: #8C827D; }
.mod-list button[aria-selected="true"] { color: var(--ink); }
.mod-list button[aria-selected="true"] small { color: var(--coral-ink); }
.mod-panel { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); }
.mod-desc { min-height: 3.2em; margin: 0 0 18px; font-size: 18px; max-width: 46ch; text-wrap: pretty; }
.screenbox { position: relative; background: var(--soft); border-radius: 26px; padding: 22px 22px 34px; overflow: hidden; }
.sheet { position: relative; background: var(--paper); border-radius: 16px; padding: 20px; box-shadow: 0 20px 50px rgba(90,45,25,.10); }
.view { display: none; }
.view.on { display: block; animation: viewIn .55s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.sheet-head b { font-size: 16px; font-weight: 600; }
.sheet-head span { font-size: 12px; color: var(--muted); }
.rows { border: 1px solid #EFE8E4; border-radius: 12px; overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .9fr) auto; gap: 10px; align-items: center; padding: 11px 14px; font-size: 13px; border-top: 1px solid #F4EEEB; }
.row:first-child { border-top: 0; }
.row .n { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .s { color: var(--muted); }
.row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.ink { background: #F1ECE9; color: var(--ink); }
.dots { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px; margin: 4px 0 16px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--coral); max-width: 100%; }
.dots i.a { background: transparent; box-shadow: inset 0 0 0 1.5px #D7CDC8; }
.dots i.l { background: var(--rib-4); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.pipe div { border-radius: 12px; padding: 12px; background: #F8F5F3; }
.pipe div:last-child { background: var(--coral); }
.pipe p { margin: 0; font-size: 11.5px; color: var(--muted); }
.pipe div:last-child p { color: var(--ink); }
.pipe strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.grade { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px 48px; gap: 10px; padding: 10px 14px; font-size: 13px; border-top: 1px solid #F4EEEB; align-items: center; }
.grade:first-child { border-top: 0; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.grade b { font-weight: 600; font-variant-numeric: tabular-nums; }
.grade .g { font-family: var(--serif); font-size: 19px; color: var(--coral-ink); }
.sample { position: absolute; right: 22px; bottom: 10px; font-size: 11px; color: var(--muted); }
.mod-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mod-tags span { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.proc { position: relative; background: var(--night); color: var(--paper); border-radius: 44px 44px 0 0; }
.proc-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 90px; }
.proc .sec-head { margin-bottom: 52px; }
.proc .sec-head .side-txt { justify-self: end; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 42ch; }
.proc .sec-head .side-txt p { color: var(--night-muted); justify-self: auto; }
.ptrack { display: flex; gap: 20px; padding-left: var(--gut); padding-right: var(--gut-r); will-change: transform; }
.step { flex: none; width: min(460px, 84vw); background: var(--night-card); border-radius: 26px; padding: 26px; min-height: 290px; display: grid; grid-template-columns: 130px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 22px; }
.step-art { width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--rib-2), var(--coral-ink)); display: grid; place-items: center; color: var(--ink); }
.step-art svg { width: 46px; height: 46px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: #D9D1CD; }
.step-foot { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; align-items: baseline; }
.step-foot h3 { margin: 0; font-weight: 500; font-size: 28px; letter-spacing: -.03em; }
.step-foot span { font-size: 28px; color: #6E6560; font-variant-numeric: tabular-nums; }

.cta { background: var(--coral); }
.cta .wrap { padding-block: 120px 56px; }
.cta h2 { margin: 0; font-weight: 500; font-size: clamp(54px, 10vw, 160px); line-height: .94; letter-spacing: -.055em; max-width: 12ch; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; margin-top: 48px; }
.cta-row p { margin: 0; max-width: 40ch; font-size: 18px; }
.cta-row .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 100px; padding-top: 22px; border-top: 1px solid rgba(27,23,21,.22); font-size: 13px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) and (min-width: 981px) { .clock { display: none; } }
@media (max-width: 1180px) {
  .side-l, .side-r { width: min(250px, calc(22vw - 24px)); }
  .stat-num { font-size: 52px; }
}
@media (max-width: 980px) {
  .nav-links, .clock { display: none; }
  .nav-menu { display: grid; }
  .side { position: relative; inset: auto; width: auto; }
  .stage { height: auto; display: flex; flex-direction: column; }
  .stage-inner { position: relative; inset: auto; height: 520px; order: 2; }
  .side-l { order: 1; margin: 0 var(--gut-r) 8px var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .side-l .stat:last-child { border-bottom: 0; }
  .side-l .stat { border-bottom: 0; }
  .side-r { display: none; }
  .card { min-height: 0; padding-bottom: 0; }
  .phone-wrap { bottom: -130px; width: 480px; margin-left: -240px; }
  .screen { padding-top: 44px; }
  .screen > * { zoom: .86; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head p, .proc .sec-head .side-txt { justify-self: start; }
  .mods { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mod-panel { position: relative; top: 0; order: -1; }
  .mod-list { padding-bottom: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
  .mod-list button { font-size: clamp(32px, 7vw, 54px); }
  .mod-list button small { display: none; }
}
@media (max-width: 760px) {
  .nav { padding: 6px 6px 6px 16px; }
  .nav .btn-line { display: none; }
  .hero { padding: 6px 6px 0; }
  .card { padding-top: 116px; border-radius: 0 0 30px 30px; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
  .ctas { width: 100%; padding-inline: 8px; }
  .roles { margin-inline: 8px; flex-wrap: nowrap; gap: 2px; }
  .role { padding: 0 13px; font-size: 13px; }
  .r-long { display: none; }
  .phone-wrap { width: 400px; margin-left: -200px; bottom: -110px; }
  .screen { padding-top: 36px; padding-inline: 9px; gap: 7px; }
  .screen > * { zoom: .7; }
  .stage-inner { height: 470px; }
  .stat-num { font-size: 44px; }
  .stat { gap: 10px; flex-direction: column; }
  .bands { height: 160px; }
  .band-a { top: 44px; } .band-b { top: 58px; }
  .band-track span { font-size: 16px; gap: 16px; padding-right: 16px; }
  .sec { padding-block: 72px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles .tile:nth-child(3) { display: none; }
  .row { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) auto; }
  .row .s { display: none; }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-sticky { position: relative; min-height: 0; padding-block: 72px; }
  .ptrack { flex-direction: column; transform: none !important; }
  .step { width: 100%; grid-template-columns: 84px minmax(0, 1fr); min-height: 0; }
  .step-art { width: 84px; height: 84px; }
  .step-art svg { width: 32px; height: 32px; }
  .step-foot h3, .step-foot span { font-size: 23px; }
  .cta .wrap { padding-block: 80px 40px; }
}
/* ================= a school day: canvas town, time of day, premium phone ================= */
.dv { position: relative; height: 760vh; background: #E4DCD5; }
.dv-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #E4DCD5; --ink-d: var(--ink); --mut-d: #5F5550; color: var(--ink-d); }
.dv-sticky.night { --ink-d: #F6F0EC; --mut-d: #BDB2AC; }

/* world: one canvas; pins and the warm wash sit on top */
.dv-world { position: absolute; inset: 0; contain: strict; }
.town { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pin { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.pin-in { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translate(-50%, calc(-100% - 7px)); display: flex; align-items: center; gap: 8px; padding: 6px 13px 6px 6px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 12px 28px -6px rgba(60,30,15,.28), 0 0 0 1px rgba(27,23,21,.05); color: var(--ink); }
.pin-in::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; margin-left: -5.5px; background: #FFFFFF; border-radius: 0 0 3px 0; transform: rotate(45deg); }
.pin-in b { font-size: 13px; font-weight: 600; }
.pin-in small { font-size: 11px; color: var(--muted); }
.pin-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; }
.pin-ic.dark { background: var(--ink); }
.pin-ic svg { width: 15px; height: 15px; }
.pin-ic.dark svg { width: 20px; height: 20px; }

/* light */
.tint-warm, .dv-veil { position: absolute; inset: 0; pointer-events: none; }
.tint-warm { background: radial-gradient(120% 90% at 15% 0%, #FFB27A 0%, #FF8A55 70%); opacity: 0; will-change: opacity; }
.dv-veil { background: linear-gradient(90deg, var(--veil, rgba(232,226,221,.95)) 0%, var(--veil, rgba(232,226,221,.95)) 20%, rgba(0,0,0,0) 46%), linear-gradient(180deg, var(--veil, rgba(232,226,221,.95)) 0%, rgba(0,0,0,0) 16%); }

/* layout */
.dv-grid { position: relative; z-index: 3; height: 100vh; padding-top: 96px; padding-bottom: 28px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
.dv-text { min-width: 0; align-self: center; }
.dv-kicker { margin: 0 0 14px; font-size: 18px; font-weight: 500; color: var(--mut-d); transition: color .6s; }
.dv-kicker em { color: var(--ink-d); font-size: 1.15em; transition: color .6s; }
.dv-clockrow { display: flex; align-items: flex-end; gap: 18px; }
.dv-clock { display: flex; align-items: baseline; gap: 10px; font-size: clamp(64px, 7vw, 108px); line-height: .95; letter-spacing: -.055em; font-weight: 500; font-variant-numeric: tabular-nums; }
.dv-clock small { font-size: 22px; letter-spacing: 0; color: var(--mut-d); }
.dv-arc { width: 92px; height: auto; margin-bottom: 10px; color: var(--ink-d); overflow: visible; }
#sunDot { transition: fill .6s; filter: drop-shadow(0 0 6px rgba(233,118,79,.7)); }
.dv-who { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: 0 0 0 1px rgba(27,23,21,.06), 0 6px 16px rgba(60,30,15,.06); }
.dv-who .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(233,118,79,.2); }
.dv-title { margin: 16px 0 0; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.06; font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
.dv-desc { margin: 10px 0 0; max-width: 40ch; font-size: 16px; color: var(--mut-d); text-wrap: pretty; min-height: 4.5em; transition: color .6s; }
.swap-out { animation: swapIn .55s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }
.dv-steps { list-style: none; margin: 20px 0 0; padding: 0 0 0 14px; position: relative; display: grid; gap: 1px; }
.dv-steps::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: currentColor; opacity: .14; }
.dv-steps::after { content: ""; position: absolute; left: 3px; top: 10px; width: 2px; border-radius: 2px; background: var(--coral); height: calc((100% - 20px) * var(--sp, 0)); transition: height .4s var(--ease); }
.dv-steps button { all: unset; cursor: pointer; display: flex; gap: 12px; align-items: baseline; padding: 3px 8px; border-radius: 8px; font-size: 13px; color: var(--mut-d); opacity: .75; transition: opacity .25s, background-color .25s; position: relative; }
.dv-steps button:hover { opacity: 1; background: rgba(127,127,127,.1); }
.dv-steps button:focus-visible { outline: 2px solid var(--coral); }
.dv-steps button b { font-weight: 500; min-width: 64px; font-variant-numeric: tabular-nums; }
.dv-steps button.on { color: var(--ink-d); opacity: 1; }
.dv-steps button.on::before { content: ""; position: absolute; left: -15px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(233,118,79,.22); }

/* glass panels */
.dv-panels { position: relative; align-self: end; height: 340px; }
.pnl { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 400px; padding: 20px; border-radius: 26px; color: var(--ink); background: rgba(255,255,255,.86); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 0 0 1px rgba(255,255,255,.55), 0 34px 70px rgba(40,20,10,.22); opacity: 0; transform: translate3d(0, 28px, 0) scale(.95); transition: opacity .55s var(--ease), transform .75s var(--ease); pointer-events: none; }
.pnl.on { opacity: 1; transform: none; -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6); }
.sc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.sc-head b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.sc-head span { font-size: 12px; color: var(--muted); }
.sc-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.sc-foot .me { color: var(--ink); font-weight: 500; }
.k { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 1.5px #D7CDC8; }
.k.on { background: var(--coral); box-shadow: none; }
.k.ring { background: var(--coral); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }

.staff-head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.staff-head b { display: block; font-size: 15px; font-weight: 600; }
.staff-head span { font-size: 12px; color: var(--muted); }
.trip { list-style: none; margin: 0; padding: 0; position: relative; }
.trip li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; font-size: 14px; color: #9A908B; transition: color .4s; }
.trip li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 32px; bottom: -10px; width: 2px; background: #EAE2DC; }
.trip i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #DDD3CD; position: relative; z-index: 1; background: var(--paper); transition: background-color .35s, box-shadow .35s; }
.trip li.cur { color: var(--ink); }
.trip li.cur i { box-shadow: inset 0 0 0 2px var(--coral), 0 0 0 5px rgba(233,118,79,.18); }
.trip li.done { color: var(--ink); }
.trip li.done i { background: var(--ok); box-shadow: none; }
.trip li.done i::after { content: ""; position: absolute; left: 8px; top: 5px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.trip small { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.desks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.desks i { aspect-ratio: 1; max-width: 100%; border-radius: 9px; background: #EFE8E3; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.desks i.on { background: var(--coral); transform: scale(.92); }
.desks i.me { box-shadow: 0 0 0 2.5px var(--paper), 0 0 0 4.5px var(--ink); }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 11px 2px; border-top: 1px solid #F1EBE7; opacity: .38; transition: opacity .4s var(--ease); }
.log li:first-child { border-top: 0; }
.log li.done { opacity: 1; }
.pt { font-size: 12px; font-weight: 600; text-align: center; padding: 6px 0; border-radius: 9px; background: #F4EFEC; color: var(--muted); }
.log b { display: block; font-size: 14.5px; font-weight: 600; }
.log span { font-size: 12.5px; color: var(--muted); }
.tick { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #D7CDC8; position: relative; transition: background-color .3s, box-shadow .3s; }
.log li.done .tick { background: var(--ok); box-shadow: none; }
.log li.done .tick::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
#pHw { padding: 14px; background: rgba(255,255,255,.55); }
.paper { background-color: #FFFDF9; background-image: linear-gradient(to right, transparent 40px, rgba(233,118,79,.45) 40px, rgba(233,118,79,.45) 41.5px, transparent 41.5px), repeating-linear-gradient(to bottom, transparent 0 33px, #EAE2DC 33px 34px); border-radius: 14px; padding: 16px 18px 18px 56px; box-shadow: 0 16px 30px rgba(60,30,15,.12); transform: rotate(-1.2deg); }
.paper-t { margin: 0 0 4px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 34px; }
.hw { list-style: none; margin: 0; padding: 0; }
.hw li { font-size: 14px; line-height: 1.45; padding: 5px 0 8px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hw li.hide { opacity: 0; transform: translateX(-10px); }
.hw .tag { display: inline-block; margin-right: 8px; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #FBE6DD; color: var(--coral-ink); }
.hw small { display: block; color: var(--muted); font-size: 12px; }
.hw .file { display: inline-block; font-style: normal; font-family: var(--sans); font-size: 11.5px; padding: 2px 8px; border-radius: 7px; background: #F3EEEA; }
.marks { display: grid; gap: 14px; }
.mk-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 48px; gap: 12px; align-items: center; font-size: 13.5px; }
.mk-row b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.track { height: 10px; border-radius: 999px; background: #F1EBE7; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 999px; background: var(--coral); width: calc(var(--w) * var(--k, 1)); }
#pFee { padding: 14px; background: rgba(255,255,255,.5); }
.receipt { position: relative; background: var(--paper); border-radius: 16px; padding: 18px; box-shadow: 0 16px 30px rgba(60,30,15,.12); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; background: radial-gradient(circle at 7px 0, transparent 6px, var(--paper) 6.5px) 0 0 / 14px 14px repeat-x; }
.rc-top { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed #DDD3CD; }
.rc-top svg { width: 38px; height: 38px; flex: none; }
.rc-top b { display: block; font-size: 14.5px; }
.rc-top span { font-size: 12px; color: var(--muted); }
.rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; }
.rc-row span { color: var(--muted); }
.rc-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-row.total { border-top: 1px dashed #DDD3CD; margin-top: 4px; padding-top: 12px; font-size: 16px; }
.rc-row.total span { color: var(--ink); }
.stamp { position: absolute; right: 18px; top: 66px; padding: 3px 12px; border: 3px solid var(--ok); border-radius: 10px; color: var(--ok); font-size: 22px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-14deg) scale(1.6); opacity: 0; transition: opacity .3s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.stamp.show { opacity: .88; transform: rotate(-14deg) scale(1); }
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { margin: 0; max-width: 84%; padding: 10px 13px; border-radius: 17px; font-size: 13.5px; line-height: 1.42; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.msg small { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.msg.me { align-self: flex-end; background: #FBE3D9; border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: #F4EFEC; border-bottom-left-radius: 6px; }
.msg.sys { align-self: center; max-width: none; padding: 4px 11px; font-size: 11.5px; color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px #EDE5E0; }
.msg.hide { opacity: 0; transform: translateY(10px); }

/* premium phone */
.dv-phone { display: flex; justify-content: center; align-self: center; }
.iph { position: relative; flex: none; width: 296px; height: 638px; padding: 3px; border-radius: 57px; transform-origin: 50% 0;
  background: linear-gradient(135deg, #B1AAA4 0%, #4C4642 20%, #9A938D 46%, #3A3532 70%, #A7A09A 100%);
  box-shadow: 0 70px 100px rgba(30,15,8,.34), 0 20px 34px rgba(30,15,8,.22), inset 0 0 0 1px rgba(255,255,255,.3); }
.iph > span { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #5E5752, #9C958F); }
.btn-l1 { left: -2px; top: 118px; height: 30px; } .btn-l2 { left: -2px; top: 168px; height: 56px; } .btn-l3 { left: -2px; top: 234px; height: 56px; } .btn-r { right: -2px; top: 190px; height: 86px; }
.iph-in { border-radius: 54px; padding: 10px; background: #050404; }
.iph-screen { position: relative; height: 612px; border-radius: 45px; overflow: hidden; color: #FFFFFF; isolation: isolate; }
.iph-screen::after { content: ""; position: absolute; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 72%, rgba(255,255,255,.06) 100%); }
.wp { position: absolute; inset: 0; z-index: 0; }
.wp-day { background: radial-gradient(90% 55% at 25% 8%, #FFE6DA 0%, rgba(255,230,218,0) 62%), linear-gradient(172deg, #F5C3AF 0%, #EB8F6D 46%, #BF5838 100%); }
.wp-gold { background: radial-gradient(80% 50% at 70% 12%, #FFE0A8 0%, rgba(255,224,168,0) 60%), linear-gradient(172deg, #FFCB91 0%, #EE9152 50%, #A44526 100%); opacity: 0; }
.wp-night { opacity: 0; background:
  radial-gradient(1.2px 1.2px at 20% 18%, #FFF 99%, transparent), radial-gradient(1px 1px at 70% 12%, #FFF 99%, transparent), radial-gradient(1.4px 1.4px at 82% 30%, #FFF 99%, transparent), radial-gradient(1px 1px at 40% 8%, #FFF 99%, transparent), radial-gradient(1px 1px at 58% 24%, #FFF 99%, transparent), radial-gradient(1.2px 1.2px at 12% 36%, #FFF 99%, transparent),
  radial-gradient(60% 40% at 75% 18%, rgba(140,150,220,.35), rgba(140,150,220,0) 70%),
  linear-gradient(176deg, #161B3A 0%, #2A2348 55%, #5B2F3B 100%); }
.island { position: absolute; z-index: 25; top: 11px; left: 50%; transform: translateX(-50%); width: 98px; height: 29px; border-radius: 20px; background: #000; display: flex; align-items: center; justify-content: space-between; padding: 0 7px; box-sizing: border-box; overflow: hidden; transition: width .7s cubic-bezier(.34,1.5,.64,1), height .7s cubic-bezier(.34,1.5,.64,1); }
.island > * { opacity: 0; transition: opacity .25s; }
.island.live { width: 214px; height: 36px; }
.island.live > * { opacity: 1; transition-delay: .25s; }
.is-bus { width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; }
.is-bus svg { width: 14px; height: 14px; }
.is-txt { font-size: 13px; font-weight: 600; color: #F6B39B; font-variant-numeric: tabular-nums; padding-right: 4px; }
.ls { position: relative; z-index: 2; text-align: center; padding-top: 60px; }
.ls-date { margin: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; opacity: .92; }
.ls-date svg { width: 11px; height: 11px; }
.ls-time { margin: 0; font-size: 86px; font-weight: 600; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 30px rgba(80,20,0,.15); }
.ls-bottom { position: absolute; z-index: 3; left: 9px; right: 9px; bottom: 78px; display: flex; flex-direction: column; gap: 8px; }
.live { color: #FFFFFF; background: rgba(20,17,16,.55); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); border-radius: 22px; padding: 12px 13px; max-height: 120px; overflow: hidden; transition: opacity .5s var(--ease), transform .6s var(--ease), max-height .6s var(--ease), padding .6s var(--ease); }
.live.off { opacity: 0; transform: translateY(12px) scale(.95); max-height: 0; padding-block: 0; }
.la-top { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.la-ic svg { width: 30px; height: 30px; display: block; }
.la-top b { display: block; font-size: 13px; font-weight: 600; }
.la-top span { font-size: 11.5px; opacity: .72; }
.la-top strong { font-size: 19px; font-weight: 600; color: #F7B49B; font-variant-numeric: tabular-nums; }
.la-track { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.la-a, .la-b { width: 16px; height: 16px; flex: none; color: rgba(255,255,255,.85); }
.la-a svg, .la-b svg { width: 100%; height: 100%; display: block; }
.la-rail { position: relative; flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.2); }
.la-rail i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--coral); width: var(--lp, 0%); }
.la-bus { position: absolute; top: 50%; left: var(--lp, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 3px var(--coral), 0 2px 8px rgba(0,0,0,.3); }
.lp-stack { position: relative; display: flex; flex-direction: column; gap: 7px; }
.nt { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 12px; border-radius: 20px; background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); color: var(--ink); box-shadow: 0 8px 22px rgba(40,15,5,.14); transform-origin: top center; position: relative; z-index: 2; }
.nt svg { width: 32px; height: 32px; display: block; }
.nt small { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: #6E6460; }
.nt b { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.nt span { display: block; font-size: 12.5px; line-height: 1.32; color: #3E3633; }
.peek { height: 9px; margin: -7px auto 0; border-radius: 0 0 14px 14px; background: rgba(255,255,255,.5); position: relative; z-index: 1; }
.peek.p1 { width: 92%; } .peek.p2 { width: 84%; margin-top: -3px; background: rgba(255,255,255,.32); }
.ls-tools { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 24px; display: flex; justify-content: space-between; }
.ls-tools span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.24); }
.ls-tools svg { width: 20px; height: 20px; }
.ls-home { position: absolute; z-index: 3; bottom: 8px; left: 50%; width: 118px; height: 5px; margin-left: -59px; border-radius: 999px; background: rgba(255,255,255,.92); }
.dv-toast { display: none; }

@media (max-height: 820px) and (min-width: 901px) { .dv-steps { display: none; } }
@media (max-height: 660px) and (min-width: 901px) { .dv-desc { display: none; } .dv-clock { font-size: 64px; } .dv-panels { height: 300px; } }
@media (max-width: 1180px) and (min-width: 901px) {
  .dv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 250px; gap: 18px; }
  .iph { width: 296px; }
  .dv-phone { width: 250px; }
  .pnl { max-width: 340px; padding: 16px; }
}
@media (max-width: 900px) {
  .dv { height: 700vh; }
  .dv-veil { background: linear-gradient(180deg, var(--veil, rgba(232,226,221,.95)) 0%, var(--veil, rgba(232,226,221,.95)) 30%, rgba(0,0,0,0) 52%); }
  .dv-grid { grid-template-columns: minmax(0, 1fr); align-content: space-between; padding-top: 88px; gap: 8px; }
  .dv-text { align-self: start; }
  .dv-kicker { font-size: 15px; margin-bottom: 6px; }
  .dv-clock { font-size: 50px; }
  .dv-arc { width: 64px; margin-bottom: 4px; }
  .dv-who { margin-top: 10px; }
  .dv-title { font-size: 23px; margin-top: 10px; }
  .dv-desc, .dv-steps, .dv-phone { display: none; }
  .dv-panels { height: 300px; }
  .pnl { max-width: none; padding: 16px; }
  .desks { gap: 5px; }
  .dv-toast { display: block; position: absolute; z-index: 4; left: 16px; right: 16px; bottom: 340px; }
  .dv-toast .nt { background: rgba(255,255,255,.9); }
}

/* day section, phones: the town sits in the clear gap between the story and the card */
@media (max-width: 900px) {
  .dv-veil { background: linear-gradient(180deg, var(--veil, rgba(232,226,221,.95)) 0, var(--veil, rgba(232,226,221,.95)) calc(var(--vb, 250px) - 16px), rgba(0,0,0,0) calc(var(--vb, 250px) + 44px)); }
  .dv-toast .nt { box-shadow: 0 16px 30px -12px rgba(40,15,5,.3), 0 0 0 1px rgba(27,23,21,.04); }
  .dv-toast .nt > div > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .log li { padding: 8px 2px; }
}
@media (max-width: 900px) and (max-height: 760px) and (orientation: portrait) {
  .dv-toast { display: none; }
  .dv-clock { font-size: 44px; }
  .dv-panels { zoom: .9; }
}
@media (max-width: 900px) and (max-height: 700px) and (orientation: portrait) {
  .dv-grid { padding-top: 80px; }
  .dv-who { display: none; }
  .dv-panels { zoom: .84; }
}
/* tablets in portrait: more room, so bigger type and the description comes back */
@media (min-width: 601px) and (max-width: 900px) and (min-height: 861px) {
  .dv-grid { padding-top: 124px; padding-bottom: 40px; }
  .dv-kicker { font-size: 18px; }
  .dv-clock { font-size: 84px; }
  .dv-arc { width: 92px; }
  .dv-title { font-size: 36px; }
  .dv-desc { display: block; min-height: 0; max-width: 42ch; }
  .dv-panels { width: 100%; max-width: 450px; height: 330px; }
  .pnl { padding: 20px; max-width: none; }
  .dv-toast { left: var(--gut); right: auto; width: min(450px, calc(100% - 40px)); bottom: 382px; }
}
/* phones held sideways: story left, card right */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .dv { height: 620vh; }
  .dv-grid { grid-template-columns: minmax(0, 1fr) 340px; align-content: center; align-items: end; padding-top: 62px; padding-bottom: 12px; gap: 16px; }
  .dv-text { align-self: center; }
  .dv-kicker { font-size: 13px; margin-bottom: 2px; }
  .dv-clock { font-size: 40px; }
  .dv-arc { width: 50px; margin-bottom: 4px; }
  .dv-who { margin-top: 8px; }
  .dv-title { font-size: 20px; margin-top: 8px; }
  .dv-toast { display: none; }
  .dv-panels { height: 300px; zoom: .92; }
  .dv-veil { background: linear-gradient(90deg, var(--veil, rgba(232,226,221,.95)) 0, var(--veil, rgba(232,226,221,.95)) 30%, rgba(0,0,0,0) 56%); }
}
@media (max-width: 900px) and (max-height: 380px) and (orientation: landscape) { .dv-panels { zoom: .84; } }

/* ---------- admin control room (dark) ---------- */
.admin { position: relative; margin-top: 10px; background: var(--night); color: var(--paper); border-radius: 44px 44px 0 0; padding-block: 110px 90px; }
.admin .sec-head p { color: var(--night-muted); }
.admin + .proc { border-radius: 0; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.tile { min-width: 0; background: #211D1A; border-radius: 26px; padding: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 1px rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 16px; }
.tile header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile header p { margin: 0; font-size: 14px; font-weight: 500; color: #D8D0CB; }
.t-fee { grid-column: span 7; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; gap: 16px 26px; }
.t-fee header { grid-column: 1 / -1; }
.t-fee .big, .t-fee .meter, .t-fee .bars { grid-column: 1; }
.t-fee .due { grid-column: 2; grid-row: 2 / 5; }
.t-bus { grid-column: span 5; }
.t-pay, .t-acad, .t-att { grid-column: span 4; }
.t-cmp { grid-column: span 7; }
.t-adm { grid-column: span 5; }
.admin .chip { font-style: normal; }
.admin .chip.ink { background: rgba(255,255,255,.08); color: #E9E2DE; }
.admin .chip.ok { background: rgba(70,150,100,.22); color: #A8DDBA; }
.admin .chip.warn { background: rgba(200,130,40,.22); color: #F2CB8E; }
.admin .chip.open { background: rgba(233,118,79,.2); color: #F6B9A2; }
.live-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(233,118,79,.16) !important; color: #F6B9A2 !important; }
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: live 1.6s infinite; }
.big { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.num { font-size: clamp(40px, 4vw, 58px); line-height: 1; font-weight: 500; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.big small, .twin small { font-size: 13.5px; color: var(--night-muted); }
.meter { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--coral); transform-origin: left; transition: transform 1.2s var(--ease); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 150px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: rgba(233,118,79,.5); transform-origin: bottom; transition: transform .9s var(--ease), background-color .2s; outline: none; }
.bar.now { background: var(--coral); }
.bar:hover, .bar:focus-visible { background: #F29676; }
.bar span { position: absolute; left: 0; right: 0; bottom: -22px; text-align: center; font-size: 11.5px; color: var(--night-muted); }
[data-tip] { position: relative; }
[data-tip]:hover::after, [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.3); z-index: 5; pointer-events: none; }
.due p, .note { margin: 0; font-size: 13px; color: var(--night-muted); }
.due { display: flex; flex-direction: column; gap: 2px; }
.due p { margin-bottom: 6px; }
.due-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.due-row span:nth-child(2) { color: var(--night-muted); }
.due-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.due .btn { margin-top: auto; justify-content: center; }
.btn-line-dark { border-color: rgba(255,255,255,.2); color: var(--paper); background: transparent; justify-content: center; margin-top: auto; }
.btn-line-dark:hover { background: var(--paper); color: var(--ink); }
.bus-map { width: 100%; height: auto; display: block; max-width: 100%; }
.list .li, .tickets .tk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.list .li span { color: var(--night-muted); font-size: 13px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tickets .tk { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 0; }
.tk b { display: block; font-weight: 600; font-size: 14.5px; }
.tk span { font-size: 13px; color: var(--night-muted); }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stepper li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 30px; bottom: -12px; width: 2px; background: rgba(255,255,255,.1); }
.stepper i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); position: relative; z-index: 1; background: #211D1A; transition: background-color .4s, box-shadow .4s; }
.stepper li.done i { background: #46966A; box-shadow: none; }
.stepper li.done i::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #FFFFFF; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.stepper small { color: var(--night-muted); font-size: 12.5px; }
.hbars, .funnel { display: grid; gap: 14px; }
.hb, .fn { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 13.5px; outline: none; }
.fn { grid-template-columns: 104px minmax(0, 1fr) 40px; }
.hb b, .fn b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hb span, .fn span { color: #D8D0CB; }
.admin .track { background: rgba(255,255,255,.08); }
.admin .track i { transform-origin: left; transition: transform 1s var(--ease); }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.twin small { display: block; margin-top: 8px; }
.heat { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 4px; }
.heat i { aspect-ratio: 1; max-width: 100%; border-radius: 4px; outline: none; transition: transform .2s; }
.heat i:hover, .heat i:focus-visible { transform: scale(1.25); }
.sample-note { margin: 18px 0 0; font-size: 12.5px; color: #7E746F; text-align: right; }

/* enter animation, only when the dashboard starts below the fold */
.admin.armed .bar, .admin.armed .meter i { transform: scaleY(0); }
.admin.armed .meter i, .admin.armed .track i { transform: scaleX(0); }
.admin.armed .stepper li.done i { background: #211D1A; box-shadow: inset 0 0 0 2px rgba(255,255,255,.2); }
.admin.armed .stepper li.done i::after { opacity: 0; }
.admin.armed .tk, .admin.armed .li { opacity: 0; transform: translateY(10px); }
.tk, .li { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bar:nth-child(2) { transition-delay: 60ms; } .bar:nth-child(3) { transition-delay: 120ms; } .bar:nth-child(4) { transition-delay: 180ms; } .bar:nth-child(5) { transition-delay: 240ms; } .bar:nth-child(6) { transition-delay: 300ms; } .bar:nth-child(7) { transition-delay: 360ms; }
.tk:nth-child(2), .li:nth-child(2) { transition-delay: 120ms; } .tk:nth-child(3), .li:nth-child(3) { transition-delay: 240ms; } .tk:nth-child(4) { transition-delay: 360ms; }
.stepper li:nth-child(2) i { transition-delay: .3s; } .stepper li:nth-child(3) i { transition-delay: .6s; }

@media (max-width: 1100px) {
  .t-fee { grid-column: span 12; }
  .t-bus, .t-pay, .t-acad, .t-att { grid-column: span 6; }
  .t-cmp { grid-column: span 7; } .t-adm { grid-column: span 5; }
}
@media (max-width: 900px) { .t-cmp, .t-adm { grid-column: span 12; } }
@media (max-width: 760px) {
  .admin { padding-block: 80px 60px; border-radius: 30px 30px 0 0; }
  .t-fee { grid-template-columns: minmax(0, 1fr); }
  .t-fee .due { grid-column: 1; grid-row: auto; }
  .t-bus, .t-pay, .t-acad, .t-att { grid-column: span 12; }
  .heat { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .sample-note { text-align: left; }
}


.nav-sheet[hidden] { display: none; }
.chip, em.chip { font-family: var(--sans); font-style: normal; }
.hw .file { font-family: var(--sans); }
.t-fee .bars { align-self: stretch; height: auto; min-height: 170px; }


/* ================= premium motion layer ================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* going live: never let the card row shrink; tighter on short screens */
.proc-sticky > * { flex-shrink: 0; }
@media (max-height: 760px) and (min-width: 761px) {
  .proc-sticky { padding-block: 70px 36px; }
  .proc .sec-head { margin-bottom: 28px; }
  .step { min-height: 220px; grid-template-columns: 92px minmax(0, 1fr); padding: 22px; }
  .step-art { width: 92px; height: 92px; } .step-art svg { width: 36px; height: 36px; }
  .step-foot h3, .step-foot span { font-size: 24px; }
}
.step { transition: transform .5s var(--ease), background-color .4s; }
.step:hover { transform: translateY(-6px); background: #2A2421; }
.step-art { transition: transform .7s var(--ease); }
.step:hover .step-art { transform: rotate(-8deg) scale(1.05); }

/* logo section now stands alone */
.mk { border-radius: 44px; margin-bottom: 10px; }

/* sections that expand from an inset card to full width as they arrive */
[data-xpand] { clip-path: inset(0 var(--ix, 0px) round 44px 44px var(--rb, 44px) var(--rb, 44px)); }
.admin[data-xpand] { --rb: 0px; }

/* word-by-word masked heading reveal */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .14em; margin: 0 -.04em -.14em; }
.wi { display: inline-block; transition: transform 1.15s cubic-bezier(.16,1,.3,1), opacity 1.15s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--wi, 0) * 55ms); }
[data-reveal].armed .wi { transform: translateY(115%) rotate(4deg); opacity: 0; }
[data-fade] { transition: opacity 1s var(--ease) .25s, transform 1s var(--ease) .25s; }
[data-fade].armed { opacity: 0; transform: translateY(26px); }

/* hero recedes as you scroll away */
.hero .card { transform-origin: 50% 0; }

/* admin tiles: staggered arrival + cursor spotlight */
.tile { position: relative; transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s; transition-delay: calc(var(--ti, 0) * 70ms); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(233,118,79,.13), rgba(233,118,79,0) 60%); }
.tile:hover::before { opacity: 1; }
.tile:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px rgba(233,118,79,.28); }
.tile > * { position: relative; z-index: 1; }
.admin.armed .tile { opacity: 0; transform: translateY(46px) scale(.98); }

/* marquee driven by script (speed follows scroll) */
html.js-marquee .band-track { animation: none; will-change: transform; }

/* giant footer wordmark */
.cta { overflow: hidden; }
.giant { overflow: hidden; margin-top: 10px; padding: 0 var(--gut-r) 2.2vw var(--gut); text-align: center; line-height: .9; }
.giant-in { display: inline-block; font-size: clamp(80px, 19.5vw, 340px); font-weight: 500; letter-spacing: -.065em; color: var(--ink); white-space: nowrap; padding-bottom: .06em; }
.giant-in em { letter-spacing: -.03em; padding-right: .03em; }
.cta .foot { margin-top: 70px; }

/* cursor label */
@media (pointer: fine) {
  .cursor .cl { position: absolute; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
  .cursor.label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--coral); border-color: var(--coral); }
  .cursor.label i { transform: scale(0); }
  .cursor.label .cl { opacity: 1; transform: none; }
}


/* ================= your school's own app: live brand preview ================= */
@property --b { syntax: '<color>'; inherits: true; initial-value: #E9764F; }
@property --b-ink { syntax: '<color>'; inherits: true; initial-value: #A9502F; }
@property --b-soft { syntax: '<color>'; inherits: true; initial-value: #FCEDE7; }
@property --b-soft2 { syntax: '<color>'; inherits: true; initial-value: #F8D6C9; }
@property --b-on { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
.cz { position: relative; padding-block: 130px 120px; overflow: hidden; transition: --b .6s var(--ease), --b-ink .6s var(--ease), --b-soft .6s var(--ease), --b-soft2 .6s var(--ease), --b-on .6s var(--ease); }
.cz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); grid-template-areas: "head stage" "ctl stage"; column-gap: 72px; row-gap: 40px; align-items: start; }
.cz-head { grid-area: head; align-self: end; }
.cz-stage { grid-area: stage; }
.cz-ctl { grid-area: ctl; }
.cz-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cz-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 4px var(--b-soft2); }
.cz-head h2 { margin: 0; font-weight: 500; font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.cz-head h2 em { color: var(--b); padding-right: .04em; }
.cz-sub { margin: 18px 0 0; font-size: 17px; color: var(--muted); max-width: 36ch; }

/* controls */
.cz-ctl { display: flex; flex-direction: column; gap: 24px; max-width: 500px; }
.cz-lbl { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cz-field { display: flex; flex-direction: column; gap: 9px; }
.cz-field input { box-sizing: border-box; width: 100%; font: 500 22px/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink); background: rgba(255,255,255,.75); border: 0; border-radius: 18px; padding: 15px 18px; box-shadow: inset 0 0 0 1px rgba(27,23,21,.08); outline: none; transition: box-shadow .25s; }
.cz-field input:focus { box-shadow: inset 0 0 0 2px var(--b), 0 10px 24px -14px var(--b); }
.cz-row { display: flex; flex-direction: column; gap: 10px; }
.cz-logos, .cz-sw, .cz-samples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cz-logos button { all: unset; box-sizing: border-box; cursor: pointer; width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(27,23,21,.08); transition: transform .3s var(--ease), box-shadow .25s, background-color .25s; }
.cz-logos button:hover { transform: translateY(-2px); }
.cz-logos button[aria-checked="true"] { background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--b), 0 10px 20px -12px var(--b); }
.cz-logos button .lg { width: 34px; height: 34px; border-radius: 11px; }
.cz-logos .cz-up .lg:not(.img) { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px rgba(27,23,21,.25); }
.cz-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cz-sw button { all: unset; box-sizing: border-box; cursor: pointer; position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .3s var(--ease); }
.cz-sw button:hover { transform: scale(1.08); }
.cz-sw button[aria-checked="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c); }
.cz-pick { position: relative; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; background: conic-gradient(from 20deg, #E9764F, #E9C24F, #5FB86A, #3FA7C9, #5B6BE0, #B45BD6, #E9764F); box-shadow: inset 0 0 0 3px rgba(255,255,255,.9); }
.cz-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.cz-samples button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(27,23,21,.08); font-size: 13.5px; font-weight: 500; transition: transform .3s var(--ease), background-color .25s; }
.cz-samples button:hover { transform: translateY(-2px); background: #FFFFFF; }
.cz-samples button i { width: 10px; height: 10px; border-radius: 50%; background: var(--sc); }
.cz-logos button:focus-visible, .cz-sw button:focus-visible, .cz-samples button:focus-visible, .cz-tabs button:focus-visible, .cz-pick:focus-within { outline: 2px solid var(--b); outline-offset: 3px; }
.cz-note { margin: 0; font-size: 12.5px; color: var(--muted); }

/* logo slot: initials, a crest, or the uploaded image */
.lg { display: grid; place-items: center; flex: none; overflow: hidden; background: var(--b); color: var(--b-on); }
.lg svg { width: 58%; height: 58%; }
.lg .mono { font-family: var(--serif); font-style: italic; line-height: 1; letter-spacing: -.02em; font-size: 15px; }
.lg.img { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(27,23,21,.08); }
.lg img { width: 84%; height: 84%; object-fit: contain; }

/* stage */
.cz-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-bottom: 20px; }
.cz-glow { position: absolute; z-index: 0; left: 50%; top: 56%; width: 780px; height: 780px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--b-soft2), rgba(255,255,255,0) 72%); pointer-events: none; }
.cz-tabs { position: relative; z-index: 2; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(27,23,21,.07); }
.cz-tabs button { all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #4A423E; transition: background-color .3s, color .3s; }
.cz-tabs button[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.cz-phone { position: relative; z-index: 1; width: 292px; padding: 9px; border-radius: 52px; background: #0B0A0A; box-shadow: inset 0 0 0 2px #2C2725, 0 70px 90px -34px rgba(40,20,10,.45), 0 24px 40px -18px rgba(40,20,10,.3); }
.cz-scr { position: relative; height: 600px; border-radius: 43px; overflow: hidden; background: #F7F5F3; display: flex; flex-direction: column; color: var(--ink); }
.cz-status { display: flex; justify-content: space-between; align-items: center; padding: 15px 26px 4px; font-size: 13px; }
.cz-status b { font-weight: 600; }
.cz-isl { position: absolute; left: 50%; top: 10px; width: 90px; height: 27px; margin-left: -45px; border-radius: 999px; background: #0B0A0A; }
.cz-sig { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
.cz-sig i { width: 3px; border-radius: 1px; background: var(--ink); }
.cz-sig i:nth-child(1) { height: 4px; } .cz-sig i:nth-child(2) { height: 6px; } .cz-sig i:nth-child(3) { height: 8px; } .cz-sig i:nth-child(4) { height: 10px; }
.cz-app { display: flex; align-items: center; gap: 10px; padding: 12px 16px 10px; }
.cz-hlogo { width: 40px; height: 40px; border-radius: 12px; }
.cz-hlogo .mono { font-size: 17px; }
.cz-app .cz-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cz-bell { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(27,23,21,.06); }
.cz-bell svg { width: 17px; height: 17px; }
.cz-bell i { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--b); box-shadow: 0 0 0 2px #FFFFFF; }
.cz-views { position: relative; flex: 1; }
.cz-v { position: absolute; inset: 0; padding: 4px 16px 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(-8px); transition: opacity .22s ease, transform .3s ease; pointer-events: none; }
.cz-v.on { opacity: 1; transform: none; transition: opacity .42s var(--ease) .2s, transform .6s var(--ease) .2s; }
.cz-hi { margin: 0; font-size: 13px; color: var(--muted); }
.cz-hero { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 22px; background: var(--b); color: var(--b-on); box-shadow: 0 18px 30px -18px var(--b); }
.cz-hero small { font-size: 12px; opacity: .85; }
.cz-big { display: flex; align-items: baseline; gap: 8px; }
.cz-big b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cz-big em { font: 600 11.5px var(--sans); padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.22); }
.cz-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 6px; }
.cz-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: currentColor; opacity: .32; }
.cz-bars i:last-child { opacity: .95; }
.cz-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cz-tiles > div { display: flex; flex-direction: column; gap: 1px; padding: 12px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(27,23,21,.05); }
.cz-tiles b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.cz-tiles small { font-size: 11.5px; color: var(--muted); }
.ti { flex: none; width: 30px; height: 30px; margin-bottom: 6px; border-radius: 10px; display: grid; place-items: center; background: var(--b-soft); color: var(--b-ink); }
.ti svg { width: 16px; height: 16px; }
.cz-cta { align-self: flex-start; margin-top: 8px; padding: 9px 16px; border-radius: 999px; background: var(--b-on); color: var(--b); font-size: 13px; font-weight: 600; }
.cz-cta.solid { margin: 0; background: var(--b); color: var(--b-on); }
.cz-list { list-style: none; margin: 0; padding: 0; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(27,23,21,.05); }
.cz-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #F1ECE9; font-size: 13.5px; }
.cz-list li:first-child { border-top: 0; }
.cz-list .ti { width: 28px; height: 28px; margin: 0; }
.cz-list b { flex: 1; font-weight: 600; }
.cz-list small { font-size: 12px; color: var(--muted); }
.cz-kid { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(27,23,21,.05); }
.cz-kid .av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--b-soft); color: var(--b-ink); font-size: 14px; font-weight: 600; }
.cz-kid div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cz-kid b { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-kid small { font-size: 12px; color: var(--muted); }
.cz-kid em { font: 600 11.5px var(--sans); color: var(--b-ink); background: var(--b-soft); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.cz-pay { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 18px; background: var(--b-soft); }
.cz-pay div { display: flex; flex-direction: column; }
.cz-pay small { font-size: 12px; color: var(--b-ink); }
.cz-pay b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.cz-tb { display: flex; justify-content: space-around; padding: 10px 14px 24px; background: rgba(255,255,255,.94); box-shadow: 0 -1px 0 rgba(27,23,21,.06); }
.cz-tb i { width: 42px; height: 32px; border-radius: 12px; display: grid; place-items: center; color: #A79D98; }
.cz-tb i svg { width: 20px; height: 20px; }
.cz-tb i.on { color: var(--b); background: var(--b-soft); }

/* floating proof: the home-screen icon and a push that carries the school's name */
.cz-icon { position: absolute; z-index: 2; left: calc(50% - 262px); top: 128px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 18px 12px; border-radius: 26px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 26px 40px -18px rgba(40,20,10,.35); rotate: -6deg; animation: float 6s ease-in-out infinite; }
.cz-appicon { width: 66px; height: 66px; border-radius: 18px; box-shadow: 0 12px 22px -10px var(--b); }
.cz-appicon .mono { font-size: 29px; }
.cz-icon small { max-width: 84px; font-size: 12px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-push { position: absolute; z-index: 2; right: calc(50% - 290px); bottom: 96px; width: 252px; display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 20px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 28px 44px -18px rgba(40,20,10,.4); rotate: 3deg; animation: float 7s ease-in-out -2s infinite; }
.cz-pi { width: 36px; height: 36px; border-radius: 10px; }
.cz-pi .mono { font-size: 15px; }
.cz-push > div { flex: 1; min-width: 0; }
.cz-push small { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); }
.cz-push small b { min-width: 0; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cz-push p { margin: 2px 0 0; font-size: 13px; line-height: 1.3; }
html.lite .cz-icon, html.lite .cz-push { animation: none; }

@media (max-width: 1023px) {
  .cz-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stage" "ctl"; row-gap: 34px; }
  .cz-head { text-align: center; justify-self: center; }
  .cz-sub { margin-inline: auto; }
  .cz-ctl { justify-self: center; width: 100%; max-width: 560px; }
}
@media (max-width: 600px) {
  .cz { padding-block: 84px 72px; }
  .cz-phone { width: 262px; padding: 8px; border-radius: 46px; }
  .cz-scr { height: 548px; border-radius: 38px; }
  .cz-icon { left: -4px; top: 272px; padding: 12px 12px 9px; border-radius: 22px; }
  .cz-appicon { width: 52px; height: 52px; border-radius: 15px; }
  .cz-appicon .mono { font-size: 23px; }
  .cz-icon small { max-width: 64px; font-size: 11px; }
  .cz-push { right: 0; bottom: 64px; width: 222px; }
  .cz-field input { font-size: 19px; }
  .cz-kid em { display: none; }
  .cz-kid small { white-space: nowrap; }
  .cz-logos { gap: 6px; }
  .cz-logos button { width: 44px; height: 44px; border-radius: 14px; }
  .cz-logos button .lg { width: 28px; height: 28px; border-radius: 9px; }
  .cz-sw button, .cz-pick { width: 34px; height: 34px; }
}

/* ================= lite tier: low-end phones, data saver, reduced motion ================= */
html.lite *, html.lite *::before, html.lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .nav { background: rgba(255,255,255,.97); }
html.lite .top.dark .nav { background: rgba(30,26,24,.97); }
html.lite .pnl { background: rgba(255,255,255,.97); }
html.lite .nt { background: rgba(255,255,255,.94); }
html.lite .live { background: rgba(24,20,19,.9); }
html.lite [data-xpand] { clip-path: none !important; }
html.lite .mk::after, html.lite .tile::before, html.lite .cursor { display: none; }
html.lite .phone { filter: none; }
html.lite .rot > span, html.lite.intro:not(.go) .h1 .ch, html.lite .wordmark .ch { filter: none !important; }
html.lite .lt { filter: none !important; }
html.lite .ribbon path { transition-duration: 1.2s !important; }
.ptrack { backface-visibility: hidden; }

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

/* ================= app sections that live inside the landing page: pricing, FAQ, demo booking ================= */
.lpx { position: relative; padding-block: 120px 40px; }
.lpx:last-child { padding-bottom: 130px; }
.lpx-head { max-width: 1360px; margin: 0 auto 44px; padding-left: var(--gut); padding-right: var(--gut-r); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.lpx-kick { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lpx-kick i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(233,118,79,.2); }
.lpx-head h2 { margin: 0; font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.lpx-head h2 em { color: var(--coral-ink); padding-right: .04em; }
.lpx-head > p { margin: 0; max-width: 34ch; font-size: 17px; color: var(--muted); text-wrap: pretty; }
.lpx-body { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }

.lpx-faq { max-width: 920px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.lpx-faq details { border-top: 1px solid var(--line); }
.lpx-faq details:last-child { border-bottom: 1px solid var(--line); }
.lpx-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 2px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -.02em; cursor: pointer; }
.lpx-faq summary::-webkit-details-marker { display: none; }
.lpx-faq summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(27,23,21,.08); transition: background-color .3s; }
.lpx-faq summary i::before, .lpx-faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s; }
.lpx-faq summary i::after { transform: rotate(90deg); }
.lpx-faq details[open] summary i { background: var(--ink); }
.lpx-faq details[open] summary i::before, .lpx-faq details[open] summary i::after { background: #FFFFFF; }
.lpx-faq details[open] summary i::after { transform: rotate(0deg); }
.lpx-faq details p { margin: -6px 0 26px; max-width: 62ch; font-size: 16px; color: var(--muted); }

@media (max-width: 760px) {
  .lpx { padding-block: 84px 24px; }
  .lpx:last-child { padding-bottom: 90px; }
  .lpx-head { margin-bottom: 30px; }
  .lpx-faq summary { padding-block: 20px; }
}
