/* Microstax
   Dark theme only.
   Orange-to-amber gradient from the logo, violet and mint as supporting accents.
   Type: Sora (display), Manrope (body), IBM Plex Mono (labels). */

/* Fonts, served from our own host (assets/fonts, SIL Open Font License; see LICENSE.txt there).
   Each family comes in a basic Latin file and an extended Latin one; browsers fetch the second only
   if a page uses one of its characters. Sora and Manrope are variable fonts, so one file covers
   every weight. The Sora and Manrope Latin files are preloaded in each page's head. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/manrope-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ibm-plex-mono-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ibm-plex-mono-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Colour tokens */
:root {
  --ink: 255 255 255;
  --bg: #07080D;
  --bg-rgb: 7 8 13;
  --bg-2: #0B0D15;
  --bg-3: #10131E;
  --surface: #0E1019;
  --surface-3: #1A1D2B;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F5F6FA;
  --text-2: rgba(245, 246, 250, .7);
  --text-3: rgba(245, 246, 250, .5);
  --peach: #FFB27A;
  --mint-ink: #2BE0A8;
  --av-base: #12141F;
  --av-text: #fff;
}

:root {
  --shadow-rgb: 0 0 0;
  --shadow-k: 1;
  --chip-bg: rgba(16, 19, 30, .92);
  --menu-bg: rgba(13, 15, 24, .94);
  --form-bg: rgba(14, 16, 25, .72);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  --card-shadow: none;
  --grain: .05;

  --orange: #FF5A2E;
  --orange-2: #FF8A3D;
  --amber: #FFC24B;
  --violet: #8B7CFF;
  --mint: #2BE0A8;
  --pink: #FF4F9A;
  --sky: #38BDF8;

  --grad: linear-gradient(100deg, #FF4D2E 0%, #FF8A3D 45%, #FFC24B 100%);
  --grad-wide: linear-gradient(100deg, #FF4D2E 0%, #FF8A3D 25%, #FFC24B 50%, #FF8A3D 75%, #FF4D2E 100%);
  --grad-text: var(--grad);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
}


/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 138, 61, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Accent color helpers */
.c-orange { --c: #FF6A3D; }
.c-violet { --c: #8B7CFF; }
.c-amber { --c: #FFC24B; }
.c-mint { --c: #2BE0A8; }
.c-pink { --c: #FF4F9A; }
.c-sky { --c: #38BDF8; }

/* The gradient only paints inside the box, so give the last letter and any descenders room to finish */
.grad-text {
  padding: 0 .08em .15em 0;
  margin-right: -.08em;
  background: var(--grad-wide);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Scroll progress ---------- */

.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 150;
  height: 3px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 12px rgba(255, 138, 61, .7);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #0B0C12;
  font-weight: 700;
  box-shadow: 0 12px 34px -12px rgba(255, 90, 46, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 18px 44px -12px rgba(255, 90, 46, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }

.btn-glass {
  background: rgb(var(--ink) / .05);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgb(var(--ink) / .09); border-color: rgb(var(--ink) / .28); }

/* ---------- Announcement bar ---------- */

.announce {
  position: relative;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 77, 46, .14), rgba(139, 124, 255, .14), rgba(43, 224, 168, .1));
  font-size: 14px;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  text-align: center;
}
.announce-tag {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #0B0C12;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.announce p { color: var(--text-2); }
.announce a { font-weight: 700; text-decoration: none; color: var(--peach); white-space: nowrap; }
.announce a:hover { color: var(--text); }
@media (max-width: 640px) {
  .announce { font-size: 12.5px; }
  .announce-inner { justify-content: flex-start; text-align: left; padding-block: 8px; }
  .announce a { display: none; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgb(var(--bg-rgb) / .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 76px;
}
.brand { display: inline-flex; margin-right: auto; }
.brand img { height: 20px; width: auto; }


.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links > a:hover,
.nav-trigger:hover,
.has-mega.is-open .nav-trigger { color: var(--text); background: rgb(var(--ink) / .06); }
.chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-mega.is-open .chev { transform: rotate(180deg); }

.nav { position: relative; }
.nav-item { position: static; }

.mega {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 12px;
  width: min(780px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--menu-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 80px -30px rgb(var(--shadow-rgb) / calc(.8 * var(--shadow-k)));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(.98);
  transform-origin: 50% 0;
  transition: opacity .25s ease, transform .3s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color .2s ease;
}
.mega-link:hover { background: rgb(var(--ink) / .05); }
.mega-link strong { display: block; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--text); }
.mega-link small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.mega-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.mega-feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(139, 124, 255, .35), transparent 60%),
    radial-gradient(120% 80% at 0% 100%, rgba(255, 77, 46, .3), transparent 60%),
    var(--bg-3);
  border: 1px solid var(--line-2);
  text-decoration: none;
}
.mega-feature-tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(43, 224, 168, .16);
  color: var(--mint-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.mega-feature strong { margin-top: auto; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.mega-feature small { font-size: 13px; line-height: 1.45; color: var(--text-2); }
.mega-feature-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--peach); }
.mega-feature-cta .ic { width: 14px; height: 14px; }

/* Mini Stax board in the menu's feature card. It only animates while the menu is open. */
.mf-board {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 12px 0 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(var(--bg-rgb) / .55);
  box-shadow: 0 18px 30px -22px rgb(var(--shadow-rgb) / calc(.9 * var(--shadow-k)));
}
.mf-head { display: flex; align-items: center; gap: 6px; }
.mf-logo { flex: none; width: 14px; height: 14px; }
.mf-head b { font-size: 11px; font-weight: 700; color: var(--text); }
.mf-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mint-ink);
}
.mf-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.mf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mf-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mf-col em {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-3);
}
.mf-card {
  position: relative;
  display: block;
  height: 17px;
  border: 1px solid rgb(var(--ink) / .08);
  border-radius: 5px;
  background:
    linear-gradient(rgb(var(--ink) / .22), rgb(var(--ink) / .22)) 9px 50% / 58% 3px no-repeat,
    rgb(var(--ink) / .05);
  box-shadow: inset 2px 0 0 var(--c);
}
.mf-card.is-short { background-size: 36% 3px, auto; }
.mf-card.is-done { --c: var(--mint); opacity: .7; }
.mf-mover { z-index: 1; }
.mf-mover::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0;
}
.mf-foot { display: flex; align-items: center; gap: 10px; }
.mf-progress { flex: 1; height: 4px; border-radius: 4px; background: rgb(var(--ink) / .08); overflow: hidden; }
.mf-progress i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform: scaleX(.58); transform-origin: 0 50%; }
.mf-avs { display: flex; }
.mf-avs i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: -4px;
  border: 1.5px solid var(--bg-3);
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 35%, var(--av-base));
  color: var(--av-text);
  font-size: 6.5px;
  font-style: normal;
  font-weight: 700;
}
.mf-avs i:first-child { margin-left: 0; }

.has-mega.is-open .mf-live::before { animation: mf-ping 2s ease-out infinite; }
.has-mega.is-open .mf-mover { animation: mf-move 5.6s var(--ease) .5s infinite; }
.has-mega.is-open .mf-mover::after { animation: mf-check 5.6s ease .5s infinite; }
.has-mega.is-open .mf-progress i { animation: mf-progress 5.6s var(--ease) .5s infinite; }

@keyframes mf-ping {
  0% { box-shadow: 0 0 0 0 rgba(43, 224, 168, .55); }
  100% { box-shadow: 0 0 0 6px rgba(43, 224, 168, 0); }
}
@keyframes mf-move {
  0%, 12% { transform: none; opacity: 1; }
  22% { transform: translateY(-3px) rotate(-4deg) scale(1.06); box-shadow: inset 2px 0 0 var(--c), 0 10px 16px -8px rgb(var(--shadow-rgb) / calc(.7 * var(--shadow-k) + .1)); }
  46% { transform: translate(calc(100% + 6px), -3px) rotate(3deg) scale(1.06); box-shadow: inset 2px 0 0 var(--c), 0 10px 16px -8px rgb(var(--shadow-rgb) / calc(.7 * var(--shadow-k) + .1)); }
  54%, 86% { transform: translateX(calc(100% + 6px)); box-shadow: inset 2px 0 0 var(--mint); opacity: 1; }
  93% { transform: translateX(calc(100% + 6px)); box-shadow: inset 2px 0 0 var(--mint); opacity: 0; }
  94% { transform: none; opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes mf-check {
  0%, 52% { opacity: 0; transform: scale(.4); }
  58%, 86% { opacity: 1; transform: none; }
  93%, 100% { opacity: 0; }
}
@keyframes mf-progress {
  0%, 52% { transform: scaleX(.58); }
  60%, 88% { transform: scaleX(.72); }
  96%, 100% { transform: scaleX(.58); }
}

.nav-cta { min-height: 44px; padding: 0 18px; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-icon { display: grid; gap: 6px; width: 22px; }
.menu-icon i { display: block; height: 2px; border-radius: 2px; background: var(--text); }
.menu-icon i:last-child { width: 70%; justify-self: end; }

/* Full-screen menu that slides in from the right */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .55s var(--ease), visibility .55s;
  visibility: hidden;
}
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu[hidden] { display: none; }
.mm-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 45% at 100% 0%, rgba(255, 77, 46, .28), transparent 70%),
    radial-gradient(60% 40% at 0% 100%, rgba(139, 124, 255, .22), transparent 70%);
}
.mm-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 76px; flex: none; }
.mm-top img { height: 18px; width: auto; }
.mm-close {
  position: relative;
  width: 46px;
  height: 46px;
  margin-right: -6px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  cursor: pointer;
}
.mm-close span::before,
.mm-close span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%) rotate(45deg);
}
.mm-close span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.mm-links { position: relative; display: grid; margin-top: 28px; }
.mm-links > a,
.mm-group {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .5s ease, transform .6s var(--ease);
  transition-delay: 0s;
}
.mobile-menu.is-open :is(.mm-links > a, .mm-group) {
  opacity: 1;
  transform: none;
  transition-delay: calc(.15s + var(--i) * .05s);
}
.mm-links > a,
.mm-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(30px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mm-links > a .ic { width: 24px; height: 24px; color: var(--orange-2); }
.mm-links > a:active,
.mm-sub-toggle:active { color: var(--orange-2); }

/* Services opens a list of the same pages as the desktop mega menu */
.mm-sub-toggle .chev { width: 26px; height: 26px; color: var(--orange-2); transition: transform .3s var(--ease); }
.mm-sub-toggle[aria-expanded="true"] { border-bottom-color: transparent; }
.mm-sub-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mm-sub { display: grid; gap: 2px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.mm-sub[hidden] { display: none; }
.mm-sub a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 6px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  animation: mm-sub-in .45s var(--ease) both;
  animation-delay: calc(var(--j) * .035s);
}
.mm-sub a:active { background: rgb(var(--ink) / .06); }
.mm-sub .mega-ic { width: 36px; height: 36px; }
@keyframes mm-sub-in { from { opacity: 0; transform: translateY(-6px); } }
.mm-foot {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 36px;
  opacity: 0;
  transition: opacity .5s ease .45s;
}
.mobile-menu.is-open .mm-foot { opacity: 1; }
.mm-foot .btn { width: 100%; }
.mm-foot p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-3); }
.mm-foot a:not(.btn) { color: var(--text); font-weight: 600; text-decoration: none; }
html.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none; }
}

/* ---------- Load and scroll reveals ---------- */

.js .hero-in {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-in 1s var(--ease) var(--d, 0s) forwards;
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
/* The headline and intro are the first thing a visitor reads (and what search engines time as the
   page's main content), so they paint fully on the first frame and only settle upward; the pill,
   buttons and team faces still fade in around them. */
.js .hero-title .hero-in,
.js .hero-sub.hero-in {
  opacity: 1;
  animation: hero-settle .9s var(--ease) var(--d, 0s) both;
}
@keyframes hero-settle { from { transform: translateY(14px); } to { transform: none; } }

/* main.js marks sections that are well off-screen; their animations wait until they're back */
.is-resting, .is-resting::before, .is-resting::after,
.is-resting *, .is-resting *::before, .is-resting *::after { animation-play-state: paused !important; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Headings split into words by main.js */
/* Each word clips its own slide-up. The extra room on the right and below keeps tightly spaced last
   letters (the s in "lasts") and descenders (the g in "talking") from being cut, without changing
   the spacing between words or lines. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .2em 0; margin: 0 -.1em -.2em 0; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%); transition: transform 1s var(--ease) calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .wi { transform: none; }
[data-split] .grad-text { background: none; animation: none; color: inherit; }
[data-split] .grad-text .wi {
  padding: 0 .1em .2em 0;
  margin: 0 -.1em -.2em 0;
  background: var(--grad-wide);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: clamp(80px, 9vw, 128px); }

.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--peach);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.lede {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--text-2);
  text-wrap: pretty;
}
.lede a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 72px) clamp(80px, 9vw, 120px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.aurora {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.hero .a1 {
  width: 760px; height: 760px;
  top: -300px; right: -160px;
  background: radial-gradient(circle, rgba(255, 77, 46, .42) 0%, rgba(255, 77, 46, 0) 62%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.hero .a2 {
  width: 640px; height: 640px;
  top: 60px; right: 280px;
  background: radial-gradient(circle, rgba(139, 124, 255, .32) 0%, rgba(139, 124, 255, 0) 62%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.hero .a3 {
  width: 620px; height: 620px;
  bottom: -320px; left: -200px;
  background: radial-gradient(circle, rgba(255, 194, 75, .22) 0%, rgba(255, 194, 75, 0) 62%);
  animation: drift-c 20s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(-120px, 90px) scale(1.1); } }
@keyframes drift-b { to { transform: translate(140px, -60px) scale(.9); } }
@keyframes drift-c { to { transform: translate(160px, -100px) scale(1.15); } }


.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: min(720px, calc(100vh - 160px));
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(var(--ink) / .04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--mint);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { to { transform: scale(3); opacity: 0; } }

.hero-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 4.9vw, 72px);
  line-height: 1.02;
  letter-spacing: -.048em;
}
.hl { display: block; }

.rotator {
  display: grid;
  overflow: hidden;
  padding-bottom: .1em;
  white-space: nowrap;
}
.rot-item {
  grid-area: 1 / 1;
  background: var(--grad-wide);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  opacity: 0;
  transform: translateY(70%);
  transition: transform .7s var(--ease), opacity .5s ease;
}
.rot-item:not(.is-active):not(.is-leaving) { animation-play-state: paused; }
.rot-item.is-active { opacity: 1; transform: none; }
.rot-item.is-leaving { opacity: 0; transform: translateY(-70%); }

.hero-sub {
  margin-top: 26px;
  max-width: 580px;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--text-2);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-3);
}
.hero-trust strong { color: var(--text); font-weight: 700; }
.avatar-stack { display: flex; }
.avatar-stack span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 30%, var(--av-base));
  color: var(--av-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-stack .more { background: var(--text); color: var(--bg); }

/* Hero visual: the isometric stack */

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 580px; }
.hero-visual-inner { position: relative; aspect-ratio: 1; }
.stack-svg { width: 100%; height: 100%; overflow: visible; }

.orbit { stroke: rgb(var(--ink) / .14); stroke-dasharray: 2 7; animation: dash-flow 30s linear infinite; }
.orbit-2 { stroke: rgb(var(--ink) / .08); animation-direction: reverse; }
@keyframes dash-flow { to { stroke-dashoffset: -300; } }

.stack-shadow { animation: glow-pulse 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes glow-pulse { 50% { transform: scale(1.12); opacity: .7; } }

.plate {
  animation: plate-in 1s var(--ease) both, breathe 5s ease-in-out infinite;
  animation-delay: calc(.45s + var(--d)), calc(1.9s + var(--d));
}
@keyframes plate-in { from { opacity: 0; transform: translateY(-80px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: translateY(calc(var(--lift) * -1)); } }

.plate-label circle { fill: var(--text); }
.plate-label line { stroke: rgb(var(--ink) / .4); }
.plate-label text { font-family: var(--font-mono); font-size: 12px; fill: rgb(var(--ink) / .8); letter-spacing: .04em; }

.chip rect { fill: var(--chip-bg); stroke: rgb(var(--ink) / .18); }
.chip text { font-family: var(--font-mono); font-size: 12px; fill: var(--text); text-anchor: middle; }
.chip-sm text { font-size: 11px; }

.sparkles circle { animation: twinkle 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(16, 19, 30, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -20px rgb(var(--shadow-rgb) / calc(.7 * var(--shadow-k))), inset 0 1px 0 rgb(var(--ink) / .06);
  animation: card-in .9s var(--ease) both, bob 6s ease-in-out infinite;
}
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* PageSpeed card: score counts up while a segmented meter fills, with the Core Web Vitals underneath */
.fc-speed {
  top: 7%;
  left: -7%;
  width: 216px;
  padding: 14px 14px 13px;
  animation-delay: 1.6s, 2.5s;
}
.fs-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.fs-head b { font-family: var(--font-display); font-weight: 600; }
.fs-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(43, 224, 168, .16); color: var(--mint); }
.fs-ic .ic { width: 13px; height: 13px; }
.fs-tag { margin-left: auto; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 10.5px; color: var(--text-3); }
.fs-score { display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; }
.fs-score strong { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: .9; letter-spacing: -.04em; color: var(--mint); }
.fs-score span { padding-bottom: 1px; font-size: 11px; line-height: 1.25; color: var(--text-3); }
.fs-bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 4px;
  background: rgb(var(--ink) / .08);
  overflow: hidden;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 2px), transparent calc(10% - 2px) 10%);
  mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 2px), transparent calc(10% - 2px) 10%);
}
.fs-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #FFC24B, #2BE0A8 45%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: meter-fill 2.2s var(--ease) 1.8s forwards;
}
@keyframes meter-fill { to { transform: scaleX(1); } }
.fs-vitals { display: flex; gap: 6px; margin-top: 10px; }
.fs-vitals span { flex: 1; padding: 4px 0; border-radius: 6px; background: rgb(var(--ink) / .05); font-family: var(--font-mono); font-size: 9.5px; color: var(--text-3); text-align: center; }
.fs-vitals b { display: block; font-family: var(--font-display); font-size: 11.5px; color: var(--text); }

