/* Rebo Studios site.
   Layout: dark "night shift" page with an ember-orange glow, light sheets slide over it for the
   plain-talk sections (problem, calculator, who it's for). One accent, used for light and actions only.
   Single committed look (dark page + light sheets), so colours are set explicitly rather than per theme. */
:root {
  color-scheme: dark;
  --ink: #09090b;          /* page */
  --ink-2: #111114;        /* raised */
  --ink-3: #18181c;        /* chips, inputs on dark */
  --line: rgba(255, 255, 255, .075);
  --fg: #f4f4f5;
  --fg-2: #a3a3ad;
  --fg-3: #6e6e78;
  --paper: #f5f5f6;        /* light sheets */
  --card: #ffffff;
  --text: #0d0d10;
  --text-2: #5c5c66;
  --rule: #e9e9ec;
  --ok: #86efac;
  --ok-ink: #15803d;

  --accent: #f2541b;
  --accent-rgb: 242 84 27;
  --accent-2: #ff8a52;
  --accent-3: #ffc7a6;
  --accent-deep: #b93a0c;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .2, 1);
  interpolate-size: allow-keywords;
}
/* Rebo's own blue, for comparison: open the page with #rebo-blue on the end of the link. */
:root.accent-blue {
  --accent: #3d86d4;
  --accent-rgb: 61 134 212;
  --accent-2: #7fb5ea;
  --accent-3: #cfe4f8;
  --accent-deep: #1d5a99;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
.anchor { display: block; height: 0; scroll-margin-top: 84px; }
main { position: relative; z-index: 1; }
main > section, .footer { position: relative; z-index: 1; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); }
.mono-num { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-3); }
.center { text-align: center; margin-inline: auto; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.wrap-narrow { max-width: 940px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font: 600 14px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s, translate .7s cubic-bezier(.2, 1.5, .35, 1);
}
.btn.pulling, .round-btn.pulling { transition-duration: .25s, .25s, .25s, .25s, .25s, .18s; }
.btn:active { transform: scale(.97); }
.btn .ico { font-size: 16px; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 15px; }
.btn-accent {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--accent); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 30px -8px rgb(var(--accent-rgb) / .7);
}
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 36px -6px rgb(var(--accent-rgb) / .85); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--fg); border-color: rgba(255, 255, 255, .1); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-white { position: relative; overflow: hidden; isolation: isolate; background: #fff; color: #0b0b0d; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.btn-white:hover { background: #f1f1f2; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 12.5px; font-weight: 500; color: var(--fg-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.badge .ico { color: var(--accent-2); font-size: 14px; }
.badge-dark { background: #121215; color: #e4e4e7; border-color: #121215; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .4s;
}
.site-header:not(.scrolled) { background: linear-gradient(var(--ink), rgba(9, 9, 11, .85) 70%, transparent); }
.topbar { height: 36px; border-bottom: 1px solid var(--line); overflow: hidden; transition: height .45s var(--ease), opacity .3s, border-color .3s; }
.topbar-inner {
  max-width: 1240px; height: 100%; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 12.5px; color: var(--fg-2);
}
.topbar-promo { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.topbar-promo span:not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-promo:hover { color: var(--fg); }
.topbar-promo .ico { font-size: 14px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px rgb(var(--accent-rgb) / .7); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 18px; flex: none; }
.topbar-right a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-variant-numeric: tabular-nums; }
.topbar-right a:hover { color: var(--fg); }

.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: 14px var(--gutter-r) 14px var(--gutter-l);
  border: 1px solid transparent; border-radius: 0;
  transition: max-width .6s var(--ease), margin .6s var(--ease), padding .6s var(--ease), background-color .4s, border-color .4s, border-radius .6s var(--ease), box-shadow .4s;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; flex: none; }
.brand-tile {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 18px -4px rgb(var(--accent-rgb) / .7);
}
.brand-tile svg { width: 100%; height: 100%; }
.brand-word { width: 58px; height: 22px; fill: currentColor; transition: opacity .3s, width .5s var(--ease); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav-cta .short { display: none; }

.site-header.scrolled .topbar { height: 0; opacity: 0; border-color: transparent; }
.site-header.scrolled .nav {
  max-width: 760px; width: calc(100% - var(--gutter-l) - var(--gutter-r));
  margin-top: 10px; padding: 6px;
  background: rgba(13, 13, 16, .82); border-color: rgba(255, 255, 255, .13); border-radius: 999px;
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.site-header.scrolled .brand-word { width: 0; opacity: 0; }
.site-header.scrolled .brand { gap: 0; }
.site-header.scrolled .brand-tile { border-radius: 50%; }
.site-header.scrolled .nav-links a { font-size: 13px; padding: 7px 10px; }
.site-header.scrolled .nav-call { display: none; }
.site-header.scrolled .nav-cta { background: #fff; color: #0b0b0d; box-shadow: none; height: 36px; padding: 0 16px; font-size: 13px; }

/* ---------- hero ---------- */
.band-dark { background: var(--ink); color: var(--fg); }
.band-light { background: var(--paper); color: var(--text); }

.hero { position: relative; overflow: hidden; padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 60px; isolation: isolate; }
.hero-bg { position: absolute; inset: -24px; z-index: -2; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  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: 88px 88px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 32%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 32%, #000 25%, transparent 78%);
}
.hero-beam { position: absolute; z-index: -1; top: -40px; right: -60px; width: min(760px, 70vw); height: 300px; transform: rotate(-31deg); transform-origin: 100% 0; pointer-events: none; }
.hero-beam::before {
  content: ""; position: absolute; inset: 90px 0 90px 0; border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .15) 25%, rgb(var(--accent-rgb) / .75) 70%, var(--accent-3) 92%, transparent);
  filter: blur(26px);
  animation: beam 7s ease-in-out infinite;
}
.hero-beam span {
  position: absolute; left: 18%; right: 4%; top: 148px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / .6) 40%, #fff3ea 88%, transparent);
  filter: blur(.6px);
  box-shadow: 0 0 18px 3px rgb(var(--accent-rgb) / .45);
}
@keyframes beam { 50% { opacity: .7; transform: translateX(-24px); } }

