/* Handle landing page.
   Visual language: Apple-clean and lifemed.ai-precise. A white canvas, near-black ink, light grey panels,
   one grotesk (Geist), small radii, calm motion,
   and colour only where the AI is at work.

   The colour code, used everywhere on the page:
     ink     #121214  = you, your team, human taste, and every action you take (type, buttons, dark panels)
     violet  #5B4CFF  = handled by AI. Big surfaces carry it as iridescent light (blue, violet, orchid, rose).
     grey    #F5F5F7  = the canvas panels
   Product status colours (green yes, red no, amber close call) only appear small, inside the product UI. */

:root {
  --ink: #121214;
  --ink-2: #2c2c31;
  --ink-deep: #000000;
  --muted: #6e6e73;
  --quiet: #8a8a90;
  --faint: #aeaeb2;
  --line: rgba(12, 12, 16, 0.09);
  --line-strong: rgba(12, 12, 16, 0.16);
  --fill: rgba(12, 12, 16, 0.04);
  --fill-2: rgba(12, 12, 16, 0.07);

  --ai: #5b4cff;
  --ai-strong: #4f3df5;
  --ai-deep: #3a28d6;
  --ai-text: #4b39ee;
  --ai-soft: #efedff;
  --ai-200: #b4aaff;
  --ai-grad: linear-gradient(100deg, #2f7bff 0%, #5b4cff 34%, #a04cff 66%, #ff5c9d 100%);
  --ai-glass: linear-gradient(135deg, #e6edff 0%, #eee8ff 48%, #fbe8f4 100%);

  --panel: #f5f5f7;
  --panel-2: #efeff2;
  --panel-3: #fafafb;
  --panel-deep: #e8e8ed;
  --paper: #ffffff;
  --dark: #0b0b0d;

  --peri: #8fa6ff;
  --mist: #d9dbe3;

  --yes: #18794e;
  --yes-soft: #e4f4ec;
  --no: #c2261c;
  --no-soft: #fde9e7;
  --review: #9a5200;
  --review-soft: #fff1df;

  --shadow: 0 1px 2px rgba(12, 12, 16, 0.04), 0 8px 24px rgba(12, 12, 16, 0.06);
  --shadow-lift: 0 2px 6px rgba(12, 12, 16, 0.05), 0 20px 44px rgba(12, 12, 16, 0.1);
  --shadow-float: 0 30px 80px rgba(12, 12, 16, 0.18), 0 6px 18px rgba(12, 12, 16, 0.06);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.3, 1.25, 0.5, 1);

  --font: "Geist", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --ig: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --plane-inset: clamp(8px, 1.1vw, 16px);
  --plane-radius: clamp(20px, 2.2vw, 28px);
  --nav-h: 76px;

  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: var(--ai-200); color: var(--ink-deep); }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 500; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type ---------- */

.display {
  font-size: clamp(54px, 8.8vw, 136px);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 0.96;
}

.h2 {
  font-size: clamp(38px, 4.9vw, 72px);
  font-weight: 500;
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.04;
  text-wrap: balance;
}

.h4 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; letter-spacing: -0.028em; line-height: 1.18; }

/* Two-tone headlines, the Apple way: the second voice is grey. Words about the AI itself glow instead. */
em, .em { font-style: normal; color: var(--quiet); }
em.ai, .glow {
  background: var(--ai-grad); background-size: 160% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; letter-spacing: -0.012em; }
.body-l { font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.6; color: var(--muted); max-width: 54ch; }
.body-l strong { color: var(--ink); font-weight: 500; }
.center { text-align: center; margin-inline: auto; }

.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; flex: none; }
.swatch.ai { background: var(--ai-grad); }
.swatch.you { background: var(--ink); }

kbd {
  display: inline-grid; place-items: center;
  min-width: 1.75em; height: 1.75em; padding: 0 0.35em;
  border-radius: 0.4em; background: #fff; color: var(--ink);
  box-shadow: inset 0 -1.5px 0 var(--line-strong), 0 0 0 1px var(--line-strong);
  font-size: 0.76em; font-weight: 500; line-height: 1;
}

/* ---------- Live dot (the product's) ---------- */

.live-dot { position: relative; display: inline-block; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.live-dot.on { background: var(--ai); }
.live-dot.on::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--ai); animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { opacity: 0.7; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.7); } }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border: 0; border-radius: 10px;
  font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, box-shadow 0.3s var(--ease), color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn .arrow { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 9px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 12px; }