.fc-stax {
  top: 0;
  right: -4%;
  width: 236px;
  padding: 14px;
  animation-delay: 2s, 3.4s;
}
.fc-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.fc-head b { font-family: var(--font-display); font-weight: 600; }
.fc-time { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.stax-icon { width: 22px; height: 22px; flex: none; border-radius: 7px; }
.fc-msg { display: flex; gap: 8px; margin-top: 10px; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.fc-msg b { color: var(--mint); }
.fc-text { transition: opacity .3s ease, transform .3s ease; }
.fc-text.is-swapping { opacity: 0; transform: translateY(6px); }
.fc-dot { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.fc-foot { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.fc-tag { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255, 106, 61, .14); color: var(--peach); font-size: 11px; font-weight: 600; }

.mini-av {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 35%, #161926);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
}

.fc-term {
  bottom: 2%;
  left: -8%;
  width: 222px;
  overflow: hidden;
  animation-delay: 2.3s, 4s;
}
.term-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.term-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--ink) / .18); }
.term-bar span { margin-left: 6px; }
.term-body { min-height: 92px; padding: 10px 12px 12px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.term-body p { white-space: nowrap; overflow: hidden; }
.t-cmd { color: #fff; }
.t-cmd::before { content: "$ "; color: var(--orange-2); }
.t-ok { color: var(--mint); }
.t-dim { color: var(--text-3); }
.t-caret::after { content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px; vertical-align: -2px; background: var(--orange-2); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: grid;
  justify-items: center;
  width: 24px;
  height: 38px;
  padding-top: 7px;
  border: 1.5px solid rgb(var(--ink) / .25);
  border-radius: 14px;
  transform: translateX(-50%);
}
.scroll-cue span { width: 3px; height: 7px; border-radius: 2px; background: var(--text); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1100px) {
  .hero-title { font-size: clamp(34px, 9.8vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { justify-self: center; max-width: 560px; margin-top: 8px; }
  .scroll-cue { display: none; }
  .fc-term { display: none; }
}
/* Tablet and phone: the stack gets the full width, and the two cards sit side by side underneath it */
@media (max-width: 1100px) {
  .hero-visual-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    aspect-ratio: auto;
  }
  .stack-svg { grid-column: 1 / -1; height: auto; aspect-ratio: 1; margin-bottom: -6%; }
  .float-card {
    position: relative;
    inset: auto;
    width: auto;
    animation: card-in .9s var(--ease) both;
  }
  .fc-speed, .fc-stax { animation-delay: .4s; }
  .chip-sm { display: none; }
}
@media (max-width: 760px) {
  .fs-tag, .fc-tag, .fc-time { display: none; }
  .fc-msg { font-size: 12.5px; }
  .fs-score strong { font-size: 28px; }
}
@media (max-width: 640px) {
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pill { font-size: 12.5px; }
  .plate-label text { font-size: 15px; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Marquee ---------- */

.marquee-sec {
  position: relative;
  padding-block: 36px 44px;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(var(--ink) / .02), transparent);
}
.marquee-label {
  margin-bottom: 22px;
  padding: 0 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.marquee {
  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 + .marquee { margin-top: 14px; }
/* main.js repeats .marquee-group until the track is wider than the screen, then moves the
   track by exactly one group width per cycle, so the loop restarts on an identical frame. */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-time, 50s) linear infinite;
  will-change: transform;
}
.marquee-group { display: flex; flex: none; }
.marquee-rev .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translate3d(calc(var(--marquee-shift, 0px) * -1), 0, 0); } }

.tech {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 30px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: rgb(var(--ink) / .62);
  white-space: nowrap;
  transition: color .2s ease;
}
.tech::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--c);
  box-shadow: 0 0 14px var(--c);
  transform: rotate(45deg);
}
.tech:hover { color: var(--text); }

/* ---------- Stats ---------- */

.stats { padding-block: clamp(56px, 7vw, 88px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat {
  position: relative;
  padding: 8px 0 8px 24px;
  border-left: 1px solid var(--line-2);
}
.stat::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  width: 2px;
  height: 36px;
  background: var(--grad);
}
.stat strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, var(--text) 30%, rgb(var(--ink) / .55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat em {
  font-style: normal;
  font-size: .5em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat > span { display: block; margin-top: 10px; font-size: 15px; color: var(--text-2); }

@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

/* ---------- Cards and spotlight ---------- */

.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--x, 50%) var(--y, 0%), rgba(255, 138, 61, .13), transparent 45%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(320px circle at var(--x, 50%) var(--y, 0%), rgba(255, 178, 122, .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.spot:hover::before,
.spot:hover::after { opacity: 1; }

/* ---------- Services bento ---------- */

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; }

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }

.card-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 18px 18px 0;
  background: radial-gradient(70% 90% at 50% 100%, rgb(var(--ink) / .04), transparent 70%);
}
.illo { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.card-body { padding: 20px 26px 26px; }
.card-ic {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  color: var(--c);
}
.card h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.card p { margin-top: 8px; font-size: 15.5px; color: var(--text-2); }
/* Careers: the roles grid ends in a card that links to the form */
.role-grid .card-body { height: 100%; }
.role-any { color: inherit; text-decoration: none; border-style: dashed; }
.role-any .card-body { display: flex; flex-direction: column; }
.role-any-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--peach); }
.role-any-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.role-any:hover .role-any-go .ic { transform: translateX(4px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
}

.frame { fill: rgb(var(--ink) / .025); stroke: rgb(var(--ink) / .09); }
.svg-mono { font-family: var(--font-mono); font-size: 11px; }
.svg-display { font-family: var(--font-display); font-weight: 700; font-size: 20px; }

/* Card illustrations pause off-screen (main.js toggles .is-live) */
.js .card:not(.is-live) .illo *,
.js .card:not(.is-live) .wl-demo * { animation-play-state: paused !important; }

/* Design */
.d-el { transform-box: fill-box; animation: d-in 7s var(--ease) infinite; animation-delay: var(--d); opacity: 0; }
@keyframes d-in {
  0% { opacity: 0; transform: translateY(10px); }
  8%, 84% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: none; }
}
.d-sel { animation: sel-in 7s ease infinite; opacity: 0; }
@keyframes sel-in { 0%, 22% { opacity: 0; } 28%, 84% { opacity: 1; } 92%, 100% { opacity: 0; } }
.swatches circle { transform-box: fill-box; transform-origin: center; animation: pop 7s var(--ease) infinite; }
.swatches circle:nth-child(2) { animation-delay: .1s; }
.swatches circle:nth-child(3) { animation-delay: .2s; }
.swatches circle:nth-child(4) { animation-delay: .3s; }
@keyframes pop { 0%, 30% { transform: scale(0); } 36%, 84% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

/* Code */
.c-line { transform-box: fill-box; transform-origin: 0 50%; animation: type 7s steps(14, end) infinite; animation-delay: var(--d); transform: scaleX(0); }
@keyframes type { 0% { transform: scaleX(0); } 6%, 84% { transform: scaleX(1); } 90%, 100% { transform: scaleX(0); } }
.caret { animation: blink 1s steps(1) infinite; }
.build-chip { animation: chip-in 7s ease infinite; opacity: 0; }
@keyframes chip-in { 0%, 40% { opacity: 0; transform: translateY(6px); } 46%, 84% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }

/* Shop */
.badge { transform-box: fill-box; transform-origin: center; animation: bump 3s var(--ease) infinite; }
@keyframes bump { 0%, 60%, 100% { transform: scale(1); } 68% { transform: scale(1.35); } 76% { transform: scale(.95); } }
.plus-one { animation: rise 3s ease-out infinite; opacity: 0; }
@keyframes rise { 0%, 50% { opacity: 0; transform: translateY(14px); } 58% { opacity: 1; } 75%, 100% { opacity: 0; transform: translateY(-22px); } }
.buy { transform-box: fill-box; transform-origin: center; animation: press 3s ease infinite; }
@keyframes press { 0%, 44%, 60%, 100% { transform: scale(1); } 50% { transform: scale(.88); } }

/* App */
.bars rect { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 5s var(--ease) infinite; animation-delay: var(--d); }
@keyframes grow { 0% { transform: scaleY(.15); } 20%, 80% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.trend { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 5s var(--ease) infinite; }
@keyframes draw { 0%, 15% { stroke-dashoffset: 140; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 140; } }
.trend-dot { animation: dot-in 5s ease infinite; }
@keyframes dot-in { 0%, 40% { opacity: 0; } 48%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* Flow */
.wires path { animation: dash-flow 12s linear infinite; }
.node rect { fill: color-mix(in srgb, var(--c) 14%, #0E1019); stroke: var(--c); stroke-width: 1.5; }
.node text { font-family: var(--font-mono); font-size: 12px; fill: #fff; }
.node { animation: node-glow 2.4s ease-in-out infinite; }
.node:nth-of-type(2) { animation-delay: .6s; }
.node:nth-of-type(3) { animation-delay: 1.2s; }
.node:nth-of-type(4) { animation-delay: 1.4s; }
.node:nth-of-type(5) { animation-delay: 2s; }
@keyframes node-glow { 50% { filter: drop-shadow(0 0 8px var(--c)); } }

/* Speed */
.gauge { stroke-dasharray: 100; stroke-dashoffset: 100; animation: gauge 5s var(--ease) infinite; }
@keyframes gauge { 0% { stroke-dashoffset: 100; } 35%, 85% { stroke-dashoffset: 3; } 100% { stroke-dashoffset: 100; } }
.needle { transform: rotate(-90deg); animation: needle 5s var(--ease) infinite; }
@keyframes needle { 0% { transform: rotate(-90deg); } 35%, 85% { transform: rotate(84deg); } 100% { transform: rotate(-90deg); } }

/* Care */
.beat { stroke-dasharray: 34 66; animation: beat 2.6s linear infinite; filter: drop-shadow(0 0 6px rgba(43, 224, 168, .7)); }
@keyframes beat { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.care-shield { animation: shield 2.6s ease-in-out infinite; }
@keyframes shield { 50% { opacity: .55; } }

/* White-label demo */
.card-wl .card-art { height: auto; min-height: 200px; padding: 18px 22px; }
.wl-demo { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 440px; }
.wl-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.wl-site { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #0E1019; }
.wl-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); }
.wl-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--ink) / .2); }
.wl-bar span { margin-left: 8px; }
.wl-body { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; padding: 12px; }
.wl-body span { height: 40px; border-radius: 8px; background: rgb(var(--ink) / .06); }
.wl-body span:first-child { background: linear-gradient(120deg, rgba(139, 124, 255, .5), rgba(255, 77, 46, .45)); }
.wl-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.wl-credit { display: inline-flex; align-items: center; gap: 6px; }
.wl-names { position: relative; display: inline-grid; padding: 2px 8px; border: 1.5px solid var(--orange-2); border-radius: 6px; overflow: hidden; color: #fff; }
.wl-names b { grid-area: 1 / 1; font-weight: 700; white-space: nowrap; opacity: 0; animation: name-cycle 9s var(--ease) infinite; }
.wl-names b:nth-child(2) { animation-delay: 3s; }
.wl-names b:nth-child(3) { animation-delay: 6s; }
@keyframes name-cycle {
  0% { opacity: 0; transform: translateY(100%); }
  4%, 30% { opacity: 1; transform: none; }
  34%, 100% { opacity: 0; transform: translateY(-100%); }
}
/* Badges sit in a row above the mock so they never cover it; each ticks in turn */
.wl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(43, 224, 168, .4);
  border-radius: 999px;
  background: rgba(43, 224, 168, .08);
  color: var(--mint);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  animation: badge-tick 6s var(--ease) infinite;
  animation-delay: calc(var(--i) * .5s);
}
.wl-badge .ic { width: 12px; height: 12px; }
@keyframes badge-tick {
  0%, 14%, 100% { transform: none; background-color: rgba(43, 224, 168, .08); }
  6% { transform: translateY(-3px); background-color: rgba(43, 224, 168, .22); }
}

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .card-art { height: 180px; }
}

/* ---------- Audience toggle ---------- */

.audience { background: radial-gradient(60% 50% at 50% 0%, rgba(139, 124, 255, .08), transparent 70%); }

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: max-content;
  margin: 0 auto 56px;
  padding: 5px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(var(--ink) / .04);
}
.seg-btn {
  position: relative;
  z-index: 1;
  min-width: 160px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color .3s ease;
}
.seg-btn[aria-selected="true"] { color: #0B0C12; }
.seg-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--grad);
  box-shadow: 0 10px 26px -10px rgba(255, 90, 46, .8);
  transition: transform .5s var(--ease);
}
.seg[data-active="1"] .seg-pill { transform: translateX(100%); }

