/* Orrery: site styles
   1. Tokens & base      5. Hero               9. Device hub / loop
   2. Sky (lights)       6. Pillars & chapters 10. ROI, sports, Canada
   3. Type & motion      7. Feature rows       11. Pages, forms, footer
   4. Chrome & buttons   8. Product UI kit     12. Responsive & reduced motion */

/* ── 1. Tokens & base ─────────────────────────────────────────── */
:root {
  --night0: #060B1F;
  --night1: #0B1433;
  --night2: #0E1D4A;
  --green: #3DFFB5;
  --cyan: #22D3EE;
  --violet: #A78BFA;
  --grad: linear-gradient(90deg, #3DFFB5, #22D3EE 48%, #A78BFA);
  --grad-deep: linear-gradient(90deg, #059669, #0284C7 50%, #7C3AED);
  --grad-red: linear-gradient(90deg, #FF2D46, #FF7A8C 55%, #FFE1E6);
  --red: #FF2D46;
  --tx: #EEF3FF;
  --dim: rgba(220, 230, 255, .70);
  --faint: rgba(220, 230, 255, .46);
  --line: rgba(255, 255, 255, .14);
  --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .045));
  --glass-bd: 1px solid rgba(255, 255, 255, .17);
  --glass-sh: 0 40px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .28);
  --light-bg: #F5F4FF;
  --ink: #0B1433;
  --ink-dim: #475069;
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ui: "Instrument Sans", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: 24px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --back: cubic-bezier(.34, 1.56, .64, 1);
  --hdr: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  background: var(--night0);
  color: var(--tx);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(61, 255, 181, .35); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── 2. Sky: northern lights + stars, fixed behind the whole page ──────── */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1400px 900px at 50% 110%, var(--night2) 0%, var(--night0) 60%); }
.sky__aur { position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 40%, transparent 82%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 40%, transparent 82%); }
.sky__aur img { position: absolute; left: 50%; top: -22vh; width: max(150vw, 1800px); height: auto; max-width: none;
  margin-left: calc(max(150vw, 1800px) / -2); mix-blend-mode: screen; transform-origin: 50% 70%; will-change: transform; }
.sky__aur .a { animation: drift-a 38s ease-in-out infinite alternate; opacity: .95; }
.sky__aur .b { animation: drift-b 46s ease-in-out infinite alternate; opacity: .8; }
.sky__stars { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.sky__stars.s1 { animation: twinkle 7s ease-in-out infinite alternate; }
.sky__stars.s2 { animation: twinkle 9s ease-in-out -4s infinite alternate; }
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 10, .55) 100%); }
/* the sky dims once you scroll past the hero so long copy stays readable */
.sky { transition: opacity 1.2s var(--ease); }
body.is-deep .sky__aur { opacity: .55; transition: opacity 1.2s var(--ease); }
.sky__aur { transition: opacity 1.2s var(--ease); }

@keyframes drift-a { 0% { transform: translateX(-90px) scaleY(1); } 50% { transform: translateX(20px) scaleY(1.08); } 100% { transform: translateX(90px) scaleY(.96); } }
@keyframes drift-b { 0% { transform: translateX(80px) scaleY(1.05) scaleX(-1); } 100% { transform: translateX(-80px) scaleY(.95) scaleX(-1); } }
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

