/* =========================================================
   I DO MEETINGS · site styles
   ========================================================= */

:root {
  --bg: #07080a;
  --bg-elev: #0c0d10;
  --surface: #111317;
  --surface-2: #171a1f;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .15);
  --text: #f3f4f6;
  --text-2: #b3b8c0;
  --muted: #7c828b;

  /* the three display states */
  --green: #5df39a;
  --yellow: #ffd966;
  --red: #ff6f69;

  /* the display palette, a touch softer than the UI accents */
  --scr-green: #6cf59d;
  --scr-yellow: #f9de6b;
  --scr-red: #ff736d;
  --scr-ink: #0b0b0c;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main, .site-footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--green); color: #04130a; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logo { fill: currentColor; height: 30px; width: auto; aspect-ratio: 412.4 / 220.2; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: #fff; color: #000; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow span { color: var(--green); }
.eyebrow span::after { content: ""; display: inline-block; width: 22px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line-strong); }
.eyebrow--center { justify-content: center; }

.h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 600;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text); line-height: 1.5; letter-spacing: -.01em; }

.badge {
  display: inline-flex; align-items: center;
  padding: 3px 9px; border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--yellow); background: rgba(255, 217, 102, .1); box-shadow: inset 0 0 0 1px rgba(255, 217, 102, .25);
  white-space: nowrap;
}
.badge--solid { color: #2a2000; background: var(--yellow); box-shadow: none; }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 15.5px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn .ic { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: #fff; color: #08090b; }
.btn-primary:hover { background: var(--green); box-shadow: 0 12px 40px -12px rgba(93, 243, 154, .7); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14.5px; }
.btn-sm .ic { font-size: 16px; }
.btn-lg { --h: 58px; padding: 0 30px; font-size: 16.5px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(7, 8, 10, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; color: #fff; padding: 4px 0; }
.brand .logo { height: 32px; }
.nav-main { margin-left: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  position: relative; display: block;
  padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; color: var(--text-2);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--green);
}

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: rgba(7, 8, 10, .96);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { padding-top: 24px; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font-size: 26px; font-weight: 550; letter-spacing: -.03em; }
.mobile-menu li a span { font-family: var(--mono); font-size: 12px; color: var(--green); letter-spacing: .1em; }
.mobile-menu-foot { display: flex; flex-direction: column; gap: 6px; padding: 28px 0 40px; color: var(--text-2); }

@media (max-width: 1120px) {
  .nav-main, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (min-width: 1121px) {
  .mobile-menu { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  --state: var(--green);
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
}
.hero[data-state="soon"] { --state: var(--yellow); }
.hero[data-state="occupied"] { --state: var(--red); }

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 65% 40%, #000 20%, transparent 75%);
}
.hero-glow {
  position: absolute; right: -8%; top: 4%;
  width: min(62vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background-color: var(--state);
  opacity: .16; filter: blur(110px);
  transition: background-color 1.1s var(--ease);
}
.hero-glow--2 { right: auto; left: -18%; top: auto; bottom: -30%; width: min(50vw, 640px); opacity: .07; }

.hero-inner {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(40px, 5vw, 72px);
}

.pill-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 13.5px; color: var(--text-2);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--state); transition: background-color .8s; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

.hero-title {
  font-size: clamp(46px, 5.5vw, 80px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 600;
}
.hero-title .hl {
  color: var(--state);
  transition: color .9s var(--ease);
  font-style: normal;
}
.hero-lead { margin-top: 26px; max-width: 520px; font-size: clamp(17px, 1.45vw, 19px); line-height: 1.55; color: var(--text-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; font-size: 14px; color: var(--text-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { color: var(--green); font-size: 16px; stroke-width: 2.2; }

/* ---------- device ---------- */
.hero-visual { position: relative; }
.device-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  transform: perspective(1600px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s var(--ease-out);
  transform-style: preserve-3d;
}
.device {
  position: relative;
  padding: clamp(9px, 1.25vw, 15px);
  border-radius: clamp(18px, 2.3vw, 30px);
  background: linear-gradient(150deg, #2b2e34 0%, #16181c 45%, #0e0f12 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .09),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 50px 100px -30px rgba(0, 0, 0, .9),
    0 30px 60px -40px rgba(0, 0, 0, .8);
}
.device::before { /* camera */
  content: ""; position: absolute; top: calc(clamp(9px, 1.25vw, 15px) / 2 - 2px); left: 50%;
  width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #2b2f36;
}
.screen {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: clamp(7px, .9vw, 12px);
  background: #000;
  container-type: inline-size;
}
.screen::after { /* glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: linear-gradient(115deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .05) 100%);
}

/* every screen layer scales with the screen width: 1em = 1.5% of the screen */
.scr {
  position: absolute; inset: 0;
  font-size: 1.5cqw;
  line-height: 1.25;
  color: var(--scr-ink);
  letter-spacing: -.01em;
}
.scr .ic { width: 1.1em; height: 1.1em; stroke-width: 2; }

/* ---------- the room display (hero) ---------- */
.room-screen {
  --scr-bg: var(--scr-green);
  display: flex; flex-direction: column;
  padding: 4em 4.6em 3.4em;
  background: var(--scr-bg);
  transition: background-color .8s var(--ease);
}
.room-screen[data-state="soon"] { --scr-bg: var(--scr-yellow); }
.room-screen[data-state="occupied"] { --scr-bg: var(--scr-red); }

.rs-date { font-size: 1.05em; font-weight: 450; opacity: .85; }
.rs-room { margin-top: .5em; font-size: 5.1em; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.rs-body { display: grid; margin-top: auto; }
.rs-layer {
  grid-area: 1 / 1; align-self: end;
  opacity: 0; transform: translateY(1.2em); visibility: hidden;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), visibility .5s;
}
.room-screen[data-state="available"] [data-layer="available"],
.room-screen[data-state="soon"] [data-layer="soon"],
.room-screen[data-state="occupied"] [data-layer="occupied"] {
  opacity: 1; transform: none; visibility: visible; transition-delay: .12s;
}
.rs-status { font-size: 2.1em; font-weight: 650; letter-spacing: -.02em; }
.rs-time { margin-top: .05em; font-size: 3.5em; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rs-note { margin-top: .5em; font-size: .9em; opacity: .8; }
.rs-org { display: block; font-size: 1em; opacity: .85; margin-bottom: .2em; }
.rs-btn {
  display: inline-flex; align-items: center; gap: .5em; margin-top: 1.1em;
  padding: .75em 1.35em; border-radius: 999px;
  background: var(--scr-ink); color: #fff;
  font-size: 1.05em; font-weight: 550; white-space: nowrap;
}
.rs-btn--alt { background: rgba(0, 0, 0, .18); color: var(--scr-ink); }
.rs-btns { display: flex; gap: .8em; }
.rs-upcoming {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5em;
  width: max-content; max-width: 100%; margin-top: 1em;
  padding: 1.1em 1.3em 1.1em 1.5em; border-radius: 1.6em;
  background: rgba(255, 255, 255, .45);
}
.rs-upcoming > div { display: flex; flex-direction: column; }
.rs-kicker { font-size: .75em; opacity: .6; margin-bottom: .35em; }
.rs-upcoming .rs-org { font-size: .85em; margin-bottom: .15em; }
.rs-upcoming strong { font-size: 1.2em; font-weight: 650; }
.rs-in { font-size: 1.45em; font-weight: 300; }
.rs-upcoming .rs-btn { margin-top: 0; padding: .9em 1.5em; font-size: 1.15em; }

.rs-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 2.2em; }
.rs-amen { display: flex; gap: 2.2em; font-size: .9em; }
.rs-amen li { display: inline-flex; align-items: center; gap: .5em; }
.rs-report { padding: .55em 1.1em; border-radius: 999px; background: rgba(0, 0, 0, .14); font-size: .8em; }

/* ---------- floating chips around the hero device ---------- */
.float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 16px;
  background: rgba(20, 22, 27, .72);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 40px -12px rgba(0, 0, 0, .7);
  font-size: 13px; line-height: 1.3; white-space: nowrap;
  transform: translateZ(60px);
  animation: bob 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-weight: 600; color: #fff; }
.float-chip small { display: block; font-size: 12px; color: var(--text-2); }
.chip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(93, 243, 154, .14); color: var(--green); font-size: 17px; }
.chip-ic--yellow { background: rgba(255, 217, 102, .14); color: var(--yellow); }
.chip-sync { top: -26px; left: -36px; }
.chip-sync .ic { animation: spin 6s linear infinite; }
.chip-release { right: -28px; bottom: 15%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- state switcher ---------- */
.state-switch {
  display: flex; justify-content: center; gap: 6px;
  width: max-content; max-width: 100%; margin: 34px auto 0; padding: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
}
.ss-tab {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  font-size: 13.5px; color: var(--text-2);
  transition: color .25s, background-color .25s;
}
.ss-tab:hover { color: #fff; }
.ss-tab.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.ss-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
[data-state-tab="soon"] .ss-dot { background: var(--yellow); }
[data-state-tab="occupied"] .ss-dot { background: var(--red); }
.ss-bar { position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; overflow: hidden; }
.ss-bar i { display: block; height: 100%; background: rgba(255, 255, 255, .5); transform: scaleX(0); transform-origin: left; }
.ss-tab.is-active .ss-bar i { animation: progress 5s linear forwards; }
.is-paused .ss-tab.is-active .ss-bar i { animation-play-state: paused; }
.no-autoplay .ss-bar { display: none; }
@keyframes progress { to { transform: scaleX(1); } }

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 22px 22px 22px 0;
  font-size: 15px; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap;
}
.ticker li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.ticker li:nth-child(3n+2)::before { background: var(--yellow); }
.ticker li:nth-child(3n)::before { background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head > div { max-width: 720px; }
.section-sub { max-width: 400px; color: var(--text-2); font-size: 16.5px; }

/* reveal on scroll (only when JS runs) */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- introducing ---------- */
.statement {
  max-width: 1080px;
  font-size: clamp(30px, 4.3vw, 58px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 550;
  text-wrap: pretty;
}
.statement em { font-style: normal; }
.js .statement .w { color: rgba(243, 244, 246, .16); transition: color .35s; }
.js .statement .w.on { color: var(--text); }
.js .statement em .w.on { color: var(--green); }
.statement em { color: var(--green); }

.intro-sub { display: flex; justify-content: flex-end; margin-top: clamp(32px, 4vw, 56px); }
.intro-sub p { max-width: 480px; color: var(--text-2); font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.step { display: flex; flex-direction: column; }
.step-visual {
  position: relative; overflow: hidden;
  height: 200px; margin-bottom: 26px;
  display: grid; place-items: center;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 0%, #15181d 0%, var(--bg-elev) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.step-no { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step h3 { margin: 8px 0 10px; font-size: 26px; letter-spacing: -.03em; }
.step p { color: var(--text-2); font-size: 16px; }

/* step 1: wall, door, screen */
.wall { position: relative; width: 210px; height: 150px; }
.door {
  position: absolute; left: 22px; bottom: 0; width: 86px; height: 136px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14);
}
.door-glass { position: absolute; inset: 12px 12px 44px; border-radius: 3px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); }
.door-handle { position: absolute; right: 9px; top: 74px; width: 3px; height: 18px; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.wall-screen {
  position: absolute; left: 126px; top: 46px; width: 56px; height: 37px; padding: 3px;
  border-radius: 6px; background: #22252b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.wall-screen span { display: block; height: 100%; border-radius: 3px; background: var(--green); animation: tri 7.5s infinite steps(1); }
.wall-screen::after {
  content: ""; position: absolute; inset: -20px; z-index: -1; border-radius: 50%;
  background: var(--green); opacity: .25; filter: blur(18px); animation: tri 7.5s infinite steps(1);
}
.floor { position: absolute; left: -30px; right: -30px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); }
@keyframes tri { 0% { background-color: var(--green); } 33.33% { background-color: var(--yellow); } 66.66% { background-color: var(--red); } }

/* step 2: calendar to screen */
.v-connect { display: flex; align-items: center; justify-content: center; gap: 0; grid-template-columns: none; }
.vc-node {
  position: relative; display: grid; place-items: center;
  width: 70px; height: 70px; border-radius: 20px;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.vc-cal { font-size: 28px; color: #fff; }
.vc-cal span { position: absolute; bottom: -9px; padding: 2px 7px; border-radius: 99px; background: #fff; color: #000; font-family: var(--mono); font-size: 10.5px; font-weight: 500; }
.vc-screen { width: 82px; height: 56px; padding: 5px; border-radius: 10px; }
.vc-screen span { width: 100%; height: 100%; border-radius: 5px; background: var(--green); box-shadow: 0 0 30px rgba(93, 243, 154, .35); }
.vc-line { position: relative; width: 90px; height: 2px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0); background-size: 8px 2px; }
.vc-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: travel 2.4s var(--ease) infinite; }
.vc-line i + i { animation-delay: 1.2s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }

/* step 3: legend */
.legend { display: flex; flex-direction: column; gap: 10px; width: 200px; }
.lg {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; font-weight: 500;
}
.lg i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.lg--g { --c: var(--green); }
.lg--y { --c: var(--yellow); }
.lg--r { --c: var(--red); }
.step:hover .lg { animation: nudge .6s var(--ease) both; }
.step:hover .lg--y { animation-delay: .06s; }
.step:hover .lg--r { animation-delay: .12s; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* ---------- why ---------- */
.why { background: linear-gradient(180deg, transparent, var(--bg-elev) 30%, var(--bg-elev) 70%, transparent); }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  box-shadow: inset 0 0 0 1px var(--line);
}
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--tone, #fff) 14%, transparent), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
[data-spotlight]:hover::before { opacity: 1; }
.why-card { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.why-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 56px; }
.why-ic {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  font-size: 24px; color: var(--tone);
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 28%, transparent);
}
.why-no { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.why-card h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.035em; margin-bottom: 12px; }
.why-card p { color: var(--text-2); font-size: 16px; max-width: 520px; }

/* ---------- features ---------- */
.feat-wrap {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
}
.feat-list { display: flex; flex-direction: column; gap: 4px; }
.feat {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px;
  width: 100%; padding: 16px 18px; border-radius: 20px;
  text-align: left; color: var(--text-2);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.feat:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.feat.is-active { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.feat-ic {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  font-size: 20px; background: rgba(255, 255, 255, .05);
  transition: background-color .3s, color .3s;
}
.feat.is-active .feat-ic { background: var(--green); color: #03140a; }
.feat-text { display: flex; flex-direction: column; justify-content: center; min-height: 42px; }
.feat-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 17.5px; font-weight: 550; letter-spacing: -.015em; }
.feat-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.feat.is-active .feat-body { grid-template-rows: 1fr; }
.feat-body > span { overflow: hidden; }
.feat-desc { display: block; padding-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.feat-progress { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; overflow: hidden; border-radius: 2px; }
.feat-progress i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.feat.is-active .feat-progress i { animation: progress 7s linear forwards; }
.is-paused .feat.is-active .feat-progress i,
.is-offscreen .feat.is-active .feat-progress i { animation-play-state: paused; }
.no-autoplay .feat-progress { display: none; }

.feat-stage { position: sticky; top: calc(var(--header-h) + 40px); }
.feat-glow {
  position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: var(--green); opacity: .1; filter: blur(80px);
}

/* feature panels share the screen */
.feat-screen { background: #0b0c0e; }
.fs {
  opacity: 0; visibility: hidden; transform: scale(1.025);
  transition: opacity .5s var(--ease), transform .7s var(--ease-out), visibility .5s;
}
.fs.is-active { opacity: 1; visibility: visible; transform: none; }
.fs-toast {
  position: absolute; left: 50%; bottom: 2.6em; z-index: 4;
  display: flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px;
  background: #0b0b0c; color: #fff; font-size: 1.05em; font-weight: 550; white-space: nowrap;
  box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .6);
  opacity: 0; transform: translate(-50%, 1em); pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.fs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fs-toast::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--green); }

/* 0 · rooms overview */
.fs-rooms { display: flex; flex-direction: column; padding: 3em 3.4em; background: radial-gradient(120% 100% at 50% 0%, #17191d, #0b0c0e); color: #fff; }
.fs-head { display: flex; justify-content: space-between; align-items: center; font-size: 1.15em; color: rgba(255, 255, 255, .7); }
.live { display: inline-flex; align-items: center; gap: .5em; padding: .3em .8em; border-radius: 99px; background: rgba(93, 243, 154, .12); color: var(--green); font-size: .85em; font-weight: 550; }
.live i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.rooms-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 1.2em; margin-top: 2em; }
.room {
  --c: var(--scr-green);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5em; border-radius: 1.4em;
  background: var(--c); color: var(--scr-ink);
  transition: background-color .7s var(--ease);
}
.room[data-s="soon"] { --c: var(--scr-yellow); }
.room[data-s="busy"] { --c: var(--scr-red); }
.room.is-flash { animation: flash .7s var(--ease); }
@keyframes flash { 40% { transform: scale(.96); } }
.room-name { position: absolute; top: 1.2em; left: 1.5em; right: 1.5em; font-size: 1.05em; font-weight: 500; opacity: .7; }
.room-state { font-size: 1.75em; font-weight: 650; letter-spacing: -.02em; line-height: 1.1; }
.room-meta { margin-top: .2em; font-size: .95em; opacity: .75; }

/* 1 · scheduling */
.fs-schedule { display: grid; grid-template-columns: 1.3fr 1fr; color: #fff; }
.sch-left { display: flex; flex-direction: column; padding: 4em 3.6em 3.4em; background: linear-gradient(160deg, #13201f, #070909 70%); }
.sch-left .rs-date { color: rgba(255, 255, 255, .8); }
.sch-room { margin-top: .5em; font-size: 4.2em; font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.sch-status { margin-top: auto; }
.sch-st { font-size: 1.9em; font-weight: 650; }
.sch-tm { font-size: 3.2em; font-weight: 300; letter-spacing: -.03em; }
.sch-pill { display: inline-flex; align-items: center; gap: .5em; margin-top: 1em; padding: .65em 1.2em; border-radius: 999px; background: var(--scr-green); color: var(--scr-ink); font-weight: 600; }
.sch-right { display: flex; flex-direction: column; justify-content: center; padding: 3em 3em; background: #283435; }
.sch-label { font-size: 1.15em; color: rgba(255, 255, 255, .85); }
.sch-dur { margin-top: .9em; font-size: 3em; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sch-range { font-size: 1.5em; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; }
.sch-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 2.4em; margin: 1.6em 0 0; background: transparent; cursor: grab;
  font-size: inherit;
}
.sch-slider:active { cursor: grabbing; }
.sch-slider::-webkit-slider-runnable-track { height: .25em; border-radius: 99px; background: linear-gradient(90deg, #fff var(--p, 33%), rgba(255, 255, 255, .25) 0); }
.sch-slider::-moz-range-track { height: .25em; border-radius: 99px; background: rgba(255, 255, 255, .25); }
.sch-slider::-moz-range-progress { height: .25em; border-radius: 99px; background: #fff; }
.sch-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 1.7em; height: 1.7em; margin-top: -.72em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .4em rgba(255, 255, 255, .15); }
.sch-slider::-moz-range-thumb { width: 1.7em; height: 1.7em; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .4em rgba(255, 255, 255, .15); }
.sch-actions { display: flex; justify-content: space-between; gap: .8em; margin-top: 3em; }
.sch-actions button { display: inline-flex; align-items: center; gap: .45em; padding: .75em 1.2em; border-radius: 999px; font-size: 1em; font-weight: 550; white-space: nowrap; }
.sch-confirm { background: #fff; color: var(--scr-ink); }
.sch-cancel { background: rgba(255, 255, 255, .14); color: #fff; }
.sch-actions button:hover { filter: brightness(.92); }

/* 2 · check-in */
.fs-checkin {
  display: flex; flex-direction: column;
  padding: 4em 4.6em 3.6em;
  background: var(--scr-yellow);
  transition: background-color .7s var(--ease);
}
.fs-checkin[data-checked="true"] { background: var(--scr-red); }
.ci-room { margin-top: .5em; font-size: 5.1em; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.ci-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2em; margin-top: auto; }
.ci-card {
  display: flex; align-items: center; gap: 2em;
  padding: 1.5em 1.6em 1.5em 2em; border-radius: 2em;
  background: rgba(255, 255, 255, .5);
}
.ci-card > div { display: flex; flex-direction: column; }
.ci-card strong { font-size: 1.6em; font-weight: 650; letter-spacing: -.02em; }
.ci-card .rs-org { font-size: 1.05em; }
.ci-card .rs-kicker { font-size: .9em; }
.ci-card .rs-in { font-size: 1.9em; }
.ci-btn {
  padding: .8em 1.5em; border-radius: 999px;
  background: var(--scr-ink); color: #fff;
  font-size: 1.7em; font-weight: 500; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .3s;
}
.ci-btn:hover { transform: scale(1.04); }
.ci-btn:active { transform: scale(.96); }
.fs-checkin[data-checked="true"] .ci-btn { background: rgba(0, 0, 0, .2); color: var(--scr-ink); pointer-events: none; }
.ci-timer { display: flex; align-items: center; gap: .8em; font-size: 1em; line-height: 1.3; transition: opacity .4s; }
.ci-timer b { font-size: 1.5em; font-variant-numeric: tabular-nums; }
.ci-timer svg { width: 4.4em; height: 4.4em; transform: rotate(-90deg); }
.ci-timer circle { fill: none; stroke: rgba(0, 0, 0, .14); stroke-width: 3.2; }
.ci-timer .ci-ring { stroke: var(--scr-ink); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
.fs-checkin[data-checked="true"] .ci-timer { opacity: 0; }

/* 3 · Microsoft 365 sync */
.fs-sync {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.6em;
  padding: 3.4em;
  background: radial-gradient(100% 120% at 0% 0%, #172033, #0b0c0e 60%);
  color: #fff;
}
.sync-cal { display: flex; flex-direction: column; padding: 1.8em; border-radius: 1.6em; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sync-head { display: flex; align-items: center; gap: .6em; font-size: 1em; color: rgba(255, 255, 255, .75); }
.sync-head .ic { color: #6ea2ff; }
.cal-list { display: flex; flex-direction: column; gap: .7em; margin-top: 1.6em; }
.cal-list li {
  display: flex; align-items: center; gap: 1em;
  padding: .85em 1em; border-radius: .9em;
  background: rgba(255, 255, 255, .05);
  border-left: .3em solid #4c8dff;
  font-size: 1.1em;
}
.cal-list time { font-family: var(--mono); font-size: .85em; color: rgba(255, 255, 255, .6); }
.cal-list .is-now { border-left-color: var(--scr-red); background: rgba(255, 115, 109, .1); }
.cal-list em { margin-left: auto; padding: .15em .6em; border-radius: 99px; background: var(--scr-green); color: var(--scr-ink); font-style: normal; font-size: .75em; font-weight: 600; }
.cal-new { opacity: 0; transform: translateX(-1em); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
.fs-sync.is-synced .cal-new { opacity: 1; transform: none; }
.sync-link { position: relative; display: grid; place-items: center; width: 6em; }
.sync-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .15em; background-image: linear-gradient(90deg, rgba(255, 255, 255, .3) 50%, transparent 0); background-size: .8em .15em; }
.sync-ic { position: relative; display: grid; place-items: center; width: 3.4em; height: 3.4em; border-radius: 50%; background: #1d2433; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); font-size: 1.3em; }
.fs-sync.is-syncing .sync-ic .ic { animation: spin 1s linear infinite; }
.sync-dot { position: absolute; top: calc(50% - .4em); left: 0; width: .8em; height: .8em; border-radius: 50%; background: var(--scr-green); box-shadow: 0 0 1em var(--scr-green); opacity: 0; }
.fs-sync.is-syncing .sync-dot { animation: travel 1.1s var(--ease) 2; }
.sync-disp { display: flex; flex-direction: column; gap: 1.2em; }
.mini-red { padding: 1.8em; border-radius: 1.4em; background: var(--scr-red); color: var(--scr-ink); box-shadow: 0 0 0 .5em #1b1d22, 0 0 0 .6em rgba(255, 255, 255, .08); }
.md-room { font-size: 2.1em; font-weight: 700; letter-spacing: -.03em; }
.md-st { margin-top: 1.2em; font-size: 1.25em; font-weight: 650; }
.md-tm { font-size: 1.8em; font-weight: 300; }
.md-next { display: flex; flex-direction: column; margin-top: 1em; padding: .7em .9em; border-radius: .8em; background: rgba(255, 255, 255, .4); font-size: .95em; }
.md-next span { font-size: .8em; opacity: .65; }
.md-next b { font-weight: 600; transition: opacity .3s; }
.fs-sync:not(.is-synced) .md-next b { opacity: .35; }
.sync-status { display: inline-flex; align-items: center; gap: .6em; margin-left: .4em; font-size: 1em; color: rgba(255, 255, 255, .75); }
.sync-status i { width: .6em; height: .6em; border-radius: 50%; background: var(--scr-green); }

/* 4 · themes */
.fs-theme { color: #fff; overflow: hidden; }
.th-bg { position: absolute; inset: 0; transition: opacity .6s; }
.th-content { position: relative; display: flex; flex-direction: column; height: 100%; padding: 4em 4.6em 3.6em; }
.th-logo { position: absolute; top: 3.6em; right: 4.2em; padding: .5em 1em; border-radius: .6em; box-shadow: inset 0 0 0 .12em currentColor; font-family: var(--mono); font-size: .85em; letter-spacing: .14em; opacity: .85; }
.th-room { margin-top: .5em; font-size: 5.1em; font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.th-st { margin-top: auto; font-size: 2.1em; font-weight: 650; }
.th-tm { font-size: 3.5em; font-weight: 300; letter-spacing: -.03em; }
.th-pill { align-self: flex-start; margin-top: 1em; padding: .7em 1.3em; border-radius: 999px; background: #2ac769; color: #04130a; font-weight: 600; }
.th-swatches {
  position: absolute; right: 3em; bottom: 3em; z-index: 3;
  display: flex; gap: .7em; padding: .6em; border-radius: 999px;
  background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.th-swatches button { width: 2.6em; height: 2.6em; border-radius: 50%; box-shadow: inset 0 0 0 .15em rgba(255, 255, 255, .25); transition: transform .2s var(--ease), box-shadow .2s; }
.th-swatches button:hover { transform: scale(1.1); }
.th-swatches button.is-active { box-shadow: 0 0 0 .2em #fff; }
[data-theme-set="midnight"] { background: radial-gradient(circle at 50% 120%, #ff9b45 0 18%, #12204d 48%, #03040b 80%); }
[data-theme-set="paper"] { background: #f7f6f0; }
[data-theme-set="forest"] { background: linear-gradient(135deg, #0f3d26, #4fb873); }
[data-theme-set="brand"] { background: linear-gradient(135deg, #6528e0, #e0458f); }

.fs-theme[data-theme="midnight"] .th-bg {
  background:
    radial-gradient(ellipse 80% 38% at 50% 110%, rgba(255, 180, 90, 1) 0%, rgba(255, 120, 40, .6) 30%, transparent 65%),
    radial-gradient(ellipse 130% 75% at 50% 130%, #2a55c4 0%, #0d1a44 45%, transparent 72%),
    radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 0),
    radial-gradient(1px 1px at 70% 18%, #fff 50%, transparent 0),
    radial-gradient(1.5px 1.5px at 85% 40%, rgba(255, 255, 255, .8) 50%, transparent 0),
    radial-gradient(1px 1px at 40% 12%, rgba(255, 255, 255, .7) 50%, transparent 0),
    #03040b;
}
.fs-theme[data-theme="paper"] { color: #1a1a1a; }
.fs-theme[data-theme="paper"] .th-bg {
  background:
    linear-gradient(90deg, transparent 8%, rgba(230, 80, 80, .5) 8% calc(8% + 1px), transparent 0),
    repeating-linear-gradient(180deg, transparent 0 calc(3.2em - 1px), rgba(70, 120, 200, .25) calc(3.2em - 1px) 3.2em),
    #fbfbf6;
}
.fs-theme[data-theme="paper"] .th-room { font-family: "Courier New", Courier, monospace; font-weight: 700; letter-spacing: -.02em; }
.fs-theme[data-theme="paper"] .th-pill { background: #1a1a1a; color: #fff; }
.fs-theme[data-theme="forest"] .th-bg { background: radial-gradient(90% 80% at 85% 10%, #8ce0a2 0%, transparent 55%), linear-gradient(150deg, #0d3a24 0%, #1d6b3e 55%, #3fa463 100%); }
.fs-theme[data-theme="forest"] .th-pill { background: #fff; color: #0d3a24; }
.fs-theme[data-theme="brand"] .th-bg { background: radial-gradient(80% 90% at 90% 0%, rgba(255, 140, 190, .8), transparent 60%), linear-gradient(135deg, #3b14a3 0%, #6528e0 45%, #c13584 100%); }
.fs-theme[data-theme="brand"] .th-pill { background: #fff; color: #3b14a3; }
.th-content > * { transition: color .4s; }

/* 5 · issue reporting */
.fs-issue { display: grid; place-items: center; background: var(--scr-green); }
.is-behind { position: absolute; inset: 0; padding: 4em 4.6em; filter: blur(.35em); opacity: .55; }
.is-behind span { font-size: 5.1em; font-weight: 700; letter-spacing: -.035em; }
.fs-issue::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.is-modal {
  position: relative; width: 78%;
  padding: 2.4em; border-radius: 1.8em;
  background: #fff; color: var(--scr-ink);
  box-shadow: 0 2em 4em -1em rgba(0, 0, 0, .5);
}
.is-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.5em; }
.is-head strong { font-weight: 650; letter-spacing: -.02em; }
.is-x { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #111; color: #fff; font-size: .8em; }
.is-chips { display: flex; flex-wrap: wrap; gap: .6em; margin-top: 1.5em; }
.chip { padding: .55em 1.1em; border-radius: 999px; background: #eeeff1; font-size: 1.05em; font-weight: 500; transition: background-color .2s, color .2s; }
.chip:hover { background: #e0e2e6; }
.chip[aria-pressed="true"] { background: var(--scr-ink); color: #fff; }
.is-text { min-height: 6.4em; margin-top: 1.4em; padding: 1em 1.2em; border-radius: 1em; background: #f4f5f7; box-shadow: inset 0 0 0 1px #e3e5e9; font-size: 1.15em; line-height: 1.4; }
.caret { display: inline-block; width: .1em; height: 1.1em; margin-left: .05em; vertical-align: text-bottom; background: var(--scr-ink); animation: blink 1s steps(1) infinite; }
.is-foot { display: flex; justify-content: flex-end; margin-top: 1.4em; }
.is-send { padding: .8em 1.5em; border-radius: 999px; background: var(--scr-ink); color: #fff; font-size: 1.1em; font-weight: 550; transition: transform .2s var(--ease); }
.is-send:hover { transform: scale(1.04); }
.is-send:active { transform: scale(.96); }

/* 6 · analytics */
.fs-analytics { display: flex; flex-direction: column; padding: 3.2em 3.6em 2.6em; background: radial-gradient(120% 100% at 100% 0%, #1f1b10, #0b0c0e 60%); color: #fff; }
.an-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.2em; color: rgba(255, 255, 255, .75); }
.an-head .badge { font-size: .65em; }
.an-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; margin-top: 1.8em; }
.an-kpis div { display: flex; flex-direction: column; padding: 1.2em 1.4em; border-radius: 1.2em; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.an-kpis b { font-size: 2.3em; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.an-kpis span { font-size: .95em; color: rgba(255, 255, 255, .6); }
.an-chart { flex: 1; display: flex; align-items: flex-end; gap: 2.2em; margin-top: 2em; padding: 0 1em; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.an-bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.an-bar i {
  display: block; height: var(--h); border-radius: .7em .7em .2em .2em;
  background: linear-gradient(180deg, var(--yellow), rgba(255, 217, 102, .25));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 1s var(--ease-out);
}
.an-bar:nth-child(2) i { transition-delay: .08s; }
.an-bar:nth-child(3) i { transition-delay: .16s; }
.an-bar:nth-child(4) i { transition-delay: .24s; background: linear-gradient(180deg, var(--green), rgba(93, 243, 154, .25)); }
.an-bar:nth-child(5) i { transition-delay: .32s; }
.fs-analytics.is-active .an-bar i { transform: none; }
.an-bar span { position: absolute; bottom: -1.9em; left: 0; right: 0; text-align: center; font-size: .95em; color: rgba(255, 255, 255, .55); }
.an-note { margin-top: 2.6em; font-size: .85em; color: rgba(255, 255, 255, .4); text-align: right; }

/* ---------- dashboards: live lobby screen ---------- */
.tv-wrap { position: relative; max-width: 1080px; margin: 0 auto; }
.tv-glow {
  position: absolute; inset: 6% 4% 18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(93, 243, 154, .18), rgba(255, 111, 105, .08) 60%, transparent);
  filter: blur(60px);
}
.tv {
  position: relative; padding: clamp(6px, .9vw, 12px);
  border-radius: clamp(10px, 1.3vw, 18px);
  background: linear-gradient(180deg, #1d2025, #0d0e11);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .1), 0 60px 120px -50px rgba(0, 0, 0, .95);
}
.tv-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(4px, .5vw, 8px); background: #0b0c0f; container-type: inline-size; }
.tv-screen::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 30%); }
.tv-stand { width: 22%; height: 34px; margin: 0 auto; background: linear-gradient(180deg, #17191d, #0c0d10); clip-path: polygon(40% 0, 60% 0, 63% 62%, 100% 78%, 100% 100%, 0 100%, 0 78%, 37% 62%); }
.tv-hint { margin-top: 18px; text-align: center; font-size: 14.5px; color: var(--text-2); }
.tv-hint span { color: var(--muted); }

.dash {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 1.4em;
  padding: 2em 2.2em;
  font-size: clamp(8.5px, 1.12cqw, 14px); line-height: 1.25; color: #eef0f2;
  background: radial-gradient(70% 60% at 100% 0%, rgba(93, 243, 154, .07), transparent 60%), #0b0c0f;
}
.dash .ic { width: 1.1em; height: 1.1em; }
.dash-top { display: flex; align-items: center; gap: 1.6em; }
.dash-brand { display: flex; align-items: center; gap: .8em; min-width: 0; }
.dash-mark { flex: none; width: 2.4em; height: 2.4em; border-radius: .7em; background: conic-gradient(from 210deg, var(--green), var(--yellow), var(--red), var(--green)); }
.dash-brand strong { display: block; font-size: 1.45em; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; }
.dash-brand small { display: block; font-size: .95em; color: rgba(255, 255, 255, .55); }
.dash-tabs {
  display: flex; gap: .3em; margin-left: auto; padding: .3em;
  border-radius: 99em; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.dash-tabs button { padding: .55em 1.1em; border-radius: 99em; font-size: 1em; color: rgba(255, 255, 255, .65); white-space: nowrap; transition: color .2s, background-color .2s; }
.dash-tabs button:hover { color: #fff; }
.dash-tabs button[aria-selected="true"] { color: #0b0c0f; background: #fff; font-weight: 600; }
.dash-meta { display: flex; align-items: center; gap: 1.6em; }
.dash-counts { display: flex; gap: 1em; font-size: .95em; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.dash-counts i { display: inline-block; width: .6em; height: .6em; margin-right: .35em; border-radius: 50%; background: var(--c); }
.dash-clock { text-align: right; }
.dash-clock b { display: block; font-size: 1.9em; font-weight: 300; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.dash-clock small { font-size: .85em; color: rgba(255, 255, 255, .55); white-space: nowrap; }

.dash-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 1em; }
.dash-grid.is-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-grid.is-swapping { animation: tplSwap .45s var(--ease-out); }
.dash-room {
  --c: var(--green);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: .45em; min-width: 0; min-height: 0;
  padding: 1em 1.1em 1em 1.45em; border-radius: 1em;
  text-align: left; color: inherit;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 13%, #14161a), #14161a 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 22%, transparent);
  transition: background .6s, box-shadow .4s, translate .25s var(--ease);
}
.dash-room::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .35em; background: var(--c); transition: background-color .6s; }
.dash-room:hover { translate: 0 -.15em; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.dash-room[data-s="soon"] { --c: var(--yellow); }
.dash-room[data-s="busy"] { --c: var(--red); }
.dash-room[hidden] { display: none; }
.dash-room.is-flash { animation: flash .7s var(--ease); }
.dash-grid.is-floor .dash-room { font-size: 1.3em; padding: 1.2em 1.3em 1.2em 1.6em; }
.dr-head { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.dr-name { font-size: 1.3em; font-weight: 650; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-online { flex: none; display: inline-flex; align-items: center; gap: .35em; font-size: .75em; color: rgba(255, 255, 255, .5); white-space: nowrap; }
.dr-online i { width: .55em; height: .55em; border-radius: 50%; background: var(--green); }
.dr-online.is-off { color: #ffb86b; }
.dr-online.is-off i { background: #ffb86b; }
.dr-sub { display: flex; align-items: center; gap: .4em; font-size: .82em; color: rgba(255, 255, 255, .5); }
.dr-status { align-self: flex-start; margin-top: .2em; padding: .3em .7em; border-radius: 99em; font-size: .92em; font-weight: 600; color: #0b0c0f; background: var(--c); white-space: nowrap; transition: background-color .6s; }
.dr-meet { display: block; font-size: .9em; color: rgba(255, 255, 255, .88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-meet small { font-size: 1em; color: rgba(255, 255, 255, .5); }
.dr-private { display: inline-flex; align-items: center; gap: .35em; }
.dr-line { position: relative; flex: none; height: .45em; margin-top: auto; border-radius: 99em; background: rgba(255, 255, 255, .08); }
.dr-line b { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 99em; background: rgba(255, 255, 255, .3); }
.dr-line b.is-now { background: var(--c); }
.dr-line i { position: absolute; top: -.25em; bottom: -.25em; left: var(--l); width: .14em; margin-left: -.07em; border-radius: .1em; background: #fff; }
.dr-assets { display: flex; gap: .65em; font-size: .95em; color: rgba(255, 255, 255, .5); }

.dash-sheet {
  position: absolute; inset: 0; z-index: 5;
  display: flex; justify-content: flex-end;
  background: rgba(5, 6, 8, .55);
  -webkit-backdrop-filter: blur(.25em); backdrop-filter: blur(.25em);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.dash-sheet.is-open { opacity: 1; visibility: visible; }
.ds-panel {
  display: flex; flex-direction: column; gap: 1.4em;
  width: min(40%, 36em); height: 100%; padding: 2.2em; overflow: auto;
  background: #121418; box-shadow: -1px 0 0 rgba(255, 255, 255, .08);
  transform: translateX(2em); transition: transform .45s var(--ease-out);
}
.dash-sheet.is-open .ds-panel { transform: none; }
.ds-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1em; }
.ds-head h3 { font-size: 2em; letter-spacing: -.03em; }
.ds-head p { margin-top: .2em; font-size: .95em; color: rgba(255, 255, 255, .55); }
.ds-close { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.ds-close:hover { background: rgba(255, 255, 255, .16); }
.ds-assets { display: flex; flex-wrap: wrap; gap: .5em; }
.ds-assets span { display: inline-flex; align-items: center; gap: .45em; padding: .45em .8em; border-radius: 99em; font-size: .9em; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); }
.ds-label { margin-bottom: .7em; font-family: var(--mono); font-size: .8em; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.ds-today { display: flex; flex-direction: column; gap: .5em; }
.ds-today li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1em 1em; padding: .7em .9em; border-radius: .7em; background: rgba(255, 255, 255, .04); }
.ds-today time { grid-row: span 2; font-family: var(--mono); font-size: .85em; color: rgba(255, 255, 255, .55); padding-top: .15em; }
.ds-today b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-today small { font-size: .85em; color: rgba(255, 255, 255, .5); }
.ds-today li.is-past { opacity: .45; }
.ds-today li.is-now { background: color-mix(in srgb, var(--red) 18%, transparent); box-shadow: inset .25em 0 0 var(--red); }
.ds-today li.is-empty { display: block; color: rgba(255, 255, 255, .55); }
.ds-book { margin-top: auto; padding-top: 1.2em; border-top: 1px solid rgba(255, 255, 255, .08); }
.ds-book p { color: rgba(255, 255, 255, .7); }
.ds-durations { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .4em; }
.ds-durations button { padding: .55em 1em; border-radius: .7em; font-size: 1em; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ds-durations button[aria-pressed="true"] { color: #04130a; background: var(--green); box-shadow: none; }
.ds-book-btn { display: block; width: 100%; margin-top: 1em; padding: .85em 1em; border-radius: 99em; font-size: 1.05em; font-weight: 600; color: #0b0c0f; background: #fff; transition: background-color .2s; }
.ds-book-btn:hover { background: var(--green); }

.dash-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.dash-feature { padding: 28px; }
.dash-feature .why-ic { margin-bottom: 22px; }
.dash-feature h3 { margin-bottom: 8px; font-size: 20px; letter-spacing: -.025em; }
.dash-feature p { font-size: 15px; color: var(--text-2); }

.dash-setup {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-top: 20px; padding: clamp(28px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(180deg, #121418, #0c0d10);
  box-shadow: inset 0 0 0 1px var(--line);
}
.dash-setup h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; }
.dash-setup-copy > p { margin-top: 10px; color: var(--text-2); }
.setup-steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.setup-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--text-2); }
.setup-steps li::before {
  content: counter(s); position: absolute; left: 0; top: -3px;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  font-family: var(--mono); font-size: 13px; color: #04130a; background: var(--green);
}
.setup-steps b { color: var(--text); font-weight: 600; }
.setup-steps code { padding: 2px 7px; border-radius: 6px; font-family: var(--mono); font-size: .86em; color: var(--text); background: rgba(255, 255, 255, .07); overflow-wrap: break-word; }
.setup-note { margin-top: 24px; font-size: 14px; color: var(--muted); }
.dash-setup-visual { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: 300px; }
.qr-screen { width: 78%; padding: 6px; border-radius: 12px; background: #1d2025; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.qr-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; aspect-ratio: 16 / 10; padding: 14px; border-radius: 7px; color: #111; background: #f4f5f7; }
.qr-inner strong { font-size: 13px; font-weight: 600; }
.qr-inner small { font-size: 10.5px; color: #666; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 38%; aspect-ratio: 1; padding: 5px; background: #fff; box-shadow: 0 0 0 1px #ddd; }
.qr i { background: #111; }
.qr i.o { background: transparent; }
.qr-bar { width: 52%; height: 5px; overflow: hidden; border-radius: 3px; background: #ddd; }
.qr-bar i { display: block; height: 100%; background: #4caf50; animation: qrbar 10s linear infinite; }
@keyframes qrbar { from { width: 100%; } to { width: 0; } }
.qr-phone {
  position: absolute; right: 2%; bottom: -4%;
  width: 32%; aspect-ratio: 9 / 18; padding: 6px; border-radius: 24px;
  background: #1d2025; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .9);
  transform: rotate(6deg);
}
.qr-phone-inner { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 10px; border-radius: 18px; color: #111; background: #fff; font-size: 10px; }
.qp-title { margin-bottom: 4px; font-size: 12px; font-weight: 650; }
.qp-label { color: #777; }
.qp-select { padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px #ddd; font-weight: 500; }
.qp-btn { align-self: flex-start; margin-top: 6px; padding: 6px 16px; border-radius: 6px; color: #fff; background: #28a745; font-weight: 600; }

@media (max-width: 980px) {
  .dash-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-setup { grid-template-columns: 1fr; }
  .dash-setup-visual { max-width: 520px; }
}

/* on phones the TV turns into a portrait kiosk so the rooms stay readable */
@media (max-width: 760px) {
  .tv-screen { aspect-ratio: auto; }
  .dash { position: relative; inset: auto; gap: 1.2em; padding: 1.4em; font-size: 10.5px; }
  .dash-top { flex-wrap: wrap; gap: 1em; }
  .dash-meta { margin-left: auto; }
  .dash-counts { display: none; }
  .dash-tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
  .dash-tabs::-webkit-scrollbar { display: none; }
  .dash-tabs button { flex: 1; }
  .dash-grid, .dash-grid.is-floor { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .dash-grid.is-floor .dash-room { font-size: 1em; }
  .dash-room { min-height: 12.5em; }
  .dash-sheet { align-items: flex-start; }
  .ds-panel { width: 100%; height: auto; border-radius: 0 0 1.2em 1.2em; }
  .ds-book { margin-top: 0; }
  .dash-setup-visual { padding-bottom: 28px; }
  .tv-stand { width: 34%; height: 24px; }
  .dash-features { grid-template-columns: 1fr; }
  .dash-feature { padding: 24px; }
  .qr-phone { width: 36%; }
}

/* ---------- customization: example templates + live editor ---------- */
.custom { background: linear-gradient(180deg, transparent, var(--bg-elev) 16%, var(--bg-elev) 84%, transparent); }

.tpl-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tpl-card {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 12px 12px 16px; border-radius: 26px;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px var(--line);
}
.js .tpl-card[data-reveal] {
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), translate .5s var(--ease-out), background-color .3s, box-shadow .3s;
  transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s, 0s;
}
.tpl-card:hover { translate: 0 -4px; background: rgba(255, 255, 255, .045); }
.tpl-card.is-active { box-shadow: inset 0 0 0 1.5px var(--green), 0 24px 60px -34px rgba(93, 243, 154, .6); }
.device--card { padding: 6px; border-radius: 16px; }
.device--card::before { display: none; }
.device--card .screen { border-radius: 10px; }
.tpl-cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 6px; }
.tpl-cap h3 { font-size: 17px; letter-spacing: -.02em; }
.tpl-cap p { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.tpl-try {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 7px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 550; color: var(--text);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.tpl-try::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 26px; }
.tpl-try .ic { font-size: 14px; transition: transform .3s var(--ease); }
.tpl-card:hover .tpl-try, .tpl-card.is-active .tpl-try { background: var(--green); color: #04130a; box-shadow: none; }
.tpl-card:hover .tpl-try .ic { transform: translateX(3px); }
.tpl-try:focus-visible { outline: none; }
.tpl-try:focus-visible::after { outline: 2px solid var(--green); outline-offset: 2px; }

.builder {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start;
  gap: clamp(24px, 3.5vw, 48px);
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(16px, 2.6vw, 36px);
  border-radius: 32px;
  background: linear-gradient(180deg, #121418, #0c0d10);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.builder-stage { position: sticky; top: calc(var(--header-h) + 28px); }
.builder-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--text-2); }
.builder-bar strong { color: #fff; font-weight: 600; }
.builder-mod { color: var(--yellow); font-style: normal; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: middle; animation: blink 1.6s infinite; }
.builder-reset {
  padding: 6px 13px; border-radius: 999px;
  font-size: 13px; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: color .2s, background-color .2s, opacity .2s;
}
.builder-reset:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.builder-reset:disabled { opacity: .35; pointer-events: none; }
.builder-state { margin-top: 20px; }
.builder-state .ss-dot { display: inline-block; margin-right: 8px; vertical-align: middle; }
.ss-dot--red { background: var(--red); }
.builder-state button[aria-pressed="true"] .ss-dot { background: #04130a; }

.controls { display: flex; flex-direction: column; gap: 20px; }
.controls-title { font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.controls-sub { margin-top: 2px; font-size: 14.5px; color: var(--text-2); }
.ctrl { display: flex; flex-direction: column; min-width: 0; }
.ctrl-label { margin-bottom: 9px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ctrl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg--center { justify-content: center; }
.seg button {
  padding: 8px 12px; border-radius: 10px;
  font-size: 14px; line-height: 1.2; color: var(--text-2);
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line);
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.seg button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.seg button[aria-pressed="true"] { color: #04130a; background: var(--green); box-shadow: none; }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.swatches button, .swatch-custom {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatches button:hover, .swatch-custom:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"], .swatch-custom.is-active { box-shadow: 0 0 0 2px #111317, 0 0 0 4px #fff; }
.swatch-custom { cursor: pointer; background: conic-gradient(#ff5a52, #ffd966, #5df39a, #4c8dff, #b46bff, #ff5a52); }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.swatch-custom:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
.text-input {
  width: 100%; height: 42px; padding: 0 14px; border: 0; border-radius: 12px;
  font: inherit; font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow .2s;
}
.text-input::placeholder { color: var(--muted); }
.text-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--green); }
.custom-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }

/* the template itself: every look is driven by data attributes + custom properties set from main.js */
.tpl {
  --ink: #0b0b0c;
  --muted-ink: color-mix(in srgb, var(--ink) 66%, transparent);
  --surface: var(--scr-green);
  --accent: #5df39a;
  --status: var(--scr-green);
  --btn-bg: #0b0b0c;
  --btn-ink: #fff;
  --glass: rgba(255, 255, 255, .45);
  --tpl-font: var(--font);
  --tpl-heavy: 700;
  --tpl-radius: 1.4em;
  --tpl-pill: 99em;
  position: absolute; inset: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr);
  padding: 3.4em 4em 3em;
  font-family: var(--tpl-font); font-size: 1.5cqw; line-height: 1.2; letter-spacing: -.01em;
  color: var(--ink); background: var(--surface);
  transition: color .4s;
}
.tpl.is-swapping { animation: tplSwap .45s var(--ease-out); }
@keyframes tplSwap { from { opacity: .35; filter: blur(.3em); } }
.tpl > * { position: relative; z-index: 1; min-width: 0; }
.tpl > .tpl-bg { position: absolute; inset: 0; z-index: 0; }
.tpl > .tpl-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: .55em; background: var(--status); }
.tpl[data-bg="status"] > .tpl-bar { display: none; }

.tpl-top { grid-area: top; display: flex; align-items: center; justify-content: space-between; gap: 1em; color: var(--muted-ink); }
.tpl-logo { display: inline-flex; align-items: center; gap: .5em; font-size: 1.05em; font-weight: var(--tpl-heavy); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.tpl-logo::before { content: ""; width: .95em; height: .95em; border-radius: calc(var(--tpl-radius) * .25); background: var(--logo-mark, var(--accent)); }
.tpl-logo:empty { display: none; }
.tpl-date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-room { grid-area: room; margin-top: .4em; font-size: 4.8em; font-weight: var(--tpl-heavy); letter-spacing: -.035em; line-height: 1.02; overflow-wrap: anywhere; }
.tpl-main { grid-area: main; align-self: end; display: flex; flex-direction: column; align-items: flex-start; }
.tpl-status { display: flex; align-items: center; gap: .45em; font-size: 2.1em; font-weight: var(--tpl-heavy); letter-spacing: -.02em; line-height: 1.05; }
.tpl-dot { display: none; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--status); box-shadow: 0 0 0 .2em color-mix(in srgb, var(--status) 30%, transparent); }
.tpl:not([data-bg="status"]) .tpl-dot { display: block; }
.tpl-what { margin-top: .5em; font-size: 1.3em; font-weight: 600; }
.tpl[data-state="free"] .tpl-what { display: none; }
.tpl-when { font-size: 3.2em; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tpl-btn { margin-top: 1.1em; padding: .7em 1.3em; border-radius: var(--tpl-pill); background: var(--btn-bg); color: var(--btn-ink); font-size: 1.05em; font-weight: 600; white-space: nowrap; }
.tpl-agenda, .tpl-timeline, .tpl-clock { display: none; }
.tpl-foot { grid-area: foot; display: flex; align-items: center; gap: 2em; margin-top: 2em; font-size: .9em; color: var(--muted-ink); white-space: nowrap; }
.tpl-report { margin-left: auto; padding: .45em 1em; border-radius: var(--tpl-pill); background: color-mix(in srgb, var(--ink) 12%, transparent); }

/* backgrounds */
.tpl[data-bg="brand"] .tpl-bg { background: radial-gradient(70% 90% at 92% 0%, rgba(255, 255, 255, .14), transparent 60%); }
.tpl[data-bg="light"] .tpl-bg { background: radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); }
.tpl[data-bg="dark"] .tpl-bg {
  background:
    radial-gradient(60% 70% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 3em 3em,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 3em 3em;
}
.tpl[data-bg="gradient"] .tpl-bg {
  background:
    radial-gradient(50% 60% at 85% 12%, rgba(255, 255, 255, .35), transparent 70%),
    radial-gradient(45% 55% at 8% 100%, rgba(0, 0, 0, .2), transparent 70%);
}
.tpl[data-bg="scenic"] .tpl-bg {
  background:
    radial-gradient(circle at 72% 60%, #ffe9b8 0 4.5%, rgba(255, 214, 150, .55) 5%, rgba(255, 190, 120, 0) 24%),
    linear-gradient(180deg, #1d2b55 0%, #57477a 36%, #d4866c 66%, #f2c38f 82%);
}
.tpl[data-bg="scenic"] .tpl-bg::before,
.tpl[data-bg="scenic"] .tpl-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; }
.tpl[data-bg="scenic"] .tpl-bg::before {
  height: 50%; background: linear-gradient(180deg, #4a3a63, #2c2442);
  clip-path: polygon(0 52%, 11% 30%, 23% 48%, 37% 16%, 51% 44%, 63% 26%, 77% 50%, 89% 32%, 100% 46%, 100% 100%, 0 100%);
}
.tpl[data-bg="scenic"] .tpl-bg::after {
  height: 34%; background: linear-gradient(180deg, #1f1a33, #0e0c1a);
  clip-path: polygon(0 38%, 17% 60%, 31% 28%, 47% 56%, 61% 34%, 79% 62%, 100% 36%, 100% 100%, 0 100%);
}

/* layouts */
.tpl[data-layout="classic"] { grid-template-rows: auto auto 1fr auto auto; grid-template-areas: "top" "room" "." "main" "foot"; }

.tpl[data-layout="split"] {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 3em;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas: "top agenda" "room agenda" ". agenda" "main agenda" "foot agenda";
}
.tpl[data-layout="split"] .tpl-room { font-size: 4.2em; }
.tpl[data-layout="split"] .tpl-agenda {
  display: flex; flex-direction: column; grid-area: agenda;
  margin: -3.4em -4em -3em 0; padding: 3.4em 3em 3em;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.tpl-agenda-title { font-size: .85em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-ink); }
.tpl-agenda ul { display: flex; flex-direction: column; gap: .6em; margin-top: 1.2em; }
.tpl-agenda li {
  display: flex; flex-direction: column; gap: .15em;
  padding: .75em 1em; border-radius: calc(var(--tpl-radius) * .5);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border-left: .25em solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.tpl-agenda time { font-size: .85em; color: var(--muted-ink); font-variant-numeric: tabular-nums; }
.tpl-agenda li span { font-size: 1.1em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-agenda li.is-now { border-left-color: var(--status); background: color-mix(in srgb, var(--status) 22%, transparent); }
.tpl-agenda li.is-next { border-left-color: var(--accent); }
.tpl-agenda li.is-past { opacity: .45; }

.tpl[data-layout="agenda"] {
  grid-template-columns: minmax(0, 1fr) auto; column-gap: 2em;
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas: "top top" "room main" "timeline timeline" "foot foot";
}
.tpl[data-layout="agenda"] .tpl-room { font-size: 4.2em; }
.tpl[data-layout="agenda"] .tpl-main { align-self: start; align-items: flex-end; margin-top: 1.2em; text-align: right; }
.tpl[data-layout="agenda"] .tpl-when { font-size: 2.2em; }
.tpl[data-layout="agenda"] .tpl-btn { display: none; }
.tpl[data-layout="agenda"] .tpl-timeline { display: flex; flex-direction: column; justify-content: center; grid-area: timeline; }
.tl-track { position: relative; height: 7.5em; border-radius: calc(var(--tpl-radius) * .6); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.tl-block {
  position: absolute; top: .7em; bottom: .7em; left: var(--l); width: var(--w);
  padding: .6em .7em; border-radius: calc(var(--tpl-radius) * .4);
  font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 55%, transparent);
}
.tl-block.is-now { background: var(--status); color: #0b0b0c; box-shadow: none; font-weight: 600; }
.tl-now { position: absolute; top: -.5em; bottom: -.5em; left: var(--l); width: .2em; margin-left: -.1em; border-radius: .1em; background: var(--ink); }
.tl-now::before { content: ""; position: absolute; top: -.35em; left: -.3em; width: .8em; height: .8em; border-radius: 50%; background: var(--ink); }
.tl-hours { display: flex; justify-content: space-between; margin-top: .8em; font-size: .85em; color: var(--muted-ink); font-variant-numeric: tabular-nums; }

.tpl[data-layout="clock"] {
  grid-template-columns: minmax(0, 1fr) auto; column-gap: 3em;
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas: "top top" "room clock" ". clock" "main clock" "foot foot";
}
.tpl[data-layout="clock"] .tpl-date { display: none; }
.tpl[data-layout="clock"] .tpl-room { font-size: 4.2em; }
.tpl[data-layout="clock"] .tpl-clock { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; grid-area: clock; text-align: right; }
.tpl-clock span { font-size: 9em; font-weight: 300; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.tpl-clock small { margin-top: .7em; font-size: 1.1em; color: var(--muted-ink); }

.tpl[data-layout="minimal"] {
  grid-template-rows: auto 1fr auto auto 1fr auto;
  grid-template-areas: "top" "." "room" "main" "." "foot";
  justify-items: center; text-align: center;
}
.tpl[data-layout="minimal"] .tpl-top, .tpl[data-layout="minimal"] .tpl-foot { justify-self: stretch; }
.tpl[data-layout="minimal"] .tpl-room { margin: 0; font-size: 1.6em; font-weight: 500; letter-spacing: 0; opacity: .85; }
.tpl[data-layout="minimal"] .tpl-main { align-self: center; align-items: center; margin-top: .4em; }
.tpl[data-layout="minimal"] .tpl-status { font-size: 6em; letter-spacing: -.045em; line-height: .98; text-wrap: balance; justify-content: center; gap: .3em; }
.tpl[data-layout="minimal"] .tpl-dot { width: .3em; height: .3em; box-shadow: 0 0 0 .1em color-mix(in srgb, var(--status) 30%, transparent); }
.tpl[data-layout="minimal"] .tpl-when { margin-top: .35em; font-size: 1.8em; font-weight: 400; }
.tpl[data-layout="minimal"] .tpl-btn { margin-top: 1.3em; }

.tpl[data-layout="banner"] {
  grid-template-rows: auto 1fr auto auto auto;
  grid-template-areas: "top" "." "room" "main" "foot";
}
.tpl[data-layout="banner"] .tpl-room { font-size: 4.4em; }
.tpl[data-layout="banner"] .tpl-main {
  margin-top: 1em; padding: 1.3em 1.7em; border-radius: var(--tpl-radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(.8em); backdrop-filter: blur(.8em);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.tpl[data-layout="banner"] .tpl-status { font-size: 1.8em; }
.tpl[data-layout="banner"] .tpl-when { font-size: 2.6em; }
.tpl[data-layout="banner"] .tpl-btn { margin-top: .9em; }

/* ---------- compatibility ---------- */
.compat-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.compat-sub { margin: 22px 0 16px; font-size: clamp(19px, 1.7vw, 22px); color: var(--text); letter-spacing: -.015em; }
.compat-copy > p:not(.compat-sub):not(.eyebrow) { color: var(--text-2); }
.compat-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 34px; }
.compat-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.compat-list .ic { display: grid; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(93, 243, 154, .14); color: var(--green); stroke-width: 2.4; }

.compat-visual { position: relative; perspective: 1600px; }
.fan {
  position: relative; aspect-ratio: 1.22;
  transform: rotateX(10deg) rotateY(-16deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 1s var(--ease-out);
}
.compat-visual:hover .fan { transform: rotateX(4deg) rotateY(-8deg) rotateZ(0deg); }
.mini-device { position: absolute; width: 62%; transition: transform .9s var(--ease-out); }
.device--mini { padding: clamp(6px, .8vw, 10px); border-radius: clamp(12px, 1.5vw, 20px); }
.device--mini::before { display: none; }
.md-1 { left: 0; top: 0; transform: translateZ(-80px); }
.md-2 { left: 19%; top: 23%; transform: translateZ(-20px); }
.md-3 { left: 38%; top: 46%; transform: translateZ(40px); }
.compat-visual:hover .md-1 { transform: translate(-4%, -4%) translateZ(-80px); }
.compat-visual:hover .md-3 { transform: translate(4%, 4%) translateZ(40px); }
.md-tag {
  position: absolute; left: 16px; top: -13px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: #fff; color: #000; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .6);
}
.md-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fb85a; }
.mini { display: flex; flex-direction: column; padding: 4em 4.6em 3.8em; }
.mini--green { background: var(--scr-green); }
.mini--yellow { background: var(--scr-yellow); }
.mini--red { background: var(--scr-red); }
.m-date { font-size: 1.1em; opacity: .8; }
.m-room { margin-top: .4em; font-size: 5.4em; font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.m-st { margin-top: auto; font-size: 2.2em; font-weight: 650; }
.m-tm { font-size: 3.8em; font-weight: 300; letter-spacing: -.03em; }

/* ---------- partner ---------- */
.partner-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 48px;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(80% 120% at 100% 50%, rgba(93, 243, 154, .1), transparent 60%),
    linear-gradient(180deg, #121418, #0c0d10);
  box-shadow: inset 0 0 0 1px var(--line);
}
.partner-copy .lead { margin: 22px 0 16px; }
.partner-copy > p:not(.lead):not(.eyebrow) { color: var(--text-2); margin-bottom: 34px; max-width: 560px; }
.partner-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 380px; justify-self: center; }
.orbit { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); animation: spin 26s linear infinite; }
.orbit--2 { inset: 15%; animation-duration: 18s; animation-direction: reverse; }
.orbit--3 { inset: 30%; animation-duration: 12s; }
.o-dot { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 20px var(--c); }
.o-dot--g { --c: var(--green); }
.o-dot--y { --c: var(--yellow); top: auto; bottom: -7px; }
.o-dot--r { --c: var(--red); }
.orbit-core {
  position: absolute; inset: 40%; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: #000; font-size: clamp(26px, 3vw, 36px);
  box-shadow: 0 0 60px rgba(255, 255, 255, .25);
}
.orbit-core .ic { stroke-width: 1.6; }

/* ---------- CTA ---------- */
.cta { padding-top: 0; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 9vw, 130px) clamp(24px, 5vw, 72px);
  border-radius: 40px;
  text-align: center;
  background: #0b0c0f;
  box-shadow: inset 0 0 0 1px var(--line);
}
.cta-aurora { position: absolute; inset: 0; z-index: -1; }
.cta-aurora i { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; filter: blur(90px); opacity: .32; animation: drift 14s ease-in-out infinite alternate; }
.cta-aurora i:nth-child(1) { left: -6%; bottom: -40%; background: var(--green); }
.cta-aurora i:nth-child(2) { left: 28%; bottom: -55%; background: var(--yellow); opacity: .22; animation-delay: -5s; }
.cta-aurora i:nth-child(3) { right: -6%; bottom: -42%; background: var(--red); animation-delay: -9s; }
@keyframes drift { to { translate: 6% -10%; scale: 1.15; } }
.cta-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000, transparent 75%);
}
.cta-title { max-width: 900px; margin: 0 auto; font-size: clamp(40px, 6.4vw, 88px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.cta-text { max-width: 540px; margin: 24px auto 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 100px); border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand .logo { height: 54px; }
.footer-tag { max-width: 340px; color: var(--text-2); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.footer-grid h3 { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-grid address, .footer-grid a { font-size: 15px; color: var(--text-2); }
.footer-grid a { display: flex; align-items: center; gap: 9px; width: max-content; max-width: 100%; padding: 3px 0; transition: color .2s; }
.footer-grid a:hover { color: #fff; }
.footer-grid a .ic { font-size: 16px; color: var(--muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tri { display: flex; gap: 6px; }
.tri i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tri i:nth-child(2) { background: var(--yellow); }
.tri i:nth-child(3) { background: var(--red); }
.footer-wordmark {
  width: calc(100% - var(--gutter) * 2); max-width: var(--container); height: auto;
  margin: 12px auto 0;
  fill: rgba(255, 255, 255, .04);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}

/* =========================================================
   COOKIE NOTICE
   ========================================================= */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 60;
  width: min(420px, calc(100% - 32px));
  padding: 22px 22px 20px; border-radius: 22px;
  background: #15171c;
  box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(0, 0, 0, .8);
  font-size: 13.5px; line-height: 1.5; color: var(--text-2);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .5s var(--ease-out);
}
.cookie.is-in { opacity: 1; transform: none; }
.menu-open .cookie { visibility: hidden; }
.cookie-title { margin-bottom: 8px; font-size: 16px; font-weight: 600; color: #fff; }
.cookie-small { margin-top: 8px; font-size: 12px; color: var(--muted); }
.cookie-small a { text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { margin-top: 16px; width: 100%; }

/* =========================================================
   LEGAL PAGE
   ========================================================= */
.legal-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(44px, 6.5vw, 86px); line-height: .98; letter-spacing: -.055em; }
.legal-hero p { margin-top: 20px; max-width: 620px; color: var(--text-2); font-size: 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px) clamp(80px, 10vw, 140px); }
.legal-toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.legal-toc p { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legal-toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.legal-toc a span { font-family: var(--mono); font-size: 12px; color: var(--green); padding-top: 2px; }
.legal-toc a:hover, .legal-toc a.is-active { color: #fff; }
.legal-body { max-width: 760px; color: var(--text-2); }
.legal-body section + section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; color: var(--text); }
.legal-body h2 span { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--green); }
.legal-body h3 { margin: 40px 0 12px; font-size: 21px; letter-spacing: -.02em; color: var(--text); }
.legal-body h4 { margin: 26px 0 8px; font-size: 16px; font-weight: 600; color: var(--text); }
.legal-body p + p { margin-top: 14px; }
.legal-body ul { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.legal-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: var(--green); }
.legal-card { margin: 16px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.legal-updated { margin-top: 64px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.legal-body code {
  padding: 2px 7px; border-radius: 6px;
  font-family: var(--mono); font-size: .86em; color: var(--text);
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line);
  overflow-wrap: anywhere;
}

/* ---------- support guide ---------- */
.toc-help { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-toc .toc-help a { align-items: center; }
.legal-toc .toc-help .ic { font-size: 16px; color: var(--muted); }
.guide-note { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 14px; color: var(--yellow); background: rgba(255, 217, 102, .08); box-shadow: inset 0 0 0 1px rgba(255, 217, 102, .22); }
.legal-body .steps-list { counter-reset: step; display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.legal-body .steps-list > li {
  counter-increment: step;
  padding: 17px 20px 17px 64px; border-radius: 16px;
  color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.legal-body .steps-list > li::before {
  content: counter(step);
  top: 14px; left: 18px; width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--mono); font-size: 13px; color: var(--text);
}
.legal-body .steps-list > li.is-test::before { background: rgba(255, 217, 102, .14); box-shadow: inset 0 0 0 1px rgba(255, 217, 102, .4); color: var(--yellow); }
.legal-body .steps-list > li.is-done { background: rgba(93, 243, 154, .07); box-shadow: inset 0 0 0 1px rgba(93, 243, 154, .25); }
.legal-body .steps-list > li.is-done::before { content: "✓"; background: var(--green); box-shadow: none; color: #04130a; font-family: var(--font); font-weight: 700; }
.legal-body .steps-list ul { margin: 10px 0 0; }
.legal-body .steps-list ul li { color: var(--text-2); }
.path { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.path em { color: var(--text); font-style: normal; font-weight: 550; }
.steps-list ul .path { display: inline; margin: 0; }
.legal-body .dl-card {
  display: flex; align-items: center; gap: 16px;
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  color: var(--text); text-decoration: none;
  background: rgba(93, 243, 154, .06); box-shadow: inset 0 0 0 1px rgba(93, 243, 154, .25);
  transition: background-color .25s, box-shadow .25s;
}
.legal-body .dl-card:hover { background: rgba(93, 243, 154, .11); box-shadow: inset 0 0 0 1px rgba(93, 243, 154, .55); }
.dl-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 21px; color: #04130a; background: var(--green); }
.dl-ic .ic { stroke-width: 2.2; }
.dl-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.dl-text strong { font-size: 16px; }
.dl-text small { font-size: 13.5px; color: var(--text-2); }
.legal-body .dl-text code { align-self: flex-start; margin-top: 7px; font-size: 12px; color: var(--text-2); }
.dl-btn { flex: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: #08090b; background: #fff; transition: background-color .25s; }
.dl-card:hover .dl-btn { background: var(--green); }
.callout {
  display: flex; gap: 14px; margin-top: 24px; padding: 18px 20px; border-radius: 16px;
  color: var(--text); background: rgba(255, 217, 102, .06); box-shadow: inset 0 0 0 1px rgba(255, 217, 102, .22);
}
.callout > .ic { flex: none; margin-top: 2px; font-size: 21px; color: var(--yellow); }
.callout strong { display: block; margin-bottom: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .chip-sync { left: -12px; }
  .chip-release { right: -10px; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 720px; width: 100%; margin-inline: auto; }
  .feat-wrap { grid-template-columns: 1fr; }
  .feat-stage { position: relative; top: auto; order: -1; }
  .tpl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder { grid-template-columns: 1fr; }
  .builder-stage { position: relative; top: auto; }
  .compat-inner { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-visual { max-width: 260px; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: relative; top: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-top { padding-bottom: 32px; }
  .intro-sub { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip { font-size: 12px; padding: 8px 12px 8px 8px; gap: 9px; }
  .float-chip small { display: none; }
  .chip-ic { width: 28px; height: 28px; font-size: 15px; border-radius: 8px; }
  .chip-sync { top: -18px; left: -4px; }
  .chip-release { right: -4px; bottom: -18px; }
  .state-switch { margin-top: 40px; }
  .ss-tab { padding: 9px 12px; font-size: 13px; }
  .feat { padding: 14px; gap: 14px; grid-template-columns: 38px minmax(0, 1fr); }
  .feat-ic { width: 38px; height: 38px; font-size: 18px; }
  .feat-text { min-height: 38px; }
  .feat-title { font-size: 16.5px; }
  .partner-card, .cta-card { border-radius: 28px; }
}

@media (max-width: 620px) {
  .tpl-gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tpl-gallery::-webkit-scrollbar { display: none; }
  .tpl-card { scroll-snap-align: start; }
  .ctrl-grid { grid-template-columns: 1fr; }
  .builder { padding: 14px 14px 22px; border-radius: 24px; }
  .builder-bar { font-size: 13px; }
}

@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 8px; }
  .state-switch { width: 100%; justify-content: space-between; }
  .ss-tab { flex: 1; justify-content: center; padding: 9px 6px; gap: 6px; font-size: 12.5px; }
  .ss-bar { left: 10px; right: 10px; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .md-tag { left: 10px; top: -11px; padding: 4px 9px; font-size: 11px; }
  .legal-body .steps-list > li { padding: 15px 16px 15px 56px; }
  .legal-body .steps-list > li::before { left: 14px; }
  .legal-body .dl-card { flex-wrap: wrap; }
  .dl-btn { width: 100%; text-align: center; }
  .cookie { left: 16px; bottom: 16px; padding: 16px 16px 14px; font-size: 12.5px; line-height: 1.45; }
  .cookie-title { font-size: 15px; margin-bottom: 6px; }
  .cookie-small { font-size: 11px; }
  .cookie .btn { margin-top: 12px; }
  .cta-aurora i { width: 90%; }
  .partner-visual { max-width: 200px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