.aud-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.aud-panel[hidden] { display: none; }
.aud-panel.is-entering { animation: panel-in .7s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.aud-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.12;
}
.aud-copy .btn { margin-top: 32px; }

.ticks { display: grid; gap: 14px; margin-top: 26px; }
.ticks li { display: flex; gap: 14px; color: var(--text-2); }
.ticks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  background: rgba(43, 224, 168, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5 8l4-4.4' fill='none' stroke='%232BE0A8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid rgba(43, 224, 168, .35);
}

.aud-visual { display: grid; place-items: center; }
@keyframes core { 50% { transform: scale(1.06); } }

/* For brands: a live "team console" for one client's project */
.console-stage { position: relative; width: 100%; max-width: 520px; padding: 38px 24px 46px 0; }
.console {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), #0E1019;
  box-shadow: 0 50px 100px -40px rgb(var(--shadow-rgb) / calc(.9 * var(--shadow-k))), 0 0 70px -24px rgba(139, 124, 255, .35);
  overflow: hidden;
}
.console-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 20px 15px; border-bottom: 1px solid var(--line); }
.console-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--peach); }
.console-title { margin-top: 4px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.console-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(43, 224, 168, .12);
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.console-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: twinkle 1.6s ease-in-out infinite; }
.console-list { display: grid; padding: 8px 10px; }
.console-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, .9fr) minmax(0, 1.25fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 12px;
  transition: background-color .2s ease;
}
.console-list li:hover { background: rgba(255, 255, 255, .03); }
.aud-visual.is-live .console-list li { animation: row-in .7s var(--ease) both; animation-delay: calc(.15s + var(--i) * .12s); }
@keyframes row-in { from { opacity: 0; transform: translateY(12px); } }
.console-av {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 28%, #12141F);
  box-shadow: 0 0 0 2px #0E1019, 0 0 0 3.5px var(--c);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.console-who b { display: block; font-family: var(--font-display); font-size: 13.5px; font-weight: 600; }
.console-who small { display: block; font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-doing { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.console-bar i { display: block; width: var(--w); height: 100%; border-radius: 6px; background: var(--c); box-shadow: 0 0 10px var(--c); transform-origin: 0 50%; }
.aud-visual.is-live .console-bar i { animation: bar-grow 1.4s var(--ease) both; animation-delay: calc(.5s + var(--i) * .12s); }
@keyframes bar-grow { from { transform: scaleX(0); } }
.console-done { justify-self: end; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(43, 224, 168, .15); color: var(--mint); }
.console-done .ic { width: 13px; height: 13px; stroke-width: 3; }
.typing { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
.console-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  font-size: 12px;
  color: var(--text-3);
}
.console-foot b { margin-right: 3px; font-family: var(--font-display); font-size: 14px; color: var(--text); }
.console-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(16, 19, 30, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgb(var(--shadow-rgb) / calc(.7 * var(--shadow-k)));
  font-size: 12.5px;
  white-space: nowrap;
}
.console-date { top: 0; right: 0; animation: bob 6s ease-in-out infinite; }
.console-date small { display: block; font-size: 10.5px; color: var(--text-3); }
.console-date b { display: block; font-family: var(--font-display); font-size: 15px; line-height: 1.1; }
.cf-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 194, 75, .15); color: var(--amber); }
.cf-ic .ic { width: 15px; height: 15px; }
.cf-chip { padding: 2px 8px; border-radius: 999px; background: rgba(43, 224, 168, .14); color: var(--mint); font-size: 11px; font-weight: 700; }
.console-toast { left: -22px; bottom: 4px; font-weight: 600; opacity: 0; animation: toast 7s var(--ease) 1.5s infinite; }
.cf-check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: #07080D; }
.cf-check .ic { width: 13px; height: 13px; stroke-width: 3; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  8%, 70% { opacity: 1; transform: none; }
  80%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* For agencies: our team works on a hidden layer; a scan line swaps our name for yours */
.inv-stage { position: relative; width: 100%; max-width: 520px; padding: 58px 0 34px 34px; }
.inv-back {
  position: absolute;
  top: 0;
  right: -8px;
  width: 76%;
  padding: 16px 18px 20px;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .03);
  filter: blur(1.2px);
  opacity: .55;
  transform: rotate(3deg);
  animation: ghost 6s ease-in-out infinite;
}
@keyframes ghost { 50% { opacity: .28; } }
.inv-back-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-2); }
.inv-back-h span { margin-left: auto; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.inv-mark { width: 20px; height: 20px; flex: none; }
.inv-lines { display: grid; gap: 8px; margin-top: 14px; }
.inv-lines i { display: block; width: var(--w); height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.inv-lines i:nth-child(3n) { background: rgba(139, 124, 255, .45); }
.inv-lines i:nth-child(4n) { background: rgba(255, 138, 61, .45); }
.inv-front {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), #0E1019;
  box-shadow: 0 50px 100px -40px rgb(var(--shadow-rgb) / calc(.9 * var(--shadow-k))), 0 0 70px -24px rgba(79, 123, 255, .4);
  overflow: hidden;
}
.inv-front-h { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.inv-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F7BFF, #8B7CFF);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}
.inv-name b { display: block; font-family: var(--font-display); font-size: 15px; }
.inv-name small { display: block; font-size: 11.5px; color: var(--text-3); }
.inv-eye {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(79, 123, 255, .16);
  color: #A9BEFF;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.inv-eye .ic { width: 13px; height: 13px; }
.inv-list { display: grid; padding: 4px 18px 10px; }
.inv-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.inv-list li:last-child { border-bottom: 0; }
.inv-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.inv-swap { display: grid; justify-items: end; font-family: var(--font-display); font-size: 14.5px; font-weight: 600; text-align: right; }
.inv-swap > * { grid-area: 1 / 1; }
.inv-swap s { color: var(--text-3); text-decoration-color: var(--orange); text-decoration-thickness: 2px; animation: swap-out 6s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
.inv-swap b { display: inline-flex; align-items: center; gap: 8px; color: #fff; opacity: 0; animation: swap-in 6s var(--ease) infinite; animation-delay: calc(var(--i) * .6s); }
.inv-swap b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4F7BFF; box-shadow: 0 0 8px #4F7BFF; }
@keyframes swap-out { 0%, 18% { opacity: 1; transform: none; } 26%, 86% { opacity: 0; transform: translateY(-8px); } 94%, 100% { opacity: 1; transform: none; } }
@keyframes swap-in { 0%, 18% { opacity: 0; transform: translateY(8px); } 26%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(8px); } }
.inv-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4F7BFF 30%, #8B7CFF 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(79, 123, 255, .45);
  opacity: 0;
  animation: scan 6s var(--ease) infinite;
}
@keyframes scan {
  0% { opacity: 0; transform: translateY(0); }
  6% { opacity: 1; }
  50% { opacity: 1; transform: translateY(205px); }
  56%, 100% { opacity: 0; transform: translateY(205px); }
}
.inv-stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(43, 224, 168, .4);
  border-radius: 12px;
  background: rgba(16, 19, 30, .94);
  color: var(--mint);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 20px 40px -18px rgb(var(--shadow-rgb) / calc(.8 * var(--shadow-k)));
  animation: bob 5s ease-in-out infinite;
}
.inv-stamp .ic { width: 14px; height: 14px; }
.js .aud-visual:not(.is-live) * { animation-play-state: paused !important; }

@media (max-width: 900px) {
  .aud-panel { grid-template-columns: 1fr; }
  .aud-visual { order: -1; }
}
/* Two columns but a narrow console: let status lines wrap instead of cutting words off */
@media (min-width: 901px) and (max-width: 1180px) {
  .console-doing, .console-who small { white-space: normal; }
}
@media (max-width: 560px) {
  .console-stage { padding-right: 0; }
  .console-list li { grid-template-columns: 34px minmax(0, 1fr) 64px; }
  .console-doing { display: none; }
  .console-foot { font-size: 11px; }
  .console-toast { left: 6px; }
  .inv-stage { padding-left: 0; }
  .inv-k { display: none; }
  .inv-list li { justify-content: flex-start; }
  .inv-swap { justify-items: start; text-align: left; }
}
@media (max-width: 420px) {
  .seg-btn { min-width: 0; padding: 12px 18px; }
  .inv-eye { display: none; }
}

/* ---------- Stax ---------- */

.stax { overflow: hidden; }
.stax-glow {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 70%;
  height: 80%;
  pointer-events: none;
  background:
    radial-gradient(45% 45% at 60% 40%, rgba(139, 124, 255, .22), transparent 70%),
    radial-gradient(40% 40% at 40% 70%, rgba(255, 77, 46, .18), transparent 70%);
}

.stax-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.stax-features { display: grid; gap: 12px; margin: 32px 0 36px; }
.stax-features li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.sf-ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 32%, transparent);
  color: var(--c);
}
.sf-ic .ic { width: 17px; height: 17px; }

.stax-app { perspective: 1400px; }
.app {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: #0C0E17;
  box-shadow: 0 60px 120px -40px rgb(var(--shadow-rgb) / calc(.9 * var(--shadow-k))), 0 0 0 1px rgb(var(--ink) / .03), 0 0 80px -20px rgba(139, 124, 255, .35);
  overflow: hidden;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgb(var(--ink) / .02);
  font-size: 13px;
}
.app-logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; }

/* The workspace stays blurred so the real Stax interface isn't on show; the board still moves behind it */
.app-veil { filter: blur(6px) saturate(.8); opacity: .65; pointer-events: none; user-select: none; }
.stax-lock {
  position: absolute;
  left: 50%;
  top: 55%;
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(84%, 340px);
  padding: 28px 24px 22px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(12, 14, 23, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -50%);
  transition: border-color .3s var(--ease);
}
.stax-lock:hover { border-color: rgba(240, 106, 106, .45); }
.stax-lock-icon { width: 54px; height: 54px; margin-bottom: 6px; border-radius: 15px; box-shadow: 0 14px 30px -8px rgba(240, 106, 106, .65); }
.stax-lock-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.stax-lock-text { font-size: 13.5px; line-height: 1.5; color: rgba(245, 246, 250, .72); }
.stax-lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 11px;
  border: 1px solid rgba(240, 106, 106, .38);
  border-radius: 999px;
  background: rgba(240, 106, 106, .14);
  color: #FF9F9F;
  font-size: 12px;
  font-weight: 700;
}
.stax-lock-chip .ic { width: 13px; height: 13px; }
.app-crumb { color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-crumb i { font-style: normal; margin: 0 4px; opacity: .5; }
.app-crumb b { color: #fff; font-weight: 600; }
.app-avs { display: flex; margin-left: auto; }
.app-avs .mini-av { width: 26px; height: 26px; margin-left: -6px; border: 2px solid #0C0E17; font-size: 9.5px; }

.app-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.app-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-right: 1px solid var(--line); }
.side-h { margin-bottom: 6px; padding-left: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.side-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--text-2); }
.side-item i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.side-item.is-active { background: rgb(var(--ink) / .06); color: #fff; font-weight: 600; }
.side-progress { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 10px 8px 2px; }
.side-progress svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.side-progress circle { fill: none; stroke-width: 6; }
.sp-bg { stroke: rgb(var(--ink) / .08); }
.sp-fg { stroke: var(--mint); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--pct, 25)); transition: stroke-dashoffset .8s var(--ease); }
.side-progress span { font-size: 11px; line-height: 1.3; color: var(--text-3); }
.side-progress b { display: block; font-family: var(--font-display); font-size: 16px; color: #fff; }

.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.col { display: flex; flex-direction: column; min-width: 0; padding: 8px; border-radius: 12px; background: rgb(var(--ink) / .025); }
.col-h { display: flex; align-items: center; gap: 6px; margin: 2px 4px 10px; font-size: 11.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.col-h i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.col-h span { margin-left: auto; padding: 0 6px; border-radius: 999px; background: rgb(var(--ink) / .07); font-size: 10.5px; color: var(--text-3); }
.col-list { display: grid; align-content: start; gap: 8px; min-height: 120px; }

.task {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #151826;
  box-shadow: 0 6px 14px -8px rgb(var(--shadow-rgb) / calc(.7 * var(--shadow-k)));
  will-change: transform;
}
.task.is-moving { border-color: rgba(255, 178, 122, .6); box-shadow: 0 14px 30px -10px rgba(255, 90, 46, .45); z-index: 2; position: relative; }
.task p { margin-top: 7px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.t-label { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; }
.l-design { background: rgba(255, 106, 61, .16); color: #FF9B78; }
.l-dev { background: rgba(139, 124, 255, .18); color: #B3A8FF; }
.l-auto { background: rgba(255, 79, 154, .16); color: #FF8DBF; }
.l-perf { background: rgba(56, 189, 248, .16); color: #7DD3FC; }
.t-meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; font-size: 10px; color: var(--text-3); }
.t-meta .mini-av { width: 18px; height: 18px; font-size: 7.5px; }
.t-chk { margin-left: auto; font-family: var(--font-mono); }
.col:last-child .t-chk { color: var(--mint); }

.app-feed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  background: rgba(43, 224, 168, .05);
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
}
.app-feed span:last-child { overflow: hidden; text-overflow: ellipsis; transition: opacity .3s ease; }
.app-feed span.is-swapping { opacity: 0; }
.feed-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.feed-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: ping 1.6s ease-out infinite; }

@media (max-width: 1100px) {
  .stax-grid { grid-template-columns: minmax(0, 1fr); }
  .app { --rx: 0deg; --ry: 0deg; }
}
@media (max-width: 760px) {
  .app-side { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .board { grid-template-columns: repeat(4, 150px); overflow-x: auto; scrollbar-width: none; }
  .board::-webkit-scrollbar { display: none; }
  .app-crumb { display: none; }
}

/* ---------- Process ---------- */

.process { position: relative; padding-block: clamp(32px, 4vw, 56px); background: linear-gradient(180deg, transparent, rgb(var(--ink) / .02) 40%, transparent); }
.process-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.process-head .h2 { max-width: 980px; }
.process-count { font-family: var(--font-mono); font-size: 14px; color: var(--text-3); white-space: nowrap; }
.process-count b { font-size: 28px; font-weight: 500; color: var(--text); }

.process-rail { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); height: 2px; margin: 40px auto 36px; background: var(--line); border-radius: 2px; overflow: hidden; }
.process-rail span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }

.process-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.pstep {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, color-mix(in srgb, var(--c) 10%, rgb(var(--ink) / .03)), rgb(var(--ink) / .012) 60%);
  overflow: hidden;
  transition: border-color .3s ease, transform .4s var(--ease);
}
.pstep:hover { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-4px); }
.pstep-num {
  position: absolute;
  right: 18px;
  top: 6px;
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c) 45%, transparent);
}
.pstep-ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  color: var(--c);
  box-shadow: 0 0 30px -6px color-mix(in srgb, var(--c) 60%, transparent);
}
.pstep-ic .ic { width: 22px; height: 22px; }
.pstep h3 { margin-top: auto; padding-top: 70px; font-family: var(--font-display); font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.pstep p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); }
.pstep-meta { align-self: flex-start; margin-top: 20px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); font-family: var(--font-mono); font-size: 12px; }