/* ── 3. Type & motion ─────────────────────────────────────────── */
.h { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.d0 { font-size: clamp(48px, 9vw, 150px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.d1 { font-size: clamp(42px, 6.6vw, 100px); }
.d2 { font-size: clamp(36px, 5.2vw, 80px); }
.d3 { font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.03em; }
.lede { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.5; color: var(--dim); max-width: 34em; text-wrap: pretty; }
.body { color: var(--dim); max-width: 36em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede, .lede.center { margin-left: auto; margin-right: auto; }
.note { font-size: 14px; color: var(--faint); }

/* gradient text + a single highlight sweep when the heading enters */
.grad, .grad-deep, .grad-red {
  background-repeat: no-repeat; background-size: 300% 100%, 100% 100%; background-position: 100% 0, 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  padding-bottom: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.grad { background-image: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%), var(--grad); }
.grad-deep { background-image: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.9) 50%, transparent 58%), var(--grad-deep); }
.grad-red { background-image: linear-gradient(100deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%), var(--grad-red); }
.in .grad, .in .grad-deep, .in .grad-red, .grad.in { animation: sweep 1.2s .5s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes sweep { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }

/* word-by-word reveal: JS wraps words in .w and sets --i */
.js [data-words] .w { display: inline-block; opacity: 0; transform: translateY(40px) scale(.94); filter: blur(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); transition-delay: calc(var(--i) * 90ms); }
.js [data-words].in .w { opacity: 1; transform: none; filter: blur(0); }
/* everything else that animates in: one soft rise */
.js .rise { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .pop { opacity: 0; transform: translateY(30px) scale(.8); transition: opacity .5s var(--ease), transform .7s var(--back); transition-delay: var(--d, 0ms); }
.js .pop.in { opacity: 1; transform: none; }
.float { animation: bob 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ── 4. Chrome & buttons ──────────────────────────────────────── */
.glass { background: var(--glass-bg); border: var(--glass-bd); box-shadow: var(--glass-sh); border-radius: 28px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.pill img { width: 30px; height: 30px; }
.pill.glass { box-shadow: 0 16px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.22); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 0; cursor: pointer; text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn--primary { background: var(--grad); color: #04132A; box-shadow: 0 12px 34px rgba(34, 211, 238, .32); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 16px 44px rgba(34, 211, 238, .48); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--lg { min-height: 60px; padding: 0 36px; font-size: 19px; }
.btn--xl { min-height: 72px; padding: 0 48px; font-size: 24px; box-shadow: 0 20px 60px rgba(34, 211, 238, .45); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { color: var(--green); text-decoration: underline; text-decoration-color: rgba(61,255,181,.4); text-underline-offset: 3px; }
.link:hover { text-decoration-color: currentColor; }

.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(6, 11, 31, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(255,255,255,.08); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hdr__logo { display: block; flex: none; }
.hdr__logo svg { display: block; height: 30px; width: auto; overflow: visible; }
.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.hdr__nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--dim); transition: color .2s, background-color .2s; }
.hdr__nav a:not(.btn):hover, .hdr__nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.hdr__nav .btn { margin-left: 10px; min-height: 42px; padding: 0 20px; font-size: 15px; }
.hdr__menu { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: pointer; }
.hdr__menu i { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.hdr__menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.hdr__menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* chapter indicator: two-segment pill that tracks the business/building halves */
.chap { position: fixed; left: 50%; top: calc(var(--hdr) + 12px); z-index: 90; display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: rgba(8, 14, 40, .62); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 30px rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transform: translate(-50%, -14px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.chap.is-shown { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.chap a { padding: 8px 16px; border-radius: 999px; font: 600 14px/1 var(--display); color: rgba(220,230,255,.62); text-decoration: none; white-space: nowrap; transition: color .3s, background-color .3s; }
.chap a.on { color: #04132A; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.chap.is-light { background: rgba(255,255,255,.7); border-color: rgba(20,20,60,.08); box-shadow: 0 10px 30px rgba(40,30,110,.14); }
.chap.is-light a:not(.on) { color: #5B6380; }

/* ── 5. Hero ──────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--hdr) + clamp(48px, 10vh, 110px)) 0 0; text-align: center; overflow: hidden; }
.hero__time { margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.hero__time img { width: 28px; height: 28px; }
.hero h1 { color: #fff; }
.hero h1 .l2 { display: block; font-size: 1.12em; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: .04em; }
.hero__sub { margin: 28px auto 0; max-width: 30em; }
.hero__sub b { color: #fff; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero__stage { position: relative; height: clamp(420px, 56vw, 640px); margin-top: clamp(48px, 7vw, 80px); }
.hero__stage .phone-wrap { position: absolute; left: 50%; top: 0; width: 380px; margin-left: -190px; }
.hero__stage .fc { position: absolute; }
.hero__stage .fc.l1 { right: calc(50% + 230px); top: 70px; }
.hero__stage .fc.l2 { right: calc(50% + 250px); top: 250px; }
.hero__stage .fc.r1 { left: calc(50% + 230px); top: 110px; }
.hero__stage .fc.r2 { left: calc(50% + 250px); top: 300px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--night0)); pointer-events: none; }

.spark { position: absolute; width: 44px; height: 44px; pointer-events: none; opacity: 0; }
.spark svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 8px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(61,255,181,.7)); }
.in .spark, .spark.in { animation: spark 1.1s var(--d, .9s) ease-out both; }
@keyframes spark { 0% { opacity: 0; transform: scale(0) rotate(0); } 40% { opacity: 1; transform: scale(1.15) rotate(60deg); } 100% { opacity: 0; transform: scale(0) rotate(130deg); } }

/* floating glass caption card */
.fc { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 22px; text-align: left; white-space: nowrap; z-index: 3; }
.fc img { width: 48px; height: 48px; flex: none; }
.fc b { display: block; font: 600 17px/1.25 var(--display); color: #fff; letter-spacing: -.01em; }
.fc span { display: block; font-size: 14px; color: var(--dim); margin-top: 2px; }
.fc .on { color: var(--green); font-weight: 600; }
.fc--dev { border-color: rgba(61,255,181,.38); box-shadow: 0 0 0 1px rgba(61,255,181,.08), 0 0 30px rgba(61,255,181,.14), var(--glass-sh); }

/* ── 6. Sections, pillars & chapter openers ───────────────────── */
.sec { position: relative; padding: clamp(80px, 12vw, 160px) 0; }
.sec--tight { padding: clamp(56px, 8vw, 100px) 0; }
.sec__head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec__head .lede { margin-top: 20px; }

.pillars { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0; }
.pnl { padding: clamp(28px, 3.4vw, 40px); text-decoration: none; display: block; transition: transform .4s var(--ease), border-color .3s; }
.pnl:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.pnl h3 { font: 700 clamp(28px, 3vw, 44px)/1.08 var(--display); letter-spacing: -.03em; }
.pnl p { color: var(--dim); font-size: 18px; margin-top: 8px; }
.pnl__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.pnl__tiles li { aspect-ratio: 1.45; border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--dim); text-align: center; padding: 8px; }
.pnl__tiles img { width: 46px; height: 46px; }
.pnl--b .pnl__tiles li { border-color: rgba(61,255,181,.45); box-shadow: 0 0 18px rgba(61,255,181,.14), inset 0 0 12px rgba(61,255,181,.06); }
.pnl__go { display: inline-flex; margin-top: 26px; font: 600 15px/1 var(--display); color: var(--green); }
.plus { width: 60px; height: 60px; margin: 0 -14px; z-index: 2; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--cyan)); color: #04132A;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(61,255,181,.55); }
.plus svg { width: 26px; height: 26px; }

.chapter { text-align: center; padding: clamp(100px, 14vw, 180px) 0 clamp(40px, 6vw, 80px); }
.chapter__icons { display: flex; justify-content: center; gap: clamp(10px, 1.6vw, 20px); margin-bottom: 40px; flex-wrap: wrap; }
.chapter__icons span { width: clamp(64px, 7vw, 96px); aspect-ratio: 1; border-radius: 26%; display: flex; align-items: center; justify-content: center; }
.chapter__icons img { width: 62%; height: 62%; }
.chapter h2 { color: #fff; }
.chapter .lede { margin-top: 22px; }

/* ── 7. Feature rows ──────────────────────────────────────────── */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); padding: clamp(60px, 9vw, 120px) 0; }
.feat--flip .feat__copy { order: 2; }
.feat__copy h3 { color: #fff; }
.feat__copy .lede { margin-top: 22px; }
.feat__copy .fc { position: static; display: inline-flex; margin-top: 30px; white-space: normal; }
.feat__copy .fcs { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 30px; }
.feat__copy .fcs .fc { margin-top: 0; }
.feat__media { position: relative; display: flex; justify-content: center; }
.feat__media .fc { position: absolute; background: linear-gradient(160deg, rgba(30, 40, 80, .92), rgba(14, 22, 52, .92)); }

.wide { padding: clamp(60px, 9vw, 120px) 0; }
.wide__head { max-width: 980px; margin-bottom: clamp(32px, 4vw, 52px); }
.wide__head .lede { margin-top: 18px; max-width: 46em; }
.wide__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.wide__side { display: flex; flex-direction: column; gap: 18px; padding-top: 40px; }
.wide__side .fc { white-space: normal; }

/* 3D tilt for device frames, flattens as it scrolls to centre (JS sets --t from 1 → 0) */
.tilt { --t: 1; perspective: 1800px; }
.tilt > * { transform: rotateY(calc(var(--ry, -14deg) * var(--t))) rotateX(calc(6deg * var(--t))) rotateZ(calc(var(--rz, 1deg) * var(--t))); transform-origin: 50% 50%; transition: transform .2s linear; }

/* fit-to-container: fixed-size mockups scaled with CSS zoom by JS */
.fit { width: 100%; }
.fit__in { width: var(--w); transform-origin: 0 0; }

/* light section */
.light { position: relative; color: var(--ink); isolation: isolate; }
.light::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 600px at 85% 15%, rgba(167,139,250,.35), transparent 70%), radial-gradient(900px 700px at 10% 90%, rgba(61,255,181,.30), transparent 70%),
    radial-gradient(800px 600px at 60% 70%, rgba(34,211,238,.22), transparent 70%), var(--light-bg); }
.light::after { content: ""; position: absolute; inset: -1px 0 auto; height: 160px; z-index: -1; background: linear-gradient(var(--night0), transparent); opacity: .0; }
.light .lede { color: var(--ink-dim); }
.light h2, .light h3 { color: var(--ink); }

/* ── 8. Product UI kit (light app inside device frames) ───────── */
.ui { --tc: #C9512F; --tc2: #E8572A; --uink: #111827; --g6: #4B5563; --g5: #6B7280; --g4: #9CA3AF;
  font-family: var(--ui); color: var(--uink); line-height: 1.3; text-align: left; }
.ui b { font-weight: 600; }
.ui i { font-style: normal; }
.price { color: #E8572A; font-weight: 700; }

.phone-wrap { width: 380px; }
.phone { position: relative; width: 380px; height: 780px; border-radius: 60px; padding: 13px;
  background: linear-gradient(150deg, #2A3460, #0F1638 50%, #1A2350);
  box-shadow: 0 70px 140px rgba(0,0,0,.6), 0 0 0 2px rgba(255,255,255,.12) inset, 0 0 80px rgba(61,255,181,.10); }
.scr { position: absolute; inset: 13px; border-radius: 47px; overflow: hidden; background: #F7F7F8; }
.isl { position: absolute; left: 50%; top: 12px; width: 112px; height: 32px; margin-left: -56px; background: #000; border-radius: 20px; z-index: 20; }
.uh { position: absolute; left: 0; right: 0; top: 0; height: 96px; z-index: 10;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px), linear-gradient(180deg, #B9472A, #A63F25); }
.uh .sb { position: absolute; left: 30px; right: 26px; top: 16px; display: flex; justify-content: space-between; font: 600 14px/1 var(--body); color: #fff; }
.uh .hb { position: absolute; left: 22px; top: 58px; width: 20px; }
.uh .hb i { display: block; height: 2.5px; background: #fff; margin-bottom: 4.5px; border-radius: 2px; }
.nv-logo { text-align: center; color: #fff; line-height: 1; }
.nv-logo b { font: 800 19px/1 var(--display); letter-spacing: .08em; display: block; }
.nv-logo i { display: block; font-size: 7.5px; letter-spacing: .42em; margin: 4px auto 0; font-weight: 600; border-top: 1.5px solid currentColor; padding-top: 3px; width: 136px; }
.uh .nv-logo { position: absolute; left: 0; right: 0; top: 52px; }
.ub { position: absolute; left: 0; right: 0; top: 96px; bottom: 0; overflow: hidden; }
.ut { font-size: 23px; font-weight: 600; letter-spacing: -.01em; padding: 20px 20px 0; }
.us { font-size: 13px; color: var(--g5); padding: 3px 20px 0; }
.uc { background: #fff; border: 1px solid #ECECEF; border-radius: 14px; box-shadow: 0 1px 3px rgba(17,24,39,.05); }
.tg { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.tg.jr { color: #EA580C; background: #FFF1E8; } .tg.av { color: #16A34A; background: #EAF8EF; } .tg.lv { color: #15803D; background: #EFFAF2; }
.tg.ad { color: #DC2626; background: #FDECEC; } .tg.co { color: #7C3AED; background: #F1EBFF; } .tg.wl { color: #B45309; background: #FEF3C7; }
.ubtn { background: var(--tc); color: #fff; border-radius: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; height: 50px; font-size: 15.5px; border: 0; width: 100%; font-family: var(--ui); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 60px rgba(17,24,39,.25); z-index: 15; padding: 12px 20px 26px; }
.sheet .gr { width: 42px; height: 5px; border-radius: 3px; background: #D1D5DB; margin: 0 auto 14px; }
.dim0 { position: absolute; inset: 0; background: rgba(17,24,39,.42); z-index: 14; }

/* booking screen */
.dn { margin: 12px 14px 0; display: flex; align-items: center; gap: 8px; }
.dn .ar { width: 34px; height: 34px; border-radius: 11px; background: #F3F4F6; display: flex; align-items: center; justify-content: center; flex: none; color: #374151; }
.dn .ar svg { width: 18px; height: 18px; }
.dn .dt { flex: 1; text-align: center; }
.dn .dt b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }
.dn .dt i { font-size: 10.5px; color: #C9512F; font-weight: 600; }
.dn .td { font-size: 11.5px; color: #C9512F; background: #FDECE6; border-radius: 999px; padding: 5px 11px; font-weight: 500; }
.seg { margin: 10px 14px 0; background: #F3F4F6; border-radius: 12px; padding: 4px; display: flex; }
.seg span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 0; color: #374151; border-radius: 9px; }
.seg span.on { background: #fff; color: #C9512F; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.cpl { display: flex; gap: 6px; padding: 12px 10px 0; border-top: 1px solid #EEF0F3; margin-top: 10px; }
.cpl span { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; padding: 7px 9px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); color: #374151; white-space: nowrap; }
.cpl span.on { background: linear-gradient(90deg, #F2A21B, #E0602E 60%, #C9512F); color: #fff; box-shadow: 0 4px 12px rgba(224,96,46,.35); }
.cpl svg { width: 13px; height: 13px; }
.tlist { margin: 12px 14px 0; border: 1px solid #EEF0F3; border-radius: 16px; background: #fff; overflow: hidden; position: relative; }
.hr { display: flex; border-bottom: 1px solid #F1F2F5; height: 52px; }
.hr .hl { width: 52px; flex: none; font-size: 10.5px; color: #6B7280; text-align: right; padding: 8px 9px 0 0; border-right: 1px solid #F1F2F5; }
.hr .hs { flex: 1; display: flex; flex-direction: column; }
.hr .hs div { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 11px; font-size: 10.5px; color: #6B7280; }
.hr .hs div:first-child { border-bottom: 1px dashed #ECEEF2; }
.hr .hs div em { font-style: normal; color: #9CA3AF; font-size: 10px; }
.hr .hs div.bk { background: repeating-linear-gradient(135deg, #ECEEF2 0 5px, #F7F7F9 5px 10px); color: #9CA3AF; }
.selb { position: absolute; left: 58px; right: 6px; top: 106px; height: 48px; border-radius: 10px; background: linear-gradient(90deg, #F2A21B, #E0602E 55%, #C9512F); color: #fff; padding: 6px 11px; box-shadow: 0 6px 18px rgba(224,96,46,.4); }
.selb b { display: block; font-size: 13px; } .selb i { font-size: 11px; opacity: .92; }
.sticky { position: absolute; left: 14px; right: 14px; bottom: 24px; height: 52px; border-radius: 14px; background: #C9512F; color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(201,81,47,.4); }
.li { display: flex; justify-content: space-between; font-size: 14px; color: var(--g6); padding: 5px 0; }
.li b { color: var(--uink); }
.pm { display: flex; align-items: center; gap: 11px; border: 1.5px solid #ECECEF; border-radius: 12px; padding: 10px 13px; margin-top: 8px; font-size: 14px; }
.pm img { width: 28px; height: 28px; }
.pm .rd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D1D5DB; margin-left: auto; flex: none; }
.pm.on { border-color: var(--tc); background: #FFF6F3; } .pm.on .rd { border: 5px solid var(--tc); }
.stripe { text-align: center; font-size: 12px; color: #6B7280; margin-top: 9px; }
.stripe b { color: #635BFF; }
.ok { position: absolute; inset: 0; background: #fff; display: flex; flex-direction: column; align-items: center; padding-top: 34px; text-align: center; z-index: 16; }
.okc { width: 88px; height: 88px; border-radius: 50%; background: #16A34A; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 0 0 12px #DCFCE7; }
.okc svg { width: 46px; height: 46px; }

/* courses screen */
.fcard { margin: 12px 20px 0; padding: 11px; }
.fcard .r1 { display: flex; align-items: center; gap: 8px; }
.fcard .r2 { display: flex; gap: 16px; font-size: 12.5px; font-weight: 600; color: var(--g6); margin-top: 9px; padding-left: 4px; }
.inp { border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; color: var(--g4); font-size: 12.5px; padding: 7px 10px; flex: 1; }
.wiz { border: 1.5px solid #F472B6; color: #DB2777; background: #FFF0F6; border-radius: 999px; font-size: 12px; font-weight: 600; padding: 4px 9px; }
.cc { margin: 10px 20px 0; padding: 11px; }
.cc .tgs { display: flex; flex-wrap: wrap; gap: 5px; }
.cc .bd { display: flex; gap: 11px; margin-top: 8px; }
.cc .th { width: 52px; height: 52px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; }
.cc .th img { width: 34px; height: 34px; }
.cc .tt { font-size: 15px; font-weight: 600; line-height: 1.2; } .cc .ds { font-size: 12px; color: var(--g5); margin-top: 3px; }
.cc .price { font-size: 15px; margin-top: 4px; display: block; }
.who { display: flex; align-items: center; gap: 11px; border: 1.5px solid #ECECEF; border-radius: 14px; padding: 10px 13px; margin-top: 8px; }
.who img { width: 40px; height: 40px; }
.who b { font-size: 15px; display: block; } .who i { font-size: 12px; color: var(--g5); }
.who .rd { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #D1D5DB; margin-left: auto; flex: none; }
.who.on { border-color: var(--tc); background: #FFF6F3; } .who.on .rd { border: 5px solid var(--tc); }
.who.off { opacity: .45; }

/* door screen (interactive) */
.door { position: absolute; inset: 0; background: #F7F7F8; }
.dbtn { position: absolute; left: 50%; top: 210px; width: 230px; height: 230px; margin-left: -115px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--tc, #C9512F); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font: 600 17px/1.2 var(--ui); gap: 8px;
  box-shadow: 0 0 0 14px rgba(201,81,47,.12), 0 20px 50px rgba(201,81,47,.4); transition: background-color .35s, box-shadow .35s, transform .15s; }
.dbtn:active { transform: scale(.97); }
.dbtn img { width: 84px; height: 84px; }
.dbtn.is-checking { background: #6B7280; box-shadow: 0 0 0 14px rgba(107,114,128,.14), 0 20px 50px rgba(17,24,39,.25); }
.dbtn.is-open { background: #16A34A; box-shadow: 0 0 0 14px rgba(22,163,74,.16), 0 20px 50px rgba(22,163,74,.45); }
.dbtn:focus-visible { outline: 3px solid #0284C7; outline-offset: 6px; }
.dstat { position: absolute; left: 0; right: 0; top: 486px; text-align: center; font-size: 14px; color: var(--g5); padding: 0 24px; }
.dwv { position: absolute; left: 20px; right: 20px; bottom: 26px; padding: 11px 13px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }

/* desktop window */
.win { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 60px 140px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.light .win { box-shadow: 0 60px 120px rgba(40,30,110,.25), 0 0 0 1px rgba(20,20,60,.06); }
.wbar { height: 40px; background: #EEF0F4; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid #E3E5EA; }
.wbar > i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.wbar > i:nth-child(1) { background: #FF5F57; } .wbar > i:nth-child(2) { background: #FEBC2E; } .wbar > i:nth-child(3) { background: #28C840; }
.wbar .url { margin-left: 16px; background: #fff; border-radius: 7px; padding: 5px 14px; font: 12.5px/1.2 var(--body); color: var(--g5); width: 400px; }
.dkw { display: flex; background: #fff; }
.dsb { width: 230px; flex: none; border-right: 1px solid #EEF0F3; background: #fff; overflow: hidden; padding-bottom: 20px; }
.dsb .nv-logo { height: 78px; border-bottom: 1px solid #EEF0F3; padding: 20px 0 0 22px; color: #C9512F; text-align: left; }
.dsb .nv-logo i { margin: 4px 0 0; }
.sl2 { display: flex; align-items: center; gap: 8px; margin: 20px 14px 8px; padding: 3px 0 3px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; color: #374151; }
.sl2 svg { width: 14px; height: 14px; }
.sl2.my { border-left: 4px solid #22C55E; } .sl2.my svg { color: #22C55E; }
.sl2.ad { border-left: 4px solid #F59E0B; } .sl2.ad svg { color: #F59E0B; }
.ni { display: flex; align-items: center; gap: 12px; margin: 1px 12px; padding: 8px 12px; font-size: 14.5px; color: #374151; border-radius: 9px; white-space: nowrap; }
.ni svg { width: 18px; height: 18px; flex: none; }
.ni.on { background: #FFF1EC; color: #B9472A; }
.ni .cv { margin-left: auto; color: #9CA3AF; display: flex; } .ni .cv svg { width: 16px; height: 16px; }
.ni.sb { padding: 7px 12px 7px 42px; font-size: 13.5px; color: #4B5563; } .ni.sb.on { color: #B9472A; }
.mn { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tb { height: 58px; flex: none; background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px), linear-gradient(180deg, #B9472A, #A63F25); display: flex; align-items: center; padding: 0 20px; color: #fff; }
.tb > svg { width: 20px; height: 20px; opacity: .9; }
.tb .nvs { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; opacity: .95; }
.tb .nvs span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb .nvs svg { width: 16px; height: 16px; }
.tb .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.mc { flex: 1; padding: 26px 36px 30px; position: relative; }
.wc { border: 1px solid #E5E7EB; background: #F9FAFB; border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.wc .avb { width: 56px; height: 56px; border-radius: 50%; background: #E5E7EB; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 600; color: #4B5563; }
.wc .k { font-size: 13px; color: #9CA3AF; } .wc .n { font-size: 22px; font-weight: 700; letter-spacing: -.01em; } .wc .j { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.badge { margin-left: auto; font-size: 11.5px; font-weight: 600; color: #16A34A; background: #E8F8EE; border-radius: 6px; padding: 6px 11px; display: flex; align-items: center; gap: 6px; }
.badge svg { width: 13px; height: 13px; }
.c3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.dc { border: 1px solid #E5E7EB; border-radius: 12px; padding: 18px 20px 16px; position: relative; background: #fff; }
.dc .k { font-size: 11px; letter-spacing: .1em; color: #4B5563; font-weight: 600; } .dc .v { font-size: 18px; font-weight: 700; margin-top: 5px; } .dc .s { font-size: 12px; color: #9CA3AF; margin-top: 4px; }
.dc .ib { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.dc .ib svg { width: 20px; height: 20px; }
.dc .ac { text-align: center; font-size: 13px; margin-top: 18px; font-weight: 500; }
.dc .ac.p { background: #FDECE8; color: #C9512F; border-radius: 6px; padding: 6px 0; }
.qal { font-size: 11.5px; letter-spacing: .1em; color: #4B5563; font-weight: 600; margin: 22px 0 11px; }
.qa { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.qa div { border: 1px solid #E5E7EB; border-radius: 12px; padding: 14px 0 13px; text-align: center; font-size: 13px; font-weight: 500; background: #fff; }
.qa .sq { width: 38px; height: 38px; border-radius: 10px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.qa .sq svg { width: 20px; height: 20px; }

/* pricing rules (interactive) */
.amn { flex: 1; padding: 22px 26px 30px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 26px; align-items: start; }
.amn .hd { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.amn .hd .t { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.amn .hd .ubtn { width: auto; height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 9px; }
.rr { display: flex; align-items: center; gap: 13px; padding: 12px 15px; border: 1px solid #ECECEF; border-radius: 12px; margin-bottom: 10px; background: #fff; transition: border-color .25s, box-shadow .25s, opacity .25s; }
.rr .pr { width: 26px; height: 26px; border-radius: 8px; background: #F3F4F6; font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; color: var(--g6); flex: none; }
.rr b { font-size: 14.5px; display: block; } .rr i { font-size: 12px; color: var(--g5); }
.rr .adj { margin-left: auto; font-weight: 700; font-size: 13.5px; padding: 5px 10px; border-radius: 7px; background: #FFF1EC; color: var(--tc); white-space: nowrap; }
.rr .adj.m { background: #EAF8EF; color: #16A34A; }
.rr.hit { border-color: var(--tc); box-shadow: 0 0 0 3px rgba(201,81,47,.14); }
.rr.is-off { opacity: .55; }
.tgl { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #D1D5DB; border: 0; cursor: pointer; flex: none; padding: 0; transition: background-color .25s; }
.tgl::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.tgl[aria-checked="true"] { background: #16A34A; }
.tgl[aria-checked="true"]::after { transform: translateX(18px); }
.tgl:focus-visible { outline: 2px solid #0284C7; outline-offset: 2px; }
.tgl[disabled] { cursor: not-allowed; opacity: .7; }
.pv { padding: 18px; }
.pv .k { font-size: 11px; letter-spacing: .1em; color: var(--g4); font-weight: 600; }
.pv .l { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--g6); padding: 5px 0; }
.pv .l b { color: var(--uink); }
.pv .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #EEF0F3; margin-top: 8px; padding-top: 12px; font-weight: 600; }
.pv .tot .price { font-size: 26px; transition: color .2s; }
.pv .hint { font-size: 12px; color: var(--g5); margin-top: 12px; line-height: 1.45; }

/* resource calendar */
.rcw { display: grid; grid-template-columns: 90px repeat(5, 1fr); position: relative; background: #fff; border: 1px solid #EEF0F3; border-radius: 10px; overflow: hidden; }
.rcw .ch { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #FAFAFB; border-bottom: 1px solid #EEF0F3; font-size: 15px; font-weight: 500; }
.rcw .ch i { font-size: 12px; color: #6B7280; margin-top: 3px; }
.rcw .ch .fp { font-size: 10.5px; color: #7E22CE; background: #F3E8FF; border-radius: 999px; padding: 2px 8px; margin-top: 4px; }
.rcw .tm { height: 36px; font-size: 12.5px; font-weight: 500; padding: 0 10px; display: flex; align-items: center; border-bottom: 1px solid #EEF0F3; background: #fff; }
.rcw .tm.h { font-size: 10.5px; color: #9CA3AF; font-weight: 400; padding-left: 18px; border-bottom: 1px dashed #E5E7EB; }
.rcw .cl { height: 36px; background: #E9FBEA; border-bottom: 1px solid rgba(255,255,255,.7); border-left: 1px solid rgba(255,255,255,.9); }
.rv { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 11px; line-height: 1.35; }
.rv.cb { background: repeating-linear-gradient(135deg, #E3E5EA 0 6px, #F3F4F6 6px 12px); color: #6B7280; }
.rv.bk { background: #E3EDFC; color: #1D4ED8; } .rv.cr { background: #F3E8FF; color: #7E22CE; }
.rv.hot { outline: 3px solid #E0602E; outline-offset: -3px; z-index: 2; }
.rv b { font-weight: 600; font-size: 11.5px; display: flex; align-items: center; gap: 4px; }
.rv u { font-weight: 500; }
.rv svg { width: 12px; height: 12px; }
.wd { padding: 18px 20px; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px rgba(40,30,110,.16), 0 0 0 1px rgba(20,20,60,.05); color: var(--ink); font-family: var(--ui); }
.wd .hd { display: flex; align-items: center; gap: 12px; font: 700 17px/1.2 var(--display); }
.wd .hd img { width: 40px; height: 40px; }
.er { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #374151; padding: 7px 0; border-top: 1px solid #F1F2F5; }
.er:first-child { margin-top: 10px; }
.er .d { width: 8px; height: 8px; border-radius: 50%; background: #C9512F; flex: none; }
.er .d.g { background: #16A34A; }
.er .tm { margin-left: auto; font-size: 11.5px; color: var(--g4, #9CA3AF); white-space: nowrap; }

/* ── 9. Closed loop, device hub ───────────────────────────────── */
.loop { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 10px; counter-reset: step; }
.loop::before { content: ""; position: absolute; left: 10%; right: 10%; top: 48px; height: 2px; background: linear-gradient(90deg, var(--green), var(--cyan), var(--violet)); opacity: .55; }
.loop li { position: relative; text-align: center; padding: 0 8px; counter-increment: step; }
.loop .node { width: 96px; height: 96px; margin: 0 auto; border-radius: 30px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; background: #101A3F; }
.loop .node img { width: 56px; height: 56px; }
.loop .node::after { content: counter(step); position: absolute; right: -8px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #04132A; font: 700 13px/26px var(--display); text-align: center; }
.loop b { display: block; font: 700 22px/1.2 var(--display); margin-top: 18px; letter-spacing: -.02em; }
.loop span { display: block; color: var(--dim); font-size: 15px; margin-top: 6px; line-height: 1.45; }

.hub { position: relative; height: 640px; margin-top: 20px; }
.hub__wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__wires .orbit { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1.5; stroke-dasharray: 6 10; vector-effect: non-scaling-stroke; }
.hub__wires .wire { fill: none; stroke: url(#wireg); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(61,255,181,.8)); transition: stroke-dashoffset .7s var(--ease); transition-delay: var(--d); }
.hub.in .wire { stroke-dashoffset: 0; }
.hub__glow { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(61,255,181,.30), rgba(34,211,238,.10) 40%, transparent 70%); pointer-events: none; }
.hub__core { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.hub__core svg { width: 112px; height: 112px; overflow: visible; }
.tile { position: absolute; width: 160px; padding: 18px 10px 16px; margin: -90px 0 0 -80px; display: flex; flex-direction: column; align-items: center; gap: 8px; border-radius: 30px; z-index: 2;
  transition: border-color .4s, box-shadow .4s; transition-delay: var(--d); }
.tile img { width: 72px; height: 72px; }
.tile .lb { font: 600 17px/1.2 var(--display); white-space: nowrap; }
.tile .st { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--faint); transition: color .4s, background-color .4s; transition-delay: var(--d); }
.hub.in .tile { border-color: rgba(61,255,181,.55); box-shadow: 0 0 0 1px rgba(61,255,181,.1), 0 0 34px rgba(61,255,181,.22), var(--glass-sh); }
.hub.in .tile .st { color: var(--green); background: rgba(61,255,181,.12); }
.hub__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.hub__chips .pill { color: var(--dim); }

.tagline { text-align: center; padding: clamp(120px, 16vw, 220px) 0; }
.tagline h2 { color: #fff; font-size: clamp(56px, 11vw, 196px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; }
.tagline .spark { width: 56px; height: 56px; }

/* orrery mark: each orbit turns at its own speed */
.mark .o0 { animation: spin 22s linear infinite; }
.mark .o1 { animation: spin 14s linear infinite reverse; }
.mark .o2 { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 10. ROI, sports, Canada, end card ────────────────────────── */
.roi { text-align: center; position: relative; overflow: hidden; padding-bottom: clamp(160px, 18vw, 260px); }
.roi h2 { color: #fff; }
.roi__num { position: relative; display: inline-flex; align-items: flex-end; margin-top: clamp(28px, 4vw, 48px); font: 800 clamp(64px, 14vw, 220px)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.roi__num .yr { font-size: .2em; color: var(--dim); font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em .15em; -webkit-text-fill-color: var(--dim); }
.roi__bag { position: absolute; right: -.55em; top: -.25em; width: .62em; height: .62em; }
.roi__f { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 8px; margin-top: 34px; }
.roi__f .x { color: var(--faint); font-size: 22px; }
.stp { display: inline-flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; }
.stp button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font: 600 20px/1 var(--body); display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.stp button:hover { background: rgba(255,255,255,.2); }
.stp output { min-width: 9.5em; text-align: center; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.roi .note { margin-top: 22px; }
.roi__chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(160px, 20vw, 320px); pointer-events: none; }
.roi__chart path.line { filter: drop-shadow(0 0 10px rgba(34,211,238,.7)); stroke-dasharray: 1; stroke-dashoffset: 1; }
.roi.in .roi__chart path.line { animation: draw 2.4s .3s var(--ease) forwards; }
.roi__chart path.area { opacity: 0; transition: opacity 1.5s 1s; }
.roi.in .roi__chart path.area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.sports { display: flex; justify-content: center; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(40px, 6vw, 80px); }
.spt { width: clamp(120px, 11vw, 168px); aspect-ratio: .88; border-radius: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  translate: 0 var(--y, 0); rotate: var(--r, 0deg); }
.spt img { width: 58%; height: auto; }
.spt span { font: 600 16px/1.2 var(--display); white-space: nowrap; }

.canada { position: relative; text-align: center; overflow: hidden; isolation: isolate; background: radial-gradient(1400px 900px at 50% 110%, var(--night2) 0%, var(--night0) 60%);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.canada__aur { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.85) 45%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.85) 45%, transparent 85%); }
.canada__aur img { position: absolute; left: 50%; top: -10%; width: max(140%, 1800px); max-width: none; transform: translateX(-50%); mix-blend-mode: screen; animation: drift-r 40s ease-in-out infinite alternate; }
@keyframes drift-r { from { translate: -60px 0; } to { translate: 60px 0; } }
.canada__stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; max-width: none; opacity: .8; }
.leaf { position: relative; width: clamp(180px, 20vw, 260px); aspect-ratio: 1; margin: 0 auto 40px; }
.leaf__glow { position: absolute; inset: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,45,70,.45), rgba(255,45,70,.12) 40%, transparent 70%); }
.leaf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leaf svg.leaf__lf { left: 22%; top: 21%; width: 56%; height: 56%; }
.leaf .ring { stroke-dasharray: 1; stroke-dashoffset: 1; }
.leaf .ticks { transform-origin: 0 0; animation: spin 60s linear infinite; }
.leaf .lf-o { stroke-dasharray: 1; stroke-dashoffset: 1; }
.leaf .lf-f { opacity: 0; }
.leaf .shine { transform: translateX(-1800px) rotate(20deg); }
.canada.in .leaf .ring { animation: draw 1.6s .1s var(--ease) forwards; }
.canada.in .leaf .lf-o { animation: draw 1.4s .2s var(--ease) forwards; }
.canada.in .leaf .lf-f { animation: fill .8s 1.3s ease-out forwards; }
.canada.in .leaf .shine { animation: shine 1.4s 1.9s ease-in-out forwards; }
@keyframes fill { to { opacity: 1; } }
@keyframes shine { from { transform: translateX(-1800px) rotate(20deg); } to { transform: translateX(4400px) rotate(20deg); } }
.canada h2 { color: #fff; font-size: clamp(42px, 7vw, 108px); font-weight: 800; line-height: 1.06; }
.canada .pill { margin-top: 40px; font-size: 18px; }
.ck { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #FF2D46, #FF7A8C); display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.ck svg { width: 15px; height: 15px; }
.canada .lede { margin-top: 28px; }

.end { text-align: center; padding: clamp(120px, 14vw, 200px) 0; }
.end__mark { width: clamp(120px, 12vw, 170px); margin: 0 auto 32px; }
.end__wm { width: clamp(260px, 34vw, 520px); margin: 0 auto; }
.end__tag { font: 600 clamp(26px, 3vw, 44px)/1.2 var(--display); letter-spacing: -.02em; color: #fff; margin-top: 40px; }
.end .btn { margin-top: 40px; }
.end__contact { margin-top: 36px; font-size: clamp(18px, 2vw, 26px); font-weight: 500; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 22px; }
.end__contact a { text-decoration: none; } .end__contact a:hover { color: var(--green); }
.end__contact .bar { width: 1px; height: 1.2em; background: var(--faint); }

/* ── 11. Inner pages, forms, footer ───────────────────────────── */
.page-hero { padding: calc(var(--hdr) + clamp(60px, 10vw, 120px)) 0 clamp(40px, 6vw, 80px); }
.page-hero h1 { color: #fff; }
.page-hero .lede { margin-top: 24px; }

.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod { padding: 28px; border-radius: 24px; }
.mod img { width: 52px; height: 52px; }
.mod h3 { font: 700 22px/1.2 var(--display); letter-spacing: -.02em; margin-top: 16px; }
.mod p { color: var(--dim); font-size: 16px; margin-top: 8px; }
.mod ul { margin-top: 14px; display: grid; gap: 6px; }
.mod li { font-size: 15px; color: var(--dim); padding-left: 18px; position: relative; }
.mod li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.mod--wide { grid-column: span 3; }
.mod .console-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mod .console-list li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: 14px; color: var(--dim); }
.mod .console-list li::before { display: none; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 16px; padding: 20px 22px; border-radius: 22px; }
.fact img { width: 44px; height: 44px; flex: none; }
.fact b { display: block; font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.fact span { display: block; color: var(--dim); font-size: 15.5px; margin-top: 4px; }
.fact--later { border-style: dashed; }
.tag { display: inline-block; font: 600 12px/1 var(--body); padding: 5px 10px; border-radius: 999px; margin-left: 8px; vertical-align: 2px; background: rgba(167,139,250,.18); color: #D4C7FF; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { padding: 26px; border-radius: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad); color: #04132A; font: 700 15px/1 var(--display); }
.steps b { display: block; font: 700 20px/1.25 var(--display); letter-spacing: -.02em; margin-top: 16px; }
.steps span { display: block; color: var(--dim); font-size: 15.5px; margin-top: 8px; }

.model { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model article { padding: 30px; border-radius: 26px; }
.model img { width: 54px; height: 54px; }
.model h3 { font: 700 24px/1.2 var(--display); letter-spacing: -.02em; margin-top: 18px; }
.model p { color: var(--dim); margin-top: 10px; font-size: 16px; }
.model .who { all: unset; display: block; margin-top: 18px; font-size: 14px; color: var(--faint); }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 600 19px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--dim); padding: 0 0 22px; max-width: 42em; }

.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(6, 11, 31, .5);
  color: #fff; font: 16px/1.4 var(--body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--night1); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.25); }
.field [aria-invalid="true"] { border-color: #FF7A8C; }
.err { font-size: 14px; color: #FF9AA6; min-height: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: 15px; font-weight: 500; color: var(--dim); transition: all .2s; }
.choice input:checked + span { background: var(--grad); color: #04132A; border-color: transparent; font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form__status { display: none; padding: 14px 18px; border-radius: 14px; font-size: 15.5px; }
.form__status.is-shown { display: block; }
.form__status.ok { background: rgba(61,255,181,.12); border: 1px solid rgba(61,255,181,.4); }
.form__status.info { background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.35); }
.form__status.bad { background: rgba(255,45,70,.12); border: 1px solid rgba(255,122,140,.45); }
.direct { padding: 28px; display: grid; gap: 22px; }
.direct div { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: start; }
.direct img { width: 40px; height: 40px; grid-row: span 2; }
.direct b { font: 600 16px/1.3 var(--display); }
.direct span, .direct a { color: var(--dim); font-size: 15.5px; }

.prose { max-width: 760px; }
.prose h2 { font: 700 26px/1.25 var(--display); letter-spacing: -.02em; margin: 44px 0 12px; color: #fff; }
.prose p, .prose li { color: var(--dim); }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.prose .callout { margin: 0 0 32px; padding: 18px 22px; border-radius: 18px; font-size: 15.5px; }

.ftr { position: relative; padding: 64px 0 40px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(6, 11, 31, .6); }
.ftr__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.ftr__brand img { height: 30px; width: auto; opacity: .6; }
.ftr__brand p { color: var(--faint); font-size: 15px; margin-top: 18px; max-width: 26em; }
.ftr h2 { font: 600 14px/1 var(--display); color: var(--dim); margin-bottom: 16px; }
.ftr li + li { margin-top: 10px; }
.ftr a { color: var(--faint); text-decoration: none; font-size: 15px; } .ftr a:hover { color: #fff; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--faint); }
.ftr__ca { display: inline-flex; align-items: center; gap: 10px; }
.ftr__ca img { width: 18px; height: 20px; }

.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(2, 5, 18, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal.is-open { display: flex; }
.modal__box { position: relative; width: min(1100px, 100%); }
.modal video { width: 100%; border-radius: 18px; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.modal__close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 22px; }

.e404 { min-height: 100vh; display: flex; align-items: center; text-align: center; }
.e404 .mark { width: 120px; margin: 0 auto 32px; }

/* ── 12. Responsive & reduced motion ──────────────────────────── */
@media (max-width: 1180px) {
  .hero__stage .fc.l2, .hero__stage .fc.r2 { display: none; }
  .wide__grid { grid-template-columns: minmax(0, 1fr); }
  .wide__side { flex-direction: row; flex-wrap: wrap; padding-top: 0; }
  .wide__side > * { flex: 1 1 260px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .mod--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .hdr__menu { display: block; }
  .hdr__nav { position: fixed; left: 0; right: 0; top: var(--hdr); flex-direction: column; align-items: stretch; gap: 4px; padding: 16px var(--gut) 28px;
    background: rgba(6, 11, 31, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .hdr__nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s, transform .25s var(--ease); }
  .hdr__nav a:not(.btn) { padding: 14px 16px; font-size: 17px; }
  .hdr__nav .btn { margin: 10px 0 0; min-height: 52px; }
  .hdr.menu-open { background: rgba(6, 11, 31, .96); }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .plus { margin: -14px auto; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat--flip .feat__copy { order: 0; }
  .feat__media .fc { display: none; }
  .loop { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .loop::before { left: 47px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), var(--cyan), var(--violet)); }
  .loop li { display: grid; grid-template-columns: 96px 1fr; gap: 0 20px; align-items: center; text-align: left; padding: 0; }
  .loop .node { grid-row: span 2; margin: 0; }
  .loop b { margin-top: 0; align-self: end; }
  .loop span { align-self: start; }
  .hub { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hub__wires, .hub__glow { display: none; }
  .hub__core { position: relative; left: auto; top: auto; margin: 0 auto 10px; grid-column: 1 / -1; width: 160px; height: 160px; }
  .tile { position: relative; left: auto !important; top: auto !important; margin: 0; width: auto; }
  .sports { flex-wrap: wrap; }
  .spt { --y: 0 !important; --r: 0 !important; }
  .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .model { grid-template-columns: minmax(0, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .chap { display: none; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; --hdr: 64px; }
  body { font-size: 16px; }
  .hdr__logo svg { height: 26px; }
  .hero__stage { height: 470px; }
  .hero__stage .phone-wrap { zoom: .78; }
  .hero__stage .fc { display: none; }
  .hero__cta .btn { width: 100%; }
  .pnl__tiles { gap: 10px; }
  .pnl__tiles li { font-size: 12.5px; border-radius: 16px; }
  .pnl__tiles img { width: 36px; height: 36px; }
  .mods, .steps { grid-template-columns: minmax(0, 1fr); }
  .mod--wide { grid-column: auto; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .stp output { min-width: 7.6em; font-size: 16px; }
  .roi__f { flex-direction: column; }
  .roi__f .x { line-height: .6; }
  .roi__bag { display: none; }
  .spt { width: calc(50% - 8px); aspect-ratio: 1.3; border-radius: 24px; }
  .spt img { width: 40%; }
  .end__contact .bar { display: none; }
  .end__contact { flex-direction: column; }
  .ftr__top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .sky__aur img, .canada__aur img, .mark g, .float, .leaf .ticks { animation: none !important; }
  .js [data-words] .w, .js .rise, .js .pop { opacity: 1; transform: none; filter: none; }
  .tilt > * { transform: none !important; }
  .leaf .ring, .leaf .lf-o { stroke-dashoffset: 0; } .leaf .lf-f { opacity: 1; }
  .hub .wire { stroke-dashoffset: 0; }
  .roi__chart path.line { stroke-dashoffset: 0; } .roi__chart path.area { opacity: 1; }
}