.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2a2f; }
.btn-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--fill); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ececf0; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink); text-decoration: none;
}
.text-link .i { width: 17px; height: 17px; transition: transform 0.4s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }
.text-link.on-dark { color: #fff; }

/* ---------- Planes: the panels the page is built from ---------- */

.plane { position: relative; isolation: isolate; margin-inline: var(--plane-inset); border-radius: var(--plane-radius); }
.plane-grey { background: var(--panel); }
.plane-white { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.plane-dark { background: var(--dark); color: #fff; }
.plane-dark em { color: rgba(255, 255, 255, 0.46); }
.plane-ai {
  color: #fff;
  background:
    radial-gradient(55% 70% at 88% 12%, rgba(91, 76, 255, 0.55), transparent 62%),
    radial-gradient(50% 65% at 8% 100%, rgba(47, 123, 255, 0.42), transparent 62%),
    radial-gradient(38% 48% at 62% 108%, rgba(255, 92, 157, 0.32), transparent 70%),
    var(--dark);
}
.plane-ai em { color: rgba(255, 255, 255, 0.5); }
/* On dark, the AI's light runs brighter. */
.plane-dark em.ai, .plane-ai em.ai {
  color: transparent;
  background-image: linear-gradient(100deg, #6aa2ff 0%, #8b7dff 34%, #c27cff 66%, #ff86b6 100%);
}

.section { padding-block: clamp(96px, 11vw, 160px); }

/* ---------- Top bar and nav ---------- */

.topbar { position: relative; z-index: 51; background: var(--dark); text-align: center; font-size: 13.5px; font-weight: 400; }
.topbar a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .live-dot { background: var(--ai-200); }
.topbar .live-dot.on::after { border-color: var(--ai-200); }
.topbar .i { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.topbar a:hover .i { transform: translateX(4px); }

.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  margin-bottom: calc(-1 * var(--nav-h));
  padding: 12px var(--plane-inset);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 52px; max-width: 1240px; margin: 0 auto; padding: 0 7px 0 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px var(--line);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(12, 12, 16, 0.08);
}

/* The mark: a lowercase h whose arch is the handle, lit by the AI. */
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); text-decoration: none;
}
.logo-mark { width: 1.45em; height: 1.45em; flex: none; }
.logo-sm { font-size: 16px; gap: 7px; }
.logo.on-dark { color: #fff; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 7px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 400; color: var(--ink-2); text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: var(--fill); color: var(--ink); }
.nav-links a.on { color: var(--ink); background: var(--fill-2); }

.nav-cta { display: flex; align-items: center; gap: 6px; }

.nav-burger {
  display: none; position: relative; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 9px; background: var(--fill); cursor: pointer;
}
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 23px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 110px 28px 36px;
  background: #fff;
  overflow: auto;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 2px; }
.menu nav a {
  font-size: clamp(32px, 8.5vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.18;
  color: var(--ink); text-decoration: none;
  opacity: 0; transform: translateY(18px);
  animation: menu-in 0.7s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 60ms);
}
.menu nav a:active { color: var(--muted); }
.menu .btn { align-self: stretch; }
@keyframes menu-in { to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */

.hero { --title-top: clamp(72px, 10vw, 150px); position: relative; overflow-x: clip; padding-bottom: clamp(110px, 13vw, 210px); }

.hero-copy {
  position: relative; z-index: 1;
  display: grid; justify-items: center; text-align: center;
  padding-top: calc(var(--nav-h) + var(--title-top));
}

/* The glass infinity loop behind the headline (glass.js). */
/* The canvas hugs the loop, sits just under the nav and is centred on the headline, so the whole loop is
   always in view: --gh is twice the distance from there to the middle of the headline's first line. */
.hero-glass {
  --gh: calc(2.3 * (var(--title-top) + 0.96 * clamp(54px, 8.8vw, 136px) - 12px));
  position: absolute; z-index: -1; left: 50%; top: calc(var(--nav-h) + 12px);
  width: min(100vw - 24px, 2.4 * var(--gh)); aspect-ratio: 2.4 / 1;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-glass canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-glass.on canvas { opacity: 1; }
/* Without WebGL: two soft rings make the infinity. */
.hero-glass.fallback::before, .hero-glass.fallback::after {
  content: ""; position: absolute; top: 50%; width: 30%; aspect-ratio: 1.25; border-radius: 50%;
  background: conic-gradient(from 90deg, #6e86ff, #a46bff, #ff6fa6, #ffa45a, #ffd889, #6e86ff);
  -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 74%, #000 92%, transparent 94%);
  mask: radial-gradient(closest-side, transparent 72%, #000 74%, #000 92%, transparent 94%);
  opacity: 0.7;
}
.hero-glass.fallback::before { left: 50%; transform: translate(-97%, -50%); }
.hero-glass.fallback::after { left: 50%; transform: translate(-3%, -50%) scaleX(-1); }

/* Creators popping up round the loop, each with a tick: the work, done. */
.hero-pops { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pop {
  position: absolute;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  width: 232px; padding: 8px 12px 8px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.84); color: var(--ink); text-align: left;
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 0 0 1px rgba(12, 12, 16, 0.06), 0 18px 40px rgba(12, 12, 16, 0.12);
  animation: pop-in 0.9s var(--ease) backwards;
  transition: opacity 0.7s ease, transform 0.8s var(--ease), filter 0.7s ease;
}
.pop.out { opacity: 0; transform: translateY(-10px) scale(0.96); filter: blur(4px); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(0.94); filter: blur(6px); } }
/* the story ring, Instagram's own colours */
.pop-av { width: 42px; height: 42px; padding: 2px; border-radius: 50%; background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
/* the white gap inside the ring, and the avatar clipped to a clean circle */
.pop-av > span { display: block; width: 100%; height: 100%; padding: 2px; border-radius: 50%; background: #fff; }
.pop-av svg { width: 100%; height: 100%; border-radius: 50%; clip-path: circle(50% at 50% 50%); }
.pop-text { display: grid; min-width: 0; line-height: 1.3; }
.pop-text strong { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-text span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-tick { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #4f5bd5, #962fbf 40%, #d62976 75%, #fa7e1e); color: #fff; animation: tick-in 0.5s var(--ease-spring) 0.45s backwards; }
.pop-tick .i { width: 12px; height: 12px; stroke-width: 2.8; }
@keyframes tick-in { from { transform: scale(0); } }
.pop[data-slot="0"] { left: -1%; top: 31%; }
.pop[data-slot="1"] { right: -1%; top: 23%; }
.pop[data-slot="2"] { right: 2%; top: 55%; }
.pop[data-slot="3"] { left: 2%; top: 62%; }
/* Tablets and phones: the pop-ups form one centred stack above the headline, like notifications.
   The newest slides in at the front; the one before steps back, smaller, and blurs away in the same motion. */
@keyframes pop-stack-in { from { opacity: 0; transform: translate(-50%, 16px) scale(0.96); filter: blur(4px); } }
@media (max-width: 1100px) {
  .hero { --title-top: 128px; }
  .hero-pops { inset: calc(var(--nav-h) + 26px) 0 auto; height: 84px; }
  .pop, .pop[data-slot] {
    left: 50%; right: auto; top: 16px; width: min(80vw, 300px);
    padding: 8px 12px 8px 8px; gap: 10px; border-radius: 14px;
    transform: translate(-50%, 0);
    animation: pop-stack-in 0.8s var(--ease) backwards;
  }
  .pop.older { z-index: 0; opacity: 0; filter: blur(4px); transform: translate(-50%, -14px) scale(0.92); }
  .pop.out { opacity: 0; transform: translate(-50%, -24px) scale(0.88); filter: blur(3px); }
  .pop-av { width: 38px; height: 38px; }
  .pop-text strong { font-size: 13.5px; }
  .pop-text span { font-size: 12.5px; }
}
.hero-title { margin: 0; color: var(--ink); }
.hero-title .line { display: block; padding-bottom: 0.04em; }
.hero-title .line > span {
  display: inline-block;
  opacity: 0; transform: translateY(0.35em); filter: blur(14px);
  animation: title-in 1.4s var(--ease) 0.15s forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.3s; }
@keyframes title-in { to { opacity: 1; transform: none; filter: none; } }

.handled { padding: 0 0.04em 0.06em 0; animation: sheen 7s ease-in-out infinite alternate; }
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

.hero-sub { margin: 30px auto 0; text-align: center; max-width: 42ch; }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }

.hero-stage {
  position: relative; z-index: 1;
  width: min(1180px, 100% - 2 * var(--gutter));
  margin: clamp(64px, 8vw, 110px) auto 0;
  perspective: 1800px;
  --p: 0; --mx: 0; --my: 0;
}

.hero-tilt {
  position: relative;
  transform-style: preserve-3d;
  transform-origin: 50% 0%;
  transform:
    translateY(calc((1 - var(--p)) * 30px))
    rotateX(calc((1 - var(--p)) * 16deg + var(--my) * -1.5deg))
    rotateY(calc(var(--mx) * 2deg))
    scale(calc(0.92 + var(--p) * 0.08));
  will-change: transform;
}

.hero-app { --ui-size: clamp(8px, 1.12vw, 14px); font-size: var(--ui-size); }

.hero-feed {
  position: absolute; z-index: 3; left: -5.5%; top: 26%;
  display: grid; gap: 8px; width: 296px;
  transform: translateZ(70px) translateY(calc(var(--p) * -30px));
  pointer-events: none;
}

.feed-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 9px 11px 9px 9px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 0 0 1px var(--line), 0 14px 34px rgba(12, 12, 16, 0.12);
  animation: feed-in 0.9s var(--ease) backwards;
  transition: opacity 0.7s ease, transform 0.9s var(--ease), filter 0.8s ease;
}
.feed-item.out { opacity: 0; transform: translateY(10px) scale(0.96); filter: blur(3px); }
.feed-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--ai-soft); color: var(--ai-text); }
.feed-icon .i { width: 17px; height: 17px; }
.feed-text { display: grid; min-width: 0; }
.feed-text strong { font-size: 13.5px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-text span { font-size: 11px; color: var(--muted); }
.feed-check { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ai-grad); color: #fff; }
.feed-check .i { width: 12px; height: 12px; stroke-width: 2.4; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-12px) scale(0.97); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.hero-counter {
  position: absolute; z-index: 3; right: -4.5%; top: 58%;
  display: grid; gap: 6px; width: 228px; padding: 16px 18px;
  border-radius: 16px; background: rgba(11, 11, 13, 0.92); color: #fff;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px rgba(12, 12, 16, 0.3);
  transform: translateZ(90px) translateY(calc(var(--p) * -50px));
  pointer-events: none;
}
.hc-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.64); }
.hc-num { font-size: 36px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.hc-bar { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin-top: 4px; }
.hc-bar i { display: block; height: 100%; width: 62%; border-radius: inherit; background: var(--ai-grad); transition: width 1s var(--ease); }
.hc-foot { font-size: 12.5px; color: rgba(255, 255, 255, 0.66); }
.hc-foot b { color: #fff; font-weight: 500; }

/* ---------- Ticker ---------- */

.ticker {
  position: relative; z-index: 2;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.ticker-list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker-list li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px;
  font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.035em; white-space: nowrap;
}
.ticker-list li::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ai-grad); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- The problem ---------- */

.problem-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.problem-copy .h2 { margin-bottom: 30px; }

.habit { margin-top: clamp(96px, 11vw, 150px); }
.habit .h3 { max-width: 14ch; }
.habit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.habit-card {
  display: grid; gap: 20px; align-content: start;
  padding: 10px 10px 24px; border-radius: 18px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.habit-card > p { margin: 0 12px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.22; color: var(--ink); }
.habit-art { position: relative; height: 190px; border-radius: 12px; background: var(--panel); overflow: hidden; }
.habit-note { margin: 40px 0 0; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.38; color: var(--muted); max-width: 44ch; }
.habit-note strong { color: var(--ink); font-weight: 500; }

/* Little stories in the habit cards: they play once the card is in view. */
.art-sell { display: flex; align-items: flex-end; gap: 10px; padding: 24px 26px 22px; }
.hs-bar {
  position: relative; flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--mist);
  transform: scaleY(0); transform-origin: bottom; transition: transform 1.1s var(--ease);
}
.hs-bar:nth-child(2) { transition-delay: 0.08s; } .hs-bar:nth-child(3) { transition-delay: 0.16s; }
.hs-bar:nth-child(4) { transition-delay: 0.24s; } .hs-bar:nth-child(5) { transition-delay: 0.32s; }
.hs-bar.hot { background: var(--ai-grad); }
.hs-bar b {
  position: absolute; left: 50%; top: -32px; transform: translateX(-50%) translateY(4px);
  padding: 4px 9px; border-radius: 7px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 500; white-space: nowrap; opacity: 0;
  transition: opacity 0.4s ease 1.1s, transform 0.6s var(--ease) 1.1s;
}
.is-in .hs-bar { transform: none; }
.is-in .hs-bar b { opacity: 1; transform: translateX(-50%); }

.art-trust { display: grid; align-content: center; gap: 10px; padding: 18px 22px; font-size: 14px; }
.ht-q, .ht-a { max-width: 82%; padding: 9px 13px; border-radius: 15px; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.7s var(--ease); }
.ht-q { justify-self: start; background: #fff; box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 5px; transition-delay: 0.2s; }
.ht-a { justify-self: end; background: var(--ai-strong); color: #fff; border-bottom-right-radius: 5px; transition-delay: 0.9s; }
.ht-heart { position: absolute; left: 26px; bottom: 30px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ai); box-shadow: var(--shadow); transform: scale(0); transition: transform 0.5s var(--ease-spring) 1.6s; }
.ht-heart .i { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.is-in .ht-q, .is-in .ht-a { opacity: 1; transform: none; }
.is-in .ht-heart { transform: scale(1); }

.art-dollar { padding: 22px 22px 10px; }
.hd-chart { width: 100%; height: 130px; overflow: visible; }
.hd-line { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) 0.2s; }
.hd-pin { fill: var(--ai); stroke: #fff; stroke-width: 3; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.6s var(--ease-spring) 1.4s; }
.hd-tag {
  position: absolute; right: 16px; top: 14px; padding: 5px 9px; border-radius: 7px;
  background: var(--ai-strong); color: #fff; font-size: 11px; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease 1.7s, transform 0.6s var(--ease) 1.7s;
}
.is-in .hd-line { stroke-dashoffset: 0; }
.is-in .hd-pin { transform: scale(1); }
.is-in .hd-tag { opacity: 1; transform: none; }

/* ---------- AI has changed the maths (pinned) ---------- */

.maths { position: relative; height: 250vh; --p: 0; }
.maths-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; padding: var(--plane-inset) 0; }
.maths-plane {
  flex: 1; display: grid; place-content: center; justify-items: center;
  padding: 40px var(--gutter); overflow: hidden; text-align: center;
  background:
    radial-gradient(50% 45% at 50% 115%, rgba(91, 76, 255, calc(0.08 + var(--p) * 0.42)), transparent 70%),
    var(--dark);
}

.maths-line {
  margin: 0; max-width: 10.5ch;
  font-size: clamp(58px, 10.5vw, 184px); font-weight: 500; letter-spacing: -0.058em; line-height: 0.94;
}
.mw {
  --w: clamp(0, calc((var(--p) - 0.04 - var(--i) * 0.085) * 9), 1);
  display: inline-block;
  opacity: calc(0.16 + var(--w) * 0.84);
  transform: translateY(calc((1 - var(--w)) * 0.1em));
  filter: blur(calc((1 - var(--w)) * 6px));
}
em.mw {
  padding-right: 0.04em;
  background: var(--ai-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.maths-sub {
  --s: clamp(0, calc((var(--p) - 0.56) * 6), 1);
  max-width: 36ch; margin: 34px 0 0;
  font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: rgba(255, 255, 255, 0.72);
  opacity: var(--s); transform: translateY(calc((1 - var(--s)) * 24px));
}

.maths-orbit { position: absolute; inset: 0; pointer-events: none; --o: clamp(0, calc((var(--p) - 0.5) * 4), 1); }
.maths-orbit span {
  --ang: calc(var(--a) + var(--p) * 100deg - 30deg);
  position: absolute; left: 50%; top: 50%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: clamp(12px, 1vw, 14px); font-weight: 500; white-space: nowrap;
  opacity: var(--o);
  transform: translate(calc(-50% + cos(var(--ang)) * 41vw), calc(-50% + sin(var(--ang)) * 36vh)) scale(calc(0.8 + var(--o) * 0.2));
}
.maths-orbit span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ai-grad); box-shadow: 0 0 10px rgba(130, 110, 255, 0.9); }

/* ---------- Human taste. AI speed. ---------- */

.taste .lede { margin-top: 22px; }

.sorter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 24px); align-items: stretch;
  margin-top: 64px;
}
.sorter-col { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 20px; min-height: 360px; overflow: hidden; }
.sorter-col.human { background: var(--ink); color: #fff; }
.sorter-col.ai { background: var(--ai-glass); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(91, 76, 255, 0.14); }
.sorter-col.ai::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 100% 0%, rgba(91, 76, 255, 0.16), transparent 70%), radial-gradient(60% 50% at 0% 100%, rgba(255, 92, 157, 0.12), transparent 70%);
}
.sorter-col > * { position: relative; }
.sorter-title { display: flex; align-items: center; gap: 12px; }
.sorter-title .swatch { width: 14px; height: 14px; border-radius: 4px; }
.sorter-col.human .swatch { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.sorter-title strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.sorter-title span { font-size: 11.5px; opacity: 0.7; }
.sorter-slot { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 22px; flex: 1; }
.sorter-pile {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 10px 8px;
  padding: 18px; border-radius: 20px; border: 1px dashed var(--line-strong);
}
.pile-done {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px;
  font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; color: var(--ink); text-align: center;
  opacity: 0; transform: scale(0.96); filter: blur(6px); transition: opacity 0.5s ease, transform 0.8s var(--ease), filter 0.8s var(--ease); pointer-events: none;
}
.pile-done small { font-size: 14px; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
.sorter.sorted .pile-done { opacity: 1; transform: none; filter: none; transition-delay: 0.5s; }
.chip-task {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border-radius: 10px; background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(12, 12, 16, 0.06);
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}
.chip-ghost { display: inline-block; flex: none; }
.sorter-col.human .chip-task { background: rgba(255, 255, 255, 0.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); }
.sorter-col.ai .chip-task { background: rgba(255, 255, 255, 0.86); color: var(--ai-text); box-shadow: 0 0 0 1px rgba(91, 76, 255, 0.16), 0 6px 16px rgba(60, 40, 200, 0.08); }

.week { margin-top: 24px; padding: 24px 26px 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.week-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.week-head strong { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.week-legend { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.week-legend i { display: inline-block; width: 22px; height: 6px; border-radius: 999px; margin-left: 8px; }
.week-legend i.ai { background: var(--ai-grad); }
.week-legend i.you { background: var(--ink); width: 8px; }
.week-rows { position: relative; display: grid; gap: 9px; }
.week-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 12px; }
.week-day { font-size: 12px; font-weight: 500; color: var(--muted); }
.week-track { position: relative; height: 12px; border-radius: 999px; background: var(--fill); }
.week-band {
  position: absolute; top: 0; bottom: 0; left: calc(8 / 24 * 100%); width: calc(13 / 24 * 100%);
  border-radius: 999px; background: var(--ai-grad);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease);
}
.week-you {
  position: absolute; top: -3px; bottom: -3px; width: calc(1 / 24 * 100%); left: calc(var(--at) / 24 * 100%);
  border-radius: 4px; background: var(--ink); box-shadow: 0 0 0 2px #fff;
  transform: scaleY(0); transition: transform 0.6s var(--ease-spring);
}
.week-tick { position: absolute; top: 50%; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity 0.4s ease; }
.week.on .week-band { transform: none; }
.week.on .week-you { transform: none; transition-delay: 1.2s; }
.week.on .week-tick { opacity: 0.9; }
.week-now {
  position: absolute; top: -8px; bottom: -8px; left: calc(58px + (100% - 58px) * var(--t, 0.333));
  width: 1.5px; border-radius: 2px; background: var(--ink); opacity: 0; transition: opacity 0.3s ease;
}
.week-now b {
  position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -4px);
  padding: 3px 7px; border-radius: 6px; background: var(--ink); color: #fff;
  font-size: 10.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.week.on .week-now { opacity: 1; }
.week-axis { position: relative; height: 20px; margin: 10px 0 0 58px; font-size: 11px; color: var(--muted); }
.week-axis span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.week-axis span:nth-child(1) { left: 0; transform: none; }
.week-axis span:nth-child(2) { left: calc(8 / 24 * 100%); }
.week-axis span:nth-child(3) { left: 50%; }
.week-axis span:nth-child(4) { left: calc(21 / 24 * 100%); }
.week-axis span:nth-child(5) { left: 100%; transform: translateX(-100%); }

.psst { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; font-size: 14.5px; color: var(--muted); }

/* ---------- What we do ---------- */

.what-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.what-copy .h2 { margin-bottom: 28px; }

.assembly {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 22px;
  min-height: 430px; padding: 44px 28px 56px;
  border-radius: 24px; background: var(--panel);
  background-image: radial-gradient(circle at 1px 1px, rgba(12, 12, 16, 0.07) 1px, transparent 0);
  background-size: 22px 22px;
}
.asm-in, .asm-out { display: grid; gap: 10px; }
.asm-out { justify-items: start; }
.asm-chip {
  display: inline-flex; align-items: center; gap: 10px; justify-self: end;
  padding: 11px 15px; border-radius: 11px; background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 1px var(--line), var(--shadow);
  transition: transform 0.9s var(--ease), opacity 0.6s ease;
  transition-delay: calc(var(--i) * 0.14s);
}
.asm-chip .i { width: 17px; height: 17px; color: var(--ink-2); }
.assembly.absorb .asm-chip { transform: translateX(110px) scale(0.5); opacity: 0; }

.asm-core { position: relative; display: grid; place-items: center; width: 156px; height: 156px; }
.asm-ring { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.asm-ring circle { fill: #fff; stroke: rgba(12, 12, 16, 0.08); stroke-width: 5; }
.asm-ring .asm-ring-fill {
  fill: none; stroke: url(#g-ai); stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.45, 0, 0.2, 1);
}
.assembly.build .asm-ring-fill { stroke-dashoffset: 0; }
.asm-core-text { position: relative; display: grid; justify-items: center; gap: 6px; }
.asm-week { font-size: 11.5px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

.asm-mod {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px; border-radius: 11px;
  background: var(--ai-strong); color: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 10px 22px rgba(76, 59, 240, 0.22);
  opacity: 0; transform: translateX(-60px) scale(0.7);
  transition: transform 0.8s var(--ease), opacity 0.4s ease;
  transition-delay: calc(var(--i) * 0.12s);
}
.asm-mod .live-dot.on { background: #fff; }
.asm-mod .live-dot.on::after { border-color: #fff; }
.assembly.live .asm-mod { opacity: 1; transform: none; }

.asm-badge {
  position: absolute; left: 50%; bottom: -18px;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 14px 30px rgba(12, 12, 16, 0.24);
  transform: translateX(-50%) translateY(10px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.4s ease;
}
.assembly.live .asm-badge { transform: translateX(-50%); opacity: 1; transition-delay: 0.7s; }

/* ---------- Services intro ---------- */

.services-intro { padding-bottom: clamp(56px, 7vw, 96px); }
.h2.wide { max-width: 18ch; }
.svc-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 56px; }
.svc-group {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 20px 22px 22px; border-radius: 16px; background: #fff;
  text-decoration: none; box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.3s ease, transform 0.5s var(--ease), background-color 0.3s ease;
}
.svc-group:hover { background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.svc-num { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-name { font-size: clamp(34px, 3vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -0.045em; color: var(--ink); }
.svc-items { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
/* The note under the services points down into them: an arrow, and a line running on into the first module. */
.svc-note { display: flex; flex-direction: column; align-items: center; gap: 16px; width: fit-content; margin: 48px auto 0; font-size: 14.5px; color: var(--muted); text-align: center; text-decoration: none; transition: color 0.25s ease; }
.svc-note:hover { color: var(--ink); }
.svc-arrow { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.svc-arrow .i { width: 17px; height: 17px; transform: rotate(90deg); animation: nudge-down 1.9s var(--ease) infinite; }
.svc-arrow::after { content: ""; position: absolute; top: calc(100% + 8px); left: 50%; width: 1px; height: clamp(40px, 6vw, 84px); background: linear-gradient(180deg, var(--line-strong), transparent); }
.svc-note:hover .svc-arrow { background: var(--ink); color: #fff; box-shadow: none; }
@keyframes nudge-down { 0%, 100% { transform: rotate(90deg) translateX(-2px); } 50% { transform: rotate(90deg) translateX(3px); } }

/* The chapter switcher that floats while you read the services. */
.chapters {
  position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 40;
  display: flex; gap: 2px; padding: 4px;
  border-radius: 12px; background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(12, 12, 16, 0.08), 0 16px 40px rgba(12, 12, 16, 0.14);
  transform: translate(-50%, 160%); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.3s ease;
}
.chapters.show { transform: translate(-50%, 0); opacity: 1; }
.chapters a {
  position: relative; z-index: 1; padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color 0.3s ease;
}
.chapters a.on { color: #fff; }
.chapters-ink {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 8px; background: var(--ink);
  transition: transform 0.6s var(--ease), width 0.6s var(--ease);
}

/* ---------- Chapters ---------- */

.chapter { padding-block: calc(var(--plane-inset) / 2); }
.chapter-plane { padding-block: clamp(96px, 11vw, 160px); }

/* The giant word behind each chapter: outlined, sliding as you pass. */
.giant { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none; --p: 0.5; }
.giant span {
  position: absolute; top: clamp(4px, 1.4vw, 24px); left: 50%;
  font-size: clamp(150px, 30vw, 540px); font-weight: 600; line-height: 0.8; letter-spacing: -0.065em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px var(--giant, rgba(12, 12, 16, 0.07));
  transform: translateX(calc(-50% + (0.5 - var(--p)) * 30vw));
}
.plane-white .giant { --giant: rgba(12, 12, 16, 0.06); }

.chapter-head { position: relative; display: grid; justify-items: start; }
.chapter-head .h2 { max-width: 17ch; }
.chapter-head .lede { margin-top: 22px; }

.feature {
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 84px); align-items: center;
  margin-top: clamp(72px, 9vw, 128px);
}
.feature.reverse { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); }
.feature.reverse .feature-copy { order: 2; }
.feature-copy { max-width: 480px; }
.feature-copy p { font-size: 17px; line-height: 1.62; color: var(--muted); }
.feature-copy p strong { color: var(--ink); font-weight: 500; }
.feature-name {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.06; color: var(--ink);
}
.feature-name .dot { display: inline-block; width: 9px; height: 9px; margin: 0 12px 0 2px; border-radius: 2.5px; background: var(--ai-grad); transform: rotate(45deg); vertical-align: 0.22em; }
/* Custom builds has its own mark instead: a small glass ring (glass.js), the hero's material, slowly changing shape.
   The canvas is bigger than the space the ring takes in the line, so it can tilt and turn without being cut off. */
.feature-name .glass-ring { position: relative; display: inline-block; width: 1.06em; height: 0.7em; margin: 0 0.26em 0 -0.04em; vertical-align: -0.04em; pointer-events: none; }
.glass-ring canvas {
  position: absolute; left: 50%; top: 50%; width: 1.5em; height: 1.17em; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0.06em 0.3em rgba(132, 96, 255, 0.5));   /* it glows a little on the dark card */
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.glass-ring.on canvas { opacity: 1; }
.glass-ring.fallback::before {
  content: ""; position: absolute; inset: 6% 2%; border-radius: 50%;
  background: conic-gradient(from 200deg, #4f7cff, #8b5cff, #e05cc4, #ffa86b, #ffd98a, #4f7cff);
  -webkit-mask: radial-gradient(closest-side, transparent 56%, #000 60%, #000 96%, transparent);
  mask: radial-gradient(closest-side, transparent 56%, #000 60%, #000 96%, transparent);
}
.feature-strap {
  margin: -4px 0 16px !important;
  font-size: clamp(20px, 1.7vw, 23px) !important; font-weight: 500; line-height: 1.3 !important; letter-spacing: -0.025em;
  color: var(--quiet) !important;
}
.try {
  display: inline-flex !important; align-items: center; gap: 8px;
  margin-top: 6px; padding: 7px 12px 7px 9px; border-radius: 9px;
  background: #fff; box-shadow: 0 0 0 1px var(--line);
  font-size: 13.5px !important; font-weight: 500; color: var(--ink) !important;
}
.try .i { width: 16px; height: 16px; color: var(--ai); }
.try kbd { font-size: 11.5px; }
.try[role="button"] { cursor: pointer; user-select: none; transition: box-shadow 0.25s ease, transform 0.4s var(--ease), background-color 0.25s ease; }
.try[role="button"]:hover { box-shadow: 0 0 0 1px var(--line-strong), 0 6px 16px rgba(12, 12, 16, 0.08); transform: translateY(-1px); }
.try[role="button"]:active { transform: scale(0.98); }
/* The control a chip just pressed, pulsing so you can see what changed. */
.tried { animation: tried 1.1s var(--ease); }
@keyframes tried { 0% { box-shadow: 0 0 0 0 rgba(91, 76, 255, 0.55); } 100% { box-shadow: 0 0 0 0.9em rgba(91, 76, 255, 0); } }
/* A chip that only makes sense at one moment (the close call) waits, greyed out, until then,
   counting down to it: the seconds left, and a thin line filling along its bottom edge. */
.try.waits { position: relative; overflow: hidden; transition: color 0.45s ease, background-color 0.45s ease, box-shadow 0.4s ease, transform 0.4s var(--ease); }
.try.waits:not(.ready) { color: var(--quiet) !important; background: rgba(255, 255, 255, 0.55); pointer-events: none; }
.try.waits:not(.ready) kbd { opacity: 0.45; }
.try-count { display: none; margin-left: 2px; padding: 2px 8px; border-radius: 999px; background: var(--panel); color: var(--ink); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.try.waits:not(.ready) .try-count:not(:empty) { display: inline-block; }
.try.waits::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ai-grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.12s linear, opacity 0.3s ease; }
.try.waits.ready::after { opacity: 0; }
.try.waits.ready { animation: try-ready 1.6s var(--ease) infinite; }
@keyframes try-ready { 0%, 100% { box-shadow: 0 0 0 1.5px var(--ai), 0 0 0 0 rgba(91, 76, 255, 0.35); } 50% { box-shadow: 0 0 0 1.5px var(--ai), 0 0 0 7px rgba(91, 76, 255, 0); } }
.aside-line { display: grid; gap: 8px; font-size: 15px !important; color: var(--ink-2) !important; }
.aside-line > span { display: flex; align-items: center; gap: 10px; }

.feature-demo { position: relative; min-width: 0; container-type: inline-size; }
.feature-demo > .ui { font-size: clamp(10px, 1.95cqi, 14.5px); }

/* Scale chapter: custom builds */
.custom { margin-top: clamp(72px, 9vw, 128px); }
.custom-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--dark); color: #fff;
}
.custom-card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(45% 80% at 100% 0%, rgba(91, 76, 255, 0.35), transparent 70%); }
.custom-card > * { position: relative; }
/* one clear order: the name leads, the question steps back in grey, the line under it steps back again */
.custom-card .feature-name { margin: 0 0 18px; font-size: clamp(36px, 3.7vw, 54px); letter-spacing: -0.045em; color: #fff; }
.custom-big { margin: 0 0 14px; max-width: 26ch; font-size: clamp(20px, 1.75vw, 25px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.28; color: rgba(255, 255, 255, 0.62); }
.custom-copy p:last-child { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, 0.45); font-size: 16px; line-height: 1.6; }
.custom-form { display: grid; gap: 12px; }
.custom-form input {
  height: 56px; padding: 0 18px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 17px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); outline: 0;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.custom-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.custom-form input:focus { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.5px var(--ai-200); }
.custom-form .btn { justify-self: start; }

/* ---------- Proof ---------- */

.proof { padding-block: calc(var(--plane-inset) / 2); }
.proof-plane { padding-block: clamp(96px, 11vw, 160px); overflow: hidden; }
.proof-plane::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(50% 40% at 85% 0%, rgba(91, 76, 255, 0.22), transparent 70%); }
.proof-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.proof .h2 { color: #fff; margin-bottom: 26px; }
.proof .body-l { color: rgba(255, 255, 255, 0.7); }

.detect { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-bottom: 56px; }
.det-tile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3); }
.det-tile:nth-child(2) { transform: translateY(26px); }
.det-art { position: absolute; inset: 0; }
.det-art svg { width: 100%; height: 100%; }
.det-tile::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(91, 76, 255, 0.24) 75%, rgba(140, 120, 255, 0.9));
  transform: translateY(-110%); opacity: 0;
}
.det-tile.scan::after { animation: scan 1.1s var(--ease) both; }
.det-box {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 1.5px solid #fff; border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(8, 8, 12, 0), 0 0 18px rgba(120, 100, 255, 0.6);
  opacity: 0; transform: scale(1.3);
  transition: opacity 0.3s ease, transform 0.6s var(--ease), box-shadow 0.6s ease;
}
.det-box b {
  position: absolute; left: -1.5px; top: calc(100% + 6px);
  padding: 3px 7px; border-radius: 6px; background: var(--ai-strong); color: #fff;
  font-size: 11px; font-weight: 500; white-space: nowrap;
}
.det-tile.found .det-box { opacity: 1; transform: none; box-shadow: 0 0 0 999px rgba(8, 8, 12, 0.4), 0 0 18px rgba(120, 100, 255, 0.6); }
.det-result {
  position: absolute; left: 50%; bottom: 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, 14px); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.3s ease;
}
.det-result .i { width: 17px; height: 17px; stroke-width: 2.2; color: var(--ai); }
.detect.done .det-result { transform: translate(-50%, 0); opacity: 1; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-110%); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(260%); } }

.proof-day { margin: clamp(72px, 8vw, 110px) 0 22px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.86); }
.proof-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pstat { padding: 26px 22px 24px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.pstat-num { font-size: clamp(44px, 4.8vw, 74px); font-weight: 500; letter-spacing: -0.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pstat-num small { margin: 0 2px; font-size: 0.4em; font-weight: 500; letter-spacing: -0.01em; color: var(--ai-200); }
.pstat p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.66); }

.compare { display: grid; gap: 14px; margin-top: 10px; padding: 26px; border-radius: 16px; background: #fff; color: var(--ink); }
.cmp-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.cmp-row + .cmp-row { padding-top: 14px; border-top: 1px solid var(--line); }
.cmp-label strong { display: block; font-size: 21px; font-weight: 500; letter-spacing: -0.03em; }
.cmp-label span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.cmp-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.cmp-day { display: grid; gap: 6px; justify-items: center; font-size: 11px; font-weight: 500; color: var(--muted); }
.cmp-col { position: relative; width: 100%; height: 96px; border-radius: 8px; background: var(--fill); overflow: hidden; }
.cmp-fill {
  position: absolute; left: 0; right: 0; top: calc(var(--from) / 24 * 100%); height: calc((var(--to) - var(--from)) / 24 * 100%);
  transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease); transition-delay: calc(var(--k) * 0.07s);
}
.cmp-fill.you { background: var(--ink); }
.cmp-fill.ai { background: linear-gradient(180deg, #2f7bff, #5b4cff 45%, #a04cff 80%, #ff5c9d); }
.compare.on .cmp-fill { transform: none; }

/* ---------- How it works ---------- */

.how-track { margin: 56px 0 36px; --p: 0; }
.how-weeks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 2fr); font-size: 12px; font-weight: 500; color: var(--muted); }
.how-weeks .tune { color: var(--ai-text); }
.how-bar { position: relative; height: 6px; margin-top: 12px; border-radius: 999px; background: var(--fill-2); overflow: hidden; }
.how-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: calc(5 / 7 * 100%); right: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(91, 76, 255, 0.22) 5px 10px);
}
.how-bar i {
  position: relative; z-index: 1; display: block; height: 100%; border-radius: inherit; background: var(--ai-grad);
  width: calc(clamp(0, (var(--p) - 0.2) * 2.2, 1) * 100%);
}
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-step { display: grid; align-content: start; gap: 8px; padding: 10px 10px 26px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.how-step > :not(.how-art) { margin-inline: 14px; }
.how-step p { margin-bottom: 0; font-size: 16px; color: var(--muted); }
.how-step .h4 { order: 1; margin-top: 12px; }
.how-when { order: 2; margin-top: -4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.how-step p { order: 3; }
.how-art { position: relative; height: 200px; border-radius: 12px; background: var(--panel); overflow: hidden; }

.how-art.scope > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.how-art.scope path { fill: none; stroke: var(--ai); stroke-width: 1.5; stroke-dasharray: 3 5; stroke-linecap: round; opacity: 0; transition: opacity 0.6s ease 0.4s; }
.sc-node {
  position: absolute; padding: 6px 11px; border-radius: 8px; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  font-size: 13px; font-weight: 500; white-space: nowrap; transform: translate(-50%, -50%) scale(0.8); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.4s ease;
}
.sc-node.n0 { left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -0.03em; box-shadow: 0 10px 24px rgba(12, 12, 16, 0.2); }
.sc-node.n0 .logo-mark { width: 18px; height: 18px; }
.sc-node.n1 { left: 20%; top: 25%; } .sc-node.n2 { left: 80%; top: 23%; transition-delay: 0.12s; }
.sc-node.n3 { left: 28%; top: 80%; transition-delay: 0.24s; } .sc-node.n4 { left: 74%; top: 78%; transition-delay: 0.36s; }
.is-in .sc-node { transform: translate(-50%, -50%); opacity: 1; }
.is-in .how-art.scope path { opacity: 1; }

.how-art.build { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 18px; }
.how-art.build span {
  padding: 8px 12px; border-radius: 9px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); font-size: 13.5px; font-weight: 500;
  transform: translateY(-40px); opacity: 0;
  transition: transform 0.8s var(--ease), opacity 0.4s ease; transition-delay: calc(var(--i) * 0.12s + 0.2s);
}
.how-art.build span.any { background: var(--ink); color: #fff; box-shadow: none; }
.is-in .how-art.build span { transform: none; opacity: 1; }

.how-art.live { display: grid; place-items: center; }
.big-switch { position: relative; width: 96px; height: 56px; border-radius: 999px; background: var(--fill-2); transition: background-color 0.4s ease 0.6s, box-shadow 0.8s ease 0.8s; }
.big-switch i { position: absolute; top: 4px; left: 4px; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16); transition: transform 0.6s var(--ease) 0.6s; }
.is-in .big-switch { background: var(--ai); box-shadow: 0 0 0 10px rgba(91, 76, 255, 0.08), 0 0 40px rgba(91, 76, 255, 0.45); }
.is-in .big-switch i { transform: translateX(40px); }
.live-label { position: absolute; bottom: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ai-text); opacity: 0; transition: opacity 0.4s ease 1.1s; }
.is-in .live-label { opacity: 1; }
.conf { display: none; }

/* ---------- Why Handle ---------- */

.why { padding-block: calc(var(--plane-inset) / 2); }
.why-plane { padding-block: clamp(96px, 11vw, 160px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.bento-card { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 28px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.bento-card > :not(:first-child) { margin-inline: 14px; }
.bento-card > :first-child { margin-bottom: 16px; }
.bento-card p { margin: 0; color: var(--muted); font-size: 16px; }
.b-built { grid-column: span 4; }
.b-support { grid-column: span 2; }
.b-control, .b-price { grid-column: span 3; }

.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs-them, .vs-us { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 12px; min-height: 190px; overflow: hidden; }
.vs-them { background: var(--panel); color: var(--muted); }
.vs-us { background: var(--ai-glass); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(91, 76, 255, 0.14); }
.vs-tag { font-size: 11.5px; font-weight: 500; }
.vs-tag.ai { color: var(--ai-text); }
/* The database side: a search you typed yourself, and the work it leaves you (empty boxes, mirroring the ticks opposite). */
.vs-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 9px; background: #fff; color: var(--muted); font-size: 14px; box-shadow: 0 0 0 1px var(--line); }
.vs-search .i { width: 17px; height: 17px; }
.vs-q { color: var(--ink); white-space: nowrap; }
.vs-results { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.vs-todo { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.vs-todo li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.vs-todo li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.vs-seat { justify-self: start; padding: 5px 9px; border-radius: 7px; background: rgba(12, 12, 16, 0.06); font-size: 12.5px; font-weight: 500; }
/* A creator being vetted, live: their card, a status, and the checks ticking off. */
.vs-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(91, 76, 255, 0.14), 0 10px 24px rgba(60, 40, 200, 0.08); }
.vs-card .ui-avatar { width: 34px; height: 34px; }
.vs-who { display: grid; min-width: 0; line-height: 1.25; }
.vs-who strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-who span { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-state { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: var(--ai-soft); color: var(--ai-text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.vs-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: vs-blink 1.2s ease-in-out infinite; }
.vs-state.done { background: var(--yes-soft); color: var(--yes); }
.vs-state.done::before { animation: none; }
@keyframes vs-blink { 50% { opacity: 0.25; } }
.vs-checks { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.vs-checks li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); opacity: 0.5; transition: opacity 0.4s ease, color 0.4s ease; }
.vs-checks li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #fff no-repeat center / 10px; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.vs-checks li.on { opacity: 1; color: var(--ink); }
.vs-checks li.on::before { background-color: var(--ai); box-shadow: none; background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27white%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5 12.6 4.4 4.4L19 7.4%27/%3E%3C/svg%3E"); }
.vs-trained { justify-self: start; padding: 5px 9px; border-radius: 7px; background: rgba(255, 255, 255, 0.8); color: var(--ai-text); font-size: 12.5px; font-weight: 500; }

.support-art { display: grid; align-content: center; gap: 10px; min-height: 190px; padding: 18px; border-radius: 12px; background: var(--panel); font-size: 14px; }
.sa-bubble { max-width: 88%; padding: 9px 13px; border-radius: 15px; line-height: 1.35; }
.sa-bubble.them { justify-self: start; background: #fff; box-shadow: 0 0 0 1px var(--line); border-bottom-left-radius: 5px; }
.sa-bubble.us { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
/* In the "Why Handle" cards only the vetting card moves: the little live dots stay still. */
.bento .live-dot.on::after { animation: none; opacity: 0; }
.sa-meta { display: flex; align-items: center; gap: 9px; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }

.control { display: grid; gap: 12px; min-height: 190px; padding: 18px; border-radius: 12px; background: var(--panel); }
.ctl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ctl-head strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.ctl-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
.ctl-range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ai) 0 var(--fillw, 33%), var(--fill-2) 0); }
.ctl-range::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--ai) 0 var(--fillw, 33%), var(--fill-2) 0); }
.ctl-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 3px 10px rgba(12, 12, 16, 0.18); transition: transform 0.2s var(--ease); }
.ctl-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 3px 10px rgba(12, 12, 16, 0.18); }
.ctl-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.ctl-scale { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -6px; font-size: 10.5px; color: var(--muted); }
.ctl-scale span:nth-child(2) { text-align: center; transform: translateX(-16%); }
.ctl-scale span:nth-child(3) { text-align: center; transform: translateX(16%); }
.ctl-scale span:last-child { text-align: right; }
.ctl-list { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.ctl-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; }
.ctl-list b { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; transition: background-color 0.35s ease, color 0.35s ease; }
.ctl-list b.auto { background: var(--ai-strong); color: #fff; }
.ctl-list b.you { background: var(--ink); color: #fff; }

.quote-art { display: grid; place-items: center; min-height: 190px; padding: 18px; border-radius: 12px; background: var(--panel); }
.qa-paper { position: relative; width: min(100%, 360px); padding: 14px 18px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
.qa-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.qa-row.head { border-top: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.qa-fixed { font-weight: 500; color: var(--ink); }
.qa-stamp {
  position: absolute; right: -10px; bottom: -14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(12, 12, 16, 0.22);
  transform: translateY(10px); opacity: 0;
  transition: transform 0.7s var(--ease) 0.5s, opacity 0.3s ease 0.5s;
}
.qa-stamp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }
.is-in .qa-stamp { transform: none; opacity: 1; }

/* ---------- Team ---------- */

.team-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; }
.team-title { max-width: 19ch; }
/* Small, quiet portraits: the people, not a poster. */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; max-width: 940px; margin-top: 56px; }
.member { display: grid; align-content: start; gap: 2px; }
.member-photo {
  position: relative; width: min(100%, 220px); margin: 0 0 18px; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: #b9b9bc;
}
/* the team's own studio portraits, used exactly as they are */
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  transform: scale(1.02); transition: transform 1.4s var(--ease);
}
.member:hover .member-photo img { transform: scale(1.06); }
/* Each portrait links to that person's LinkedIn: on hover (or keyboard focus) a small LinkedIn pill rises in.
   Touch screens have no hover, so there it simply stays. */
.member-link { position: absolute; inset: 0; display: block; border-radius: inherit; color: var(--ink); }
.member-link:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; }
.member-in {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 6px 18px rgba(12, 12, 16, 0.16); color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.6s var(--ease);
}
.member-in .i { width: 14px; height: 14px; }
.member-in .out { width: 12px; height: 12px; margin-left: -1px; color: var(--muted); transform: rotate(-45deg); }
.member-link:hover .member-in, .member-link:focus-visible .member-in { opacity: 1; transform: none; }
@media (hover: none) { .member-in { opacity: 1; transform: none; } }
.member .h4 { margin: 0; font-size: clamp(19px, 1.5vw, 21px); }
.member .role { margin: 0 0 10px; font-size: 14px; font-weight: 400; color: var(--muted); }
.member p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Platform / waitlist ---------- */

.platform { padding-block: calc(var(--plane-inset) / 2); }
.platform-plane { padding-block: clamp(96px, 11vw, 150px); overflow: hidden; }
.platform-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.platform .h2 { color: #fff; margin-bottom: 26px; }
.platform .body-l { color: rgba(255, 255, 255, 0.74); }

.waitlist { position: relative; display: flex; gap: 6px; max-width: 520px; margin-top: 30px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); flex-wrap: wrap; }
.waitlist input {
  flex: 1 1 220px; min-width: 0; height: 50px; padding: 0 16px; border: 0; border-radius: 10px;
  background: transparent; color: #fff; font-size: 16.5px; outline: 0;
}
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.5); }
.waitlist input:focus { background: rgba(255, 255, 255, 0.06); }
.waitlist .btn { height: 50px; }
.form-msg { flex-basis: 100%; margin: 0; min-height: 0; font-size: 14.5px; font-weight: 500; }
.form-msg:empty { display: none; }
.waitlist .form-msg { padding: 6px 12px 4px; color: #fff; }
.waitlist.sent { background: rgba(255, 255, 255, 0.95); }
.waitlist.sent .form-msg { color: var(--ink); }

.platform-art { position: relative; display: grid; justify-items: center; padding: 40px 0 10px; }
.switch-panel { position: relative; width: min(100%, 380px); padding: 20px 22px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.97); color: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 40px 80px rgba(10, 6, 40, 0.5), 0 0 80px rgba(91, 76, 255, 0.25); }
.sp-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; }
.sp-soon { padding: 4px 8px; border-radius: 6px; background: var(--ai-soft); color: var(--ai-text); font-size: 11px; font-weight: 500; }
.sp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 500; cursor: pointer; }
.sp-row > span { display: inline-flex; align-items: center; gap: 12px; }
.sp-row .i { width: 19px; height: 19px; color: var(--ink-2); }
.sp-foot { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.tag-sticker {
  position: absolute; z-index: 2; left: 2%; top: 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 11px; background: rgba(255, 255, 255, 0.1); color: #fff;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 15px; font-weight: 500; line-height: 1;
  animation: float 6s ease-in-out infinite;
}
.tag-sticker span { color: rgba(255, 255, 255, 0.6); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq-title { position: sticky; top: 120px; }
.faq-list { border-bottom: 1px solid var(--line-strong); }
.faq-item { border-top: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.035em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-icon { background: var(--panel-deep); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--panel); transition: background-color 0.3s ease; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform 0.5s var(--ease), background-color 0.3s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 56px 28px 0; font-size: 17.5px; line-height: 1.62; color: var(--muted); }

/* ---------- Contact ---------- */

.contact { padding-block: calc(var(--plane-inset) / 2); }
.contact-plane { padding-block: clamp(96px, 11vw, 150px); overflow: hidden; }
.contact-plane::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(40% 55% at 0% 0%, rgba(47, 123, 255, 0.16), transparent 70%), radial-gradient(35% 50% at 30% 0%, rgba(160, 76, 255, 0.12), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-copy .h2 { margin-bottom: 26px; }
.contact-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 30px); border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.cf-chips legend { margin-bottom: 12px; padding: 0; font-size: 15.5px; font-weight: 500; }
.cf-chips label { position: relative; display: inline-flex; }
.cf-chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cf-chips span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 9px;
  background: var(--panel); font-size: 14px; font-weight: 400;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.cf-chips input:hover + span { background: var(--panel-deep); }
.cf-chips input:checked + span { background: var(--ink); color: #fff; }
.cf-chips input:focus-visible + span { outline: 2px solid var(--ai); outline-offset: 2px; }
.cf-field { display: grid; gap: 7px; font-size: 14px; font-weight: 500; }
.cf-field input, .cf-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 16px; font-weight: 400; outline: 0; resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(12, 12, 16, 0.06); }
.cf-field input[aria-invalid="true"] { border-color: var(--no); }
.cf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form .btn { justify-self: start; }
.contact-form .form-msg { color: var(--ink-2); }

/* ---------- Footer ---------- */

.footer { padding: calc(var(--plane-inset) / 2) 0 var(--plane-inset); }
.footer-plane { padding: clamp(72px, 9vw, 120px) 0 26px; overflow: hidden; }
.footer-big { margin: 0 0 56px; max-width: 14ch; font-size: clamp(42px, 6vw, 96px); font-weight: 500; letter-spacing: -0.055em; line-height: 1; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.footer-lines p { margin: 0 0 6px; font-size: 17px; color: rgba(255, 255, 255, 0.72); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-weight: 400; }
.footer-nav a:hover { color: #fff; }
.footer-cta { display: grid; gap: 14px; justify-items: start; }

/* The wordmark, catching the light. Letters rise in once as it scrolls into view. */
.footer-word {
  display: flex; justify-content: center;
  margin: clamp(56px, 7vw, 100px) 0 0;
  font-size: clamp(110px, 26vw, 460px); font-weight: 600; line-height: 0.8; letter-spacing: -0.07em;
  user-select: none;
}
.footer-word span {
  /* padded (and pulled back by the same amount) so the gradient covers each letter's full shape, tight spacing and all */
  display: inline-block; padding: 0 0.12em 0.06em; margin: 0 -0.12em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 45%, rgba(255, 255, 255, 0.04) 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.js .footer-word span { opacity: 0; }
.footer-word.is-in span { opacity: 1; animation: letter-rise 1.3s var(--ease) backwards; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes letter-rise { from { opacity: 0; transform: translateY(0.3em); filter: blur(12px); } }

.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 13.5px; color: rgba(255, 255, 255, 0.56); }
.footer-legal > span:last-child { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Headlines rise word by word out of a mask (site.js splits them). */
.js .split[data-reveal] { opacity: 1; transform: none; }
/* clip-path rather than overflow, so each word keeps its baseline; only the bottom edge clips */
.split .w { display: inline-block; padding-bottom: 0.16em; margin-bottom: -0.16em; clip-path: inset(-1em -1em 0 -1em); }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + var(--wi, 0) * 26ms); }
.split.is-in .w > span { transform: none; }

@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
  .nav-links a { padding: 7px 9px; font-size: 14px; }
  .hero-feed { left: -2%; width: 270px; }
  .hero-counter { right: -2%; }
}

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hide-sm { display: none; }
  .hero-feed { top: auto; bottom: -70px; left: -1%; }
  .hero-counter { top: auto; bottom: -40px; right: 1%; }
  .feature, .feature.reverse { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature-copy { max-width: 640px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-built, .b-support, .b-control, .b-price { grid-column: span 1; }
  .b-built { grid-column: span 2; }
  .proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .problem-grid, .what-grid, .proof-grid, .platform-grid, .contact-grid, .faq-grid, .custom-card { grid-template-columns: minmax(0, 1fr); }
  .faq-title { position: static; }
  .todo { margin: 0 auto; }
  .habit-grid, .how-steps { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sorter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sorter-pile { grid-column: 1 / -1; order: -1; min-height: 150px; }
  .sorter-col { min-height: 250px; }
  .cmp-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .detect { max-width: 560px; }
  .platform-art { padding-top: 60px; }
}

@media (max-width: 760px) {
  .hero { --title-top: 120px; }
  .hero-glass { width: 128vw; top: calc(var(--nav-h) + var(--title-top) + 0.96 * clamp(54px, 8.8vw, 136px) - 26.67vw); }
  .hero-feed { position: relative; left: auto; bottom: auto; top: auto; width: 100%; margin-top: 18px; transform: none; }
  .hero-feed .feed-item:nth-child(n + 3) { display: none; }
  .hero-counter { display: none; }
  .hero { padding-bottom: 90px; }
  .maths-orbit { display: none; }
  .sorter-col { padding: 18px 16px; min-height: 0; border-radius: 16px; }
  .sorter-title { gap: 0; }
  .sorter-title .swatch { display: none; }
  .sorter-title strong { font-size: 19px; }
  .sorter-slot { gap: 8px; margin-top: 14px; min-height: 120px; }
  .chip-task { height: 36px; padding: 0 12px; font-size: 14px; }
  .waitlist .btn { flex: 1 1 100%; }
  .ticker { padding: 18px 0; }
  .week { padding: 20px 16px 16px; }
  .week-row { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .week-axis { margin-left: 42px; }
  .week-now { left: calc(42px + (100% - 42px) * var(--t, 0.333)); }
  .assembly { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 32px 20px 64px; }
  .asm-in, .asm-out { display: flex; flex-wrap: wrap; justify-content: center; }
  .asm-chip { justify-self: auto; }
  .assembly.absorb .asm-chip { transform: translateY(60px) scale(0.5); }
  .asm-mod { transform: translateY(-40px) scale(0.7); }
  .svc-index { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .b-built { grid-column: span 1; }
  .vs { grid-template-columns: minmax(0, 1fr); }
  .proof-stats { grid-template-columns: minmax(0, 1fr); }
  .cmp-col { height: 72px; }
  .cf-two { grid-template-columns: minmax(0, 1fr); }
  .chapters a { padding: 8px 10px; font-size: 13px; }
  .detect { gap: 8px; }
  .det-box b { font-size: 10px; padding: 3px 5px; }
  .det-result { font-size: 13px; }
  .tag-sticker { font-size: 13px; left: 0; }
  .team-head { grid-template-columns: minmax(0, 1fr); }
  .team-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .member { grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; }
  .member-photo { grid-row: span 3; width: 88px; margin: 0; border-radius: 12px; }
  .member-in { left: auto; right: 5px; bottom: 5px; padding: 5px; gap: 0; font-size: 0; }
  .member-in .out { display: none; }
}

@media (max-width: 480px) {
  .btn-lg { height: 52px; padding: 0 20px; font-size: 16px; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
  .nav-cta .btn-primary { padding: 0 12px; }
  .chapters { gap: 0; }
  .chapters a { padding: 8px 8px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .split .w > span { transform: none; }
  .hero-title .line > span { opacity: 1; transform: none; filter: none; }
  .maths { height: auto; --p: 1 !important; }
  .maths-sticky { position: relative; height: auto; min-height: 80vh; }
  .ticker-track { animation: none; }
  .tag-sticker { animation: none; }
}

/* Phones: see mobile.css, loaded after this file. */