/* Pinned horizontal scroll, enabled by main.js on wide screens */
/* The sticky block is only as tall as its content and is centred in the viewport by main.js,
   so pinning adds no empty space above or below the section. */
.process-pin.is-pinned .process-sticky {
  position: sticky;
  top: var(--pin-top, 96px);
  overflow: hidden;
  padding-block: 8px;
}
.process-pin.is-pinned .process-track {
  display: flex;
  width: max-content;
  max-width: none;
  margin: 0;
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  will-change: transform;
}
.process-pin.is-pinned .pstep { width: clamp(320px, 30vw, 420px); flex: none; }
.process-pin.is-pinned .pstep.is-current { border-color: color-mix(in srgb, var(--c) 55%, transparent); }

@media (max-width: 760px) {
  .process-head { flex-direction: column; align-items: flex-start; }
  .process-count { display: none; }
  .pstep { min-height: 0; }
  .pstep h3 { padding-top: 28px; }
  .pstep-num { font-size: 84px; }
}

/* ---------- Team ---------- */

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.constellation svg { width: 100%; max-width: 560px; margin-inline: auto; overflow: visible; }
.c-links line { animation: dash-flow 10s linear infinite; }
.hub {
  fill: #0E1019;
  stroke: rgba(255, 138, 61, .5);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: core 4s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 90, 46, .45));
}
.cluster { animation: float-c 7s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
@keyframes float-c { 33% { transform: translate(6px, -8px); } 66% { transform: translate(-6px, 5px); } }
.cluster circle { fill: var(--c); filter: drop-shadow(0 0 8px var(--c)); animation: twinkle-dot 3s ease-in-out infinite; }
.cluster circle:nth-child(2n) { animation-delay: .7s; }
.cluster circle:nth-child(3n) { animation-delay: 1.4s; }
@keyframes twinkle-dot { 50% { opacity: .55; } }
.cluster text { font-family: var(--font-mono); font-size: 12.5px; fill: rgb(var(--ink) / .78); }
.js .constellation:not(.is-live) * { animation-play-state: paused !important; }

.disciplines { display: grid; gap: 16px; }
.disciplines li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.dl-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.dl-name i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.dl-bar { height: 6px; border-radius: 6px; background: rgb(var(--ink) / .07); overflow: hidden; }
.dl-bar span { display: block; width: var(--w); height: 100%; border-radius: 6px; background: var(--c); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .2s); }
.disciplines li.is-in .dl-bar span,
html:not(.js) .dl-bar span { transform: none; }
.disciplines b { font-family: var(--font-display); font-size: 18px; text-align: right; }

/* Key people */
.people-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px 24px;
  margin: clamp(64px, 8vw, 96px) 0 26px;
}
.people-head h3 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -.03em; }
.people-head p { color: var(--text-2); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.person-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform .4s var(--ease), border-color .3s ease;
}
.person-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, #FF8A3D) 50%, transparent); }
.pc-av {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 26%, var(--av-base));
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c), 0 0 26px -6px var(--c);
  color: var(--av-text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
/* Portraits are square, 240 px exports of the 800 px originals in assets/images */
.pc-av img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.person-card b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.pc-role { margin-top: 4px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 72%, var(--text)); }
.person-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
/* Full-width closing row under the named people */
.person-more {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  border-style: dashed;
  background: linear-gradient(135deg, rgba(255, 77, 46, .1), rgba(139, 124, 255, .1)), var(--card-bg);
}
.pm-stack { display: flex; flex: none; }
.person-more p { margin-top: 4px; }
.pm-stack i { width: 36px; height: 36px; margin-right: -10px; border: 2px solid var(--bg); border-radius: 50%; background: color-mix(in srgb, var(--c) 45%, var(--av-base)); }
.pm-stack img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pm-stack em {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
/* On the About page the wider team is one tile in the grid, laid out like the people beside it */
.person-more.is-tile { grid-column: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.person-more.is-tile .pm-stack { height: 72px; align-items: center; margin-bottom: 18px; }
.person-more.is-tile p { margin-top: 12px; }
@media (max-width: 1000px) {
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .people-grid { grid-template-columns: 1fr; }
  .person-more { flex-direction: column; align-items: flex-start; gap: 16px; }
}

.lead-av {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c) 28%, var(--av-base));
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--c);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}
:is(.lead-av, .console-av) img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
:is(.t-slide, .quote-card) .lead-av:has(img) { width: 52px; height: 52px; }

.scale-card {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 138, 61, .3);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 77, 46, .12), rgba(255, 194, 75, .05));
}
.scale-card b { font-family: var(--font-display); font-size: 17px; }
.scale-card p { margin-top: 4px; font-size: 14.5px; color: var(--text-2); }

@media (max-width: 1000px) {
  .team-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cluster text { font-size: 17px; }
  .disciplines li { grid-template-columns: minmax(0, 1fr) 80px 24px; gap: 12px; font-size: 14px; }
}

/* ---------- Work ---------- */

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wcard {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.wcard-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--peach); }
.wcard h3 { margin-top: 12px; max-width: 26ch; font-family: var(--font-display); font-size: clamp(21px, 2vw, 26px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.wcard > p:not(.wcard-tag):not(.wcard-metric) { margin-top: 18px; font-size: 15.5px; color: var(--text-2); }
.wcard-metric { margin-top: auto; padding-top: 22px; font-size: 14.5px; color: var(--text-2); }
.wcard-metric strong {
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wviz { display: grid; align-content: center; height: 120px; margin-top: 22px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgb(var(--bg-rgb) / .5); }

.speed-viz { gap: 14px; }
.sv-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 56px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); }
.sv-row b { font-family: var(--font-mono); font-weight: 500; color: var(--text); text-align: right; }
.sv-bar { height: 12px; border-radius: 6px; background: rgb(var(--ink) / .05); overflow: hidden; }
.sv-bar i { display: block; width: var(--w); height: 100%; border-radius: 6px; background: rgb(var(--ink) / .3); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .3s; }
.is-after .sv-bar i { background: var(--grad); box-shadow: 0 0 14px rgba(255, 138, 61, .6); transition-delay: .9s; }
.wcard.is-in .sv-bar i { transform: none; }

.timeline-viz { position: relative; display: flex; justify-content: space-between; align-items: center; padding-inline: 26px; }
.tl-line { position: absolute; left: 30px; right: 30px; top: 50%; height: 2px; background: rgb(var(--ink) / .08); }
.tl-line i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease) .3s; }
.wcard.is-in .tl-line i { transform: none; }
.tl-dot { position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-3); border: 2px solid rgb(var(--ink) / .2); transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; transition-delay: calc(.3s + var(--i) * .2s); }
.wcard.is-in .tl-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px var(--amber); }
.tl-dot em { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; font-style: normal; color: var(--text-3); }

.nodes-viz { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 10px; }
.nodes-viz span {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255, 79, 154, .4);
  background: rgba(255, 79, 154, .08);
  animation: node-run 3.9s ease-in-out infinite;
  animation-delay: calc(var(--i) * .3s);
}
@keyframes node-run { 0%, 20%, 100% { background: rgba(255, 79, 154, .08); box-shadow: none; } 8% { background: #FF4F9A; box-shadow: 0 0 16px #FF4F9A; } }
.js .wcard:not(.is-live) .nodes-viz span { animation-play-state: paused; }

.score-viz { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
.score-big { font-family: var(--font-display); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.score-big b { color: var(--mint-ink); text-shadow: 0 0 24px rgba(43, 224, 168, .5); }
.score-big span { font-size: 22px; color: var(--text-3); }
.score-checks { display: flex; flex-wrap: wrap; gap: 6px; }
.score-checks span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  transition: all .4s ease;
}
.wcard.is-in .score-checks span { border-color: rgba(43, 224, 168, .5); background: rgba(43, 224, 168, .12); color: var(--mint-ink); }
.wcard.is-in .score-checks span:nth-child(1) { transition-delay: .6s; }
.wcard.is-in .score-checks span:nth-child(2) { transition-delay: .9s; }
.wcard.is-in .score-checks span:nth-child(3) { transition-delay: 1.2s; }
.wcard.is-in .score-checks span:nth-child(4) { transition-delay: 1.5s; }

/* Testimonials carousel */
.testimonials {
  position: relative;
  max-width: 980px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 64px) clamp(26px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(255, 138, 61, .12), transparent 70%),
    var(--card-bg);
  box-shadow: var(--card-shadow);
  text-align: center;
  overflow: hidden;
}
.quote-mark { width: 48px; margin: 0 auto 26px; }
.t-stage { display: grid; }
.t-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .8s var(--ease), visibility .8s;
}
.t-slide > figure { display: flex; flex-direction: column; align-items: center; }
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.t-slide.is-leaving { opacity: 0; transform: translateY(-18px); }
.t-slide blockquote p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.t-slide figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; }
.t-slide figcaption b { display: block; font-family: var(--font-display); }
.t-slide figcaption small { font-size: 14px; color: var(--text-3); }
.t-slide.is-placeholder blockquote p { color: var(--text-3); font-style: italic; }

.t-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; }
.t-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.t-arrow:hover { border-color: var(--orange-2); transform: scale(1.06); }
.t-prev .ic { transform: rotate(180deg); }
/* On a narrow phone the dots get shorter, so the round arrows keep their size */
.t-arrow { flex: none; }
.t-dots { display: flex; gap: 8px; min-width: 0; }
.t-dot {
  position: relative;
  flex: 0 1 34px;
  min-width: 14px;
  width: 34px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: rgb(var(--ink) / .14);
  overflow: hidden;
  cursor: pointer;
}
.t-dot span { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.t-dot.is-done span { transform: scaleX(1); opacity: .45; }
.t-dot.is-active span { animation: t-progress var(--t-dur, 7s) linear forwards; }
.testimonials:is(:hover, :focus-within, :not(.is-live)) .t-dot.is-active span { animation-play-state: paused; }
@keyframes t-progress { to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.pcard {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.pcard-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 18px; }
.pcard-price strong { font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 44px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.pcard-price span { font-size: 14.5px; color: var(--text-3); }
.pcard-price .from { width: 100%; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pcard-desc { margin-top: 12px; font-size: 15.5px; color: var(--text-2); }
.pcard .ticks { margin: 24px 0 32px; font-size: 15px; }
.pcard-top { display: flex; flex-direction: column; }
.pcard .btn { margin-top: auto; }
.pcard-foot { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; text-wrap: balance; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    .price-grid { row-gap: 0; }
    .pcard { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
    .pcard .btn { margin-top: 0; align-self: end; }
  }
}
.pcard-foot a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }

.pcard-feature {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--angle), #FF4D2E, #FFC24B, #8B7CFF, #2BE0A8, #FF4D2E) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 40px 80px -40px rgba(255, 90, 46, .55);
  animation: rotate-border 6s linear infinite;
}
@keyframes rotate-border { to { --angle: 360deg; } }
.pcard-feature .pcard-price strong { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard-flag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #0B0C12;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price-note { margin-top: 26px; text-align: center; font-size: 14px; color: var(--text-3); }

/* Guarantee: a ticket with a tear-off stub. A mask bites the two notches, a dashed rule is the perforation. */
.ticket {
  --stub: 320px;
  --notch: 13px;
  --cut-top: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 0, #0000 96%, #000) top / 100% 51% no-repeat;
  --cut-bottom: radial-gradient(circle var(--notch) at calc(100% - var(--stub)) 100%, #0000 96%, #000) bottom / 100% 51% no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stub);
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(55% 140% at 100% 0%, rgba(255, 106, 46, .13), transparent 62%), var(--card-bg);
  -webkit-mask: var(--cut-top), var(--cut-bottom);
  mask: var(--cut-top), var(--cut-bottom);
}
.ticket-main { padding: clamp(28px, 3.4vw, 40px); }
.ticket-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--peach);
}
.ticket-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ticket-desc { margin-top: 12px; max-width: 62ch; font-size: 15.5px; color: var(--text-2); }
.ticket-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ticket-steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(var(--ink) / .03);
  font-size: 13.5px;
  color: var(--text-2);
}
.ticket-steps span {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: #0B0C12;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
}
.ticket-stub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 32px 30px;
  border-left: 1.5px dashed var(--line-2);
  text-align: center;
}
.ticket-meta { font-size: 13px; color: var(--text-3); }
.ticket-ask { align-self: center; font-size: 14px; font-weight: 600; color: var(--text); text-underline-offset: 3px; }

/* The seal: an orange coin with the guarantee written around it, turning slowly */
.seal { align-self: center; width: 128px; height: 128px; overflow: visible; }
.seal-edge { fill: rgb(var(--ink) / .03); stroke: var(--line-2); stroke-width: 1; }
.seal-dots { fill: none; stroke: rgb(var(--ink) / .3); stroke-width: 1; stroke-dasharray: 1 3.2; }
.seal-ring { font-family: var(--font-mono); font-size: 7.6px; font-weight: 500; fill: var(--text-2); }
.seal-spin { transform-box: view-box; transform-origin: 60px 60px; animation: seal-spin 28s linear infinite; }
.seal-big { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.03em; fill: #0B0C12; }
.seal-small { font-family: var(--font-mono); font-size: 7px; font-weight: 500; letter-spacing: .14em; fill: #0B0C12; fill-opacity: .75; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .ticket { max-width: 520px; margin-inline: auto; grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-stub { border-left: 0; border-top: 1.5px dashed var(--line-2); }
}

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgb(var(--ink) / .025);
  transition: border-color .3s ease, background-color .3s ease;
}
.faq-list details[open] { border-color: rgba(255, 138, 61, .35); background: rgba(255, 138, 61, .05); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 12px no-repeat,
    rgb(var(--ink) / .07);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 22px; max-width: 62ch; color: var(--text-2); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
}

/* ---------- Contact ---------- */

.contact { overflow: hidden; border-top: 1px solid var(--line); }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact .a1 {
  width: 900px; height: 900px; left: 50%; top: -420px; margin-left: -450px;
  background: radial-gradient(circle, rgba(255, 77, 46, .3) 0%, rgba(255, 77, 46, 0) 60%);
  animation: drift-b 20s ease-in-out infinite alternate;
}
.contact .a2 {
  width: 700px; height: 700px; right: -200px; bottom: -300px;
  background: radial-gradient(circle, rgba(139, 124, 255, .25) 0%, rgba(139, 124, 255, 0) 60%);
  animation: drift-a 24s ease-in-out infinite alternate;
}

