/* Tellurics Labs marketing site. Tokens first; every section reads from them. */
:root {
  --white: #fff;
  --pearl: #f5f6fb;
  --pearl-2: #eceef8;
  --ink: #141a33;
  --ink-2: #5d6380;
  --ink-3: #a0a5bd;
  --line: #e3e6f2;
  --line-2: rgba(20, 26, 51, .08);
  --blue: #4f74f0;
  --sky: #9cc4ff;
  --lilac: #b8a6f5;
  --lilac-soft: #efeaff;
  --sky-soft: #e8f1ff;
  --ok: #1f7a4d; --ok-bg: #e3f6ec; --ok-dot: #2f9e66;
  --warn: #a04a12; --warn-bg: #fdeedd;
  --accent: var(--blue);
  --focus: var(--blue);
  --grad: linear-gradient(135deg, #5b7cf2, #8f78e8);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --dotfont: "Doto", ui-monospace, monospace;

  --r-panel: 30px;
  --pad: clamp(20px, 4.4vw, 72px);
  --max: 1520px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --spring-soft: cubic-bezier(.3, 1.32, .55, 1);
  --t-fast: .18s;
  --t: .42s;
  --t-slow: .9s;
  --lift: 0 0 0 1px rgba(20, 26, 51, .05), 0 1px 2px rgba(20, 26, 51, .05), 0 18px 40px -18px rgba(60, 70, 150, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #ecd7e8; scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 16px/1.5 var(--sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
main { overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { display: block; }
::selection { color: #fff; background: rgba(79, 116, 240, .9); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip { position: absolute; z-index: 100; top: 12px; left: 16px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform var(--t) var(--ease); }
.skip:focus { position: fixed; transform: none; }

/* Type scale */
.display { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.6rem); font-weight: 300; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h1 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 4rem); font-weight: 300; line-height: 1.04; letter-spacing: -.033em; text-wrap: balance; }
.lede { color: var(--ink-2); font-size: clamp(1.0625rem, .98rem + .32vw, 1.3125rem); line-height: 1.45; letter-spacing: -.012em; text-wrap: pretty; }
.dot { font-family: var(--dotfont); font-variation-settings: "ROND" 100; font-feature-settings: "tnum"; font-weight: 600; letter-spacing: .02em; line-height: 1; }

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; translate: 0 22px; transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .js [data-in] [data-rise], .js [data-in][data-rise], .js .hero.is-ready [data-rise] { opacity: 1; translate: none; }
}

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: center; padding: 14px var(--pad) 0; pointer-events: none; }
.hdr-bar {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 28px;
  width: 100%; max-width: calc(var(--max) - 2 * var(--pad)); height: 56px; padding: 0 6px 0 4px; border-radius: 999px;
  transition: max-width .7s var(--ease), padding .7s var(--ease), border-radius .7s var(--ease);
}
.hdr-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
  background: rgba(255, 255, 255, .74); box-shadow: inset 0 0 0 1px rgba(20, 26, 51, .07), inset 0 1px 0 #fff, 0 1px 5px rgba(20, 26, 51, .06), 0 12px 30px -10px rgba(60, 70, 140, .22); }
.hdr[data-scrolled] .hdr-bar { max-width: 920px; border-radius: 14px; padding: 0 8px 0 22px; }
.hdr[data-scrolled] .hdr-bar::before { opacity: 1; background: rgba(255, 255, 255, .94); } /* solid, not blurred: a live blur under a fixed bar is repainted on every scroll frame */

.logo { display: inline-flex; align-items: center; gap: 2px; height: 40px; font-size: 1.3rem; font-weight: 600; letter-spacing: -.045em; color: var(--ink); }
.logo-thin { font-weight: 300; margin-left: 4px; }
/* At the top of the page the logo sits over the tree, so it gets a glass pill. The scrolled bar has its own backing. */
.hdr:not([data-scrolled]) .logo { padding: 0 14px 0 12px; margin-left: -12px; border-radius: 999px; background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px -10px rgba(20, 26, 51, .35); }
.logo-mark { width: 24px; height: 24px; margin-right: 7px; flex: none; background: currentColor;
  -webkit-mask: url(assets/logo-mark.svg) center / contain no-repeat; mask: url(assets/logo-mark.svg) center / contain no-repeat; }
.hdr-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hdr-nav a { position: relative; padding: 8px 13px; border-radius: 999px; font-size: .9375rem; color: var(--ink-2); transition: color var(--t-fast) var(--ease); }
.hdr-nav a[aria-current] { color: var(--ink); }
.hdr-nav a[aria-current]::after { content: ""; position: absolute; bottom: 2px; left: 50%; translate: -50%; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }
.hdr-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; color: #fff; font-size: .9375rem; font-weight: 450;
  background: linear-gradient(#262d4d, #11162b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 22px -10px rgba(20, 26, 51, .55); transition: transform .42s var(--spring); }
.hdr-cta:active { transform: scale(.97); }
.arr { transition: transform .42s var(--spring); }
.cta-short { display: none; }
@media (hover: hover) {
  .hdr-nav a:hover { color: var(--ink); }
  a:hover > .arr { transform: translate(2px, -2px); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; height: clamp(680px, 69.17vw - 220px, 1060px); color: var(--ink);
  background: #ecd7e8; }
/* The tree video sits on the left edge at full hero height. Its own background is the same flat colour as the hero,
   and the right side fades out so there is no visible edge. */
.hero-tree { --fade: linear-gradient(90deg, rgba(236, 215, 232, 0) 72%, #ecd7e8 98%); position: absolute; z-index: 1; left: 0; top: 0; height: 100%; width: auto; aspect-ratio: 836 / 1000; pointer-events: none;
  opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero-tree video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The fade is a gradient painted over the video in the hero's colour. A mask on a playing video is far more expensive. */
.hero-tree::after { content: ""; position: absolute; inset: 0; background: var(--fade); }
.hero.is-ready .hero-tree { opacity: 1; }
/* Soft pale wash behind the copy so the flowers never fight the headline, and a fade into the white page below. */
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 86%, #fff 100%); }

/* Copy sits lower so there is clear air under the menu. */
.hero-copy { position: absolute; z-index: 2; top: 52%; left: 50%; translate: -50% -50%; width: min(800px, calc(100% - 2 * var(--pad))); text-align: center; }
/* The copy is centred on the page. Its width leaves the tree's side clear, and the same gap is kept on the right so it stays centred.
   On narrower laptops the tree slides partly off the left edge to make room. */
@media (min-width: 641px) {
  .hero-copy { width: min(800px, calc(100% - 2 * clamp(250px, 27vw, 400px))); }
  .hero-tree { left: clamp(-230px, calc((100vw - 1440px) * .3), 0px); }
}
.hero-title { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero-title .l { display: block; }
.hero-title .dim { margin-top: .35em; font-size: .56em; font-weight: 400; letter-spacing: -.025em; line-height: 1.15;
  background: linear-gradient(90deg, #7d8fe6, #a48ee8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title .w { display: inline-block; white-space: pre; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-title .w { opacity: 0; translate: 0 .5em; filter: blur(6px); transition: opacity .7s var(--ease), translate 1s var(--ease-out), filter .8s var(--ease); transition-delay: calc(var(--w) * 60ms + 120ms); }
  .js .hero.is-ready .hero-title .w { opacity: 1; translate: none; filter: none; }
}
.hero-lede { max-width: 540px; margin: 22px auto 0; color: var(--ink-2); font-size: clamp(.9375rem, .88rem + .22vw, 1.0625rem); line-height: 1.5; text-wrap: pretty; }
.hero-loc { display: block; margin-top: 8px; font-size: .8125rem; letter-spacing: .01em; color: var(--ink-2); opacity: .8; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-size: .9375rem; font-weight: 450; white-space: nowrap; transition: transform .42s var(--spring), background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.btn:active { transform: scale(.97); }
.btn-glow { color: #fff; background: linear-gradient(#262d4d, #11162b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 30px -12px rgba(20, 26, 51, .55); }
.btn-line { color: var(--ink); background: rgba(255, 255, 255, .88); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 26, 51, .1), 0 8px 18px -10px rgba(20, 26, 51, .25); }
@media (hover: hover) { .btn-line:hover { background: #fff; } }

.hero-proof { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(22px, 4vh, 44px); text-align: center; }
.proof-label { margin-bottom: 14px; color: var(--ink-2); font-size: .8125rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18% 82%, transparent); }
.marquee-track { display: flex; width: max-content; animation: slide 32s linear infinite; }
.marquee-track li { padding: 0 clamp(22px, 3vw, 44px); color: rgba(20, 26, 51, .72); font-size: clamp(1rem, .9rem + .4vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Brand line ---------- */
/* A bed of roots and flowers rises from the bottom of the section. The text sits above the dip in its middle. */
.roots { --bed: calc(100vw * 867 / 2400); position: relative; overflow: hidden; padding: clamp(64px, 7vw, 112px) var(--pad) calc(var(--bed) * .6); text-align: center; background: #fff; }
.roots-bed { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; max-width: none; pointer-events: none; user-select: none; }
.roots-text { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .roots-bed { opacity: 0; translate: 0 8%; transition: opacity 1.2s var(--ease-out), translate 1.8s var(--ease-out); }
  .js .roots[data-in] .roots-bed { opacity: 1; translate: none; }
}
.roots-def { display: inline-flex; align-items: baseline; gap: 10px; margin-bottom: clamp(18px, 2vw, 28px); color: var(--ink-2); font-size: .875rem; }
.roots-def .dot { color: var(--ink); font-size: 1rem; }
.roots-def i { color: var(--lilac); font-style: italic; }
.roots-line { max-width: 16em; margin: 0 auto; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); font-weight: 400; line-height: 1.08; letter-spacing: -.033em; text-wrap: balance; }
.roots-line span { display: block; }
.roots-grad { background: linear-gradient(90deg, #5b7cf2, #a07be6 60%, #d77fb8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.roots-copy { max-width: 560px; margin: clamp(18px, 2vw, 26px) auto 0; color: var(--ink-2); font-size: clamp(1rem, .95rem + .25vw, 1.1875rem); line-height: 1.5; text-wrap: pretty; }

@keyframes rise { to { translate: 0 0; } }
@keyframes card { from { opacity: 0; translate: 0 16px; rotate: -4deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }

/* ---------- Service sections: rows + live scene ---------- */
.svc { position: relative; background: var(--white); padding-block: clamp(72px, 9vw, 140px); }
.svc.pearl { background: var(--pearl); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 5.5vw, 96px); width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.flip .svc-copy { order: 2; }
.svc-copy { display: grid; align-content: start; gap: 16px; min-width: 0; }
.svc-eyebrow { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: .9375rem; letter-spacing: -.01em; }
.svc-eyebrow .dot { color: var(--ink); font-size: 1.15rem; }
.stage-tag { padding: 4px 10px; border-radius: 999px; font-size: .6875rem; letter-spacing: .02em; color: #5a47b8; background: var(--lilac-soft); }
.stage-tag.live { color: #2f56d6; background: var(--sky-soft); }
.svc-title { max-width: 13em; font-size: clamp(2rem, 1.3rem + 2vw, 3.1rem); }
.svc-sentence { max-width: 26em; margin-bottom: 14px; }

.items { display: grid; gap: 2px; margin-top: 6px; }
.item { position: relative; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); column-gap: 8px; align-items: start; width: 100%; padding: 13px 16px 15px; border-radius: 18px; text-align: left;
  transition: background-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.items li + li .item::before { content: ""; position: absolute; top: -1px; left: 16px; right: 16px; height: 1px; background: var(--line); transition: opacity var(--t); }
.items li:has(.item[data-on]) + li .item::before, .item[data-on]::before { opacity: 0; }
@media (hover: hover) { .item:not([data-on]):hover { background: rgba(79, 116, 240, .04); } }
.item[data-on] { background: var(--pearl); }
.pearl .item[data-on] { background: #fff; box-shadow: var(--lift); }
.it-num { padding-top: .3em; color: var(--ink-3); font-size: .8125rem; transition: color var(--t); }
.it-main { display: grid; gap: 3px; min-width: 0; }
.it-label { color: var(--ink); font-size: 1.0625rem; font-weight: 450; letter-spacing: -.015em; }
.it-text { color: var(--ink-2); font-size: .9063rem; line-height: 1.42; }
.item[data-on] .it-num { color: var(--blue); }
.it-track { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--line-2); opacity: 0; overflow: hidden; transition: opacity var(--t); }
.it-track::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.item[data-on] .it-track { opacity: 1; }
.svc-foot { display: grid; gap: 10px; margin-top: 10px; padding-left: 18px; }
.svc-note { max-width: 30em; color: var(--ink-3); font-size: .8125rem; line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding-block: 4px; font-size: .9375rem; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .52s var(--ease); }
.text-link .arr { color: var(--ink-2); }
@media (hover: hover) { .text-link:hover { background-size: 100% 1px; } }

/* Sections that are off screen pause every animation inside them. */
.svc:not([data-live]) *, .svc:not([data-live]) *::before, .svc:not([data-live]) *::after { animation-play-state: paused !important; }

/* Stage */
.svc-stage { container-type: inline-size; min-width: 0; }
.stage { --c1: #dfe9ff; --c2: #ece6ff; position: relative; aspect-ratio: 1 / 1; max-height: 680px; overflow: hidden; isolation: isolate; border-radius: var(--r-panel);
  font-size: clamp(10.5px, 2.95cqi, 17.5px); background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 40px 80px -46px rgba(60, 70, 150, .45); }
[data-svc="automations"] .stage { --c1: #ece6ff; --c2: #f5e8fb; }
[data-svc="software"] .stage { --c1: #e3efff; --c2: #e4e6ff; }
[data-svc="monitoring"] .stage { --c1: #e2f2ff; --c2: #ebe5ff; }
.stage-bg { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(45% 40% at 18% 20%, rgba(255, 255, 255, .85), transparent 70%), radial-gradient(50% 45% at 85% 90%, rgba(184, 166, 245, .45), transparent 70%), radial-gradient(40% 40% at 90% 10%, rgba(156, 196, 255, .45), transparent 70%);
  background-size: 140% 140%; }
.stage-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(79, 116, 240, .16) .7px, transparent .9px); background-size: 14px 14px; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
@keyframes drift { to { background-position: 100% 100%; } }

.st { position: absolute; inset: 0; display: grid; place-items: center; padding: 9%; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.st.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease) .1s; }
@media (prefers-reduced-motion: no-preference) {
  .st.on [data-a] { animation: popIn .75s var(--spring-soft) backwards; animation-delay: calc(var(--a, 0) * var(--s, 140ms) + 200ms); }
}
@keyframes popIn { from { opacity: 0; translate: 0 1.1em; scale: .96; } }

/* Scene parts */
.gc { padding: 1em 1.1em; border-radius: 1.3em; color: var(--ink); background: linear-gradient(rgba(255, 255, 255, .96), rgba(255, 255, 255, .86));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 26, 51, .05), 0 1.6em 3em -1.6em rgba(60, 70, 150, .38); }
.rl { display: grid; gap: .15em; min-width: 0; }
.rl b { font-size: 1em; font-weight: 500; letter-spacing: -.01em; }
.rl small { color: var(--ink-2); font-size: .82em; }
.sk { display: block; width: 80%; height: .6em; border-radius: 99px; background: rgba(20, 26, 51, .1); }
.sk.s { width: 50%; }
.tg { display: inline-flex; flex: none; align-items: center; height: 1.95em; padding: 0 .8em; border-radius: 99px; font-size: .78em; font-style: normal; font-weight: 500; white-space: nowrap; }
.tg.ok { color: var(--ok); background: var(--ok-bg); }
.tg.warn { color: var(--warn); background: var(--warn-bg); }
.ic { flex: none; width: 2.1em; height: 2.1em; border-radius: .7em; background: linear-gradient(160deg, var(--sky), var(--lilac)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.ic.warn { background: linear-gradient(160deg, #ffd2a8, #f59a5b); }
.tick-c { position: relative; display: inline-block; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--ok-dot); }
.tick-c::after { content: ""; position: absolute; left: 50%; top: 45%; width: .65em; height: .32em; border: 2px solid #fff; border-top: 0; border-right: 0; translate: -50% -50%; rotate: -45deg; }
.tick-c.sm { width: 1.2em; height: 1.2em; }
.av { display: inline-grid; flex: none; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; color: #fff; font-size: .72em; font-weight: 600; letter-spacing: .02em; background: linear-gradient(160deg, var(--sky), var(--blue)); box-shadow: 0 0 0 2px #fff; }
.ln:nth-child(odd) .av, .ppl .av:nth-child(2) { background: linear-gradient(160deg, #d5c9fb, #8f78e8); }
.av.xs { width: 1.8em; height: 1.8em; font-size: .55em; }
.hd { display: flex; align-items: center; justify-content: space-between; gap: .8em; margin-bottom: .6em; }
.hd small { color: var(--ink-2); font-size: .8em; }
.cap { color: var(--ink-3); font-size: .75em; }
.ln { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-top: 1px solid rgba(20, 26, 51, .06); }
.ln .rl { flex: 1; }
.ln .ic { width: 1.8em; height: 1.8em; border-radius: .6em; }

/* Websites: search */
.col { display: grid; gap: .7em; width: min(26em, 100%); }
.search { display: flex; align-items: center; gap: .7em; padding: .9em 1.2em; border-radius: 99px; }
.ic-search { position: relative; flex: none; width: 1em; height: 1em; border: 2px solid var(--ink-2); border-radius: 50%; }
.ic-search::after { content: ""; position: absolute; right: -.4em; bottom: -.35em; width: .45em; height: 2px; background: var(--ink-2); rotate: 45deg; }
.type { white-space: nowrap; color: var(--ink); clip-path: inset(0 100% 0 0); }
.st.on .type { animation: typing 1.3s steps(19) .55s forwards; }
@keyframes typing { to { clip-path: inset(0 0 0 0); } }
.caret { width: 2px; height: 1.15em; margin-left: -.5em; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.res { display: flex; align-items: center; gap: .8em; }
.res .rl { flex: 1; }
.fav { flex: none; width: 2.1em; height: 2.1em; border-radius: .65em; background: var(--pearl-2); }
.res.win { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--blue), 0 1.6em 3em -1.4em rgba(79, 116, 240, .55); }
.res.win .fav { background: var(--grad); }
.st.on .res.win { animation: popIn .75s var(--spring-soft) backwards, glowRing 2.4s ease-in-out 2s infinite; animation-delay: calc(3 * var(--s) + 200ms), 2s; }
@keyframes glowRing { 50% { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--blue), 0 0 0 .5em rgba(79, 116, 240, .15), 0 1.6em 3em -1.4em rgba(79, 116, 240, .55); } }

/* Websites: inbox */
.flow { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2em; width: min(32em, 100%); }
.srcs { display: grid; gap: .7em; }
.src { position: relative; padding: .55em .95em; border-radius: 99px; background: #fff; font-size: .85em; font-weight: 500; box-shadow: var(--lift); white-space: nowrap; }
.src::after { content: ""; position: absolute; left: 100%; top: 50%; width: 2em; height: 2px; margin-left: .2em; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); background-size: 8px 2px; animation: dash .5s linear infinite; opacity: .6; }
@keyframes dash { to { background-position: 8px 0; } }
.inbox .n { color: var(--blue); font-size: 1.1em; }

/* Websites: ad */
.phone { width: 12.5em; aspect-ratio: 9 / 18.5; padding: .5em; border-radius: 2.3em; background: #11162b; box-shadow: 0 2.5em 4em -1.6em rgba(20, 26, 51, .55); }
.vid { position: relative; height: 100%; overflow: hidden; border-radius: 1.9em; background: linear-gradient(160deg, #c9d8ff, #b9a6f5 50%, #f4bddb); background-size: 220% 220%; animation: shift 6s ease-in-out infinite alternate; }
@keyframes shift { to { background-position: 100% 100%; } }
.vbar { position: absolute; top: .9em; left: .9em; right: .9em; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); overflow: hidden; }
.vbar i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; animation: fill 6s linear infinite; }
@keyframes fill { from { transform: scaleX(0); } }
.vhearts i { position: absolute; right: 1.1em; bottom: 7em; font-style: normal; color: #ff5d93; font-size: 1.2em; opacity: 0; animation: floatUp 2.6s ease-in infinite; }
.vhearts i::before { content: "\2665"; }
.vhearts i:nth-child(2) { animation-delay: .7s; right: 1.7em; } .vhearts i:nth-child(3) { animation-delay: 1.3s; right: .8em; } .vhearts i:nth-child(4) { animation-delay: 1.9s; right: 1.4em; }
@keyframes floatUp { 0% { opacity: 0; translate: 0 0; scale: .6; } 20% { opacity: 1; } 100% { opacity: 0; translate: -.6em -6em; scale: 1.2; } }
.vcap { position: absolute; left: 1em; right: 3.4em; bottom: 4.4em; display: grid; gap: .45em; }
.vcap .sk { background: rgba(255, 255, 255, .8); }
.vcta { position: absolute; left: 1em; right: 1em; bottom: 1.1em; display: grid; place-items: center; height: 2.5em; border-radius: 99px; background: #fff; font-size: .85em; font-weight: 600; animation: breathe 2.2s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.04; } }
.ftag { position: absolute; top: 16%; right: 8%; display: grid; gap: .3em; max-width: 10em; }
.ftag .dot { font-size: 2.1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ftag small { color: var(--ink-2); font-size: .78em; line-height: 1.3; }

/* Automations */
.chat { display: grid; gap: .6em; width: min(23em, 100%); }
.call { display: flex; align-items: center; gap: .7em; padding-bottom: .8em; margin-bottom: .2em; border-bottom: 1px solid rgba(20, 26, 51, .07); }
.call .rl { flex: 1; }
.ring { position: relative; flex: none; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--grad); animation: ringPulse 1.4s ease-out infinite; }
.ring::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: #fff; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgba(143, 120, 232, .45); } 100% { box-shadow: 0 0 0 .9em rgba(143, 120, 232, 0); } }
.bub { max-width: 82%; padding: .65em .95em; border-radius: 1.15em; font-size: .88em; line-height: 1.35; }
.bub.ai { justify-self: start; color: #fff; background: var(--grad); border-bottom-left-radius: .35em; }
.bub.me { justify-self: end; background: var(--pearl-2); border-bottom-right-radius: .35em; }
.booked { justify-self: center; display: inline-flex; align-items: center; gap: .55em; margin-top: .3em; padding: .55em 1em .55em .55em; border-radius: 99px; color: var(--ok); background: var(--ok-bg); font-size: .88em; font-weight: 600; }
.doc { position: relative; display: grid; gap: 1.1em; width: min(23em, 100%); padding: 1.3em 1.4em; }
.doc-hd { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.amt { font-size: 1.8em; }
.tl { display: grid; gap: .7em; padding-left: 1.2em; border-left: 2px solid var(--line); }
.tl li { position: relative; color: var(--ink-2); font-size: .9em; }
.tl li::before { content: ""; position: absolute; left: calc(-1.2em - 6px); top: .45em; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--lilac); }
.tl .d { display: inline-block; width: 3.8em; color: var(--ink-3); font-size: .9em; }
.tl li.win { color: var(--ok); font-weight: 500; }
.tl li.win::before { background: var(--ok-dot); box-shadow: 0 0 0 2px var(--ok-dot); }
.stamp { position: absolute; right: 1.1em; bottom: 1.1em; padding: .25em .6em; border: 2px solid var(--ok-dot); border-radius: .4em; color: var(--ok-dot); font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; rotate: -10deg; }
@media (prefers-reduced-motion: no-preference) { .st.on .stamp { animation-name: stampIn; animation-timing-function: var(--spring); } }
@keyframes stampIn { from { opacity: 0; scale: 2.2; } }
.swap { position: relative; height: 1.95em; }
.swap .tg { position: absolute; left: 0; top: 0; }
@media (prefers-reduced-motion: no-preference) { .st.on .swap .tg.warn { animation: fadeOut .3s var(--ease) forwards; animation-delay: calc(6 * var(--s) + 200ms); } }
@media (prefers-reduced-motion: reduce) { .swap .tg.warn { display: none; } }
@keyframes fadeOut { to { opacity: 0; scale: .9; } }
.list { display: grid; width: min(22em, 100%); }
.bub.float { position: absolute; top: 9%; right: 7%; max-width: 13em; box-shadow: 0 1.2em 2.4em -1em rgba(91, 124, 242, .55); }

/* Software */
.board { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; width: min(28em, 100%); padding: .9em; }
.bcol { display: grid; align-content: start; gap: .5em; min-height: 13em; padding: .6em; border-radius: .9em; background: rgba(20, 26, 51, .035); }
.bcol small { margin-bottom: .2em; color: var(--ink-2); font-size: .75em; font-weight: 500; }
.job { display: flex; align-items: center; gap: .4em; padding: .7em .55em; border-radius: .65em; background: #fff; box-shadow: 0 1px 2px rgba(20, 26, 51, .08); }
.job .sk { flex: 1; width: auto; }
.job.done { opacity: .75; }
.mover { position: absolute; top: 9.6em; left: 1.6em; width: calc((100% - 3.8em) / 3 - 1.2em); box-shadow: 0 1em 2em -.8em rgba(60, 70, 150, .5); }
@media (prefers-reduced-motion: no-preference) { .st.on .mover { animation: popIn .75s var(--spring-soft) .5s backwards, across 6s var(--ease) 1.3s infinite; } }
@keyframes across { 0%, 12% { left: 1.6em; rotate: 0deg; } 30% { rotate: -3deg; } 42%, 58% { left: calc(50% - (100% - 3.8em) / 6 + .6em); rotate: 0deg; } 75% { rotate: 3deg; } 88%, 100% { left: calc(100% - (100% - 3.8em) / 3 - .4em); rotate: 0deg; } }
.ppl { position: absolute; left: 0; right: 0; bottom: 8%; display: flex; align-items: center; width: max-content; margin-inline: auto; padding: .6em 1em .6em .9em; border-radius: 99px; }
.ppl .av + .av { margin-left: -.5em; }
.ppl small { margin-left: .8em; color: var(--ink-2); font-size: .82em; }
.portal { display: grid; gap: .8em; width: min(25em, 100%); padding: 1.2em 1.3em; }
.ptabs { display: flex; gap: .2em; }
.ptabs i { padding: .3em .7em; border-radius: 99px; color: var(--ink-2); font-size: .72em; font-style: normal; }
.ptabs i.on { color: var(--ink); background: var(--pearl-2); }
.eq { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) 2em; align-items: center; gap: .8em; font-size: .9em; }
.bar { height: .55em; border-radius: 99px; background: rgba(20, 26, 51, .08); overflow: hidden; }
.bar i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--blue)); transform-origin: 0 50%; }
.eq.warn .bar i { background: linear-gradient(90deg, #ffd2a8, #f59a5b); }
.eq .dot { text-align: right; font-size: 1.05em; }
@media (prefers-reduced-motion: no-preference) { .st.on .bar i { animation: growX 1.2s var(--ease-out) backwards; animation-delay: calc(var(--a, 0) * var(--s) + 450ms); } .eq:nth-of-type(2) { --a: 2; } }
@keyframes growX { from { transform: scaleX(0); } }
.sites { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; width: min(22em, 82%); margin-bottom: 3em; }
.sites.grow { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.site { display: grid; place-items: center; aspect-ratio: 1; border-radius: .9em; background: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 26, 51, .04), 0 1em 2em -1.2em rgba(60, 70, 150, .4); }
.site i { width: .7em; height: .7em; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 .35em rgba(79, 116, 240, .16); }
.grow .site i { background: var(--lilac); box-shadow: 0 0 0 .35em rgba(184, 166, 245, .2); }
.grow .site.first i { background: var(--ok-dot); box-shadow: 0 0 0 .35em rgba(47, 158, 102, .16); }
.st.on .site i { animation: beat 2.4s ease-in-out infinite; animation-delay: calc(var(--a, 0) * 90ms); }
@keyframes beat { 50% { scale: 1.3; } }
.counter { position: absolute; left: 0; right: 0; bottom: 9%; display: flex; align-items: center; gap: .7em; width: max-content; max-width: 86%; margin-inline: auto; padding: .7em 1.1em; border-radius: 99px; }
.counter .dot { font-size: 1.6em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.counter small { color: var(--ink-2); font-size: .85em; }

/* ---------- Scenes, second pass: real content, a cursor, typing dots, counters ---------- */
.stars { color: #f5a623; font-size: .78em; letter-spacing: .08em; margin-right: .4em; }
.num { font-variant-numeric: tabular-nums; }
/* Cursor that glides to a target and clicks. Positions are % of the scene. */
.cur { position: absolute; z-index: 5; left: var(--x0); top: var(--y0); width: 1.25em; height: 1.25em; opacity: 0; pointer-events: none;
  background: var(--ink); clip-path: polygon(0 0, 0 82%, 24% 62%, 42% 100%, 58% 92%, 40% 56%, 72% 56%); filter: drop-shadow(0 .15em .25em rgba(20, 26, 51, .35)); }
@media (prefers-reduced-motion: no-preference) { .st.on .cur { animation: curMove 2.6s var(--ease) var(--cd) forwards; } }
@keyframes curMove { 0% { left: var(--x0); top: var(--y0); opacity: 0; } 12% { opacity: 1; } 62% { left: var(--x1); top: var(--y1); scale: 1; } 70% { scale: .78; } 78% { scale: 1; } 100% { left: var(--x1); top: var(--y1); opacity: 1; } }
/* Tap ring on a button. */
.tapr { position: absolute; left: 50%; top: 50%; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%; background: rgba(79, 116, 240, .35); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .st.on .tapr { animation: tapr 1s ease-out var(--td) both; } }
@keyframes tapr { 0% { opacity: 0; scale: .2; } 25% { opacity: 1; } 100% { opacity: 0; scale: 1.5; } }
/* AI bubble: typing dots first, then the words. */
.think { position: relative; }
.think::after { content: ""; position: absolute; left: 1em; top: 50%; width: 1.9em; height: .42em; margin-top: -.21em; opacity: 0;
  background: radial-gradient(circle, #fff 45%, transparent 50%) 0 0 / .63em .42em repeat-x; }
@media (prefers-reduced-motion: no-preference) {
  .st.on .think span { animation: fade .3s var(--ease) both; animation-delay: calc(var(--a) * var(--s) + 200ms + 620ms); }
  .st.on .think::after { animation: dots .62s steps(3) both; animation-delay: calc(var(--a) * var(--s) + 200ms); }
}
@keyframes dots { 0% { opacity: 1; clip-path: inset(0 66% 0 0); } 50% { clip-path: inset(0 33% 0 0); } 99% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0; } }
.toast { position: absolute; top: 8%; right: 6%; display: flex; align-items: center; gap: .7em; padding: .7em 1em .7em .75em; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 26, 51, .05), 0 1.6em 3em -1.2em rgba(47, 158, 102, .45); }
.toast .av.xs { font-size: .62em; }
.chipb { position: absolute; left: 7%; bottom: 9%; padding: .55em .95em; border-radius: 99px; font-size: .78em; font-weight: 500; }

/* Websites: search ranking */
.serp { width: min(26em, 100%); }
.rank { display: grid; gap: .6em; }
.rank .res { height: 4.1em; }
.rk { position: relative; flex: none; display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--pearl-2); font-size: .78em; font-weight: 600; color: var(--ink-2); }
.rk i { grid-area: 1 / 1; font-style: normal; }
.rk i:first-child { opacity: 0; }
.res.you { box-shadow: inset 0 1px 0 #fff, 0 0 0 2px var(--blue), 0 1.6em 3em -1.4em rgba(79, 116, 240, .55); }
.res.you .rk { color: #fff; background: var(--grad); }
.res.rival b { color: var(--ink-2); font-weight: 450; }
.book { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  /* Your listing starts third and climbs to first while the others drop a place. */
  .st.on .res.you { animation: popIn .75s var(--spring-soft) backwards, climb 1.1s var(--spring-soft) 2.5s backwards; animation-delay: calc(3 * var(--s) + 200ms), 2.5s; }
  .st.on .res.rival { animation: popIn .75s var(--spring-soft) backwards, drop 1.1s var(--spring-soft) 2.5s backwards; animation-delay: calc(3 * var(--s) + 200ms), 2.5s; }
  .st.on .rk i:first-child { animation: fadeOut .3s var(--ease) 2.9s backwards reverse; }
  .st.on .rk i:last-child { animation: fade .3s var(--ease) 2.9s backwards; }
  .st.on .book { animation: breathe 1.4s ease-in-out 4.4s 3; }
}
@keyframes climb { from { translate: 0 calc(2 * (100% + .6em)); } }
@keyframes drop { from { translate: 0 calc(-1 * (100% + .6em)); } }

/* Websites: landing page */
.bwin { width: min(27em, 100%); padding: 0; overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: .35em; padding: .7em .9em; border-bottom: 1px solid rgba(20, 26, 51, .06); }
.win-bar i { width: .55em; height: .55em; border-radius: 50%; background: rgba(20, 26, 51, .14); }
.url { margin-left: .8em; flex: 1; padding: .3em .9em; border-radius: 99px; background: var(--pearl-2); color: var(--ink-2); font-size: .72em; }
.win-body { display: grid; justify-items: start; gap: .7em; padding: 1.2em 1.4em 1.4em; }
.win-nav { display: flex; align-items: center; gap: 1.1em; width: 100%; font-size: .7em; color: var(--ink-2); }
.win-nav b { margin-right: auto; color: var(--ink); font-weight: 600; }
.win-body h4 { margin-top: .3em; font-size: 1.5em; font-weight: 500; line-height: 1.08; letter-spacing: -.03em; }
.win-body p { color: var(--ink-2); font-size: .85em; }
.win-cta { padding: .7em 1.3em; border-radius: 99px; color: #fff; background: var(--ink); font-size: .82em; font-weight: 500; }
.win-proof { display: flex; align-items: center; }
.win-proof small { color: var(--ink-2); font-size: .74em; }
.win-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; width: 100%; }
.win-tiles span { padding: 1.1em .6em .6em; border-radius: .8em; background: linear-gradient(160deg, var(--c1), var(--c2)); font-size: .72em; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { .st.on .win-cta { animation: popIn .75s var(--spring-soft) backwards, press .5s var(--ease) 4.3s; animation-delay: calc(4 * var(--s) + 200ms), 4.3s; } }
@keyframes press { 40% { scale: .93; } }

/* Ads: a feed that stops on your ad */
.screen { height: 100%; overflow: hidden; border-radius: 1.9em; background: #fff; }
.feed { display: grid; gap: .6em; }
.post { display: grid; gap: .5em; height: 11em; padding: .8em; align-content: start; }
.post-hd { display: flex; align-items: center; gap: .5em; font-size: .62em; color: var(--ink-3); }
.post-hd i { width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(20, 26, 51, .1); }
.post-hd b { font-weight: 500; }
.post-img { height: 5.2em; border-radius: .7em; background: repeating-linear-gradient(135deg, rgba(20, 26, 51, .06) 0 .5em, rgba(20, 26, 51, .1) .5em 1em); }
.post-tx { font-size: .64em; color: var(--ink-3); }
.feed .vid { height: 24.7em; border-radius: 0; }
.vcap { color: #fff; font-size: 1.02em; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(40, 30, 90, .35); }
@media (prefers-reduced-motion: no-preference) { .st.on .feed { animation: feed 3.4s var(--ease) .7s both; } }
@media (prefers-reduced-motion: reduce) { .feed { translate: 0 -23.2em; } }
@keyframes feed { 0% { translate: 0 0; } 32%, 46% { translate: 0 -11.6em; } 100% { translate: 0 -23.2em; } }

/* Ads: ad, page, booked */
.funnel { display: flex; align-items: center; justify-content: center; gap: .4em; width: 100%; }
.st:has(.funnel) { padding-inline: 5%; }
.step { display: grid; justify-items: center; gap: .7em; }
.step small { color: var(--ink-2); font-size: .8em; font-weight: 500; }
.mini { position: relative; display: grid; align-content: end; gap: .45em; width: 7.5em; height: 12em; padding: .7em; border-radius: 1.2em; background: #fff; box-shadow: var(--lift); }
.mini.ad { color: #fff; background: linear-gradient(160deg, #c9d8ff, #b9a6f5 50%, #f4bddb); }
.mini-cap { font-size: .72em; font-weight: 600; }
.mini-btn { position: relative; display: grid; place-items: center; height: 2.3em; border-radius: 99px; color: var(--ink); background: #fff; font-size: .64em; font-weight: 600; }
.mini-btn.dark { color: #fff; background: var(--ink); }
.mini.page { align-content: space-between; }
.mini-url { padding: .3em .6em; border-radius: 99px; background: var(--pearl-2); color: var(--ink-2); font-size: .5em; }
.mini.page b { font-size: .86em; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.mini-stars { color: #f5a623; font-size: .62em; letter-spacing: .08em; }
.mini-play { position: absolute; left: 50%; top: 34%; width: 2.2em; height: 2.2em; margin: -1.1em 0 0 -1.1em; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.mini-play::after { content: ""; position: absolute; left: 56%; top: 50%; translate: -50% -50%; border: .42em solid transparent; border-left: .7em solid #8f78e8; border-right: 0; }
.mini .tapr { top: auto; bottom: .7em; margin-top: 0; }
.mini.done { place-content: center; justify-items: center; background: var(--ok-bg); }
.mini.done b { color: var(--ok); font-size: .9em; }
.mini.done em { color: var(--ok); font-size: .68em; font-style: normal; opacity: .8; }
.arrow { flex: none; width: 1.3em; height: 2px; margin-bottom: 1.9em; background: repeating-linear-gradient(90deg, var(--blue) 0 4px, transparent 4px 8px); background-size: 8px 2px; animation: dash .5s linear infinite; }

/* Automations */
.chans { display: flex; gap: .3em; margin: -.2em 0 .1em; }
.chans i { padding: .28em .7em; border-radius: 99px; color: var(--ink-2); background: var(--pearl-2); font-size: .68em; font-style: normal; }
.chans i.on { color: #fff; background: var(--ink); }
.tl.run { position: relative; }
.doc .bub { font-size: .84em; }
.doc:has(.tl.run) .stamp { bottom: auto; top: 5.4em; }
.counter.top { top: 8%; bottom: auto; left: auto; right: 6%; margin: 0; }
.counter .num { font-size: 1.45em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.back { display: grid; gap: .9em; width: min(24em, 100%); padding: 1.2em 1.3em; }
.faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55em; }
.face { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; color: var(--ink-3); background: var(--pearl-2); font-size: .62em; font-weight: 600; }
.face.back-in { color: #fff; background: var(--ok-dot); box-shadow: 0 0 0 .3em rgba(47, 158, 102, .16); }
@media (prefers-reduced-motion: no-preference) { .st.on .face.back-in { animation: lightUp .6s var(--spring) both; animation-delay: calc(2.4s + var(--f) * 320ms); } }
@keyframes lightUp { from { color: var(--ink-3); background: var(--pearl-2); box-shadow: none; scale: .8; } }
.tally { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; padding-top: .8em; border-top: 1px solid rgba(20, 26, 51, .07); }
.tally span { display: grid; gap: .15em; }
.tally .num { font-size: 1.7em; }
.tally small { color: var(--ink-2); font-size: .76em; }
.remind { display: flex; align-items: center; gap: .7em; padding: .7em .8em; border-radius: 1em; background: var(--pearl-2); }
.remind .rl { flex: 1; }
.remind .rl b { font-size: .88em; } .remind .rl small { font-size: .72em; }
.paybtn { position: relative; flex: none; padding: .55em 1em; border-radius: 99px; color: #fff; background: var(--ink); font-size: .74em; font-weight: 500; }

/* Software */
.job em { flex: 1; min-width: 0; font-size: .64em; font-style: normal; font-weight: 500; line-height: 1.2; }
.job.done em { color: var(--ink-2); }
.report { display: flex; align-items: center; gap: .7em; margin-top: .2em; padding: .7em .8em; border-radius: 1em; background: var(--pearl-2); }
.report .rl { flex: 1; } .report .rl b { font-size: .88em; } .report .rl small { font-size: .72em; }
.bub.me.float { background: #fff; box-shadow: var(--lift); }
.growth { display: grid; gap: .6em; width: min(25em, 100%); padding: 1.2em 1.3em; }
.growth .hd { align-items: flex-start; margin-bottom: 0; }
.growth .num { font-size: 2.6em; line-height: 1; }
.growth .rl.r { text-align: right; }
.flat { font-size: 2.6em; line-height: 1; color: var(--ink-3); }
.gline { display: block; width: 100%; height: 8.5em; overflow: visible; }
.gline path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.gline .up { stroke: var(--blue); stroke-width: 2.6; stroke-dasharray: 1; }
.gline .lvl { stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 4 5; }
@media (prefers-reduced-motion: no-preference) { .st.on .gline .up { stroke-dashoffset: 1; animation: draw 2.6s var(--ease-out) .9s forwards; } }
.glabels { display: flex; justify-content: space-between; color: var(--ink-2); font-size: .72em; }
.glabels span:first-child { color: var(--blue); font-weight: 500; }

/* Monitoring */
.machines { display: grid; gap: .7em; width: min(24em, 100%); }
.mach { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: .7em; row-gap: .5em; }
.mach b { font-weight: 500; }
.sensor { width: .75em; height: .75em; border-radius: 50%; background: var(--ok-dot); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 102, .5); } 100% { box-shadow: 0 0 0 .7em rgba(47, 158, 102, 0); } }
.rd { font-size: 1.3em; }
.rd small { margin-left: .2em; color: var(--ink-2); font-family: var(--sans); font-size: .55em; }
.spark { grid-column: 1 / -1; width: 100%; height: 2.6em; overflow: hidden; }
.spark path { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark.b path { stroke: #8f78e8; } .spark.c path { stroke: #6aa6f8; }
.spark g { animation: scroll 4s linear infinite; }
.spark.b g { animation-duration: 5s; } .spark.c g { animation-duration: 3.4s; }
@keyframes scroll { to { transform: translateX(-200px); } }
.livechip { position: absolute; top: 7%; right: 7%; display: flex; align-items: center; gap: .55em; padding: .5em .95em; border-radius: 99px; font-size: .8em; font-weight: 500; }
.pulse { width: .6em; height: .6em; border-radius: 50%; background: #e5484d; animation: beat 1.2s ease-in-out infinite; }
.drift-wrap { display: grid; gap: .7em; width: min(25em, 100%); }
.drift { display: block; width: 100%; height: 8em; }
.drift rect { fill: rgba(79, 116, 240, .1); }
.drift path { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) { .st.on .drift path { stroke-dashoffset: 1; animation: draw 2.2s var(--ease-out) .45s forwards; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.note { display: flex; align-items: center; gap: .75em; }
.energy { width: min(25em, 100%); padding: 1.2em 1.3em; }
.bars { position: relative; display: flex; align-items: flex-end; gap: .9em; height: 12em; margin-top: 1em; }
.b { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .45em; height: 100%; }
.b i { width: 100%; height: calc(var(--v) * 78%); border-radius: .55em .55em .3em .3em; background: linear-gradient(var(--sky), var(--blue)); transform-origin: 50% 100%; }
.b.hot i { background: linear-gradient(#ffd2a8, #f59a5b); }
.b small { color: var(--ink-2); font-size: .72em; }
.b em.tg { position: absolute; bottom: calc(var(--v) * 78% + 2.6em); left: 50%; translate: -50% 0; }
@media (prefers-reduced-motion: no-preference) {
  .st.on .b i { animation: growY 1.1s var(--ease-out) backwards; animation-delay: calc(var(--a, 0) * var(--s) + 300ms); }
  .st.on .b em.tg { animation: fade .5s var(--ease) 1.3s backwards; }
}
@keyframes growY { from { transform: scaleY(0); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Shared bits ---------- */
.surface { position: relative; border-radius: 26px; background: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), var(--lift); }
.surface.lift { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(20, 26, 51, .05), 0 2px 4px rgba(20, 26, 51, .05), 0 34px 70px -26px rgba(60, 70, 150, .35); }
.pearl-surface { background: linear-gradient(#fdfdff, #f6f6fd); }
.round { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--d, 56px); height: var(--d, 56px); border-radius: 50%; transition: transform .42s var(--spring); }
.round > svg { width: 38%; height: 38%; transition: transform .42s var(--spring); }
.round-ink { color: #fff; background: radial-gradient(120% 120% at 30% 20%, #2e3760, #0f1428 60%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 2px 4px rgba(20, 26, 51, .18), 0 14px 28px -10px rgba(20, 26, 51, .5); }
.round-glass { --d: 48px; color: var(--ink); background: linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .8)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(20, 26, 51, .06), 0 12px 26px -12px rgba(60, 70, 150, .4); }
@media (hover: hover) { .round:hover { transform: scale(1.05); } .round:hover > svg { transform: translate(6%); } [data-prev].round:hover > svg { transform: translate(-6%); } }
.round:active { transform: scale(.96); }
.marker { display: flex; justify-content: center; align-items: center; gap: 14px; }
.marker-num { font-size: 1.75rem; }
.ruler-h { width: min(140px, 22vw); height: 12px; background: linear-gradient(90deg, rgba(20, 26, 51, .2) 0 1px, transparent 1px) 0 50% / 8px 6px repeat-x, linear-gradient(90deg, rgba(20, 26, 51, .2) 0 1px, transparent 1px) 0 50% / 40px 12px repeat-x; }
.marker .ruler-h:first-child { -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.marker .ruler-h:last-child { -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%); mask-image: linear-gradient(270deg, transparent, #000 70%); }
.marker.below { flex-direction: column; gap: 10px; }
.marker.below .ruler-h { width: min(220px, 50vw); -webkit-mask-image: linear-gradient(90deg, transparent, #000 25% 75%, transparent); mask-image: linear-gradient(90deg, transparent, #000 25% 75%, transparent); }

/* ---------- Pricing ---------- */
.terms { background: var(--white); padding-block: clamp(72px, 8vw, 132px); }
.terms-inner { display: grid; justify-items: center; gap: 20px; width: 100%; max-width: 980px; margin-inline: auto; padding-inline: var(--pad); text-align: center; }
.terms-sentence { max-width: 30em; }
.terms-card-wrap { position: relative; width: 100%; max-width: 760px; margin-top: 24px; }
.terms-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); text-align: left;
  background: radial-gradient(70% 90% at 0% 0%, var(--lilac-soft), transparent 70%), radial-gradient(60% 80% at 100% 100%, var(--sky-soft), transparent 70%), #fff; }
.terms-start { display: grid; align-content: start; gap: 10px; }
.terms-label { color: var(--ink-2); font-size: .875rem; }
.terms-figure { display: flex; align-items: baseline; gap: .3em; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.terms-figure .dot { font-size: 1.1em; letter-spacing: 0; }
.terms-fine { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.terms-list { display: grid; gap: 14px; align-content: center; font-size: .9375rem; }
.terms-list li { display: flex; gap: 12px; align-items: baseline; }
.terms-list em { font-style: normal; color: var(--ink-2); }
.terms-add { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .875rem; }
.tick { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(79, 116, 240, .16); translate: 0 -1px; }
.terms-go { position: absolute; right: -22px; bottom: -22px; --d: 64px; }
.chain { display: flex; align-items: stretch; gap: 6px; margin-top: 34px; padding: 6px; border-radius: 999px; background: var(--pearl); box-shadow: inset 0 0 0 1px var(--line-2); }
.chain li { display: flex; align-items: center; gap: .9em; min-height: 64px; padding: 0 26px 0 22px; border-radius: 999px; text-align: left; color: var(--ink-2); transition: background-color var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.chain li[data-on] { color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(20, 26, 51, .05), 0 8px 18px -10px rgba(60, 70, 150, .35); }
.chain b { display: block; font-size: .9375rem; font-weight: 450; }
.chain small { display: block; font-size: .8125rem; color: var(--ink-2); }
.chain .dot { font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact { background: var(--white); padding-block: clamp(72px, 8vw, 132px); }
.contact-inner { display: grid; justify-items: center; gap: 18px; max-width: 860px; margin-inline: auto; padding-inline: var(--pad); text-align: center; }
.contact-sentence { max-width: 28em; }
.contact-form { position: relative; width: 100%; max-width: 680px; margin-top: 22px; }
.contact-card { display: grid; gap: 24px; width: 100%; padding: clamp(18px, 3vw, 32px); text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; align-content: start; gap: 6px; }
.field > span, .field > label > span, .group legend { color: var(--ink-2); font-size: .8125rem; }
.field small, .group legend small { color: var(--ink-3); font-size: .75rem; margin-left: 4px; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); resize: vertical; transition: box-shadow var(--t) var(--ease); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px rgba(79, 116, 240, .14); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #c0392b; }
.check { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--ink-2); font-size: .8125rem; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.check input:checked + .box { background: var(--blue); box-shadow: none; }
.check input:checked + .box::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.check input:focus-visible + .box { outline: 2px solid var(--focus); outline-offset: 2px; }
.group { display: grid; }
.group legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 38px; padding: 0 15px; border-radius: 999px; font-size: .875rem; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform .42s var(--spring); }
.chips button:hover { color: var(--ink); }
.chips button:active { transform: scale(.97); }
.chips button[aria-pressed="true"] { color: #fff; background: var(--grad); box-shadow: 0 8px 18px -10px rgba(79, 116, 240, .7); }
.other { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease); }
.other[data-open] { grid-template-rows: 1fr; opacity: 1; }
.other-inner { overflow: hidden; }
.other-inner .field { padding: 14px 2px 2px; }
.contact-fine { color: var(--ink-2); font-size: .8125rem; padding-right: 56px; }
.contact-fine[data-error] { color: #b03a2e; }
.contact-send:disabled { opacity: .5; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-send { position: absolute; right: -22px; bottom: -22px; --d: 64px; }
.contact-talk { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 520px; margin-top: 44px; color: var(--ink-2); font-size: .9375rem; white-space: nowrap; }
.contact-talk a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hair { flex: 1; height: 1px; background: var(--line); }
.contact-direct { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: var(--ink-2); font-size: .875rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--white); border-top: 1px solid var(--line); }
.ftr-inner { display: grid; gap: 36px; max-width: var(--max); margin-inline: auto; padding: 40px var(--pad) 36px; }
.ftr-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.ftr .logo { font-size: 1.1rem; height: auto; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: .9375rem; }
.ftr-links a, .ftr-meta a { color: var(--ink-2); transition: color var(--t) var(--ease); }
.ftr-links a:hover, .ftr-meta a:hover { color: var(--ink); }
.ftr-meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--ink-3); font-size: .8125rem; }

/* ---------- Summary-first services, quote prompts, contact channels ---------- */
.btn-ink { justify-self: start; color: #fff; background: linear-gradient(#262d4d, #11162b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 26px -12px rgba(20, 26, 51, .5); }
.btn-ink:active, .btn-glow:active { transform: scale(.97); }
@media (hover: hover) { .btn-ink:hover { transform: translateY(-1px); } }
.svc-copy .svc-foot { padding-left: 0; margin-top: 4px; }
.svc-hook { display: flex; align-items: baseline; gap: 12px; max-width: 30em; color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.svc-hook .dot { color: var(--blue); font-size: 1.5rem; }
.svc-hook .dot { flex: none; }

.nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; padding: clamp(36px, 5vw, 60px) var(--pad); text-align: center; background: linear-gradient(90deg, var(--sky-soft), var(--lilac-soft)); }
.nudge-text { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); letter-spacing: -.02em; text-wrap: balance; }

.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 760px; margin-bottom: 28px; }
.channel { display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px; text-align: left; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -16px rgba(20, 26, 51, .35); transition: transform .42s var(--spring), box-shadow var(--t) var(--ease); }
.channel b { font-weight: 500; font-size: 1rem; }
.channel small { color: var(--ink-3); font-size: .8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel:active { transform: scale(.98); }
@media (hover: hover) { .channel:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(79, 116, 240, .35), 0 16px 30px -16px rgba(79, 116, 240, .45); } }
.contact-card > .check { margin-top: 0; }

/* ---------- Smaller screens ---------- */
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .flip .svc-copy { order: 0; }
  .svc-stage { order: 1; }
  .svc-copy { display: contents; }
  .svc-eyebrow { order: 0; } .svc-title { order: 0; } .svc-sentence { order: 0; margin-bottom: 0; }
  .svc-hook { order: 0; } .items { order: 0; } .svc-foot { order: 0; }
  .svc-grid { gap: 16px; }
  .svc-stage { margin-block: 18px 10px; }
  .stage { aspect-ratio: 4 / 4.2; }
}
@media (max-width: 860px) {
  .hdr-nav a { padding: 8px 9px; font-size: .875rem; }
}
@media (max-width: 760px) {
  .hdr { padding-top: 10px; }
  .hdr-bar { gap: 12px; padding-left: 14px; }
  .hdr-nav { display: none; }
  .hdr-cta { margin-left: auto; height: 40px; padding: 0 16px; font-size: .875rem; }
  .hdr[data-scrolled] .hdr-bar { padding-left: 18px; }
  .terms-card { grid-template-columns: 1fr; }
  .terms-go, .contact-send { right: 14px; bottom: -26px; }
  .chain { flex-direction: column; width: 100%; max-width: 420px; border-radius: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; gap: 10px; }
  .channel { padding: 14px 18px; }
  .nudge { flex-direction: column; }
  .ftr-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .mock { aspect-ratio: 4 / 3.4; padding-inline: 30%; }
  .mock-browser { padding-inline: 12%; }
  .flow { grid-template-columns: 1fr; gap: 1em; }
  .srcs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; }
  .src::after { display: none; }
}
@media (max-width: 640px) {
  /* Phones: the bed is shown at 190% width, centred, so the roots and flowers stay a readable size. */
  .roots { --bed: calc(190vw * 867 / 2400); padding-top: 56px; padding-bottom: calc(var(--bed) * .66); }
  .roots-bed { width: 190%; left: -45%; }
}
@media (max-width: 640px) {
  .hero { height: max(680px, min(100svh, 860px)); }
  /* Phones: the trunk is a strip on the left edge and the copy is centred in the space beside it. */
  .hero-tree { left: calc(var(--hh) * -0.215); top: 13%; height: 74%;
    --fade: linear-gradient(90deg, rgba(236, 215, 232, 0) 72%, #ecd7e8 98%), linear-gradient(180deg, #ecd7e8, rgba(236, 215, 232, 0) 14%, rgba(236, 215, 232, 0) 86%, #ecd7e8); }
  .hero { --hh: max(680px, min(100svh, 860px)); }
  /* Phones: the copy sits beside the trunk, right-aligned to the same edge as the header's Quote button. */
  .hero-copy { top: 47%; left: auto; right: calc(var(--pad) + 6px); translate: 0 -50%; width: calc(100% - var(--pad) - 6px - var(--hh) * 0.165); text-align: right; }
  .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .hero-lede { margin-right: 0; }
  .hero-actions { flex-direction: column; align-items: flex-end; }
  .item { padding-inline: 14px; }
  .svc-foot { padding-left: 14px; }
}
@media (max-width: 420px) {
  .cta-full { display: none; } .cta-short { display: inline; }
  .logo { font-size: 1.1rem; }
  .svc-eyebrow .stage-tag { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .stage-bg, .work-blobs i, .pane[data-active] .mock, .spark g, .vid, .vbar i, .vhearts i, .vid-hearts i, .vid-bar i, .mock-video::before, .ring, .sensor, .pulse, .src::after, .vcta, .caret, .st.on .site i { animation: none; }
  .type { clip-path: none; }
  .hdr-bar, .hdr-bar::before { transition: none; }
  .hero-tree { transition: none; }
}
