/* Homebase landing, Ceria (owner, 17 Nov 2026): light, white cards, lime for the one big moment. */
:root {
  --bg: #F5F7F2;
  --card: #FFFFFF;
  --raised: #EEF1EA;
  --text: #16181D;
  --muted: #5B6170;
  --line: rgba(20, 24, 16, .08);
  --ink: #142400;
  --lime: #A3E635;
  --lime-l: #BEF264;
  --lime-d: #84CC16;
  --lime-ink: #4D7C0F;
  --lavender: #EDE4FF;
  --sky: #DCEFFF;
  --pink: #FFE0EC;
  --yellow: #FFF1A8;
  --mint: #D3F5E3;
  --peach: #FFE6D5;
  --sos: #E5484D;
  --r-lg: 32px;
  --r-md: 22px;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 17px/1.55 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--lime-ink); font-weight: 700; text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--lime-d); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3 { margin: 0; color: var(--text); letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; font-weight: 800; max-width: 17ch; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800; }
p { margin: 0; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad); background: rgba(245, 247, 242, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.get { background: var(--ink); color: #fff; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
@media (max-width: 860px) { .top { gap: 10px; } .get { padding: 9px 13px; font-size: 14px; } .top nav { display: none; } .top .lang { margin-left: auto; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 18px;
  background: linear-gradient(135deg, var(--lime-l), var(--lime-d)); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 24px -12px rgba(77, 124, 15, .55);
}
.btn.ghost { background: var(--card); box-shadow: none; border: 1.5px solid var(--line); }
.btn.big { min-height: 62px; padding: 0 34px; font-size: 19px; }

section { padding: clamp(80px, 11vw, 150px) var(--pad); }
.sec-head { max-width: var(--max); margin: 0 auto 48px; display: grid; gap: 18px; }
.sec-head p { max-width: 58ch; color: var(--muted); font-size: 18px; }

/* Phone frame */
.phone { position: relative; width: 100%; aspect-ratio: 600 / 1300; border-radius: 44px; background: #0E120B; padding: 10px; box-shadow: 0 40px 80px -40px rgba(20, 36, 0, .45); }
.phone .screen { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: top; border-radius: 34px; }

/* Language switcher (EN / BM) */
.top .lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(20, 36, 0, .07); }
.top .lang a { padding: 6px 11px; border-radius: 999px; font-weight: 700; font-size: 13px; color: var(--muted); text-decoration: none; }
.top .lang a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -4px rgba(20, 36, 0, .4); }

/* ---------- Paste board: tiles of different sizes ---------- */
.board { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { margin: 0; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; position: relative; }
.tile p { color: var(--muted); font-size: 16px; margin-top: 6px; }
.tile .obj { width: 72px; height: 72px; flex: none; }
.tile .crop { border-radius: 26px 26px 0 0; overflow: hidden; position: relative; }
.tile .crop img { width: 100%; height: auto; }
/* The poster tile stands tall on the left; three short tiles stack beside it; two screens below. */
.t-photo { grid-column: 1 / span 3; grid-row: 1 / span 2; background: var(--card); }
.t-photo .crop { margin: 8px auto -26px; width: 74%; height: 440px; border: 10px solid #0E120B; border-bottom: 0; border-radius: 34px 34px 0 0; }
.t-scan, .t-clinic { grid-column: 4 / span 3; flex-direction: row; align-items: center; gap: 20px; }
.t-scan { grid-row: 1; background: var(--mint); }
.t-clinic { grid-row: 2; background: var(--sky); }
.t-change, .t-many { grid-column: span 3; }
.t-change { background: var(--peach); }
.t-many { background: var(--lavender); }
.t-change .crop, .t-many .crop { margin: 6px 0 -26px; height: 360px; box-shadow: 0 -10px 30px -20px rgba(20, 36, 0, .35); }
.t-change .crop img, .t-many .crop img { margin-top: -18%; }
@media (max-width: 900px) {
  .board { grid-template-columns: 1fr; }
  .t-photo, .t-scan, .t-clinic, .t-change, .t-many { grid-column: 1; grid-row: auto; }
  .t-scan, .t-clinic { flex-direction: column; align-items: flex-start; }
}

/* Not only school: four cards, each with the real screen. */
.groups-head { max-width: var(--max); margin: 72px auto 22px; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; }
.groups { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-card { margin: 0; border-radius: var(--r-lg); padding: 22px 22px 0; background: var(--g); display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.g-card h4 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.g-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.g-card .crop { margin-top: auto; height: 330px; border: 8px solid #0E120B; border-bottom: 0; border-radius: 30px 30px 0 0; overflow: hidden; }
.g-card .crop img { width: 100%; height: auto; display: block; }
@media (max-width: 1000px) { .groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .groups { grid-template-columns: 1fr; } .g-card .crop { height: 300px; } }

/* ---------- Widgets: the home screen, drawn from the real previews (owner, 17 Nov 2026) ---------- */
.widgets { background: var(--bg); }
.wg-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 90px); align-items: center; }
.wg-copy h2 { font-size: clamp(32px, 3.6vw, 48px); letter-spacing: -.03em; max-width: 14ch; }
.wg-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.wg-list li { display: grid; gap: 2px; padding-left: 18px; border-left: 3px solid var(--lime-d); }
.wg-list span { color: var(--muted); }
.wg-phone { width: 100%; max-width: 380px; justify-self: center; border-radius: 46px; background: #0E120B; padding: 12px; box-shadow: 0 40px 80px -40px rgba(20, 36, 0, .45); }
.wg-screen { border-radius: 36px; overflow: hidden; padding: 30px 14px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: linear-gradient(165deg, #7BA7C7 0%, #B7C9A8 55%, #E6D3A3 100%); }
.wg-screen img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .18)); }
.wg-screen .wide { grid-column: span 2; }
.wg-clock { grid-column: span 2; color: #fff; text-align: center; font-weight: 700; font-size: 44px; letter-spacing: -.02em; text-shadow: 0 2px 10px rgba(0, 0, 0, .2); margin-bottom: 4px; }
.wg-clock small { display: block; font-size: 13px; font-weight: 600; }
@media (max-width: 860px) { .wg-in { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */
.priv { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.promises { margin: 0; display: grid; gap: 0; }
.promises div { padding: 20px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; gap: 16px; }
.promises dt { font-weight: 800; }
.promises dd { margin: 0; color: var(--muted); }
.priv .more { grid-column: 2; }
@media (max-width: 860px) { .priv { grid-template-columns: 1fr; } .priv .more { grid-column: 1; } .promises div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Pricing: one free card, no prices yet (owner, 17 Nov 2026) ---------- */
.pricing { text-align: center; }
.free-card { max-width: 560px; margin: 0 auto; text-align: left; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 34px 36px 32px; box-shadow: 0 40px 80px -46px rgba(20, 36, 0, .7); }
.free-card h2 { color: #fff; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.02em; }
.free-card .amt { font-size: 64px; font-weight: 800; letter-spacing: -.04em; color: var(--lime); line-height: 1; margin-top: 14px; }
.free-card .per { display: block; color: #C9D3BC; margin-top: 6px; }
.free-card p { color: #E4EBDA; margin-top: 16px; font-size: 17px; }
.free-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.free-card li { position: relative; padding-left: 30px; font-weight: 600; }
.free-card li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 12px; border: solid var(--lime); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pricing .later { max-width: 560px; margin: 18px auto 0; color: var(--muted); font-size: 15px; }
.pricing .iphone { max-width: 560px; margin: 28px auto 0; color: var(--muted); }

/* ---------- Get started ---------- */
.end { text-align: center; padding-bottom: 120px; }
.end h2 { margin: 0 auto; font-size: clamp(40px, 6vw, 76px); max-width: none; }
.steps { list-style: none; padding: 0; margin: 46px auto 44px; max-width: var(--max); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; text-align: left; }
.steps li { counter-increment: s; background: var(--card); border-radius: var(--r-md); padding: 24px; display: grid; gap: 6px; }
.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-left: 18px; font-weight: 600; }

/* ---------- Hero: calm ---------- */
.hero { padding: 0; }
.hero-in { min-height: 100svh; max-width: var(--max); margin: 0 auto; padding: 110px var(--pad) 60px; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 74px); line-height: .98; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .now { display: inline-block; background: linear-gradient(135deg, var(--lime-l), var(--lime-d)); color: var(--ink); padding: 0 .18em .04em; border-radius: .22em; margin-top: .12em; white-space: nowrap; }
.lead { margin-top: 26px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 48ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 14px; }
.hero-art { position: relative; justify-self: center; width: min(320px, 70vw); }
.hero-art .float { position: absolute; width: 84px; animation: bob 6s ease-in-out infinite; }
.hero-art .f-a { left: -70px; top: 12%; }
.hero-art .f-b { right: -64px; top: 30%; animation-delay: -1.5s; }
.hero-art .f-c { left: -54px; bottom: 22%; animation-delay: -3s; width: 66px; }
.hero-art .f-d { right: -40px; bottom: 8%; animation-delay: -4.5s; width: 62px; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(3deg); } }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; padding-top: 100px; } .hero-art { width: 240px; margin-top: 20px; } }

/* ---------- Tour film ---------- */
.tour { padding-top: 20px; }
.tour .frame { max-width: var(--max); margin: 0 auto; position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0E120B; box-shadow: 0 40px 80px -50px rgba(20, 36, 0, .6); }
.tour video { width: 100%; height: auto; display: block; }
.tour .sound { position: absolute; right: 18px; bottom: 18px; border: 0; border-radius: 999px; padding: 10px 16px; background: rgba(255, 255, 255, .92); font: 700 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.tour-cap { max-width: var(--max); margin: 16px auto 0; color: var(--muted); }

/* ---------- The story: one stage, scenes in turn ---------- */
.story { padding: 0; background: var(--card); --k: .9; }
.stage { position: relative; }
.scene { position: relative; overflow: hidden; min-height: calc(900px * var(--k) + 60px); }
.scene .bg { position: absolute; inset: 0; }
.scene .cap { position: absolute; left: max(var(--pad), calc((100vw - 1240px) / 2)); top: 13%; width: min(420px, 32vw); z-index: 6; }
.scene .cap time { display: inline-block; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--lime); margin-bottom: 14px; }
.scene .cap h2 { max-width: 12ch; }
.scene .cap h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.05; letter-spacing: -.03em; }
.scene .cap p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.scene .cap .btn { margin-top: 26px; }
.scene.dark .cap h2, .scene.dark .cap h3 { color: #fff; }
.scene.dark .cap p { color: #CFC8F0; }
/* Wide screens without motion show each scene's last caption; phones show every caption, in order. */
@media (min-width: 861px) { html:not(.story-live) .scene .cap:not(:last-of-type) { display: none; } }

/* Each scene's art: an 840 x 900 box, scaled by --k (set by the script from the screen size). */
.art { position: absolute; top: calc(50% + 30px); right: max(24px, calc((100vw - 1300px) / 2)); width: 840px; height: 900px; transform: translateY(-50%) scale(var(--k)); transform-origin: right center; }
.art > *, .panel > * { position: absolute; }
.art img { display: block; }
/* Every object stands on something: one soft contact shadow. */
.art > img, .panel > img, .it img { filter: drop-shadow(0 16px 10px rgba(20, 36, 0, .16)); }
.dark .art > img { filter: drop-shadow(0 16px 12px rgba(0, 0, 0, .35)); }

/* Phones: a bezel around a real screen; pushes slide down inside the screen. */
.ph { padding: 7px; border-radius: 34px; background: #0E120B; box-shadow: 0 30px 60px -30px rgba(20, 36, 0, .55); }
.ph > small { position: absolute; left: 0; right: 0; bottom: -28px; text-align: center; font-weight: 700; font-size: 14px; color: var(--muted); }
.dark .ph > small { color: #CFC8F0; }
.scr { position: relative; aspect-ratio: 600 / 1300; border-radius: 28px; overflow: hidden; background: #F5F7F2; }
.scr .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.push { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 8; background: #fff; border-radius: 16px; padding: 10px 12px; font-size: 12.5px; line-height: 1.35; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .04); display: grid; gap: 2px; visibility: hidden; }
.push b { font-size: 11px; color: var(--lime-ink); }
.ph.sm { width: 118px; padding: 5px; border-radius: 22px; }
.ph.sm .scr { border-radius: 18px; }
.ph.sm .push { font-size: 9.5px; padding: 7px 8px; border-radius: 11px; left: 5px; right: 5px; top: 30px; }
.ph.sm .push b { font-size: 8.5px; }
.scr.lock { background: linear-gradient(170deg, #3B3466, #1E1B3A); }
.scr.lock .clock { position: absolute; left: 0; right: 0; top: 10px; text-align: center; color: #fff; font-weight: 800; font-size: 15px; }
.mini { display: grid; justify-items: center; gap: 8px; }
.mini small { color: #CFC8F0; font-weight: 700; font-size: 13px; }
.chip { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 18px; padding: 10px 16px 10px 12px; font-weight: 800; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); white-space: nowrap; z-index: 7; }
.chip img { width: 34px; }
.chip small { display: block; font-weight: 600; font-size: 13px; }
.chip.ink { background: var(--ink); color: #fff; padding: 14px 18px 14px 14px; }
.chip.ink small { color: var(--lime-l); }
.wallpic { border-radius: 18px; border: 8px solid #fff; background: #1E1B3A; overflow: hidden; display: grid; place-items: center; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .5); }
.wallpic img { width: 100%; height: 100%; object-fit: cover; }
.dark .wallpic { border-color: #5A5191; }
.wallpic.sky { background: #FFD8A8; }
.wallpic.night { background: linear-gradient(180deg, #1E1B3A, #3B3466); }
.wallpic.night img { width: 80px; height: auto; }
.face { display: inline-grid; justify-items: center; gap: 4px; }
.face i { width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-weight: 800; font-size: 26px; display: grid; place-items: center; border: 4px solid #fff; box-shadow: 0 14px 28px -16px rgba(20, 36, 0, .55); }
.face b { font-size: 14px; }
.face.sm i { width: 38px; height: 38px; font-size: 15px; border-width: 3px; }
.ring { width: 220px; height: 220px; border-radius: 50%; border: 3px solid var(--lime-d); background: rgba(163, 230, 53, .16); transform: translate(-50%, -50%); }
.hl { position: absolute; border-radius: 12px; box-shadow: 0 0 0 3px var(--lime-d), 0 0 0 9px rgba(163, 230, 53, .3); }
.toast { position: absolute; left: 0; right: 0; margin: 0 auto; width: max-content; bottom: 70px; background: #2E2E2E; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; visibility: hidden; z-index: 6; }

/* 0. Intro */
.sc-intro .bg { background: radial-gradient(120% 80% at 75% 20%, #ECFCCB 0%, #F5F7F2 60%); }
.sc-intro .apps { inset: 0; }
.app { position: absolute; padding: 12px 16px; border-radius: 16px; background: #fff; font-weight: 700; font-size: 16px; box-shadow: 0 12px 24px -16px rgba(20, 36, 0, .5); transform: rotate(var(--r)); }
.ask { position: absolute; background: var(--ink); color: #fff; padding: 9px 14px; border-radius: 16px 16px 16px 4px; font-size: 15px; font-weight: 700; }
.sc-intro .faces { display: flex; justify-content: center; gap: 22px; }
.hb-icon { border-radius: 24px; box-shadow: 0 24px 50px -20px rgba(20, 36, 0, .5); visibility: hidden; }

/* 1–4. Notice */
.sc-notice .bg { background: linear-gradient(180deg, #24264A 0%, #3B3466 62%, #4A3B6A 62%, #3F3260 100%); }
.chat { position: absolute; inset: 0; background: #EFEAE2; padding: 0 10px; display: flex; flex-direction: column; gap: 8px; }
.chat-top { margin: 0 -10px 4px; padding: 16px 12px 10px; background: #2E5E4E; color: #fff; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; font-size: 15px; }
.chat-top .grp { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: #FFD98A; color: #2E2E2E; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.chat-top small { opacity: .75; font-size: 11px; }
.msg { background: #fff; border-radius: 4px 14px 14px 14px; padding: 7px 10px; font-size: 12.5px; line-height: 1.45; width: 86%; position: relative; }
.msg .t { display: block; text-align: right; font-size: 10px; color: var(--muted); }
.msg.notice { transform-origin: left center; }
.menu { position: absolute; left: 30%; top: calc(100% + 6px); display: grid; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); overflow: hidden; font-size: 13px; font-weight: 600; visibility: hidden; z-index: 3; }
.menu span { padding: 9px 18px; }
.menu .on { background: #E7F7D0; font-weight: 800; }

/* 5. Morning kitchen */
.sc-morning .bg { background: linear-gradient(180deg, #FFF1D6 0%, #FFE6D5 66%, #F3D2B4 66%, #EBC6A4 100%); }
.table { height: 30px; border-radius: 10px; background: #C98F5C; box-shadow: 0 30px 0 -12px #A8713F, inset 0 6px 0 #D9A46F; }
.table::before, .table::after { content: ""; position: absolute; top: 30px; width: 22px; height: 210px; background: #A8713F; border-radius: 0 0 8px 8px; }
.table::before { left: 40px; } .table::after { right: 40px; }
.it { display: grid; justify-items: center; }
.tag { position: absolute; top: 155px; white-space: nowrap; background: #fff; border-radius: 12px; padding: 6px 10px 6px 30px; font-weight: 800; font-size: 13px; box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .5); }
.tag small { display: block; font-weight: 600; font-size: 11px; color: var(--muted); }
.tag::before { content: ""; position: absolute; left: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; box-sizing: border-box; background: #fff; border: 2px solid #B4BAAD; }
.tag .ck { position: absolute; left: 8px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #1F5B33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23DCFCE7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.it.left .tag { box-shadow: 0 0 0 2px #F59E0B, 0 10px 20px -14px rgba(0, 0, 0, .5); }

/* 6–7. Run: the real map, full bleed */
.sc-run .bg { background: #ECEEF0; }
.mapwrap { position: absolute; inset: 0; }
.mapwrap > .pin, .mapwrap > .car, .mapwrap > .ring { position: absolute; left: 0; top: 0; }
.mapimg, .route { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rt-under { stroke: rgba(132, 204, 22, .25); stroke-width: 18; }
.rt { stroke: var(--lime-d); stroke-width: 8; }
.sc-run .pin { display: grid; justify-items: center; transform: translate(-50%, -88%); z-index: 3; }
.sc-run .pin img { width: 78px; }
.sc-run .pin span { background: #fff; border-radius: 10px; padding: 4px 10px; font-weight: 800; font-size: 13px; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .4); }
.sc-run .ring { z-index: 2; }
.car { z-index: 4; width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.car img { width: 84px; transform: rotate(var(--rot, 0deg)) scaleX(var(--flip, 1)); }
.car .riders { position: absolute; left: 50%; top: -34px; transform: translateX(-50%); display: flex; }
.car .riders .face + .face { margin-left: -10px; }
.dist { left: 50%; bottom: 6%; transform: translateX(-50%); background: #fff; border-radius: 18px; padding: 10px 20px; display: grid; justify-items: center; box-shadow: 0 20px 40px -26px rgba(20, 36, 0, .5); z-index: 5; position: absolute; }
.dist b { font-size: 26px; } .dist small { color: var(--muted); }
.credit { position: absolute; right: 10px; bottom: 6px; font-size: 11px; color: #7A818C; background: rgba(255, 255, 255, .7); padding: 2px 6px; border-radius: 6px; z-index: 5; }
.sc-run .cap { padding: 22px 26px; margin: -22px 0 0 -26px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 26px; }
.runphone { position: absolute; right: max(24px, calc((100vw - 1300px) / 2)); bottom: 7%; width: 210px; z-index: 6; }

/* 8. Work: two desks */
.sc-work .bg { background: #F4F7FB; }
.sc-work .hl { left: 3%; width: 94%; top: 50.3%; height: 8.6%; }
.panel { top: 40px; width: 405px; height: 800px; border-radius: 34px; overflow: hidden; }
.panel .who { left: 22px; top: 22px; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; background: #fff; padding: 6px 14px 6px 6px; border-radius: 999px; }
.panel .desk { left: 0; right: 0; top: 700px; bottom: 0; background: rgba(0, 0, 0, .08); }
.agenda { background: #fff; padding: 10px 9px; font-size: 10.5px; }
.ag-top .seg { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 600; }
.ag-top .seg b { background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px; }
.days { display: flex; justify-content: space-between; margin: 12px 4px; color: var(--muted); }
.days span { display: grid; justify-items: center; font-size: 9px; padding: 4px 6px; border-radius: 10px; }
.days b { font-size: 13px; color: var(--text); }
.days .on { background: var(--lime-d); }
.ag-h { font-weight: 800; font-size: 13px; margin: 6px 2px; }
.ag-row { display: grid; grid-template-columns: 48px 28px 1fr; align-items: center; gap: 6px; background: #F5F7F2; border-radius: 12px; padding: 8px 6px; margin-bottom: 7px; }
.ag-row time { font-weight: 700; color: var(--muted); font-size: 9.5px; }
.ag-row img { width: 26px; }
.ag-row b { display: block; font-size: 10.5px; line-height: 1.2; }
.ag-row small { color: var(--muted); font-size: 9px; }
.ag-row .face.sm i { width: 26px; height: 26px; font-size: 11px; border-width: 2px; }
.ag-row.busy { box-shadow: 0 0 0 2px var(--lime-d); }
.travel { left: 300px; top: 400px; background: var(--ink); color: #fff; padding: 10px 16px; display: grid; }
.travel span { grid-area: 1 / 1; }

/* 9. Shop */
.sc-shop .bg { background: linear-gradient(180deg, #D3F5E3 0%, #EAFBF1 72%, #D9E4DE 72%, #CCD8D1 100%); }
.sign { background: #fff; border-radius: 12px; padding: 6px 12px; font-weight: 800; font-size: 15px; box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .5); }
.sign.big { display: flex; align-items: center; gap: 12px; font-size: 30px; padding: 14px 26px; border-radius: 22px; background: #E5484D; color: #fff; letter-spacing: -.02em; }
.sign.big img { width: 46px; filter: brightness(0) invert(1); }
.aisle, .checkout { position: absolute; inset: 0; }
html:not(.motion) .aisle { display: none; }
.aisle > *, .checkout > * { position: absolute; }
.aisle-sign { left: 120px; top: 120px; background: #1F5B33; color: #fff; font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 12px; z-index: 2; }
.unit { left: 0; top: 150px; width: 560px; height: 470px; border-radius: 22px 22px 0 0; background: linear-gradient(180deg, #F4FBF7, #E2F3E9); box-shadow: inset 0 0 0 10px #B9DCC6; }
.unit i { position: absolute; left: 10px; right: 10px; height: 14px; background: #9CCFB1; border-radius: 4px; box-shadow: 0 8px 0 -3px #86BC9C; }
.prod { filter: drop-shadow(0 6px 4px rgba(20, 36, 0, .14)); }
.counter { left: -30px; top: 560px; width: 590px; height: 240px; border-radius: 18px 18px 0 0; background: #EEF1F4; box-shadow: inset 0 -26px 0 #DDE2E8; }
.counter b { position: absolute; left: 30px; right: 0; top: 90px; height: 54px; background: #E5484D; color: #fff; font-size: 28px; letter-spacing: .3em; display: grid; place-items: center; }
.belt { position: absolute; left: 30px; right: 30px; top: -18px; height: 36px; border-radius: 10px; background: #2B2F36; overflow: hidden; }
.belt i { position: absolute; inset: 8px 0; background: repeating-linear-gradient(90deg, #3C424B 0 26px, #2B2F36 26px 52px); }
.pos { left: 400px; top: 380px; width: 140px; height: 190px; }
.pos-scr { position: absolute; left: 0; right: 0; top: 0; height: 92px; border-radius: 14px; background: #111827; color: var(--lime); display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 6px #374151; }
.pos-scr small { color: #9CA3AF; font-size: 12px; } .pos-scr b { font-size: 26px; }
.pos i { position: absolute; left: 60px; top: 92px; width: 20px; height: 90px; background: #9CA3AF; }
.shelf { height: 22px; border-radius: 8px; background: #9CCFB1; box-shadow: 0 16px 0 -6px #86BC9C; }
.shelf::before, .shelf::after { content: ""; position: absolute; top: 16px; width: 14px; height: 260px; background: #86BC9C; border-radius: 0 0 6px 6px; }
.shelf::before { left: 20px; } .shelf::after { right: 20px; }
.tk { position: absolute; left: 8.2%; width: 6.4%; aspect-ratio: 1; margin-top: -3.2%; border-radius: 50%; background: #1F5B33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23DCFCE7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.tk::after { content: ""; position: absolute; left: 150%; top: 50%; width: var(--w, 400%); height: 1.5px; margin-top: -.75px; background: #8A919B; transform-origin: left; transform: scaleX(var(--s, 1)); }
.sc-shop .push { z-index: 7; }
.budget { width: 300px; background: var(--ink); color: #fff; border-radius: 20px; padding: 16px 18px; display: grid; gap: 8px; z-index: 6; }
.budget span { color: var(--lime-l); font-size: 13px; font-weight: 700; }
.budget b { font-size: 20px; }
.budget em { font-style: normal; }
.budget i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.budget u { display: block; height: 100%; width: 48%; background: var(--lime); }

/* 11. SOS on the road */
.sc-sos .bg { background: linear-gradient(180deg, #FFD9B8 0%, #FFEBD9 55%, #C9CFD6 55%, #B9C0C8 100%); }
.sc-sos .alarm { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(229, 72, 77, .7), rgba(229, 72, 77, 0) 70%); opacity: 0; }
.road { left: -600px; right: -40px; top: 680px; height: 120px; background: #4B5563; border-top: 6px solid #9CA3AF; }
.road i { position: absolute; left: 0; right: 0; top: 54px; height: 6px; background: repeating-linear-gradient(90deg, #F8FAFC 0 50px, transparent 50px 90px); }
.hazard { left: 70px; top: 560px; width: 160px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(251, 146, 60, .9), transparent 70%); opacity: 0; }
.holdscr { background: #fff; display: grid; justify-items: center; align-content: center; gap: 10px; }
.holdscr > * { place-self: center; }
.holdscr small { font-weight: 700; color: var(--muted); font-size: 12px; }
.holdscr svg { width: 70%; transform: rotate(-90deg); grid-area: 2 / 1; }
.holdscr circle { fill: none; stroke: #FDE2E2; stroke-width: 9; }
.holdscr .fill { stroke: #E5484D; stroke-dasharray: 327; stroke-dashoffset: 0; stroke-linecap: round; }
.sosbtn { grid-area: 2 / 1; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #E5484D; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: 0 10px 24px -10px #E5484D; }
.thumb { grid-area: 2 / 1; width: 40%; aspect-ratio: 1; border-radius: 50%; background: rgba(20, 24, 29, .18); opacity: 0; }
.holdscr b { color: #B4232A; font-size: 13px; }
.ringing small { color: var(--text); }
.calm { position: absolute; inset: 0; background: #F0FBE4; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; visibility: hidden; }
.calm i { width: 44px; height: 44px; border-radius: 50%; background: #1F5B33 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23DCFCE7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.calm b { font-size: 14px; color: #1F5B33; } .calm small { font-size: 10px; color: var(--muted); }

/* 12. Irfan's room */
.sc-evening .bg { background: linear-gradient(180deg, #E9E1FF 0%, #F1EAFF 68%, #D9CCF5 68%, #CDBEEE 100%); }
.paper { width: 260px; padding: 26px 20px 20px; background: #FFFDF5; border-radius: 6px; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .5); transform: rotate(-3deg); display: flex; flex-wrap: wrap; gap: 8px; }
.paper b { width: 100%; font-size: 15px; margin-bottom: 4px; }
.paper span { padding: 6px 12px; border-radius: 8px; background: #EEF2FF; font-weight: 800; }
.paper .pj { background: var(--lime); }
.paper .pinned { position: absolute; left: 50%; top: -22px; width: 44px; margin-left: -22px; }
.kidbar { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 4; background: #fff; border-radius: 18px; padding: 8px 6px; display: flex; justify-content: space-around; align-items: center; font-size: 9.5px; font-weight: 700; color: var(--muted); box-shadow: 0 -6px 20px -12px rgba(0, 0, 0, .3); }
.kidbar .plus { width: 30px; height: 30px; border-radius: 10px; background: var(--lime-d); color: #fff; display: grid; place-items: center; font-size: 18px; }
.kidbar .locked { position: relative; display: grid; justify-items: center; color: #A3A8B0; }
.kidbar .locked img { width: 20px; filter: grayscale(1); opacity: .6; }
.kidbar .locked .lk { position: absolute; width: 13px; right: -5px; top: 9px; filter: none; opacity: 1; }
.sc-evening .toast { bottom: 54px; font-size: 9.5px; padding: 6px 10px; }
.kidscr { background: #F5F7F2; padding: 10px 8px; }
.kid-h { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 12px; }
.kid-h .face.sm i { width: 24px; height: 24px; font-size: 10px; border-width: 2px; }
.kid-card { margin-top: 10px; background: #fff; border-radius: 12px; padding: 8px; display: grid; gap: 2px; }
.kid-card small { font-size: 8.5px; color: var(--muted); } .kid-card b { font-size: 10.5px; }
.kidscr .kidbar { left: 4px; right: 4px; bottom: 4px; padding: 6px 2px; font-size: 7px; border-radius: 12px; }
.kidscr .kidbar .plus { width: 22px; height: 22px; font-size: 13px; border-radius: 7px; }
.kidscr .kidbar .locked img { width: 15px; } .kidscr .kidbar .locked .lk { width: 10px; top: 7px; }

/* 13. Bills on the sofa */
.sc-bills .bg { background: linear-gradient(180deg, #2B2747 0%, #3A3360 62%, #4A3B6A 62%, #3F3260 100%); }
.hl.tnb { left: 4.5%; width: 43.5%; top: 56.8%; height: 19.8%; visibility: hidden; }
.chip.pasted { background: var(--lime); font-size: 14px; }
.sync { left: 645px; top: 360px; width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--lime); transform: translate(-50%, -50%); opacity: 0; }

/* 14. Night */
.sc-night .bg { background: linear-gradient(180deg, #121530 0%, #232650 70%, #1B1E3D 70%, #15182F 100%); }
.stars { position: absolute; inset: 0 0 30% 0; background-image: radial-gradient(1.5px 1.5px at 12% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 15%, #fff, transparent), radial-gradient(1px 1px at 70% 35%, #fff, transparent), radial-gradient(1.5px 1.5px at 85% 22%, #fff, transparent), radial-gradient(1px 1px at 45% 55%, #fff, transparent), radial-gradient(1px 1px at 92% 52%, #fff, transparent), radial-gradient(1.5px 1.5px at 22% 60%, #fff, transparent); opacity: .8; }
.homecard { width: 330px; background: linear-gradient(135deg, var(--lime-l), var(--lime-d)); border-radius: 26px; padding: 18px 22px; color: var(--ink); display: grid; gap: 2px; box-shadow: 0 30px 60px -30px rgba(163, 230, 53, .6); }
.homecard small { justify-self: start; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.homecard b { font-size: 46px; letter-spacing: -.03em; } .homecard b em { font-size: 18px; font-style: normal; }
.homecard span { font-weight: 700; font-size: 17px; }
.homecard .who3 { display: flex; margin-top: 8px; font-style: normal; } .homecard .who3 .face + .face { margin-left: -8px; }
.lamp-post { width: 8px; height: 230px; background: #5A5191; border-radius: 4px; }
.lamp-post i { position: absolute; left: -16px; top: -18px; width: 40px; height: 26px; border-radius: 12px 12px 6px 6px; background: #FFD98A; box-shadow: 0 20px 90px 30px rgba(255, 217, 138, .35); }
.home-big { width: 340px; }
.home-big img { width: 100%; }
.home-big .glow { position: absolute; left: 57%; top: 46%; width: 17%; height: 14%; border-radius: 6px; background: #1E2A4A; }
.walkers { left: 0; right: 0; top: 770px; height: 60px; display: flex; justify-content: center; gap: 10px; }
.walkers .walker { position: relative; }
.walkers .walker i { width: 54px; height: 54px; font-size: 21px; }
.twinkle { animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .35; transform: scale(.85); } }

.progress { display: none; }
html.story-live .progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(20, 36, 0, .08); z-index: 10; }
.progress i { display: block; height: 100%; width: 0; background: var(--lime-d); }

/* Live (wide screens, motion on): the stage pins and the scenes play in place. */
html.story-live .stage { height: 100vh; height: 100svh; overflow: hidden; }
html.story-live .scene { position: absolute; inset: 0; min-height: 0; }

/* Phones: the caption, then the scene's art scaled to the width. */
@media (max-width: 860px) {
  .scene { min-height: 0; padding-bottom: 40px; display: flex; flex-direction: column; }
  .scene .cap { order: -1; position: relative; left: auto; top: auto; width: auto; padding: 56px var(--pad) 20px; }
  .scene .cap + .cap { padding-top: 4px; }
  .scene .cap + .cap time { margin-bottom: 10px; }
  .scene .cap + .cap h3 { font-size: 24px; }
  .art { position: relative; top: auto; right: auto; margin-left: 16px; transform: scale(var(--k)); transform-origin: top left; margin-bottom: calc(900px * (var(--k) - 1)); }
  .sc-run .cap { margin: 0; border-radius: 0; background: none; backdrop-filter: none; }
  .mapwrap { position: relative; height: 520px; }
  .runphone { right: 16px; bottom: 56px; width: 120px; }
}

/* Phones, live (owner, 17 Nov 2026: "work same as the web", and the map scaled down): the caption at
   the top, crossfading like the web; the art scaled to fit underneath; the map keeps its own shape. */
@media (max-width: 860px) {
  html.story-live .scene { display: block; padding: 0; }
  html.story-live .scene .cap, html.story-live .scene .cap + .cap { position: absolute; left: var(--pad); right: var(--pad); top: 76px; width: auto; padding: 0; margin: 0; }
  html.story-live .scene .cap h2 { font-size: 30px; }
  html.story-live .scene .cap h3, html.story-live .scene .cap + .cap h3 { font-size: 24px; }
  html.story-live .scene .cap p { font-size: 15px; margin-top: 8px; }
  html.story-live .scene .cap time { margin-bottom: 8px; font-size: 12px; }
  html.story-live .art { position: absolute; top: auto; right: auto; left: 50%; bottom: 12px; margin: 0; transform: translateX(-50%) scale(var(--k)); transform-origin: 50% 100%; }
  html.story-live .mapwrap { position: absolute; inset: auto 0 auto 0; top: 31%; height: auto; aspect-ratio: 1600 / 1000; }
  html.story-live .sc-run .pin img { width: 40px; }
  html.story-live .sc-run .pin span { font-size: 10px; padding: 2px 6px; }
  html.story-live .car { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  html.story-live .car img { width: 48px; }
  html.story-live .car .riders { top: -22px; transform: translateX(-50%) scale(.6); }
  html.story-live .dist { left: 16px; bottom: -70px; transform: none; justify-items: start; padding: 8px 14px; border-radius: 14px; }
  html.story-live .dist b { font-size: 18px; } html.story-live .dist small { font-size: 11px; }
  /* The web's phone at its own proportions, made smaller as a whole (owner: "the phone look weird and the notification too cramp"). */
  html.story-live .runphone { right: 14px; bottom: 14px; width: 210px; transform: scale(.56); transform-origin: 100% 100%; }
  html.story-live .rt-under { stroke-width: 26; } html.story-live .rt { stroke-width: 12; }
}

@media (prefers-reduced-motion: reduce) { .hero-art .float { animation: none; } }