.mega-title {
  position: relative;
  max-width: 1080px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy .lede { margin-top: 0; }
.next-steps { display: grid; gap: 22px; margin-top: 36px; }
.next-steps li { display: flex; gap: 16px; }
.next-steps li > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #0B0C12;
  font-family: var(--font-display);
  font-weight: 700;
}
.next-steps b { font-family: var(--font-display); font-size: 17px; }
.next-steps p { margin-top: 2px; font-size: 15px; color: var(--text-2); }
.pay-now {
  margin-top: 36px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(var(--ink) / .025);
}
.pay-now-title {
  padding: 12px 14px 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 14px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background-color .25s ease;
}
.pay-row:hover { background: rgb(var(--ink) / .05); }
.pay-row b { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.pay-row small { display: block; font-size: 13.5px; color: var(--text-3); }
.pay-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #0B0C12;
  font-size: 13.5px;
  font-weight: 700;
}
.pay-go .ic { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.pay-row:hover .pay-go .ic { transform: translateX(3px); }
.pay-note { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; color: var(--text-3); }
.pay-note:last-child { padding-bottom: 12px; }
.pay-note .ic { width: 14px; height: 14px; }
.pay-note a { color: var(--text-2); font-weight: 600; text-underline-offset: 3px; }
.pay-now + .contact-email { margin-top: 24px; }
.contact-email { margin-top: 36px; color: var(--text-2); }
.contact-email a { color: var(--text); font-weight: 700; text-underline-offset: 3px; }

.brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--form-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -50px rgb(var(--shadow-rgb) / calc(.9 * var(--shadow-k)));
}
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.optional { font-weight: 500; color: var(--text-3); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(var(--ink) / .04);
  color: var(--text);
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field input::placeholder { color: var(--text-3); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  appearance: none;
  padding-right: 40px;
  background: rgb(var(--ink) / .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
}
.field select option { background: var(--surface); color: var(--text); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-2);
  background-color: rgb(var(--ink) / .06);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .18);
}
.field [aria-invalid="true"] { border-color: var(--pink); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--text-3); }
.form-status { font-size: 14px; font-weight: 700; color: var(--peach); }
.form-status:empty { display: none; }
.form-status a, .form-note a { color: var(--text); text-underline-offset: 3px; }