.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--intro) + var(--hd, 0s)); }
.hero-copy > .badge { --hd: .15s; }
.hero-copy > .hero-sub { --hd: .8s; }
.hero-copy > .hero-actions { --hd: .95s; }
.hero-copy > .hero-note { --hd: 1.1s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
.hero-title {
  margin-top: 22px;
  font-size: clamp(42px, 7.4vw, 82px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em;
  text-wrap: balance;
  --title-grad: linear-gradient(180deg, #fbfbfc 30%, #9a9aa4 100%);
  background: var(--title-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.hero-title.split { animation: none; background: none; }
.hero-title .wd {
  display: inline-block; background: var(--title-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em; margin-bottom: -.06em;
  animation: word-in .9s var(--ease) both; animation-delay: calc(var(--intro-left, 0ms) + var(--wi) * 150ms);
}
@keyframes word-in { from { opacity: .1; filter: blur(10px); transform: translateY(.14em); } }
.hero-sub { margin-top: 18px; max-width: 34em; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--fg-3); }
.hero-note a { color: var(--fg-2); text-underline-offset: 3px; font-variant-numeric: tabular-nums; }

/* circuit */
.circuit {
  position: relative; container-type: inline-size;
  width: 100%; max-width: 1240px; margin: 34px auto 0; aspect-ratio: 1200 / 380;
  --k: 1;
}
.circuit-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.circuit-lines path { fill: none; }
.trace-faint path { stroke: rgba(255, 255, 255, .055); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace path { stroke: rgba(255, 255, 255, .14); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pulse {
  stroke: var(--accent-2); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 60 2000; stroke-dashoffset: 60;
  filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 10px rgb(var(--accent-rgb) / .8));
  animation: pulse 3.6s cubic-bezier(.45, .05, .55, .95) infinite; animation-delay: var(--d, 0s);
}
.pulse-slow { animation-duration: 4.8s; }
@keyframes pulse { 0% { stroke-dashoffset: 60; } 70%, 100% { stroke-dashoffset: -1000; } }

.node, .chip-core {
  position: absolute;
  left: calc(var(--x) / 1200 * 100%); top: calc(var(--y) / 380 * 100%);
  transform: translate(-50%, -50%);
}
.node { width: calc(var(--s) / 1200 * 100cqw * var(--k)); aspect-ratio: 1; }
.node-tile {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 28%; color: #d9d9de;
  background: linear-gradient(155deg, #2a2a30, #121215 70%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 30px -8px rgba(0, 0, 0, .8);
}
.node-tile .ico { width: 42%; height: 42%; stroke-width: 1.8; }
.node-label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 10px; white-space: nowrap;
  font-size: clamp(10px, 1cqw, 13px); font-weight: 500; color: var(--fg-3);
}
.lbl-start .node-label { left: 0; transform: none; }
.lbl-end .node-label { left: auto; right: 0; transform: none; }
.chip-core { width: calc(124 / 1200 * 100cqw); aspect-ratio: 1; }
.chip-face {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 24%; color: #ececef;
  background: linear-gradient(155deg, #2d2d33, #0f0f12 75%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 70px -6px rgb(var(--accent-rgb) / .45);
  animation: breathe 4s ease-in-out infinite;
}
.chip-face svg { width: 62%; height: 62%; }
@keyframes breathe { 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .025), inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 90px 0 rgb(var(--accent-rgb) / .6); } }
.pins { position: absolute; }
.pins-l, .pins-r { top: 22%; bottom: 22%; width: 9%; background: repeating-linear-gradient(180deg, #4a4a52 0 9%, transparent 9% 30.3%); }
.pins-l { left: -9%; }
.pins-r { right: -9%; }
.pins-t, .pins-b { left: 26%; right: 26%; height: 9%; background: repeating-linear-gradient(90deg, #4a4a52 0 14%, transparent 14% 43%); }
.pins-t { top: -9%; }
.pins-b { bottom: -9%; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(80px, 11vw, 132px); }
.section-tight { padding-block: clamp(64px, 8vw, 96px); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: clamp(40px, 5vw, 60px); }
.h2 {
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em;
  text-wrap: balance; max-width: 18em;
}
.on-dark { color: var(--fg); }
.sub { margin-top: 16px; max-width: 36em; font-size: 16.5px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.sub.on-dark { color: var(--fg-2); }
.fine { margin-top: 28px; font-size: 13.5px; color: var(--fg-3); max-width: 46em; }

/* word-by-word reveal (only once JS has split the heading) */
[data-words] .w { display: inline-block; }

/* ---------- light sheets ---------- */
.sheet { padding-block: clamp(80px, 10vw, 120px); }
#problem { border-radius: 40px; margin-top: -8px; padding-top: clamp(130px, 13vw, 160px); }
.cost-section { border-radius: 40px 40px 0 0; padding-bottom: clamp(56px, 7vw, 80px); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 18%, var(--paper)), var(--paper) 280px); }
.who-section { border-radius: 0 0 40px 40px; padding-block: clamp(40px, 5vw, 64px) clamp(80px, 10vw, 120px); }
.band-light .h2 { color: var(--text); }
.band-light .badge { background: #fff; border-color: var(--rule); color: var(--text-2); }
.band-light .badge-dark { background: #121215; border-color: #121215; color: #e4e4e7; }

/* problem */
.problem-grid { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, .62fr); gap: 20px; margin-top: clamp(40px, 5vw, 60px); }
.ember-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 440px; padding: 30px; border-radius: 26px;
  background: #0a0a0c; color: #fff;
  display: flex; align-items: flex-end;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.ember-glow {
  position: absolute; inset: -30% -50% 25% -30%; z-index: -1;
  background:
    linear-gradient(118deg, transparent 38%, rgb(255 214 190 / .55) 47%, transparent 56%),
    radial-gradient(55% 55% at 28% 22%, rgb(var(--accent-rgb) / .95), rgb(var(--accent-rgb) / .4) 45%, transparent 72%);
  filter: blur(14px);
  animation: drift 9s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(6%, 4%) rotate(4deg); } }
.ember-specks { position: absolute; inset: 0; z-index: -1; opacity: .8;
  background-image:
    radial-gradient(1.4px 1.4px at 22% 64%, #fff, transparent), radial-gradient(1px 1px at 70% 40%, #fff, transparent),
    radial-gradient(1.2px 1.2px at 84% 72%, #ffd9c4, transparent), radial-gradient(1px 1px at 40% 82%, #fff, transparent),
    radial-gradient(1.3px 1.3px at 58% 58%, #ffd9c4, transparent), radial-gradient(1px 1px at 12% 44%, #fff, transparent),
    radial-gradient(1px 1px at 92% 30%, #fff, transparent);
}
.ember-specks::before, .ember-specks::after { content: ""; position: absolute; height: 1px; border-radius: 1px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); box-shadow: 0 0 8px var(--accent); }
.ember-specks::before { left: 18%; top: 47%; width: 70px; }
.ember-specks::after { right: 14%; top: 66%; width: 46px; }
.ember-text { font-size: clamp(20px, 2vw, 24px); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; max-width: 14em; text-wrap: balance; }

.problem-card {
  display: flex; flex-direction: column; gap: 14px; min-width: 0; overflow: hidden;
  padding: clamp(26px, 3.4vw, 44px); border-radius: 26px; background: var(--card);
  border: 1px solid var(--rule);
}
.lead { font-size: clamp(20px, 2.3vw, 27px); font-weight: 600; line-height: 1.3; letter-spacing: -.02em; color: var(--text); max-width: 26em; text-wrap: pretty; }
.small { font-size: 15.5px; color: var(--text-2); line-height: 1.6; max-width: 40em; }
.small strong { color: var(--text); font-weight: 700; }
.marquee { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-label { font-size: 13px; color: var(--text-2); text-align: center; margin-bottom: 4px; }
.marquee-row { display: flex; gap: 10px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-row.reverse { animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.tchip {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #f6f6f7; border: 1px solid var(--rule);
  font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap;
}
.tchip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(var(--accent-rgb) / .12); color: var(--accent); font-size: 14px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  min-width: 0; min-height: 320px; padding: 28px;
  display: flex; flex-direction: column; gap: 26px;
  border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, #141418, #0c0c0e);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tile::after { content: ""; position: absolute; inset: auto 10% -40% 10%; height: 60%; z-index: -1; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .1), transparent); pointer-events: none; }
.tile h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.015em; color: var(--fg); margin-bottom: 8px; }
.tile p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); max-width: 34em; }
.tile-a { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); align-items: start; }
.tile-b { grid-column: span 2; }
.tile-c, .tile-d, .tile-e { grid-column: span 2; }
.tile-f, .tile-g { grid-column: span 3; }
.tile-eg { display: inline-block; margin-top: 16px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11.5px; color: var(--fg-3); }

/* sms phone */
.phone {
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px; margin-bottom: -60px;
  border-radius: 24px; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.phone-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-3); padding: 0 4px 6px; border-bottom: 1px solid var(--line); }
.sms-row.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--accent-2); padding: 4px 10px; border-radius: 999px; background: rgb(var(--accent-rgb) / .1); margin: 4px 0; }
.sms { max-width: 86%; padding: 9px 12px; border-radius: 17px; font-size: 13px; line-height: 1.42; }
.sms.out { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.sms.in { align-self: flex-start; background: #232328; color: var(--fg); border-bottom-left-radius: 5px; }
.sms-stamp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); padding: 4px 4px 0; }
.playing .sms, .playing .sms-stamp { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 1.25s - .9s); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* call card */
.callcard { margin-top: auto; padding: 16px; border-radius: 18px; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 12px; }
.call-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg-2); }
.call-time { margin-left: auto; color: var(--fg-3); font-size: 12px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / .6); animation: ring 1.8s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 8px rgb(var(--accent-rgb) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0); } }
.wave { display: flex; align-items: center; gap: 3px; height: 40px; }
.wave i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(var(--accent-2), var(--accent)); transform: scaleY(.18); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.65s; } .wave i:nth-child(4n) { animation-duration: .9s; } .wave i:nth-child(5n) { animation-duration: 1.4s; }
@keyframes wave { 50% { transform: scaleY(.85); } }
.transcript { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.transcript li { display: flex; gap: 10px; }
.transcript b { width: 56px; flex: none; font-weight: 500; color: var(--fg-3); }
.call-sent { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ok); }
.playing .transcript li, .playing .call-sent { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * .9s); }

/* follow-up chain */
.chain { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.chain::before { content: ""; position: absolute; left: 21px; top: 20px; bottom: 20px; width: 1px; background: linear-gradient(var(--line), rgb(var(--accent-rgb) / .6)); }
.chain-item {
  position: relative; display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  margin-left: calc((var(--i) - 1) * 22px);
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--fg);
}
.chain-item .mono { font-size: 11.5px; color: var(--fg-3); margin-left: 4px; }
.ci-ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #26262b; color: var(--fg-2); font-size: 13px; flex: none; }
.chain-item.hot { border-color: rgb(var(--accent-rgb) / .55); box-shadow: 0 0 28px -4px rgb(var(--accent-rgb) / .45); }
.chain-item.hot .ci-ico { background: var(--accent); color: #fff; }
.playing .chain-item { animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * .8s - .6s); }

/* job board */
.board { margin-top: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); }
.col-h { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--fg-3); padding: 0 2px 2px; }
.col-h em { font-style: normal; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.col i { display: block; height: 22px; border-radius: 6px; background: #1c1c21; border: 1px solid rgba(255, 255, 255, .04); }
.col i.slot { background: transparent; border: 1px dashed rgba(255, 255, 255, .12); }
.col i.mover { position: relative; z-index: 2; background: var(--accent); border-color: transparent; box-shadow: 0 0 22px rgb(var(--accent-rgb) / .7); }
.playing .mover { animation: move 4.2s var(--ease) both; }
@keyframes move {
  0%, 15% { transform: none; }
  45% { transform: translate(calc(100% + 26px), -28px); }
  60% { transform: translate(calc(100% + 26px), -28px); }
  90%, 100% { transform: translate(calc(200% + 52px), -28px); }
}

/* stars */
.stars-wrap { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.stars { display: flex; gap: 6px; font-size: 30px; }
.stars .ico { stroke: none; fill: var(--accent-2); filter: drop-shadow(0 0 10px rgb(var(--accent-rgb) / .5)); }
.playing .stars .ico { animation: star .5s var(--ease) both; }
.playing .stars .ico:nth-child(2) { animation-delay: .15s; } .playing .stars .ico:nth-child(3) { animation-delay: .3s; } .playing .stars .ico:nth-child(4) { animation-delay: .45s; } .playing .stars .ico:nth-child(5) { animation-delay: .6s; }
@keyframes star { from { fill: #2c2c33; filter: none; transform: scale(.7); } }
.review-toast { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 999px; background: var(--ink-3); border: 1px solid rgb(var(--accent-rgb) / .45); font-size: 13.5px; color: var(--fg); box-shadow: 0 0 28px -4px rgb(var(--accent-rgb) / .4); }
.review-toast .ci-ico { background: var(--accent); color: #fff; }
.review-toast .mono { font-size: 11.5px; color: var(--fg-3); }
.playing .review-toast { animation: pop .5s var(--ease) both; animation-delay: 1.1s; }

/* search */
.serp { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 18px; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, .08); max-width: 420px; }
.serp-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ink-3); font-size: 13.5px; color: var(--fg); margin-bottom: 4px; }
.serp-bar .ico { color: var(--fg-3); }
.serp-q:empty::before { content: "fencer near me"; }
.caret { width: 1.5px; height: 16px; background: var(--accent-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp-res { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; }
.serp-res > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.serp-res b { font-size: 13.5px; font-weight: 600; color: var(--fg); }
.serp-res em { font-style: normal; font-size: 12px; color: var(--accent-3); }
.serp-res.you { background: rgb(var(--accent-rgb) / .1); border-color: rgb(var(--accent-rgb) / .4); }
.serp-fav { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; flex: none; }
.serp-fav svg { width: 100%; height: 100%; }
.serp-fav.ghost { background: #1d1d22; }
.serp .line { display: block; height: 8px; width: 140px; max-width: 100%; border-radius: 4px; background: #1f1f25; }
.serp em.line { width: 90px; margin-top: 4px; }
.playing .serp-res.you { animation: pop .5s var(--ease) both; animation-delay: 1.3s; }
.tile-traces { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; z-index: -1; }
.tile-traces path { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.tile-traces .lit { stroke: var(--accent-2); stroke-width: 2.5; stroke-dasharray: 50 2000; stroke-dashoffset: 50; vector-effect: none; filter: drop-shadow(0 0 5px var(--accent)); animation: pulse 4s ease-in-out infinite 1s; }

/* setup */
.setup { margin-top: auto; display: flex; align-items: flex-end; gap: 18px; }
.setup-list { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 16px; border-radius: 16px; background: #0a0a0c; border: 1px solid rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--fg-2); }
.setup-list li { display: flex; align-items: center; gap: 9px; }
.setup-list .ico { color: var(--ok); font-size: 14px; }
.playing .setup-list li { animation: pop .45s var(--ease) both; animation-delay: calc(var(--i) * .5s - .2s); }
.setup-chip {
  width: 84px; height: 84px; flex: none; border-radius: 22px; color: #fff;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--accent-2), var(--accent) 55%, var(--accent-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 6px rgb(var(--accent-rgb) / .08), 0 18px 50px -10px rgb(var(--accent-rgb) / .8);
}
.setup-chip svg { width: 70%; height: 70%; }

/* ---------- globe ---------- */
.globe-section { position: relative; height: 230vh; }
.globe-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.globe-head { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: clamp(110px, 16vh, 150px); will-change: opacity, transform; }
.globe-head .sub { margin-top: 0; }
.globe-stage { position: absolute; inset: 0; }
.globe { display: block; width: 100%; height: 100%; }
.globe-pin { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; transform: translate(-6px, -50%); pointer-events: none; opacity: 0; transition: opacity .3s; }
.globe-pin i { width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--accent), 0 0 18px 4px rgb(var(--accent-rgb) / .9); animation: ring2 2s infinite; }
@keyframes ring2 { 0% { box-shadow: 0 0 0 3px var(--accent), 0 0 0 3px rgb(var(--accent-rgb) / .6), 0 0 18px 4px rgb(var(--accent-rgb) / .9); } 100% { box-shadow: 0 0 0 3px var(--accent), 0 0 0 22px rgb(var(--accent-rgb) / 0), 0 0 18px 4px rgb(var(--accent-rgb) / .9); } }
.globe-pin b { font-size: 12.5px; font-weight: 600; color: #fff; padding: 4px 10px; border-radius: 999px; background: rgba(10, 10, 12, .75); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.globe-legend { position: absolute; left: 0; right: 0; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; margin: 0; font-size: 12.5px; color: var(--fg-2); }
.globe-legend li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 12, .6); border: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lg { width: 8px; height: 8px; flex: none; }
.lg-dot { border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent); }
.lg-sq { border-radius: 2px; background: var(--accent-2); }

/* ---------- calculator ---------- */
.calc-head { display: flex; align-items: center; justify-content: center; gap: 28px; }
.calc-head .h2 { text-align: center; }
.chev { display: flex; gap: 2px; flex: none; }
.chev i { width: 10px; height: 10px; border-top: 2px solid #c9c9d0; border-right: 2px solid #c9c9d0; transform: rotate(45deg); animation: chev 1.8s infinite; }
.chev-r i { transform: rotate(-135deg); }
.chev-l i:nth-child(2), .chev-r i:nth-child(4) { animation-delay: .15s; }
.chev-l i:nth-child(3), .chev-r i:nth-child(3) { animation-delay: .3s; }
.chev-l i:nth-child(4), .chev-r i:nth-child(2) { animation-delay: .45s; }
.chev-l i:nth-child(5), .chev-r i:nth-child(1) { animation-delay: .6s; }
@keyframes chev { 30% { border-color: var(--accent); } 60% { border-color: #c9c9d0; } }
.trade-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 44px; }
.trade-row i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); border: 1px solid var(--rule); color: var(--text-2); font-size: 18px; box-shadow: 0 4px 14px -6px rgba(15, 15, 25, .15); }
.trade-row i:nth-child(odd) { color: var(--accent); }

.calc {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 940px; margin: 0 auto; padding: clamp(36px, 5vw, 56px) clamp(16px, 4vw, 44px) 26px;
  border-radius: 30px; background: var(--card); border: 1px solid var(--rule);
  box-shadow: 0 40px 90px -40px rgba(20, 20, 35, .28), 0 2px 0 rgba(255, 255, 255, .9) inset;
}
.calc-dome { position: absolute; z-index: -1; top: -36%; left: 50%; width: min(620px, 90%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .26), rgb(var(--accent-rgb) / .08) 55%, transparent 100%); }
.calc-title { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 34px; text-align: center; }
.calc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: #fff; font-size: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px -6px rgb(var(--accent-rgb) / .7); }
.calc-title h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.field { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: 18px; transition: background-color .2s; cursor: pointer; }
.field:hover, .field:focus-within { background: #f8f8f9; }
.field-result { cursor: default; }
.f-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; font-size: 17px;
  background: hsl(var(--h) 85% 95%); color: hsl(var(--h) 55% 42%); }
.f-body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.f-name { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.f-name output { font-size: 16px; font-weight: 700; color: var(--accent-deep); font-variant-numeric: tabular-nums; flex: none; }
.f-stats { font-size: 14px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.f-stats b { color: var(--text); font-size: 16px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer;
  --p: 50%;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p), #e6e6ea var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--p), #e6e6ea var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .3); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .3); }

.calc-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding: 10px 10px 10px 24px; border-radius: 999px;
  background: #f6f6f7; border: 1px solid var(--rule);
}
.calc-bar p { font-size: 15.5px; color: var(--text); line-height: 1.4; min-width: 0; }
.calc-bar strong { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--accent-deep); }
.calc-bar .muted { color: var(--text-2); white-space: nowrap; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; text-decoration: none; box-shadow: 0 10px 24px -8px rgb(var(--accent-rgb) / .8); transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s, translate .7s cubic-bezier(.2, 1.5, .35, 1); }
.round-btn:hover { transform: translateY(-2px); }
.round-btn.small { width: 38px; height: 38px; font-size: 16px; }
.calc-foot { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--text-2); }

/* ---------- use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.use { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.use h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--text); }
.use .hook { font-size: 15.5px; font-weight: 500; line-height: 1.45; color: var(--text); text-wrap: pretty; }
.use ul { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.use li::marker { color: #c3c3cb; }
.use-art {
  position: relative; overflow: hidden; height: 190px; margin-bottom: 16px; border-radius: 22px;
  background-color: var(--card); border: 1px solid var(--rule);
  background-image: linear-gradient(#f2f2f4 1px, transparent 1px), linear-gradient(90deg, #f2f2f4 1px, transparent 1px);
  background-size: 26px 26px; background-position: center;
}
.art-chip { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); font-size: 12px; font-weight: 500; color: var(--text); box-shadow: 0 8px 20px -10px rgba(15, 15, 25, .3); }
.art-chip.ok .ico { color: var(--ok-ink); }
.pin { position: absolute; color: var(--accent); font-size: 30px; filter: drop-shadow(0 6px 8px rgb(var(--accent-rgb) / .35)); }
.pin .ico { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }
.art-map .p1 { left: 22%; top: 22%; } .art-map .p2 { left: 58%; top: 40%; } .art-map .p3 { left: 80%; top: 14%; }
.art-map .pin { animation: bob 3s ease-in-out infinite; }
.art-map .p2 { animation-delay: -1s; } .art-map .p3 { animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.mini-browser { position: absolute; left: 26px; right: 26px; top: 24px; bottom: -12px; border-radius: 14px; background: var(--card); border: 1px solid #e3e3e7; box-shadow: 0 18px 40px -20px rgba(15, 15, 25, .35); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mb-bar { align-self: stretch; display: flex; gap: 5px; padding: 8px 12px; border-bottom: 1px solid #efeff1; }
.mb-bar i { width: 7px; height: 7px; border-radius: 50%; background: #e2e2e6; }
.mb-house { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(var(--accent-rgb) / .12); color: var(--accent); font-size: 20px; margin-top: 4px; }
.mb-lines { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mb-lines i { display: block; height: 7px; width: 130px; border-radius: 4px; background: #ececef; }
.mb-lines i + i { width: 90px; }
.mb-btn { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 600; }
.big247 { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 26px; font-size: 76px; font-weight: 700; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px #cfcfd6; }
.art-food .spot { position: absolute; left: 20px; right: 20px; top: 22px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 12px 30px -16px rgba(15, 15, 25, .35); }
.art-food .spot .pin { position: static; font-size: 26px; filter: none; }
.art-food .spot > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.art-food b { font-size: 13.5px; color: var(--text); }
.art-food em { font-style: normal; font-size: 12px; color: var(--text-2); }
.menu-lines { position: absolute; left: 34px; right: 34px; top: 104px; display: flex; flex-direction: column; gap: 10px; }
.menu-lines i { display: flex; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #e6e6ea 55%, transparent 55% 82%, rgb(var(--accent-rgb) / .35) 82%); }
.bub { position: absolute; max-width: 72%; padding: 8px 12px; border-radius: 15px; font-size: 12.5px; line-height: 1.4; }
.bub em { display: block; font-style: normal; font-size: 10.5px; opacity: .65; margin-top: 2px; font-variant-numeric: tabular-nums; }
.bub.in { left: 18px; top: 26px; background: #ececef; color: var(--text); border-bottom-left-radius: 5px; }
.bub.out { right: 18px; top: 96px; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.listing { position: absolute; left: 22px; right: 22px; top: 30px; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--rule); box-shadow: 0 14px 34px -18px rgba(15, 15, 25, .35); }
.listing .line { display: block; width: 150px; max-width: 100%; height: 11px; border-radius: 5px; background: #dedee3; }
.l-stars { font-size: 14px; letter-spacing: 2px; color: #f59e0b; }
.l-stars em { font-style: normal; letter-spacing: 0; font-size: 12px; color: var(--ok-ink); margin-left: 6px; }
.l-btns { display: flex; gap: 8px; margin-top: 4px; }
.l-btns i { font-style: normal; font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px; border: 1px solid #e3e3e7; color: var(--accent-deep); }

/* ---------- pricing ---------- */
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); }
.toggle button { appearance: none; border: 0; background: transparent; color: var(--fg-2); font: 600 13px/1 var(--font); padding: 8px 14px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.toggle button[aria-checked="true"] { background: #2b2b31; color: var(--fg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  display: flex; flex-direction: column; padding: 28px; border-radius: 26px;
  background: linear-gradient(180deg, #141418, #0c0c0e); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.plan-hot { border-color: rgb(var(--accent-rgb) / .4); }
.plan-glow { position: absolute; z-index: -1; inset: -30% -20% 40% -20%; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .2), transparent); }
.plan-name { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.tag { font-size: 11px; font-weight: 600; color: var(--accent-2); background: rgb(var(--accent-rgb) / .14); padding: 4px 9px; border-radius: 999px; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 14px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.amt { font-size: clamp(38px, 4vw, 46px); font-weight: 700; letter-spacing: -.035em; color: var(--fg); }
.per { font-size: 14px; color: var(--fg-3); }
.plan ul { flex: 1; list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14.5px; line-height: 1.45; color: var(--fg-2); }
.plan li { display: flex; gap: 11px; align-items: flex-start; }
.plan li .ico { font-size: 16px; margin-top: 2px; color: var(--fg-3); }
.plan-hot li .ico { color: var(--accent-2); }
.plan .btn { width: 100%; height: 48px; }
.btn-plan { background: #1c1c21; color: var(--fg); border-color: var(--line); }
.btn-plan:hover { background: #26262c; }

/* ---------- faq ---------- */
.faq { margin-top: clamp(36px, 5vw, 52px); display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: linear-gradient(180deg, #131316, #0d0d0f); border: 1px solid var(--line); transition: border-color .3s; }
.faq details[open] { border-color: rgba(255, 255, 255, .12); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--fg); cursor: pointer; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { font-size: 18px; color: var(--fg-2); transition: transform .35s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); color: var(--accent-2); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a { padding: 0 24px 22px 56px; }
.faq-a p { font-size: 15px; line-height: 1.65; color: var(--fg-2); max-width: 62ch; }

/* ---------- contact glow card ---------- */
.cta-section { padding-block: 24px; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 600px; padding: clamp(72px, 9vw, 110px) 20px 300px;
  border-radius: 40px; border: 1px solid var(--line); background: #070708;
  display: flex; justify-content: center; text-align: center;
}
.cta-glow {
  position: absolute; z-index: -1; left: -25%; right: -25%; bottom: -78%; height: 120%; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, #ffffff 0%, #fff4ec 30%, var(--accent-3) 44%, var(--accent-2) 56%, var(--accent) 68%, rgb(var(--accent-rgb) / .45) 80%, transparent 100%);
  filter: blur(8px);
  animation: swell 8s ease-in-out infinite;
}
@keyframes swell { 50% { transform: scale(1.04) translateY(-2%); } }
.cta-copy { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 640px; }
.cta-copy .sub { margin-top: 0; }
.cta-copy .btn { margin-top: 10px; }
.cta-alt { font-size: 14px; color: #c9c9d0; }
.cta-alt a { color: var(--fg); font-weight: 600; text-underline-offset: 3px; font-variant-numeric: tabular-nums; }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.svc { position: relative; isolation: isolate; min-width: 0; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: linear-gradient(180deg, #121215, #0b0b0d); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.svc-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 26px; border-radius: 50%; color: var(--accent-2); font-size: 19px;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .32), rgb(var(--accent-rgb) / .1) 62%, rgb(var(--accent-rgb) / .04));
  box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .2), 0 0 34px -4px rgb(var(--accent-rgb) / .45); }
.svc h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -.015em; color: var(--fg); margin-bottom: 8px; }
.svc p { flex: 1; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.svc a { margin-top: 22px; display: inline-flex; align-items: center; gap: 4px; width: fit-content; font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: none; }
.svc a .ico { transition: transform .25s var(--ease); }
.svc a:hover .ico { transform: translateX(3px); }

/* ---------- footer ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; padding-block: 80px 36px; border-top: 1px solid var(--line); }
.footer-glow { position: absolute; z-index: -1; top: -160px; right: -120px; width: 680px; height: 360px; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .2), transparent); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); gap: 48px; }
.footer-brand p { margin-top: 18px; max-width: 30em; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-cols h4 { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 12px; }
.footer-cols a, .footer-cols span { display: block; padding: 5px 0; font-size: 14px; color: var(--fg-2); text-decoration: none; overflow-wrap: anywhere; }
.footer-cols a:hover { color: var(--fg); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-call-text { font-size: 16px; font-weight: 500; color: var(--fg); }
.call-pill { display: inline-flex; align-items: center; gap: 16px; padding: 5px 5px 5px 22px; border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line); color: var(--fg); font-size: 15px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.call-pill:hover { border-color: rgba(255, 255, 255, .18); }
.copyright { margin-top: 26px; font-size: 13px; color: var(--fg-3); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-a { grid-column: span 2; }
  .tile-b, .tile-c, .tile-d, .tile-e, .tile-f, .tile-g { grid-column: span 1; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .site-header.scrolled .nav { max-width: 520px; }
  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .ember-card { min-height: 260px; }
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .tile-a { grid-template-columns: minmax(0, 1fr); }
  .phone { margin-bottom: -40px; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .chev { display: none; }
  .calc-bar { flex-direction: column; align-items: stretch; text-align: center; border-radius: 22px; padding: 18px; }
  .calc-bar .round-btn { align-self: center; }
  .topbar-right .muted { display: none; }
}
@container (max-width: 720px) {
  .node { --k: 1.5; }
  .node-label { display: none; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-e, .tile-f, .tile-g { grid-column: auto; }
  .tile { min-height: 0; padding: 22px; }
  .uses { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .svc { padding: 24px; }
  .svc-ico { margin-bottom: 18px; }
  .nav-call-label { display: none; }
  .nav-call { width: 40px; padding: 0; }
  .nav-cta .long { display: none; }
  .nav-cta .short { display: inline; }
  .hero { padding-top: calc(124px + env(safe-area-inset-top, 0px)); }
  .hero-actions .btn { width: 100%; }
  .hero-actions { width: 100%; max-width: 360px; }
  .cta-card { border-radius: 30px; min-height: 0; padding-bottom: 230px; }
  .cta-glow { bottom: -70%; }
  .cta-copy .btn { width: 100%; }
  .faq summary { padding: 18px; font-size: 15px; }
  .faq-a { padding: 0 18px 20px 50px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .globe-section { height: 190vh; }
  #problem { padding-top: 120px; }
  .tabpill { top: 66px; }
  .sheet, #problem { border-radius: 28px; }
  .cost-section { border-radius: 28px 28px 0 0; }
  .who-section { border-radius: 0 0 28px 28px; }
}


/* =====================================================================
   Motion, matched to the reference video
   ===================================================================== */
:root { --intro: 0s; }
:root.intro-play { --intro: 2.3s; }

/* ---------- intro: dot, ring, mark, letters, then the page slides up over it ---------- */
.intro { display: none; }
.intro-play .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: #131316;
  animation: intro-hide 0s linear 2.7s forwards;
}
@keyframes intro-hide { to { visibility: hidden; } }
.intro-stage { position: relative; display: flex; align-items: center; gap: 14px; translate: 63px 0; animation: stage-shift .65s var(--ease) 1s forwards; }
@keyframes stage-shift { to { translate: 0 0; } }
.intro-dot {
  position: absolute; left: 0; top: 50%; width: 56px; height: 56px; margin-top: -28px;
  display: grid; place-items: center; border-radius: 50%; border: 5px solid #fff;
  scale: .14;
  animation: dot-grow .55s cubic-bezier(.3, 1.5, .5, 1) .15s forwards, dot-out .3s ease-in .72s forwards;
}
.intro-dot i { width: 24px; height: 24px; border-radius: 50%; background: #fff; }
@keyframes dot-grow { to { scale: 1; } }
@keyframes dot-out { from { scale: 1; opacity: 1; } to { scale: .55; opacity: 0; } }
.intro-mark { width: 56px; height: 56px; fill: #fff; opacity: 0; scale: .55; animation: mark-in .5s var(--ease) .78s forwards; }
@keyframes mark-in { to { opacity: 1; scale: 1; } }
.intro-word { width: 112px; height: 42px; fill: #fff; }
.intro-word use { animation: letter .55s ease both; animation-delay: calc(1.08s + var(--li, 0) * 90ms); }
.intro-word use:nth-child(2), .brand-word use:nth-child(2) { --li: 1; }
.intro-word use:nth-child(3), .brand-word use:nth-child(3) { --li: 2; }
.intro-word use:nth-child(4), .brand-word use:nth-child(4) { --li: 3; }
@keyframes letter { 0% { opacity: 0; } 45% { opacity: .32; } 100% { opacity: 1; } }
.intro-play .site-header, .intro-play main { animation: page-up .85s cubic-bezier(.76, 0, .24, 1) 1.72s both; }
@keyframes page-up { from { transform: translateY(100vh); } to { transform: none; } }

/* nav + footer wordmark letters type in, like the reference logo */
.motion .nav .brand-word use { animation: letter .6s ease both; animation-delay: calc(var(--intro) + .35s + var(--li, 0) * 90ms); }
.motion .footer-brand .brand-word use { opacity: 0; }
.motion .footer-brand.in .brand-word use { animation: letter .6s ease both; animation-delay: calc(.3s + var(--li, 0) * 90ms); }
.motion .nav-links li, .motion .nav-actions { animation: rise .7s var(--ease) both; animation-delay: calc(var(--intro) + .5s + var(--ni, 0) * 60ms); }
.nav-links li:nth-child(2) { --ni: 1; } .nav-links li:nth-child(3) { --ni: 2; } .nav-links li:nth-child(4) { --ni: 3; } .nav-links li:nth-child(5) { --ni: 4; } .nav-actions { --ni: 5; }

/* hero: beam, circuit and nodes arrive after the headline */
.hero-beam { animation: fade-in 1.8s var(--ease) both; animation-delay: calc(var(--intro) + .25s); }
@keyframes fade-in { from { opacity: 0; } }
.circuit { animation: circuit-in 1.3s var(--ease) both; animation-delay: calc(var(--intro) + 1.05s); }
@keyframes circuit-in { from { opacity: 0; transform: translateY(34px); } }
.node-tile { animation: node-in .8s var(--ease) both, float 6s ease-in-out infinite; animation-delay: calc(var(--intro) + 1.3s + var(--ni, 0) * 90ms), calc(var(--x) * -9ms); }
@keyframes node-in { from { opacity: 0; scale: .55; } }
@keyframes float { 50% { translate: 0 -5px; } }
.pulse-faint { stroke-width: 2.2; opacity: .75; animation-duration: 4.4s; }
.hero-spot {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 88px 88px; background-position: center top;
  -webkit-mask-image: radial-gradient(circle 230px at var(--hx, -999px) var(--hy, -999px), #000, transparent 75%);
  mask-image: radial-gradient(circle 230px at var(--hx, -999px) var(--hy, -999px), #000, transparent 75%);
}
.hero-spot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 300px at var(--hx, -999px) var(--hy, -999px), rgb(var(--accent-rgb) / .16), transparent 70%); }
.hero-embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ---------- stacking: a section pins once you reach its end, the next slides over it ---------- */
.motion .stack { position: sticky; top: var(--stick, 0px); }
.measuring .stack { position: relative !important; top: auto !important; }
.stack::after { content: ""; position: absolute; inset: 0; z-index: 60; border-radius: inherit; background: #000; opacity: var(--cover, 0); pointer-events: none; }
.stack.covered { visibility: hidden; }

/* light section tab: a dot that opens into a pill as the panel arrives */
.tabpill {
  position: absolute; top: 84px; left: 50%; z-index: 5; translate: -50% 0;
  display: flex; align-items: center; gap: 2px; height: 38px; max-width: 340px; padding: 4px;
  border-radius: 999px; background: #0d0d10; overflow: hidden; white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45);
  transition: max-width .75s var(--ease), height .45s var(--ease), padding .45s var(--ease);
}
.tabpill a { padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #c9c9d0; text-decoration: none; transition: opacity .35s .3s, background-color .2s, color .2s; }
.tabpill a:first-child { background: #27272c; color: #fff; }
.tabpill a:hover { color: #fff; }
.motion .tabpill:not(.open) { height: 14px; max-width: 14px; padding: 0; }
.motion .tabpill:not(.open) a { opacity: 0; transition-delay: 0s; }

/* ---------- reveals: headings word by word, cards rise in turn ---------- */
.motion [data-words] .w { transition: opacity .75s var(--ease), filter .75s var(--ease), translate .75s var(--ease); transition-delay: calc(var(--wi) * 75ms); }
.motion [data-words]:not(.in) .w { opacity: .12; filter: blur(9px); translate: 0 .22em; }
.motion [data-reveal] { transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0ms), var(--rd, 0ms), var(--rd, 0ms), 0ms; }
.motion [data-reveal]:not(.in) { opacity: 0; translate: 0 64px; scale: .965; }
.motion [data-reveal].tilting { transition-duration: .9s, .9s, .9s, .14s; }
/* use cases: picture first, then the words */
.motion .use[data-reveal]:not(.in) { opacity: 1; translate: none; scale: none; }
.motion .use > * { transition: opacity .8s var(--ease), translate .8s var(--ease), scale .8s var(--ease); transition-delay: calc(var(--rd, 0ms) + 260ms); }
.motion .use > .use-art { transition: opacity .8s var(--ease), scale .8s var(--ease), transform .5s var(--ease), box-shadow .5s; transition-delay: var(--rd, 0ms), var(--rd, 0ms), 0ms, 0ms; }
.motion .use:not(.in) > .use-art { opacity: 0; scale: .94; }
.motion .use:not(.in) > :not(.use-art) { opacity: 0; translate: 0 18px; }
.use:hover .use-art { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(15, 15, 25, .35); }
.use:hover .pin .ico { animation: hop .6s var(--ease); }
@keyframes hop { 40% { translate: 0 -8px; } }

/* calculator card grows into place as it scrolls up */
[data-zoom] { transform-origin: 50% 0; }

/* ---------- cards: tilt + a spotlight that follows the mouse around the border ---------- */
[data-spot] { --mx: 50%; --my: 0%; }
[data-tilt] { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.bento, .plans, .services, .problem-grid { perspective: 1600px; }
.tile::before, .svc::before, .plan::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(var(--accent-rgb) / .95), rgb(var(--accent-rgb) / .15) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .45s;
}
.tile:hover::before, .svc:hover::before, .plan:hover::before { opacity: 1; }
.svc-ico { transition: box-shadow .4s, scale .4s var(--ease); }
.svc:hover .svc-ico { scale: 1.08; box-shadow: 0 0 0 1px rgb(var(--accent-rgb) / .35), 0 0 46px -2px rgb(var(--accent-rgb) / .7); }
.calc-dome { left: var(--mx, 50%); transition: left 1s var(--ease); }

/* the picked plan gets a light running round its edge */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plan-hot::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 60%, rgb(var(--accent-rgb) / .25) 72%, var(--accent-2) 85%, #fff 89%, var(--accent) 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 5s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.amt { display: inline-block; }

/* light sweep across the main buttons */
.btn-accent::after, .btn-white::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  translate: -110% 0; transition: translate .8s var(--ease);
}
.btn-white::after { background: linear-gradient(105deg, transparent 30%, rgb(var(--accent-rgb) / .18) 50%, transparent 70%); }
.btn-accent:hover::after, .btn-white:hover::after { translate: 110% 0; }

/* scroll progress along the bottom of the floating nav */
.nav::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 1px; border-radius: 1px; background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0), var(--accent-2)); transform: scaleX(var(--sp, 0)); transform-origin: left; opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.scrolled .nav::after { opacity: 1; }

/* drifting glow behind the dark sections */
.orb { position: absolute; z-index: 0; width: 640px; height: 640px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .13), transparent); }
.orb-a { top: 8%; left: -260px; }
.orb-b { top: 26%; left: 50%; margin-left: -320px; }
.orb-c { top: 18%; right: -260px; }
.section > .wrap { position: relative; z-index: 1; }
.section { overflow-x: clip; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro, .hero-embers { display: none !important; }
}