/* File upload (careers): the real input covers the whole box, so clicking and dropping both work */
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: rgb(var(--ink) / .03);
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field .file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.file-drop:hover, .file-drop.is-over { border-color: var(--orange-2); background: rgba(255, 138, 61, .06); }
.file-drop:focus-within { border-color: var(--orange-2); box-shadow: 0 0 0 4px rgba(255, 138, 61, .18); }
.file-drop.has-file { border-style: solid; border-color: rgba(43, 224, 168, .45); background: rgba(43, 224, 168, .05); }
.file-drop:has([aria-invalid="true"]) { border-color: var(--pink); }
.file-drop-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 138, 61, .12); color: var(--orange-2); }
.file-drop.has-file .file-drop-ic { background: rgba(43, 224, 168, .12); color: var(--mint); }
.file-drop-text { display: grid; gap: 2px; min-width: 0; }
.file-drop-text b { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.file-drop-text small { font-size: 13px; color: var(--text-3); }

/* A checkbox that reads as a sentence */
.field .check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.field .check input { flex: none; width: 18px; height: 18px; min-height: 0; margin-top: 2px; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--orange-2); cursor: pointer; }
.field .check input[aria-invalid="true"] { outline: 2px solid var(--pink); outline-offset: 2px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brief-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- Footer ---------- */

.site-footer { position: relative; padding-top: 72px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand img { height: 22px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 32ch; font-size: 15px; color: var(--text-2); }
.footer-brand .btn { margin-top: 24px; }
.footer-col { display: grid; align-content: start; gap: 11px; font-size: 14.5px; color: var(--text-2); }
.footer-head { margin-bottom: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.footer-col a { text-decoration: none; transition: color .2s ease; }
.footer-col a:hover { color: var(--text); }

/* Footer signature: the logo's own capitals, drawn stroke by stroke, then a slow warm sweep */
.footer-word {
  width: min(100% - var(--gutter) * 2, 860px);
  margin: 64px auto 28px;
  user-select: none;
}
.footer-word svg { width: 100%; height: auto; overflow: visible; }
.footer-word :is(path, circle) { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* Once a letter is drawn its dash is dropped, so closed shapes like the O join cleanly instead of showing a seam */
.footer-word.is-in :is(path, circle) {
  animation: fw-draw 1.4s var(--ease) forwards, fw-solid 0s forwards;
  animation-delay: calc(.2s + var(--i) * .11s), calc(1.6s + var(--i) * .11s);
}
html:not(.js) .footer-word :is(path, circle) { stroke-dasharray: none; }
.footer-word .fw-slash { stroke: #FF6A2E; }
.fw-base { stop-color: rgb(var(--ink) / .16); }
.fw-glow { stop-color: rgba(255, 138, 61, .75); }
@keyframes fw-draw { to { stroke-dashoffset: 0; } }
@keyframes fw-solid { to { stroke-dasharray: none; } }

.footer-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-3);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--text); }

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Inner pages: page heading ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero .a1 {
  width: 680px; height: 680px;
  top: -380px; right: -140px;
  background: radial-gradient(circle, rgba(255, 77, 46, .32) 0%, rgba(255, 77, 46, 0) 62%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.page-hero .a2 {
  width: 560px; height: 560px;
  top: -260px; right: 300px;
  background: radial-gradient(circle, rgba(139, 124, 255, .22) 0%, rgba(139, 124, 255, 0) 62%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.page-hero .wrap { position: relative; }
.page-hero .lede { max-width: 700px; margin-top: 26px; }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(46px, 7.4vw, 104px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--text-3);
}
.page-meta span + span::before { content: "·"; margin-right: 22px; color: var(--text-3); }

/* ---------- Inner pages: legal documents ---------- */

.legal-body { padding-block: clamp(48px, 6vw, 88px) clamp(80px, 9vw, 128px); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

/* "On this page": a sticky rail that marks the section being read */
.toc { position: sticky; top: 104px; }
.toc summary {
  margin-bottom: 14px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: grid; border-left: 1px solid var(--line); }
.toc a {
  display: flex;
  gap: 12px;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.toc a span { flex: none; min-width: 18px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.75; color: var(--text-3); }
.toc a:hover { color: var(--text); }
.toc a.is-current { border-left-color: var(--orange-2); color: var(--text); }
.toc a.is-current span { color: var(--peach); }

.legal-doc { max-width: 760px; }
.legal-summary {
  margin-bottom: clamp(40px, 5vw, 56px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: radial-gradient(70% 120% at 100% 0%, rgba(255, 106, 46, .13), transparent 62%), var(--card-bg);
  box-shadow: var(--card-shadow);
}
.legal-summary h2 { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.legal-summary .ticks { margin-top: 20px; }
.legal-summary .ticks li { color: var(--text); font-size: 16px; line-height: 1.55; }

.legal-doc section { padding-top: clamp(32px, 4vw, 44px); margin-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal-summary + section { padding-top: 0; margin-top: 0; border-top: 0; }
.legal-doc section h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.legal-doc section h2 span { flex: none; font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--peach); }
.legal-doc h3 { margin-top: 28px; font-size: 16.5px; font-weight: 700; color: var(--text); }
.legal-doc p, .legal-doc li, .legal-doc dd { font-size: 16.5px; line-height: 1.75; color: var(--text-2); }
.legal-doc p { margin-top: 14px; }
.legal-doc h3 + p { margin-top: 6px; }
.legal-doc a { color: var(--text); font-weight: 600; text-decoration-color: rgba(255, 138, 61, .6); text-underline-offset: 3px; }
.legal-doc a:hover { text-decoration-color: var(--orange-2); }
.legal-doc .btn { text-decoration: none; }

.bullets { display: grid; gap: 10px; margin-top: 16px; }
.bullets li { position: relative; padding-left: 24px; }
.bullets li::before { content: ""; position: absolute; top: .85em; left: 2px; width: 10px; height: 2px; border-radius: 2px; background: var(--grad); }

/* Two-column facts: a name on the left, what it means on the right */
.kv { margin-top: 18px; border-top: 1px solid var(--line); }
.kv div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 24px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 700; color: var(--text); line-height: 1.6; }
.kv dd { margin: 0; line-height: 1.6; }

.legal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: radial-gradient(80% 140% at 0% 100%, rgba(139, 124, 255, .14), transparent 60%), var(--card-bg);
}
.legal-cta p { margin: 0; max-width: 440px; }
.legal-cta b { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; color: var(--text); }
.legal-cta .btn { flex: none; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc details { border: 1px solid var(--line-2); border-radius: 16px; background: rgb(var(--ink) / .025); }
  .toc summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 16px 18px;
    pointer-events: auto;
    cursor: pointer;
  }
  .toc summary::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s var(--ease);
  }
  .toc details[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .toc ol { margin: 0 18px 16px; }
  .legal-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .page-meta { flex-direction: column; gap: 4px; }
  .page-meta span + span::before { content: none; }
}

/* ---------- 404 ---------- */

.nf { padding-block: clamp(32px, 5vw, 64px) clamp(80px, 9vw, 120px); border-bottom: 0; }
.nf-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* The digits draw themselves in like the footer wordmark, the orange slash last */
.nf-digits {
  width: min(100%, 540px);
  height: auto;
  margin-bottom: clamp(28px, 4vw, 44px);
  overflow: visible;
  color: var(--text);
  filter: drop-shadow(0 0 36px rgba(255, 106, 46, .28));
}
.nf-digits :is(path, ellipse) { stroke-dasharray: 1; stroke-dashoffset: 1; }
.nf-digits.is-in :is(path, ellipse) {
  animation: fw-draw 1.2s var(--ease) forwards, fw-solid 0s forwards;
  animation-delay: calc(.2s + var(--i) * .2s), calc(1.4s + var(--i) * .2s);
}
html:not(.js) .nf-digits :is(path, ellipse) { stroke-dasharray: none; }
.nf-digits .nf-slash { stroke: #FF6A2E; }

.nf .eyebrow { justify-content: center; }
.nf-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.nf .lede { margin-inline: auto; }
.nf-path { display: block; margin-top: 12px; font-size: 15px; color: var(--text-3); }
.nf-path[hidden] { display: none; }
.nf-path code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgb(var(--ink) / .06);
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--text-2);
  word-break: break-all;
}
.nf .cta-row { justify-content: center; }

.nf-head {
  margin: clamp(64px, 8vw, 96px) 0 18px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.nf-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin-inline: auto; }
.nf-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  text-decoration: none;
  transition: border-color .25s ease, transform .3s var(--ease);
}
.nf-links a:hover { border-color: var(--line-2); transform: translateY(-2px); }
.nf-links strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text); }
.nf-links small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.nf-links .go { width: 16px; height: 16px; margin-left: auto; color: var(--text-3); transition: transform .25s var(--ease), color .25s ease; }
.nf-links a:hover .go { transform: translateX(3px); color: var(--text); }

@media (max-width: 900px) {
  .nf-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nf-links { grid-template-columns: 1fr; }
}

/* ---------- Service pages ---------- */

.svc-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.svc-hero .lede { max-width: 600px; }
.svc-hero-visual { justify-self: end; width: 100%; max-width: 540px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; font-size: 14.5px; color: var(--text-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .ic { width: 16px; height: 16px; color: var(--mint-ink); }

/* What you can sell: one card per service */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.offer .mega-ic { width: 44px; height: 44px; border-radius: 12px; }
.offer h3 { margin-top: 22px; font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.offer p { margin-top: 8px; font-size: 15px; color: var(--text-2); }
.offer .tags { margin-top: auto; padding-top: 20px; }

/* Rules: a ruled grid, read like a set of commitments */
.rule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.rule { padding: clamp(24px, 3vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rule .ic { width: 24px; height: 24px; color: var(--peach); }
.rule h3 { margin-top: 18px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.rule p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* Steps: a numbered line that fills in when it scrolls into view */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps::before,
.steps::after { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; border-radius: 2px; background: rgb(var(--ink) / .1); }
.steps::after { background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease) .3s; }
.steps.is-in::after { transform: none; }
.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--peach);
}
.step h3 { margin-top: 22px; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

.quote-card {
  max-width: 920px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: clamp(32px, 5vw, 56px) clamp(22px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(60% 70% at 50% 0%, rgba(255, 138, 61, .12), transparent 70%), var(--card-bg);
  box-shadow: var(--card-shadow);
  text-align: center;
}
.quote-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.quote-card figcaption { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; }
.quote-card figcaption b { display: block; font-family: var(--font-display); }
.quote-card figcaption small { font-size: 14px; color: var(--text-3); }

/* Web design hero: a design file where the page builds itself, then a selection box walks
   through four components. All of it is SMIL on one timeline, in the markup. */
.ds { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45)); }
.ds-win { fill: #0B0D16; stroke: rgba(255, 255, 255, .1); }
.ds-rule { fill: none; stroke: rgba(255, 255, 255, .07); }
.ds-dim { fill: rgba(255, 255, 255, .5); }
.ds-label { font-size: 8.5px; letter-spacing: .1em; fill: rgba(255, 255, 255, .38); }
.ds-txt { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; fill: rgba(255, 255, 255, .62); }
.ds-txt.is-sub { fill: rgba(255, 255, 255, .45); }
.ds-val { font-size: 10px; fill: rgba(255, 255, 255, .78); }
.ds-tag { font-size: 8.5px; font-weight: 500; fill: #0B0C12; }

/* Web design bento: a site scrolling on desktop and phone, a clicked call to action, heat and notes */
.wd-scroll { animation: wd-scroll 10s var(--ease) infinite; }
.wd-scroll-m { animation: wd-scroll-m 10s var(--ease) infinite; }
@keyframes wd-scroll { 0%, 14% { transform: translateY(0); } 44%, 62% { transform: translateY(-104px); } 92%, 100% { transform: translateY(0); } }
@keyframes wd-scroll-m { 0%, 14% { transform: translateY(0); } 44%, 62% { transform: translateY(-118px); } 92%, 100% { transform: translateY(0); } }
.wd-ripple { opacity: 0; transform-box: fill-box; transform-origin: center; animation: wd-ripple 3s ease-out infinite; }
@keyframes wd-ripple { 0%, 46% { opacity: 0; transform: scale(.5); } 50% { opacity: .9; } 78%, 100% { opacity: 0; transform: scale(2.2); } }
.wd-heat { transform-box: fill-box; transform-origin: center; animation: wd-heat 3.2s ease-in-out infinite; }
.wd-heat:nth-of-type(2) { animation-delay: .9s; }
.wd-heat:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes wd-heat { 50% { transform: scale(1.2); opacity: .7; } }
.wd-pin { opacity: 0; transform-box: fill-box; transform-origin: center; animation: wd-pin 6s var(--ease) infinite; animation-delay: var(--d); }
@keyframes wd-pin { 0% { opacity: 0; transform: scale(.4); } 6%, 80% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }
.wd-row-hl { animation: wd-row 6s var(--ease) infinite; }
@keyframes wd-row { 0%, 22% { transform: translateY(0); } 33%, 55% { transform: translateY(16px); } 66%, 88% { transform: translateY(32px); } 100% { transform: translateY(0); } }

/* Web development bento: devices highlighted in turn, an edit published, pages migrating, checks popping */
.dv-ring { opacity: 0; animation: dv-ring 6s ease infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes dv-ring { 0% { opacity: 0; } 4%, 28% { opacity: 1; } 34%, 100% { opacity: 0; } }
.dv-old { opacity: 0; animation: dv-old 3s ease infinite; }
@keyframes dv-old { 0%, 28% { opacity: 1; } 34%, 94% { opacity: 0; } 100% { opacity: 1; } }
.dv-new { transform-box: fill-box; transform-origin: 0 50%; animation: dv-new 3s steps(12, end) infinite; }
@keyframes dv-new { 0%, 30% { opacity: 0; transform: scaleX(0); } 31% { opacity: 1; transform: scaleX(0); } 44%, 92% { opacity: 1; transform: scaleX(1); } 98%, 100% { opacity: 0; transform: scaleX(1); } }
.dv-move { opacity: 0; animation: dv-move 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes dv-move { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 80% { opacity: 1; transform: translateX(100px); } 100% { opacity: 0; transform: translateX(100px); } }
.dv-fill { transform-box: fill-box; transform-origin: 0 50%; animation: dv-fill 7.2s linear infinite; }
@keyframes dv-fill { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
.dv-pop { transform-box: fill-box; transform-origin: center; animation: dv-pop 6s var(--ease) infinite backwards; animation-delay: calc(.3s + var(--i) * .35s); }
@keyframes dv-pop { 0% { transform: scale(0); } 6%, 85% { transform: scale(1); } 92%, 100% { transform: scale(0); } }

/* E-commerce bento: a sale badge pulses, an order completes, bars grow, a subscription switches on */
.ec-sale { transform-box: fill-box; transform-origin: center; animation: ec-sale 2.4s ease-in-out infinite; }
@keyframes ec-sale { 50% { transform: scale(1.1); } }
.ec-flip-old { animation: ec-flip-old 4s ease infinite; }
.ec-flip-new { opacity: 0; animation: ec-flip-new 4s ease infinite; }
@keyframes ec-flip-old { 0%, 45% { opacity: 1; } 52%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ec-flip-new { 0%, 45% { opacity: 0; } 52%, 92% { opacity: 1; } 100% { opacity: 0; } }
.ec-grow { transform-box: fill-box; transform-origin: 0 50%; animation: ec-grow 6s var(--ease) infinite backwards; animation-delay: var(--d); }
@keyframes ec-grow { 0% { transform: scaleX(0); } 18%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.ec-track { fill: rgba(255, 255, 255, .15); animation: ec-track 4s ease infinite; }
.ec-knob { animation: ec-knob 4s var(--ease) infinite; }
@keyframes ec-track { 0%, 30% { fill: rgba(255, 255, 255, .15); } 40%, 90% { fill: #2BE0A8; } 100% { fill: rgba(255, 255, 255, .15); } }
@keyframes ec-knob { 0%, 30% { transform: translateX(0); } 40%, 90% { transform: translateX(9px); } 100% { transform: translateX(0); } }

/* Web apps bento: a push notification drops onto the lock screen, someone is typing */
.ap-push { opacity: 0; animation: ap-push 5s var(--ease) infinite; }
@keyframes ap-push { 0%, 10% { opacity: 0; transform: translateY(-16px); } 18%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
.ap-dot { animation: ap-dot 1.2s ease-in-out infinite; }
@keyframes ap-dot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* CRM bento: a deal card moves stage by stage to won, a contact keeps syncing */
.cr-move { animation: cr-move 8s var(--ease) infinite; }
@keyframes cr-move {
  0%, 14% { opacity: 1; transform: translateX(0); }
  22%, 36% { transform: translateX(98px); }
  44%, 58% { transform: translateX(196px); }
  66%, 86% { opacity: 1; transform: translateX(294px); }
  92% { opacity: 0; transform: translateX(294px); }
  93% { opacity: 0; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}
.cr-spin { transform-box: fill-box; transform-origin: center; animation: cr-spin 2.4s linear infinite; }
@keyframes cr-spin { to { transform: rotate(360deg); } }
/* A2P: on the same 7s loop as .d-el, so the registration turns approved while its row is showing */
.cr-old { animation: cr-old 7s ease infinite; animation-delay: var(--d); }
.cr-new { opacity: 0; animation: cr-new 7s ease infinite; animation-delay: var(--d); }
@keyframes cr-old { 0%, 48% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes cr-new { 0%, 48% { opacity: 0; } 53%, 100% { opacity: 1; } }
.cr-fill { transform-box: fill-box; transform-origin: 0 50%; animation: cr-fill 7s var(--ease) infinite backwards; animation-delay: var(--d); }
@keyframes cr-fill { 0% { transform: scaleX(0); } 12% { transform: scaleX(.35); } 46% { transform: scaleX(.86); } 53%, 86% { transform: scaleX(1); } 94%, 100% { transform: scaleX(0); } }

/* Speed and SEO bento: one 6s before-and-after loop. The waterfall squeezes toward 0s,
   and every before value hands over to its after value at the same moment. */
.sp-old { animation: sp-old 6s ease infinite; }
.sp-new { opacity: 0; animation: sp-new 6s ease infinite; }
@keyframes sp-old { 0%, 36% { opacity: 1; } 41%, 92% { opacity: 0; } 97%, 100% { opacity: 1; } }
@keyframes sp-new { 0%, 36% { opacity: 0; } 41%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
.sp-squeeze { transform-origin: 110px 0; animation: sp-squeeze 6s var(--ease) infinite; }
@keyframes sp-squeeze { 0%, 20% { transform: scaleX(1); } 40%, 88% { transform: scaleX(.23); } 98%, 100% { transform: scaleX(1); } }
.sp-len { transform-box: fill-box; transform-origin: 0 50%; animation: sp-len 6s var(--ease) infinite; }
@keyframes sp-len { 0%, 30% { transform: scaleX(.25); } 42%, 90% { transform: scaleX(1); } 98%, 100% { transform: scaleX(.25); } }

/* Care bento: status pings, a month of backups lighting up, a security scan sweeping the files.
   The contact form outage reuses the .sp-old/.sp-new before-and-after. */
.ca-ping { transform-box: fill-box; transform-origin: center; animation: ca-ping 2.1s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes ca-ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
.ca-day { opacity: .1; animation: ca-day 6s ease infinite; animation-delay: var(--d); }
@keyframes ca-day { 0% { opacity: .1; } 4%, 88% { opacity: 1; } 96%, 100% { opacity: .1; } }
.ca-scan { animation: ca-scan 3s ease-in-out infinite; }
@keyframes ca-scan { 0% { opacity: 0; transform: translateY(0); } 12%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(58px); } }

/* Case studies: a before-and-after card whose bars grow on reveal, and a reference block */
.cs-result {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(60% 80% at 0% 0%, rgba(43, 224, 168, .08), transparent 70%), var(--card-bg);
  box-shadow: var(--card-shadow);
}
.cs-bars { display: grid; gap: 26px; }
.cs-bars-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cs-bar-row { display: grid; gap: 12px; }
.cs-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--text-2); }
.cs-bar-head b { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; letter-spacing: -.04em; color: var(--text); }
.cs-bar-row.is-after .cs-bar-head b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-bar { display: block; height: 14px; border-radius: 7px; background: rgb(var(--ink) / .06); overflow: hidden; }
.cs-bar i { display: block; width: var(--w); height: 100%; border-radius: 7px; background: rgba(255, 115, 90, .55); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) .3s; }
.cs-bar-row.is-after .cs-bar i { background: var(--grad); box-shadow: 0 0 16px rgba(255, 138, 61, .55); transition-delay: 1s; }
.cs-result.is-in .cs-bar i { transform: none; }
.cs-facts { display: grid; gap: 22px; }
.cs-fact { padding-left: 18px; border-left: 2px solid var(--line-2); }
.cs-fact b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cs-fact span { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); }
.cs-ref-line { max-width: 30ch; margin: 16px auto 0; font-family: var(--font-display); font-size: clamp(21px, 2.4vw, 30px); font-weight: 500; line-height: 1.38; letter-spacing: -.025em; text-wrap: balance; }
.cs-ref-who { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-align: left; }
.cs-ref-who b { display: block; font-family: var(--font-display); }
.cs-ref-who small { font-size: 14px; color: var(--text-3); }
.cs-ref .btn { margin-top: 26px; }
.cs-ref .cta-row { justify-content: center; margin-top: 30px; }
.cs-ref .cta-row .btn { margin-top: 0; }
.cs-quote-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 620px; margin: 36px auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.cs-quote-stats div { display: flex; flex-direction: column; gap: 6px; }
.cs-quote-stats dt { font-size: 13px; line-height: 1.35; color: var(--text-3); }
.cs-quote-stats dd { order: -1; margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.04em; }
.cs-ref-note { max-width: 46ch; margin: 28px auto 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 860px) { .cs-result { grid-template-columns: 1fr; } }

/* A case study teaser on the service page it belongs to (case studies aren't in the menus) */
.cs-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 40px;
  max-width: 1040px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(50% 120% at 100% 50%, rgba(43, 224, 168, .09), transparent 70%), var(--card-bg);
  box-shadow: var(--card-shadow);
  color: var(--text);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.cs-teaser:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cs-teaser-copy { display: grid; gap: 12px; justify-items: start; }
.cs-teaser-copy strong { font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.cs-teaser-go { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.cs-teaser-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cs-teaser:hover .cs-teaser-go .ic { transform: translateX(3px); }
.cs-teaser-metric { display: grid; gap: 4px; text-align: right; }
.cs-teaser-metric b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); font-weight: 700; line-height: 1; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-teaser-metric small { font-size: 14px; color: var(--text-3); }
@media (max-width: 720px) { .cs-teaser { grid-template-columns: 1fr; } .cs-teaser-metric { text-align: left; } }

/* Home work cards: a link through to the full case study */
.wcard-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--text); }
.wcard-link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.wcard-link:hover .ic { transform: translateX(3px); }

/* Stax page: a tour of recreated Stax screens. Tabs on the left, the window on the right;
   the window is laid out at 1040 x 640 and scaled to fit by main.js (--s). */
.tour { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.tour-nav { display: grid; gap: 8px; }
.tour-tab {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 4px 12px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  font: inherit;
  text-align: left;
  color: var(--text-2);
  background: none;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tour-tab .ic { grid-row: span 2; width: 20px; height: 20px; margin-top: 2px; color: var(--text-3); transition: color .3s; }
.tour-tab b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.tour-tab span { font-size: 14px; line-height: 1.45; color: var(--text-3); }
.tour-tab:hover { background: rgb(var(--ink) / .03); }
.tour-tab[aria-selected="true"] { border-color: var(--line); background: var(--card-bg); box-shadow: var(--card-shadow); }
.tour-tab[aria-selected="true"] .ic { color: #F06A6A; }
.tour-tab[aria-selected="true"] span { color: var(--text-2); }
.tour-stage { border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; background: #111216; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.tour-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.tour-dots { display: flex; gap: 6px; }
.tour-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.tour-url { flex: 1; min-width: 0; overflow: hidden; font-family: var(--font-mono); font-size: 12px; text-align: center; white-space: nowrap; text-overflow: ellipsis; color: var(--text-3); }
.tour-theme { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600; color: var(--text-2); background: rgb(var(--ink) / .04); cursor: pointer; transition: border-color .3s, color .3s; }
.tour-theme:hover { border-color: var(--line-2); color: var(--text); }
.tour-theme .tt-light, .tour-theme[aria-pressed="true"] .tt-dark { display: none; }
.tour-theme[aria-pressed="true"] .tt-light { display: inline; }
.tour-view { position: relative; aspect-ratio: 1040 / 640; overflow: hidden; }
.tour-cap { display: none; }
@media (max-width: 1180px) {
  .tour { grid-template-columns: 1fr; }
  .tour-nav { grid-auto-flow: column; grid-auto-columns: max-content; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .tour-tab { grid-template-columns: auto auto; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; }
  .tour-tab .ic { grid-row: auto; width: 16px; height: 16px; margin: 0; }
  .tour-tab b { font-size: 15px; }
  .tour-tab span { display: none; }
  .tour-cap { display: block; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--text-2); }
}

/* The recreated Stax window: its own tokens, dark by default, light on the switch */
.sx {
  --sx-side: #1E1F21; --sx-bg: #222326; --sx-col: #28292C; --sx-card: #2E2F33; --sx-line: rgba(255, 255, 255, .09);
  --sx-tx: #F5F4F3; --sx-tx2: #BAB8B7; --sx-tx3: #8E8C8D; --sx-hover: rgba(255, 255, 255, .06);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  width: 1040px;
  height: 640px;
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sx-tx);
  background: var(--sx-bg);
  transition: background .4s, color .4s;
}
.sx[data-theme="light"] { --sx-bg: #FFFFFF; --sx-col: #F6F5F4; --sx-card: #FFFFFF; --sx-line: #E6E4E3; --sx-tx: #1E1F21; --sx-tx2: #555657; --sx-tx3: #8A8B8C; --sx-hover: #F1F0EF; }
.sx p, .sx dl, .sx dd { margin: 0; }
.sx .ic { width: 15px; height: 15px; }
.sx-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; color: #E8E7E6; background: var(--sx-side); }
.sx-brand { display: flex; align-items: center; gap: 9px; padding: 0 8px 14px; font-family: var(--font-display); font-size: 17px; font-weight: 700; color: #fff; }
.sx-logo { width: 26px; height: 26px; }
.sx-nav { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; font-size: 13.5px; color: #D6D5D4; }
.sx-nav .ic { color: #A9A8A7; }
.sx-nav em { margin-left: auto; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; color: #fff; background: #F06A6A; }
.sx-side-h { padding: 16px 10px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A8889; }
.sx-tile { flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
.sx-side-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #D6D5D4; }
.sx[data-view="board"] [data-for="project"], .sx[data-view="task"] [data-for="project"], .sx[data-view="overview"] [data-for="project"],
.sx[data-view="inbox"] [data-for="inbox"], .sx[data-view="files"] [data-for="files"] { color: #fff; background: rgba(255, 255, 255, .09); }
.sx-av { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 9.5px; font-weight: 700; color: #0B0C12; background: var(--c); }
.sx-av.is-lg { width: 30px; height: 30px; font-size: 11.5px; }
.sx-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.sx-top { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--sx-line); }
.sx-search { display: flex; align-items: center; gap: 8px; width: 380px; padding: 7px 14px; border: 1px solid var(--sx-line); border-radius: 999px; color: var(--sx-tx3); }
.sx-search kbd { margin-left: auto; padding: 0 6px; border: 1px solid var(--sx-line); border-radius: 4px; font: inherit; font-size: 11px; }
.sx-create { display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 16px; border-radius: 999px; font-weight: 600; color: #fff; background: #F06A6A; }
.sx-panel { flex: 1; min-height: 0; padding: 18px 22px 0; overflow: hidden; }
.sx-phead { display: flex; align-items: center; gap: 12px; }
.sx-ptile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #fff; background: #4573D2; }
.sx-ptile .ic { width: 18px; height: 18px; }
.sx-pname b { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.sx-pname small { font-size: 12px; color: var(--sx-tx3); }
.sx-team { display: flex; margin-left: auto; padding-left: 6px; }
.sx-team .sx-av { margin-left: -3px; box-shadow: 0 0 0 2px var(--sx-bg); }
.sx-progress { width: 120px; height: 6px; overflow: hidden; border-radius: 3px; background: var(--sx-line); }
.sx-progress i { display: block; width: var(--w); height: 100%; border-radius: 3px; background: #3BB273; }
.sx-pct { font-size: 12px; color: var(--sx-tx2); }
.sx-tabs { display: flex; gap: 22px; margin-top: 12px; border-bottom: 1px solid var(--sx-line); }
.sx-tabs span, .sx-ctabs span, .sx-itabs span { padding: 8px 0; font-size: 13.5px; color: var(--sx-tx3); }
.sx-tabs .is-on, .sx-ctabs .is-on, .sx-itabs .is-on { font-weight: 600; color: var(--sx-tx); box-shadow: inset 0 -2px 0 var(--sx-tx); }
.sx-ctabs em, .sx-lsec em, .sx-itabs em, .sx-col-h em { margin-left: 5px; padding: 0 6px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 500; color: var(--sx-tx3); background: var(--sx-hover); }
.sx-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; height: 100%; padding-top: 14px; }
.sx-col { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-col); }
.sx-col-h { padding: 2px 4px 4px; font-size: 13.5px; font-weight: 700; }
.sx-card { display: grid; gap: 8px; padding: 10px 11px; border: 1px solid var(--sx-line); border-radius: 9px; background: var(--sx-card); }
.sx-card.is-hl { box-shadow: 0 0 0 2px rgba(59, 178, 115, .55); }
.sx-ct, .sx-row { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.sx-ck { flex: none; width: 14px; height: 14px; border: 1.5px solid var(--sx-tx3); border-radius: 50%; }
.sx-card.is-done .sx-ck { border-color: #3BB273; background: #3BB273 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 9px no-repeat; }
.sx-card.is-done .sx-ct { color: var(--sx-tx2); }
.sx-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.sx-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; color: color-mix(in srgb, var(--k) 58%, #fff); background: color-mix(in srgb, var(--k) 22%, transparent); }
.sx-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sx[data-theme="light"] .sx-chip { color: color-mix(in srgb, var(--k) 78%, #000); background: color-mix(in srgb, var(--k) 14%, #fff); }
.sx-cm { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--sx-tx3); }
.sx-cm em { font-style: normal; }
.sx-cm em + .sx-n { margin-left: auto; }
.sx-n { display: inline-flex; align-items: center; gap: 3px; }
.sx-n .ic { width: 13px; height: 13px; }
.sx .is-soon { color: #E8A33D; }
.sx-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); height: calc(100% + 18px); margin: -18px -22px 0; }
.sx-list { padding: 18px 22px; overflow: hidden; border-right: 1px solid var(--sx-line); }
.sx-phead.is-compact .sx-pname b { font-size: 18px; }
.sx-lsec { margin-top: 14px; padding: 4px 0; font-size: 13px; font-weight: 700; }
.sx-row { padding: 8px 6px; border-bottom: 1px solid var(--sx-line); font-weight: 500; }
.sx-row.is-sel { border-radius: 6px; background: color-mix(in srgb, #4573D2 18%, transparent); }
.sx-pane { display: flex; flex-direction: column; gap: 10px; padding: 12px 22px 16px; overflow: hidden; }
.sx-pane-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--sx-line); }
.sx-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--sx-line); border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--sx-tx); }
.sx-btn.is-blue { border-color: transparent; color: #fff; background: #4573D2; }
.sx-tools { display: flex; gap: 14px; color: var(--sx-tx3); }
.sx-task-title { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.sx-fields { display: grid; gap: 6px; }
.sx-fields div { display: grid; grid-template-columns: 96px 1fr; align-items: center; }
.sx-fields dt { font-size: 12.5px; color: var(--sx-tx3); }
.sx-fields dd { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sx-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--sx-hover); }
.sx-pill .sx-tile { width: 11px; height: 11px; border-radius: 3px; }
.sx-select { padding: 3px 10px; border: 1px solid var(--sx-line); border-radius: 6px; font-size: 12px; }
.sx-attach { display: flex; gap: 10px; }
.sx-thumb { display: grid; gap: 5px; width: 150px; font-size: 11px; color: var(--sx-tx2); }
.sx-thumb b, .sx-file b { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.sx-thumb i { height: 54px; border: 1px solid var(--sx-line); border-radius: 7px; }
.th-desk { background: linear-gradient(#FF6A3D, #FF6A3D) 12% 30% / 34% 12% no-repeat, linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) 12% 58% / 60% 6% no-repeat, linear-gradient(rgba(255, 255, 255, .25), rgba(255, 255, 255, .25)) 12% 72% / 44% 6% no-repeat, linear-gradient(135deg, #1B2A44, #2E2246); }
.th-mob { background: linear-gradient(#FF6A3D, #FF6A3D) 50% 40% / 24% 12% no-repeat, linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) 50% 66% / 30% 6% no-repeat, linear-gradient(#162133, #162133) 50% 50% / 36% 86% no-repeat, linear-gradient(135deg, #24364F, #33284F); }
.th-logo { background: radial-gradient(circle at 50% 50%, #38BDF8 0 17%, transparent 18%), radial-gradient(circle at 50% 50%, rgba(56, 189, 248, .25) 0 27%, transparent 28%), #0F1E2C; }
.th-photo { background: radial-gradient(circle at 28% 30%, rgba(255, 255, 255, .55), transparent 38%), linear-gradient(160deg, #F1C9A5, #B07D62 55%, #5C4A6E); }
.th-doc, .th-vid { display: grid; place-items: center; }
.th-doc { background: linear-gradient(135deg, #C9372C, #F06A6A); }
.th-doc em { font-size: 15px; font-style: normal; font-weight: 800; letter-spacing: .08em; color: #fff; }
.th-vid { background: linear-gradient(135deg, #4E3BC2, #8B7CFF); }
.th-vid .ic { width: 26px; height: 26px; color: #fff; fill: #fff; }
.sx-ctabs, .sx-itabs { display: flex; gap: 22px; border-bottom: 1px solid var(--sx-line); }
.sx-cmt { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 13px; }
.sx-cmt .sx-av { width: 26px; height: 26px; font-size: 10px; }
.sx-who { display: flex; align-items: center; gap: 8px; margin-bottom: 2px !important; }
.sx-who time { font-size: 11.5px; color: var(--sx-tx3); }
.sx-pin { padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; color: #D9962A; background: color-mix(in srgb, #E8A33D 18%, transparent); }
.sx-voice { display: inline-flex !important; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; font-size: 12px; color: var(--sx-tx2); background: color-mix(in srgb, #38BDF8 14%, transparent); }
.sx-voice .ic { width: 22px; height: 22px; padding: 6px; border-radius: 50%; color: #0B0C12; fill: #0B0C12; background: #38BDF8; }
.sx-wave { display: flex; align-items: center; gap: 2px; height: 18px; }
.sx-wave i { width: 2.5px; height: calc(var(--h) * 18px); border-radius: 2px; background: #38BDF8; }
.sx-box { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 11px 14px; border: 1px solid var(--sx-line); border-radius: 10px; font-size: 13px; color: var(--sx-tx3); }
.sx-box .sx-tools { margin-left: auto; }
.sx-send { padding: 5px 12px; border-radius: 7px; font-weight: 600; color: #fff; background: #4573D2; }
.sx-over { display: grid; grid-template-columns: .95fr 1.1fr 1.25fr; gap: 14px; padding-top: 16px; }
.sx-box2 { padding: 16px; border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-card); }
.sx-h5 { margin-bottom: 12px !important; font-size: 14px; font-weight: 700; }
.sx-ring { position: relative; width: 120px; margin: 4px auto 0; }
.sx-ring svg { display: block; width: 120px; height: 120px; transform: rotate(-90deg); }
.sx-ring circle { fill: none; stroke: var(--sx-line); stroke-width: 12; }
.sx-ring circle + circle { stroke: #3BB273; stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.sx-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; }
.sx-note { margin: 8px 0 12px !important; font-size: 12.5px; text-align: center; color: var(--sx-tx3); }
.sx-secs, .sx-due, .sx-feed, .sx-irows { margin: 0; padding: 0; list-style: none; }
.sx-secs { display: grid; gap: 8px; }
.sx-secs li { display: grid; grid-template-columns: 76px 1fr 16px; align-items: center; gap: 8px; font-size: 12px; color: var(--sx-tx2); }
.sx-secs i { height: 6px; border-radius: 3px; background: linear-gradient(var(--c), var(--c)) 0 0 / var(--w) 100% no-repeat, var(--sx-line); }
.sx-secs b { text-align: right; }
.sx-due li { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--sx-line); font-size: 13px; }
.sx-due .sx-av { width: 20px; height: 20px; margin-left: auto; font-size: 8.5px; }
.sx-due em { width: 64px; font-size: 12px; font-style: normal; text-align: right; color: var(--sx-tx3); }
.sx-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.sx-kpis p { padding: 10px; border-radius: 9px; font-size: 11.5px; color: var(--sx-tx3); background: var(--sx-hover); }
.sx-kpis b { display: block; font-family: var(--font-display); font-size: 20px; color: var(--sx-tx); }
.sx-feed li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--sx-line); font-size: 12.5px; color: var(--sx-tx2); }
.sx-feed b { font-weight: 600; color: var(--sx-tx); }
.sx-feed time { display: block; font-size: 11px; color: var(--sx-tx3); }
.sx-feed .sx-av { width: 24px; height: 24px; font-size: 9px; }
.sx-inbox, .sx-filesv { max-width: 780px; margin: 0 auto; }
.sx-ihead { display: flex; align-items: center; gap: 12px; }
.sx-h4 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.sx-ihead .sx-h4 { margin-right: auto; }
.sx-seg { display: flex; padding: 3px; border-radius: 9px; font-size: 12.5px; background: var(--sx-hover); }
.sx-seg span { padding: 4px 12px; border-radius: 7px; color: var(--sx-tx3); }
.sx-seg .is-on { font-weight: 600; color: var(--sx-tx); background: var(--sx-card); }
.sx-itabs { margin-top: 12px !important; }
.sx-irows { margin-top: 12px; overflow: hidden; border: 1px solid var(--sx-line); border-radius: 12px; background: var(--sx-card); }
.sx-irows li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 8px; align-items: start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--sx-line); font-size: 13px; }
.sx-irows .sx-av { width: 30px; height: 30px; font-size: 11px; }
.sx-irows .is-sys { color: #fff; }
.sx-ir2 { display: flex; align-items: center; gap: 8px; margin-top: 3px !important; font-size: 12.5px; font-weight: 600; }
.sx-ir3 { margin-top: 3px !important; font-size: 12.5px; color: var(--sx-tx3); }
.sx-irows time { font-size: 12px; white-space: nowrap; color: var(--sx-tx3); }
.sx-dot { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #4573D2; }
.sx-crumb { margin-right: 8px !important; font-size: 13px; color: var(--sx-tx3); }
.sx-crumb i { margin: 0 6px; font-style: normal; }
.sx-ihead .sx-crumb + .sx-btn { flex: none; }
.sx-filesv .sx-ihead .sx-h4 { margin-right: 12px; }
.sx-filesv .sx-crumb { margin-right: auto !important; }
.sx-fsec { margin: 16px 0 10px !important; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-tx3); }
.sx-folders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sx-folder { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 0 10px; padding: 12px 14px; border: 1px solid var(--sx-line); border-radius: 10px; background: var(--sx-card); }
.sx-folder .ic { grid-row: span 2; width: 26px; height: 26px; color: #E8A33D; fill: color-mix(in srgb, #E8A33D 25%, transparent); }
.sx-folder b { font-size: 13px; }
.sx-folder small { font-size: 11.5px; color: var(--sx-tx3); }
.sx-fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sx-file { display: grid; gap: 4px; padding: 8px; border: 1px solid var(--sx-line); border-radius: 10px; background: var(--sx-card); }
.sx-file i { height: 92px; margin-bottom: 4px; border-radius: 7px; }
.sx-file b { font-size: 12.5px; font-weight: 600; }
.sx-file small { font-size: 11px; color: var(--sx-tx3); }

/* About page: the story (heading held on the left while the text scrolls), the founder's note,
   and the company line under the contact details */
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-head { position: sticky; top: 120px; }
.story-body { display: grid; gap: 22px; }
.story-body .lede { margin: 0; }
.story-body > p:not(.lede) { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.story-time { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.story-time li { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.story-time b { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-time span { font-size: 16px; color: var(--text-2); }
@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-head { position: static; }
}
.founder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin: clamp(36px, 5vw, 56px) 0 14px;
  padding: clamp(24px, 4vw, 44px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(60% 90% at 0% 0%, rgba(255, 106, 61, .1), transparent 70%), var(--card-bg);
  box-shadow: var(--card-shadow);
}
.founder-photo { display: block; width: clamp(88px, 12vw, 120px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #FF6A3D; }
.founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--peach); }
.founder blockquote p { max-width: 52ch; margin-top: 10px; font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 26px); font-weight: 500; line-height: 1.4; letter-spacing: -.02em; text-wrap: pretty; }
.founder figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 18px; }
.founder figcaption b { font-family: var(--font-display); font-size: 17px; }
.founder figcaption span { font-size: 14px; color: var(--text-3); }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } }
.contact-legal { margin-top: 10px; font-size: 13px; color: var(--text-3); }

/* FAQ page: search and topics in a sticky column, the answers grouped by topic beside it */
.faq-browser { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.faq-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.faq-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgb(var(--ink) / .04); transition: border-color .25s, box-shadow .25s; }
.faq-search:focus-within { border-color: rgba(255, 138, 61, .6); box-shadow: 0 0 0 4px rgba(255, 138, 61, .12); }
.faq-search .ic { flex: none; width: 18px; height: 18px; color: var(--text-3); }
.faq-search input { width: 100%; min-height: 50px; border: 0; outline: 0; font: inherit; font-size: 15.5px; color: var(--text); background: none; }
.faq-search input::placeholder { color: var(--text-3); }
.faq-cats { display: grid; gap: 4px; }
.faq-cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid transparent; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 600; text-align: left; color: var(--text-2); background: none; cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.faq-cat em { min-width: 26px; padding: 1px 8px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; font-style: normal; text-align: center; color: var(--text-3); background: rgb(var(--ink) / .06); }
.faq-cat:hover { color: var(--text); background: rgb(var(--ink) / .03); }
.faq-cat[aria-pressed="true"] { color: var(--text); border-color: rgba(255, 138, 61, .4); background: rgba(255, 138, 61, .09); }
.faq-cat[aria-pressed="true"] em { color: #0B0C12; background: var(--grad); }
.faq-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--text-3); }
.faq-groups { display: grid; gap: clamp(36px, 4vw, 52px); }
.faq-group[hidden], .faq-groups details[hidden] { display: none; }
.faq-group-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.02em; }
.faq-group-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.faq-group-ic .ic { width: 17px; height: 17px; }
.faq-groups .faq-list details { scroll-margin-top: 110px; }
.faq-groups .faq-list details:target { border-color: rgba(255, 138, 61, .5); }
.faq-groups .faq-list p a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.faq-groups mark { border-radius: 2px; color: inherit; background: rgba(255, 194, 75, .28); box-shadow: 0 0 0 2px rgba(255, 194, 75, .28); }
.faq-empty { display: grid; justify-items: start; gap: 10px; padding: 28px; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--text-2); }
.faq-empty[hidden] { display: none; }
.faq-empty-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text); }
@media (max-width: 900px) {
  .faq-browser { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  /* The chip strip runs to the screen edge, so a cut-off chip reads as "scroll for more". */
  .faq-cats { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .faq-cat { padding: 8px 12px; border-color: var(--line); border-radius: 999px; font-size: 14px; }
}

/* Pricing page: four plans side by side, the agency banner under them, and the comparison table */
.price-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.price-grid.is-four .pcard { padding-inline: clamp(20px, 2vw, 28px); }
.price-grid.is-four .pcard-price strong { font-size: clamp(30px, 2.6vw, 40px); }
@media (max-width: 1200px) { .price-grid.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; } }
@media (max-width: 760px) { .price-grid.is-four { grid-template-columns: 1fr; max-width: 520px; } }
.price-grid.is-two + .plan-banner { max-width: 880px; margin-inline: auto; }
.plan-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  margin-top: 18px;
  padding: 22px clamp(20px, 3vw, 32px);
  border: 1px dashed var(--line-2);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 77, 46, .08), rgba(139, 124, 255, .08)), var(--card-bg);
}
.plan-banner-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #FF8A3D; background: rgba(255, 138, 61, .12); }
.plan-banner-ic .ic { width: 20px; height: 20px; }
.plan-banner-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.plan-banner-text { margin-top: 3px; font-size: 14.5px; color: var(--text-2); }
@media (max-width: 760px) { .plan-banner { grid-template-columns: 1fr; } }
.guarantee-sec { padding-top: 0; }
.card-link { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 14px; }

/* Care plan: a monthly / yearly billing switch on the price card */
.bill-switch { display: inline-flex; align-self: flex-start; gap: 2px; margin-top: 14px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(var(--ink) / .04); }
.bill-opt { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-3); background: none; cursor: pointer; transition: color .25s, background .25s; }
.bill-opt em { padding: 1px 6px; border-radius: 999px; font-size: 11px; font-style: normal; font-weight: 700; color: var(--mint); background: rgba(43, 224, 168, .12); }
.bill-opt:hover { color: var(--text); }
.bill-opt[aria-pressed="true"] { color: #0B0C12; background: var(--text); }
.bill-opt[aria-pressed="true"] em { color: #0B5C45; background: rgba(43, 224, 168, .35); }
.pcard .bill-switch + .pcard-price { margin-top: 14px; }
.bill-note { margin-top: 6px; font-size: 13px; color: var(--mint); }

/* Checkout: the plan on the left, details and PayPal on the right. PayPal's buttons sit on a white
   panel, because their fine print is drawn for a light background. */
.checkout { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); }
.checkout [hidden] { display: none !important; }
.checkout-head { max-width: 760px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.checkout-summary { position: sticky; top: 100px; }
/* Not a row of price cards, so none of the shared-row subgrid the pricing grids use */
.checkout .pcard.checkout-summary { display: flex; grid-row: auto; }
.checkout-summary .bill-switch { margin: 4px 0 6px; }
.checkout-guarantee { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(43, 224, 168, .25); border-radius: 14px; background: rgba(43, 224, 168, .06); font-size: 14px; line-height: 1.5; color: var(--text-2); }
.checkout-guarantee .ic { margin-top: 2px; color: var(--mint); }
.checkout-guarantee a, .checkout-small a { color: var(--text); text-underline-offset: 3px; }
.checkout-step { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.checkout-step:not(:first-child) { margin-top: 10px; }
.checkout-step span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); font-size: 13px; color: #0B0C12; }
.checkout-pay { min-height: 64px; padding: 18px; border-radius: 16px; background: #fff; }
.checkout-small { font-size: 13px; line-height: 1.55; color: var(--text-3); }
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 560px) {
  .checkout-form { grid-template-columns: 1fr; }
}

/* Welcome page, after checkout */
.welcome-inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; text-align: center; }
.welcome-check { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border: 1px solid rgba(43, 224, 168, .4); border-radius: 50%; background: rgba(43, 224, 168, .14); color: var(--mint); box-shadow: 0 0 40px rgba(43, 224, 168, .3); }
.welcome-check .ic { width: 28px; height: 28px; stroke-width: 2.5; }
.welcome-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; text-align: left; }
.welcome-steps li { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-bg); }
.welcome-steps li > span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); font-family: var(--font-display); font-size: 13px; font-weight: 700; color: #0B0C12; }
.welcome-steps b { display: block; font-family: var(--font-display); }
.welcome-steps p { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.welcome .cta-row { justify-content: center; }
@media (max-width: 800px) {
  .welcome-steps { grid-template-columns: 1fr; }
}

/* Plan finder: four answers; the chosen one lights its plan's column in the table below */
.finder { max-width: 1040px; margin: clamp(32px, 4vw, 44px) auto 0; text-align: center; }
.finder-q { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.finder-opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.finder-opt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  background: rgb(var(--ink) / .04);
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease);
}
.finder-opt .ic { width: 17px; height: 17px; color: var(--text-3); transition: color .25s; }
.finder-opt:hover { color: var(--text); border-color: rgb(var(--ink) / .3); transform: translateY(-1px); }
.finder-opt[aria-pressed="true"] { color: var(--text); border-color: rgba(255, 138, 61, .6); background: rgba(255, 138, 61, .12); box-shadow: 0 10px 30px -12px rgba(255, 106, 61, .7); }
.finder-opt[aria-pressed="true"] .ic { color: #FF8A3D; }
.finder-result {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 22px;
  margin-top: 18px;
  padding: 18px 20px 18px 22px;
  border: 1px solid rgba(255, 138, 61, .3);
  border-radius: 20px;
  text-align: left;
  background: radial-gradient(70% 140% at 0% 0%, rgba(255, 106, 61, .14), transparent 70%), var(--card-bg);
  box-shadow: var(--card-shadow);
}
.finder-badge { padding: 5px 11px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #0B0C12; background: var(--grad); }
.finder-title { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.finder-text { display: block; margin-top: 2px; font-size: 14.5px; color: var(--text-2); }
.finder-alt { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--mint); text-underline-offset: 3px; }
.finder-alt[hidden] { display: none; }
[data-bill-show][hidden] { display: none !important; }
.bill-switch.is-sm { display: inline-flex; margin-top: 12px; }
.bill-switch.is-sm .bill-opt { padding: 4px 10px; font-size: 12px; }
.finder-result.is-swapping .finder-copy { animation: finder-in .45s var(--ease); }
@keyframes finder-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* The comparison: a table, dressed. Each cell leads with a small picture of the answer. */
.compare-wrap { position: relative; margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--card-bg); box-shadow: var(--card-shadow); }
.compare { width: 100%; min-width: 900px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; transition: background .35s ease, box-shadow .35s ease; }
.compare thead td, .compare tbody th { width: 190px; }
.compare tbody th { padding-top: 22px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.compare td { color: var(--text-2); }
.compare thead th { padding-top: 24px; padding-bottom: 22px; }
.cmp-ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 11px; color: var(--c); background: color-mix(in srgb, var(--c) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent); }
.cmp-ic .ic { width: 18px; height: 18px; }
.cmp-name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.cmp-sub { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); transition: color .35s; }
.cmp-price { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.045em; line-height: 1.1; color: var(--text); }
.compare td small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-3); }
.pace, .pay { display: flex; align-items: center; gap: 4px; height: 12px; margin-bottom: 10px; }
.pace i { width: 22px; height: 8px; border-radius: 4px; background: rgb(var(--ink) / .1); }
.pace i.on { background: var(--c); box-shadow: 0 0 12px -2px var(--c); }
.pace-whole i { width: 104px; background: linear-gradient(90deg, var(--c), rgb(var(--ink) / .08)); }
.pace-pulse i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); animation: cmp-pulse 2s ease-out infinite; }
@keyframes cmp-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 60%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.pay i { height: 8px; border-radius: 3px; background: rgba(255, 138, 61, .22); }
.pay-split i { width: 50px; background: rgba(56, 189, 248, .3); }
.pay-split i:first-child { background: #38BDF8; }
.pay-months i { width: 12px; }
.pay-months i:first-child { background: #FF8A3D; }
.cmp-chip { display: inline-flex; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.compare .yes, .compare .no { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.compare .yes { color: var(--text); }
.compare .yes::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(43, 224, 168, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232BE0A8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; }
.compare .no { font-weight: 500; color: var(--text-3); }
.compare .no::before { content: ""; width: 18px; height: 2px; border-radius: 1px; background: rgb(var(--ink) / .18); }
.compare tfoot td { padding-top: 20px; padding-bottom: 22px; border-bottom: 0; }
/* The picked plan: its whole column lights, with an accent along the top */
.compare [data-col].is-pick { background: rgba(255, 138, 61, .075); box-shadow: inset 1px 0 0 rgba(255, 138, 61, .35), inset -1px 0 0 rgba(255, 138, 61, .35); }
.compare thead [data-col].is-pick { box-shadow: inset 1px 0 0 rgba(255, 138, 61, .35), inset -1px 0 0 rgba(255, 138, 61, .35), inset 0 3px 0 #FF8A3D; }
.compare thead [data-col].is-pick .cmp-sub { color: #FFB27A; }
.compare-hint { display: none; }
@media (max-width: 760px) {
  .finder-opt { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 11px 12px; font-size: 14px; }
  .finder-result { grid-template-columns: 1fr; justify-items: start; }
  /* The table scrolls sideways, with the row labels pinned on the left */
  .compare-hint { display: block; margin-top: 24px; font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--text-3); }
  .compare-wrap { margin-top: 10px; }
  .compare { min-width: 760px; font-size: 14px; }
  .compare th, .compare td { padding: 16px; }
  .compare thead td, .compare tbody th, .compare tfoot td:first-child { position: sticky; left: 0; z-index: 1; width: 112px; background: #101219; box-shadow: 1px 0 0 var(--line); }
}

/* On phones the window drops its sidebar and is laid out narrower, so it scales down less */
@media (max-width: 700px) {
  .tour-dots { display: none; }
  .tour-url { text-align: left; }
  .tour-view { aspect-ratio: 640 / 620; }
  .sx { grid-template-columns: minmax(0, 1fr); width: 640px; height: 620px; }
  .sx-side, .sx-list, .sx-over > :nth-child(3) { display: none; }
  .sx-search { flex: 1; width: auto; }
  .sx-create { margin-left: 0; }
  .sx-split, .sx-over { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
  .sx-over { --cols: 2; }
}

/* Stax bento: a voice note playing */
.sx-bars rect { transform-box: fill-box; transform-origin: center; animation: sx-bar 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes sx-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* Closing call to action: an open, glowing finish like the home page's contact section */
.page-end { overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
.page-end-bg { position: absolute; inset: 0; pointer-events: none; }
.page-end .a1 {
  width: 900px; height: 900px; left: 50%; top: -460px; margin-left: -450px;
  background: radial-gradient(circle, rgba(255, 77, 46, .28) 0%, rgba(255, 77, 46, 0) 60%);
  animation: drift-b 20s ease-in-out infinite alternate;
}
.page-end .a2 {
  width: 700px; height: 700px; right: -220px; bottom: -380px;
  background: radial-gradient(circle, rgba(139, 124, 255, .24) 0%, rgba(139, 124, 255, 0) 60%);
  animation: drift-a 24s ease-in-out infinite alternate;
}
.page-end .wrap { position: relative; }
.page-end .mega-title { margin-bottom: 0; }
.page-end .lede { margin: 26px auto 0; }
.page-end .cta-row { justify-content: center; }

.price-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin-inline: auto; }
.price-note a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }

/* Closing call to action */
.page-cta-sec { padding-top: 0; }
.page-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 88px) clamp(24px, 5vw, 72px);
  border: 1px solid var(--line-2);
  border-radius: 32px;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(255, 77, 46, .26), transparent 62%),
    radial-gradient(55% 90% at 0% 100%, rgba(139, 124, 255, .2), transparent 62%),
    var(--bg-2);
  text-align: center;
}
.page-cta .h2 { max-width: 760px; margin-inline: auto; }
.page-cta .lede { margin-inline: auto; }
.page-cta .cta-row { justify-content: center; }

@media (max-width: 1000px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero .svc-hero-visual { order: 0; justify-self: start; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before,
  .steps::after { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: 50% 0; }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
  .step h3 { margin-top: 10px; }
}
@media (max-width: 960px) {
  .price-grid.is-two { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .offer-grid,
  .rule-grid { grid-template-columns: 1fr; }
}

/* ---------- Seasonal offer page (agency-offer.html): the plan card beside the terms ---------- */

.jan-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1040px; margin-inline: auto; }
/* One card on its own: no subgrid rows to line up with, so it stays as tall as its content */
.jan-split .pcard { display: flex; grid-row: auto; }
.jan-split .pcard .btn { margin-top: 0; align-self: stretch; }
.jan-terms { border-top: 1px solid var(--line); }
.jan-terms > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.jan-terms dt { padding-top: 3px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.jan-terms dd { font-size: 15.5px; color: var(--text-2); }
.jan-terms b { color: var(--text); font-weight: 700; }
.jan-terms a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .jan-split { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 520px) {
  .jan-terms > div { grid-template-columns: 1fr; }
}


/* ---------- Analytics consent (main.js shows the bar only to visitors in Europe) ---------- */

/* Both answers look the same, so neither is the easy click */
.consent-btn { background: rgb(var(--ink) / .06); border-color: var(--line-2); color: var(--text); }
.consent-btn:hover { background: rgb(var(--ink) / .1); border-color: rgb(var(--ink) / .28); }

.consent-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 140;
  width: min(440px, calc(100vw - 32px));
  padding: 18px 18px 16px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--surface-3);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / .85);
  animation: consent-in .45s var(--ease) both;
}
.consent-bar p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.consent-bar a { color: var(--text); font-weight: 600; text-decoration-color: rgba(255, 138, 61, .6); text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 10px; margin-top: 14px; }
.consent-actions .consent-btn { flex: 1; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } }

/* The switch on the privacy page */
.consent-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--panel);
}
.legal-doc .consent-panel p { flex: 1 1 240px; margin: 0; font-size: 15.5px; font-weight: 600; color: var(--text); }


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .d-el, .d-sel, .wd-pin, .build-chip, .trend-dot, .wl-names b:first-child, .inv-swap b, .console-toast { opacity: 1; }
  .inv-swap s, .inv-scan, .wd-ripple, .cr-old, .sp-old, .ca-ping, .ca-scan { opacity: 0; }
  .ca-day { opacity: 1; }
  .cr-new, .sp-new { opacity: 1; }
  .sp-squeeze { transform: scaleX(.23); }
  .fs-bar i { transform: none; }
  .c-line { transform: none; }
  .trend { stroke-dashoffset: 0; }
  .gauge { stroke-dashoffset: 3; }
  .needle { transform: rotate(84deg); }
  .rot-item { transition: none; }
}
