/* =========================================================================
   AgentPilot — design system
   Tokens: color · type scale · spacing · radius · elevation · one connector
   Principle: flat surfaces, hairline borders, and one warm accent. The hero
   alone uses soft optical blur to turn its video into atmosphere.
   ========================================================================= */
:root {
  /* surfaces — flat, warm neutral */
  --paper: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f7f6f1;
  --surface-3: #f2f1ea;
  --ink-block: #16150f;

  /* text */
  --ink: #1a1811;
  --ink-2: #3b382f;
  --muted: #6d685c;
  --faint: #9a9488;

  /* lines */
  --line: #ebe7de;
  --line-2: #e0dbd0;
  --line-3: #d0cabb;

  /* single accent — bright, light orange */
  --accent: #f97316;
  --accent-ink: #d35e07;
  --accent-soft: #fff1e5;
  --accent-line: #fcdcbd;

  /* supporting states */
  --green: #2f8058;
  --green-soft: #e7f2ec;
  --green-line: #c4e0d0;

  /* elevation — subtle, one light source, never blurry-huge */
  --shadow-1: 0 1px 2px rgba(26, 22, 14, 0.05);
  --shadow-2: 0 1px 2px rgba(26, 22, 14, 0.04), 0 10px 26px rgba(26, 22, 14, 0.07);
  --shadow-3: 0 2px 4px rgba(26, 22, 14, 0.04), 0 20px 48px rgba(26, 22, 14, 0.10);

  /* radius */
  --r-1: 8px;
  --r-2: 12px;
  --r-3: 16px;
  --r-4: 22px;
  --r-5: 30px;

  /* type */
  --font: "Schibsted Grotesk", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, serif;
  --mono: "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", monospace;

  --fs-display: clamp(2.7rem, 5.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 3.7vw, 3.15rem);
  --fs-h3: clamp(1.55rem, 2.3vw, 2.1rem);
  --fs-h4: 1.18rem;
  --fs-lead: clamp(1.05rem, 1.35vw, 1.2rem);
  --fs-body: 0.95rem;
  --fs-sm: 0.82rem;
  --fs-xs: 0.72rem;
  --fs-label: 0.7rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(1180px, calc(100vw - 48px));
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { color: var(--ink); background: rgba(226, 96, 15, 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- shared type primitives ---------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font: 600 var(--fs-label) / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section-title { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.038em; font-weight: 600; text-wrap: balance; }
.section-head { max-width: 640px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { margin-top: 1.25rem; max-width: 56ch; color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; text-wrap: pretty; }
.section-head--center .lead { margin-inline: auto; }

/* serif italic accent — used sparingly for one emphasised phrase */
.hero__title em, .statement em, .value__card em, .waitlist h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  font-size: 1.04em;
  letter-spacing: -0.014em;
  color: var(--accent);
}
.hero__title em { white-space: nowrap; }
.value__card em { color: #ff9d52; }

main > section:not(.hero):not(.waitlist) {
  width: var(--wrap);
  margin-inline: auto;
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.78rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  transition: transform 160ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--dark { color: #fff; background: var(--ink); box-shadow: var(--shadow-1); }
.btn--dark:hover { background: #322f27; }

/* ---- nav ----------------------------------------------------------------- */
.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 28px));
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 9px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.nav.is-scrolled { background: rgba(255, 255, 255, 0.9); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 0.2rem; color: var(--muted); font-size: 0.86rem; }
.nav__links a { padding: 0.5rem 0.75rem; border-radius: 999px; transition: color 160ms ease, background 160ms ease; }
.nav__links a:hover { color: var(--ink); background: rgba(26, 22, 14, 0.05); }
.btn--nav { min-height: 42px; padding: 0.6rem 1.05rem; font-size: 0.85rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(5.25rem, 8vw, 7rem)) 0 clamp(4.5rem, 6vw, 6rem);
  text-align: center;
}
.hero__bg {
  --hero-end-blur: 0px;
  --hero-video-scale: 1.04;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #efb679;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.5) 78%, transparent 98%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 52%, rgba(0,0,0,0.5) 78%, transparent 98%);
}
.hero__video,
.hero__shader {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  max-width: none;
  transform: scale(var(--hero-video-scale));
}
.hero__video {
  object-fit: cover;
  object-position: 50% 48%;
  filter: blur(var(--hero-end-blur)) saturate(0.92) contrast(0.97) brightness(1.055);
  will-change: filter, transform;
}
.hero__shader {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 760ms var(--ease);
}
.hero__shader canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(7px);
  transform: scale(1.02);
}
.has-hero-video-shader .hero__shader,
.has-hero-video-shader-fallback .hero__shader {
  opacity: 1;
}
.hero__video-tone,
.hero__veil,
.hero__blur-field {
  position: absolute;
}
.hero__video-tone {
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.14) 0%, rgba(255, 247, 237, 0.02) 54%, rgba(251, 250, 247, 0.48) 100%),
    radial-gradient(circle at 18% 24%, rgba(255, 246, 231, 0.3), transparent 42%);
  mix-blend-mode: screen;
}
.hero__blur-field {
  z-index: 3;
  width: max(680px, 78vw);
  aspect-ratio: 2.05;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 253, 247, 0.7) 0 20%, rgba(255, 239, 219, 0.34) 46%, transparent 74%);
  filter: blur(96px) saturate(118%);
  opacity: 0.82;
  mix-blend-mode: soft-light;
  will-change: transform;
  transition: opacity 760ms var(--ease), filter 760ms var(--ease);
}
.hero__blur-field--one {
  top: -4%;
  left: -26%;
  animation: hero-blur-drift-one 8s ease-in-out infinite alternate;
}
.hero__blur-field--two {
  right: -30%;
  top: 32%;
  width: max(600px, 68vw);
  background: radial-gradient(ellipse, rgba(255, 250, 240, 0.66) 0 18%, rgba(250, 207, 166, 0.3) 48%, transparent 76%);
  filter: blur(128px) saturate(122%);
  opacity: 0.76;
  animation: hero-blur-drift-two 10s ease-in-out infinite alternate;
}
.has-hero-video-shader .hero__blur-field {
  filter: blur(128px) saturate(126%);
  opacity: 0.06;
}
.has-hero-video-shader .hero__blur-field--two {
  filter: blur(152px) saturate(132%);
  opacity: 0.04;
}
.hero__veil {
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(ellipse 52% 50% at 50% 36%, rgba(255, 253, 248, 0.38), rgba(255, 250, 243, 0.12) 52%, transparent 78%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 58%, rgba(251,250,247,0.3));
}
.pointer-haze {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  contain: strict;
}
.pointer-haze__wisp {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  aspect-ratio: 1.85;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(ellipse at 38% 42%, rgba(255, 255, 255, 0.38) 0%, rgba(255, 238, 217, 0.16) 38%, transparent 70%),
    radial-gradient(ellipse at 64% 60%, rgba(236, 150, 80, 0.18), transparent 68%);
  box-shadow: 0 0 26px rgba(255, 240, 220, 0.12);
  filter: blur(9px) saturate(112%);
  mix-blend-mode: screen;
  transform-origin: center;
  will-change: transform, opacity;
  animation: pointer-haze-wisp 980ms cubic-bezier(0.18, 0.72, 0.2, 1) forwards;
}
@keyframes pointer-haze-wisp {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--rotate)) scale(0.46);
  }
  18% { opacity: 0.76; }
  54% { opacity: 0.46; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x)), calc(-50% + var(--drift-y))) rotate(calc(var(--rotate) + 10deg)) scale(1.42);
  }
}
@keyframes hero-blur-drift-one {
  0% { transform: translate3d(-8%, -4%, 0) rotate(-7deg) scale(0.92); }
  48% { transform: translate3d(29%, 20%, 0) rotate(4deg) scale(1.08); }
  100% { transform: translate3d(67%, -1%, 0) rotate(-2deg) scale(0.98); }
}
@keyframes hero-blur-drift-two {
  0% { transform: translate3d(10%, 12%, 0) rotate(6deg) scale(1.02); }
  54% { transform: translate3d(-34%, -22%, 0) rotate(-5deg) scale(0.9); }
  100% { transform: translate3d(-68%, 8%, 0) rotate(2deg) scale(1.06); }
}
.hero__copy { position: relative; z-index: 2; max-width: 940px; margin-inline: auto; }
.hero__mark { width: 74px; height: 74px; margin: 0 auto 2rem; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.048em; font-weight: 620; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__sub { max-width: 600px; margin: 1.85rem auto 0; color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; text-wrap: pretty; }
.hero .wl-form { max-width: 468px; margin: 2.6rem auto 0; }
.hero .wl-form__msg { margin-top: 0.5rem; }
.hero__note { margin-top: 0.7rem; color: var(--faint); font-size: var(--fs-sm); }


/* =========================================================================
   AGENT MARQUEE
   ========================================================================= */
.hero__agents {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero__agents > p { margin-bottom: 2rem; text-align: center; color: var(--faint); font-size: var(--fs-sm); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee__row { display: flex; align-items: center; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__row { animation-play-state: paused; }
.marquee__row span { display: inline-flex; align-items: center; gap: 0.6rem; margin-right: clamp(2.6rem, 5vw, 5rem); color: var(--muted); font-size: 0.86rem; font-weight: 550; white-space: nowrap; }
.marquee__row img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1); opacity: 0.55; transition: filter 240ms ease, opacity 240ms ease; }
.marquee__row span:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   PROBLEM — two lanes, identical components, broken vs continuous line
   ========================================================================= */
.problem { text-align: center; }
.statement { max-width: 880px; margin: 0 auto; font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.05; letter-spacing: -0.042em; font-weight: 600; text-wrap: balance; }
.statement__sub { max-width: 620px; margin: 1.5rem auto 0; color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; text-wrap: pretty; }

.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); text-align: left; }
.lane { margin: 0; padding: clamp(1.5rem, 2.6vw, 2.1rem); border: 1px solid var(--line-2); border-radius: var(--r-5); background: var(--surface); }
.lane--auto { border-color: var(--line-2); background: var(--surface); }
.lane figcaption { display: grid; gap: 0.5rem; max-width: 60ch; margin-bottom: 1.6rem; }
.lane__label { display: inline-flex; align-items: center; font: 600 var(--fs-label) var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lane--auto .lane__label { color: var(--accent-ink); }
.lane figcaption p { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; text-wrap: pretty; }

/* two emblems, one connector language: manual = every handoff forced back through YOU;
   auto = one system that picks the best agent and runs it on one shared context */
.lane__art { display: block; width: 100%; height: auto; margin-top: 0.4rem; }

/* =========================================================================
   FEATURES — numbered rows, text + one clean UI card each
   ========================================================================= */
.features { border-top: 1px solid var(--line); }
.how-bento-section { padding-block: clamp(4.5rem, 6vw, 6rem) !important; border-top: 1px solid var(--line); }
.how-bento-section .section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.how-bento { display: grid; grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.42fr); grid-template-rows: repeat(3, minmax(226px, 1fr)); gap: 1rem; }
.how-card { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-3); background: var(--surface); }
.how-card::after { content: ""; position: absolute; z-index: 0; width: 260px; height: 260px; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: 0.7; }
.how-card > * { position: relative; z-index: 1; }
.how-card--mission { grid-row: 1 / span 3; display: flex; flex-direction: column; min-height: 710px; padding: clamp(1.8rem, 3vw, 2.4rem); }
.how-card--mission::after { left: -150px; bottom: -120px; background: radial-gradient(circle, rgba(246, 198, 151, 0.25), transparent 70%); }
.how-card--route::after { right: -100px; top: -120px; background: radial-gradient(circle, rgba(214, 194, 245, 0.25), transparent 70%); }
.how-card--relay::after { left: 20%; bottom: -190px; background: radial-gradient(circle, rgba(249, 194, 156, 0.24), transparent 70%); }
.how-card--context::after { right: -130px; bottom: -130px; background: radial-gradient(circle, rgba(188, 222, 196, 0.22), transparent 70%); }
.how-card--feature { display: grid; grid-template-columns: minmax(165px, 0.66fr) minmax(280px, 1.44fr); align-items: center; gap: clamp(0.75rem, 1.4vw, 1.25rem); min-height: 226px; padding: clamp(1.5rem, 2.5vw, 2.1rem); }
.how-card__copy { max-width: 30rem; }
.how-card__eyebrow { display: block; margin-bottom: 0.75rem; color: var(--accent-ink); font: 600 0.68rem var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.how-card h3 { font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 610; text-wrap: balance; }
.how-card__copy > p { max-width: 34ch; margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; line-height: 1.55; text-wrap: pretty; }
.how-card__visual { min-width: 0; min-height: 156px; display: grid; place-items: center; }
.simple-diagram { display: block; width: min(100%, 460px); height: auto; max-height: 210px; overflow: visible; }
.sd-line { fill: none; stroke: var(--line-3); stroke-width: 1.4; stroke-linecap: round; }
.sd-line--active { stroke: var(--accent); stroke-width: 2; }
.sd-line--dashed { stroke: var(--accent); stroke-dasharray: 3 6; opacity: 0.72; }
.sd-chip, .sd-platform { fill: rgba(255, 255, 255, 0.86); stroke: var(--line-2); stroke-width: 1.2; }
.sd-chip--small { fill: var(--accent-soft); stroke: var(--accent-line); }
.sd-pilot { fill: rgba(255, 255, 255, 0.92); stroke: var(--accent-line); stroke-width: 1.4; }
.sd-text, .sd-caption { fill: var(--muted); font: 600 11px var(--sans); }
.sd-text--dark, .sd-caption--dark { fill: var(--ink-2); }
.sd-text--accent { fill: var(--accent-ink); font-size: 11px; }
.sd-agent circle { fill: rgba(255, 255, 255, 0.9); stroke: var(--line-2); stroke-width: 1.2; }
.sd-agent--selected circle { stroke: var(--accent); stroke-width: 1.8; }
.sd-check-bg, .sd-pause, .sd-result { fill: var(--green-soft); stroke: var(--green-line); stroke-width: 1.2; }
.sd-pause { fill: var(--accent-soft); stroke: var(--accent-line); }
.sd-check, .sd-pause-mark { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sd-pause-mark { stroke: var(--accent-ink); }
.sd-check--result { stroke-width: 2.2; }
.sd-caption--green { fill: var(--green); }
.mission-flow { display: grid; grid-template-rows: repeat(4, minmax(110px, 1fr)); flex: 1; min-height: 520px; margin-top: 2rem; list-style: none; }
.mission-flow__step { position: relative; display: flex; align-items: center; gap: 0.95rem; min-height: 110px; }
.mission-flow__step:not(:last-child)::after,
.mission-flow__step:not(:last-child)::before { content: ""; position: absolute; z-index: 0; left: 26px; top: calc(50% + 27px); width: 1px; height: calc(100% - 54px); }
.mission-flow__step:not(:last-child)::after { background: var(--line-3); }
.mission-flow__step:not(:last-child)::before { z-index: 1; background: var(--accent); transform: scaleY(0); transform-origin: top; opacity: 0; }
.mission-flow__icon { position: relative; z-index: 2; width: 54px; height: 54px; flex: none; display: grid; place-items: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 17px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-1); }
.mission-flow__icon img, .mission-flow__icon svg { width: 100%; height: 100%; object-fit: contain; }
.mission-flow__icon--pilot { padding: 0; overflow: hidden; border: 0; box-shadow: var(--shadow-2); }
.mission-flow__icon--task { color: var(--ink-2); }
.mission-flow__icon--result { color: var(--green); background: var(--green-soft); border-color: var(--green-line); }
.mission-flow p { position: relative; z-index: 2; display: grid; gap: 0.16rem; }
.mission-flow strong { color: var(--ink-2); font-size: 0.94rem; font-weight: 650; }
.mission-flow small { color: var(--muted); font-size: 0.76rem; }
.mission-flow__standby { position: absolute; z-index: 3; left: 76px; right: 0; top: calc(50% + 43px); min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.42rem 0.48rem 0.42rem 0.75rem; border: 1px dashed var(--accent-line); border-radius: 13px; background: rgba(255, 249, 243, 0.96); box-shadow: var(--shadow-1); }
.mission-flow__standby::before { content: ""; position: absolute; right: 100%; top: 50%; width: 50px; border-top: 1px dashed var(--accent-line); }
.mission-flow__standby-copy { display: grid; gap: 0; }
.mission-flow__standby-copy strong { color: var(--accent-ink); font-size: 0.68rem; letter-spacing: 0.03em; text-transform: uppercase; }
.mission-flow__standby-copy small { color: var(--muted); font-size: 0.62rem; white-space: nowrap; }
.mission-flow__standby-agents { display: flex; padding-right: 0.1rem; }
.mission-flow__standby-agents i { width: 29px; height: 29px; display: grid; place-items: center; padding: 5px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); }
.mission-flow__standby-agents i + i { margin-left: -7px; }
.mission-flow__standby-agents img { width: 100%; height: 100%; object-fit: contain; }

/* How it works: one calm loop per visual, with a useful still state. */
.how-card.reveal-in .mission-flow__step > .mission-flow__icon { animation: mission-step 7.2s var(--ease) infinite; }
.how-card.reveal-in .mission-flow__step:nth-child(2) > .mission-flow__icon { animation-delay: 1.25s; }
.how-card.reveal-in .mission-flow__step:nth-child(3) > .mission-flow__icon { animation-delay: 2.5s; }
.how-card.reveal-in .mission-flow__step:nth-child(4) > .mission-flow__icon { animation-delay: 4.7s; }
.how-card.reveal-in .mission-flow__step:not(:last-child)::before { animation: mission-link 7.2s var(--ease) infinite; }
.how-card.reveal-in .mission-flow__step:nth-child(2)::before { animation-delay: 1.25s; }
.how-card.reveal-in .mission-flow__step:nth-child(3)::before { animation-delay: 3.6s; }
.how-card.reveal-in .mission-flow__standby { animation: mission-standby 7.2s var(--ease) infinite; }
@keyframes mission-step { 0%, 7%, 100% { transform: translateY(0); box-shadow: var(--shadow-1); } 12% { transform: translateY(-3px); box-shadow: 0 0 0 5px var(--accent-soft), var(--shadow-2); } 19% { transform: translateY(0); box-shadow: var(--shadow-1); } }
@keyframes mission-link { 0%, 7%, 100% { transform: scaleY(0); opacity: 0; } 12%, 24% { transform: scaleY(1); opacity: 1; } 32% { transform: scaleY(1); opacity: 0; } }
@keyframes mission-standby { 0%, 38%, 61%, 100% { border-color: var(--accent-line); transform: translateX(0); } 46% { border-color: var(--accent); transform: translateX(3px); } 53% { border-color: var(--accent-line); transform: translateX(0); } }

.sd-line--active { stroke-dasharray: 5 7; animation: sd-line-flow 1.1s linear infinite; }
.simple-diagram--route .sd-line { opacity: 0.26; }
.simple-diagram--route .sd-line--active { opacity: 1; stroke-dasharray: none; animation: none; }
.simple-diagram--route .sd-agent:not(.sd-agent--selected) { opacity: 0.32; }
.sd-packet, .sd-context-packet { fill: var(--accent); opacity: 0; }
.how-card.reveal-in .sd-packet--route { animation: sd-route-packet 4.8s var(--ease) infinite; }
.how-card.reveal-in .sd-packet--relay { animation: sd-relay-packet 5.4s var(--ease) infinite; }
.how-card.reveal-in .sd-agent--selected { transform-box: fill-box; transform-origin: center; animation: sd-selected 4.8s var(--ease) infinite; }
.how-card.reveal-in .sd-check-bg, .how-card.reveal-in .sd-check { transform-box: fill-box; transform-origin: center; animation: sd-check-in 4.8s var(--ease) infinite; }
.how-card.reveal-in .sd-context-packet { transform-box: fill-box; transform-origin: center; animation: sd-context-feed 3.8s var(--ease) infinite; }
.how-card.reveal-in .sd-context-packet--two { animation-delay: 0.55s; }
.how-card.reveal-in .sd-context-packet--three { animation-delay: 1.1s; }
.how-card.reveal-in .sd-chip--small { animation: sd-chip-ready 3.8s var(--ease) infinite; }
@keyframes sd-line-flow { to { stroke-dashoffset: -12; } }
@keyframes sd-route-packet { 0%, 12% { opacity: 0; transform: translate(208px, 108px); } 20% { opacity: 1; } 58% { opacity: 1; transform: translate(478px, 80px); } 66%, 100% { opacity: 0; transform: translate(478px, 80px); } }
@keyframes sd-relay-packet { 0%, 10% { opacity: 0; transform: translate(76px, 83px); } 16% { opacity: 1; } 38% { opacity: 1; transform: translate(190px, 83px); } 48% { opacity: 0; transform: translate(214px, 83px); } 56% { opacity: 1; transform: translate(214px, 83px); } 88% { opacity: 1; transform: translate(512px, 83px); } 96%, 100% { opacity: 0; transform: translate(512px, 83px); } }
@keyframes sd-selected { 0%, 48%, 100% { transform: scale(1); } 58% { transform: scale(1.08); } 68% { transform: scale(1); } }
@keyframes sd-check-in { 0%, 55% { opacity: 0.25; transform: scale(0.72); } 66%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0.25; transform: scale(0.72); } }
@keyframes sd-context-feed { 0%, 12% { opacity: 0; transform: translateY(0); } 24% { opacity: 1; } 70% { opacity: 1; transform: translateY(26px); } 82%, 100% { opacity: 0; transform: translateY(26px); } }
@keyframes sd-chip-ready { 0%, 100% { fill: var(--accent-soft); } 42%, 56% { fill: #ffe3cc; } }
.feature-row { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(4.5rem, 8vw, 7rem); }
.feature-row__index { display: inline-flex; align-items: baseline; gap: 0.55rem; margin-bottom: 1.1rem; color: var(--accent); font: 600 0.82rem var(--mono); }
.feature-row__index i { color: var(--faint); font-style: normal; font-size: var(--fs-label); letter-spacing: 0.12em; text-transform: uppercase; }
.feature-row__copy h3 { max-width: 15ch; font-size: var(--fs-h3); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.feature-row__copy p { max-width: 42ch; margin-top: 0.85rem; color: var(--muted); font-size: 0.98rem; line-height: 1.6; text-wrap: pretty; }
.feature-row--flip .feature-row__copy { order: 2; }

/* editorial line-art panel — bold graphic, not a UI mock */
.feature-row__media { display: grid; place-items: center; padding: clamp(1.6rem, 3vw, 2.8rem); border: 1px solid var(--line); border-radius: var(--r-5); background: var(--surface); }

/* ---- line-art system (shared by all feature illustrations) ---- */
.feature-art { width: 100%; height: auto; display: block; overflow: visible; }
.fa-faint { fill: none; stroke: var(--line-3); stroke-width: 1.1; }
.fa-line { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; }
.fa-active { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.fa-flow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 4 10; animation: faflow 1s linear infinite; }
@keyframes faflow { to { stroke-dashoffset: -14; } }
.fa-node { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.fa-hub { fill: var(--surface); stroke: var(--line-3); stroke-width: 1.5; }
.fa-holder { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.3; }
.fa-holder--pick { stroke: var(--accent); stroke-width: 2; }
.fa-dot { fill: var(--accent); }
.fa-dot--soft { fill: var(--line-3); }
.fa-label { fill: var(--muted); font: 600 12px var(--mono); letter-spacing: 0.02em; }
.fa-label--ink { fill: var(--ink); }
.fa-label--accent { fill: var(--accent-ink); }
.fa-tag { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.3; }
.fa-tag--accent { fill: var(--accent-soft); stroke: var(--accent-line); }
.fa-pulse { animation: fapulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fapulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.fa-feed { fill: none; stroke: var(--accent-line); stroke-width: 1.6; stroke-dasharray: 3 7; animation: fafeed 1.2s linear infinite; }
@keyframes fafeed { to { stroke-dashoffset: -10; } }
.fa-agent { animation: fapulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.fa-agent:nth-of-type(2) { animation-delay: 0.5s; }
.fa-agent:nth-of-type(3) { animation-delay: 1s; }
.fa-agent:nth-of-type(4) { animation-delay: 1.5s; }

/* problem-lane extras: dimmed holders, the manual "YOU" hub, broken handoffs */
.fa-holder--off { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.2; }
.fa-broken { fill: none; stroke: var(--line-3); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 5 5; }
.fa-cut path { stroke: var(--faint); stroke-width: 1.4; stroke-linecap: round; }
.fa-you { fill: var(--surface); stroke: var(--accent); stroke-width: 1.7; }
.fa-you-ring { fill: none; stroke: var(--accent-line); stroke-width: 1.3; stroke-dasharray: 3 5; }
.fa-you-label { fill: var(--accent-ink); font: 700 12px var(--mono); letter-spacing: 0.08em; }

/* =========================================================================
   Animated feature illustrations — Routing (01) & Relay (02)
   One looping "story" per SVG. Every animation is designed so its 0% == 100%
   (seamless loop) and its BASE (un-animated) values == the resolved end state,
   so prefers-reduced-motion collapses cleanly to a meaningful still frame.
   ========================================================================= */

/* ---- 01 · Routing: task in → router activates → best agent picked, rest dim */
.feature-art--route { --rt: 6.8s; }

.rt-wire { fill: none; stroke: var(--line-3); stroke-width: 1.2; }

/* chosen route: solid line draws in on decision, dashed flow rides on top */
.rt-pick-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 0; animation: rt-draw var(--rt) var(--ease) infinite; }
.rt-pick-flow { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 3 11; opacity: 1; animation: rt-flow 1s linear infinite, rt-gate var(--rt) var(--ease) infinite; }
@keyframes rt-flow { to { stroke-dashoffset: -14; } }
@keyframes rt-draw {
  0%, 12% { stroke-dashoffset: 0; }
  22%, 52% { stroke-dashoffset: 260; }
  60%, 100% { stroke-dashoffset: 0; }
}
@keyframes rt-gate {
  0%, 12% { opacity: 1; }
  20%, 54% { opacity: 0; }
  62%, 100% { opacity: 1; }
}

/* entry stays lit; a packet slides task → router at the top of the loop */
.rt-entry { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.rt-in { fill: var(--accent); opacity: 0; animation: rt-in var(--rt) var(--ease) infinite; }
@keyframes rt-in {
  0%, 3% { opacity: 0; transform: translateX(0); }
  7% { opacity: 1; transform: translateX(0); }
  14% { opacity: 1; transform: translateX(66px); }
  17%, 100% { opacity: 0; transform: translateX(66px); }
}

/* packet emerges toward the chosen agent after the decision */
.rt-out { fill: var(--accent); opacity: 0; offset-path: path("M226 160 C 300 156, 332 100, 404 100");
  animation: rt-out var(--rt) var(--ease) infinite; }
@keyframes rt-out {
  0%, 52% { offset-distance: 0%; opacity: 0; }
  56% { offset-distance: 0%; opacity: 1; }
  67% { offset-distance: 100%; opacity: 1; }
  71%, 100% { offset-distance: 100%; opacity: 0; }
}

/* router: neutral square (no diamond); rim warms + radar ping while routing */
.rt-core { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.6; animation: rt-core var(--rt) var(--ease) infinite; }
@keyframes rt-core {
  0%, 12% { stroke: var(--line-2); }
  22%, 56% { stroke: var(--accent); }
  70%, 100% { stroke: var(--line-2); }
}
.rt-ping { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: rt-ping var(--rt) ease-out infinite; }
@keyframes rt-ping {
  0%, 13% { opacity: 0; transform: scale(0.8); }
  20% { opacity: 0.55; transform: scale(1); }
  40% { opacity: 0; transform: scale(1.75); }
  100% { opacity: 0; transform: scale(1.75); }
}

/* selector cursor sweeps the agent column while the router evaluates */
.rt-scan { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: 0;
  transform-box: fill-box; transform-origin: center; animation: rt-scan var(--rt) var(--ease) infinite; }
@keyframes rt-scan {
  0%, 20% { opacity: 0; transform: translateY(-60px); }
  25% { opacity: 1; transform: translateY(-60px); }
  46% { opacity: 1; transform: translateY(184px); }
  52% { opacity: 0; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

/* agents: non-picks brighten during the sweep, then dim once one is chosen */
.rt-agent { transform-box: fill-box; transform-origin: center; }
.rt-agent--dim { opacity: 0.38; animation: rt-dim var(--rt) var(--ease) infinite; }
@keyframes rt-dim {
  0%, 12% { opacity: 0.38; }
  24%, 48% { opacity: 1; }
  60%, 100% { opacity: 0.38; }
}
.rt-agent--pick { animation: rt-pop var(--rt) var(--ease) infinite; }
@keyframes rt-pop {
  0%, 12% { transform: scale(1.06); }
  24%, 50% { transform: scale(0.94); }
  60%, 100% { transform: scale(1.06); }
}
.rt-agent--pick .fa-holder { stroke: var(--accent); stroke-width: 2; animation: rt-ring var(--rt) var(--ease) infinite; }
@keyframes rt-ring {
  0%, 12% { stroke: var(--accent); stroke-width: 2; }
  24%, 50% { stroke: var(--line-2); stroke-width: 1.3; }
  60%, 100% { stroke: var(--accent); stroke-width: 2; }
}

/* ---- 02 · Relay: A works → limit hit → mission handed to B → done ---- */
.feature-art--relay { --rl: 7s; }

.rl-seg { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.rl-seg--bridge { stroke: var(--accent); stroke-dasharray: 3 6; opacity: 0.8; }

/* the mission "baton" carrying context, passed hand to hand */
.rl-baton rect { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
.rl-baton circle { fill: var(--accent-ink); }
.rl-baton1 { opacity: 0; animation: rl-baton1 var(--rl) var(--ease) infinite; }
.rl-baton2 { opacity: 0; animation: rl-baton2 var(--rl) var(--ease) infinite; }
@keyframes rl-baton1 {
  0%, 6% { opacity: 0; transform: translateX(0); }
  12% { opacity: 1; transform: translateX(0); }
  28% { opacity: 1; transform: translateX(50px); }
  40% { opacity: 1; transform: translateX(50px); }
  54% { opacity: 1; transform: translateX(120px); }
  58%, 100% { opacity: 0; transform: translateX(120px); }
}
@keyframes rl-baton2 {
  0%, 58% { opacity: 0; transform: translateX(0); }
  63% { opacity: 1; transform: translateX(0); }
  83% { opacity: 1; transform: translateX(90px); }
  87%, 100% { opacity: 0; transform: translateX(90px); }
}

/* agent A dims once it has handed the mission off */
.rl-a { transform-box: fill-box; transform-origin: center; opacity: 0.45; animation: rl-a var(--rl) var(--ease) infinite; }
@keyframes rl-a {
  0%, 10% { opacity: 0.45; }
  16%, 28% { opacity: 1; }
  40%, 100% { opacity: 0.45; }
}

/* agent B receives, rings active, and carries it home */
.rl-b .fa-holder { stroke: var(--accent); stroke-width: 2; animation: rl-bring var(--rl) var(--ease) infinite; }
@keyframes rl-bring {
  0%, 10% { stroke: var(--accent); stroke-width: 2; }
  18%, 30% { stroke: var(--line-2); stroke-width: 1.3; }
  40%, 100% { stroke: var(--accent); stroke-width: 2; }
}
.rl-b-ping { opacity: 0; transform-box: fill-box; transform-origin: center; animation: rl-bping var(--rl) ease-out infinite; }
@keyframes rl-bping {
  0%, 30% { opacity: 0; transform: scale(0.85); }
  40% { opacity: 0.5; transform: scale(1); }
  52% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* limit marker: always present, pulses at the moment of interruption */
.rl-limit { transform-box: fill-box; transform-origin: center; animation: rl-limit var(--rl) var(--ease) infinite; }
@keyframes rl-limit {
  0%, 20% { transform: scale(1); }
  26% { transform: scale(1.18); }
  34% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* result check draws once B finishes */
.rl-check { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 28; stroke-dashoffset: 0; animation: rl-check var(--rl) var(--ease) infinite; }
@keyframes rl-check {
  0%, 8% { stroke-dashoffset: 0; }
  16%, 78% { stroke-dashoffset: 28; }
  86%, 100% { stroke-dashoffset: 0; }
}
.rl-result { transform-box: fill-box; transform-origin: center; animation: rl-done var(--rl) var(--ease) infinite; }
@keyframes rl-done {
  0%, 8% { transform: scale(1); }
  80% { transform: scale(1); }
  88% { transform: scale(1.1); }
  94%, 100% { transform: scale(1); }
}

/* =========================================================================
   WAYS
   ========================================================================= */
.ways { border-top: 1px solid var(--line); }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.way-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: clamp(1.7rem, 3vw, 2.3rem); overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-5); background: var(--surface); }
.way-card--pass { border-color: var(--line-2); background: var(--surface); }
.way-card__tag { color: var(--muted); font-size: var(--fs-sm); font-weight: 500; }
.way-card h3 { max-width: 14ch; margin-top: 1.5rem; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.04; letter-spacing: -0.036em; font-weight: 600; text-wrap: balance; }
.way-card > p { max-width: 50ch; margin-top: 1rem; color: var(--muted); font-size: 0.96rem; line-height: 1.6; text-wrap: pretty; }
.way-card ul { margin: 1.6rem 0 2.2rem; display: grid; gap: 0.7rem; list-style: none; }
.way-card li { position: relative; padding-left: 1.6rem; color: var(--ink-2); font-size: 0.88rem; }
.way-card li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.subscription-preview, .plan-preview { --preview-gap: 0.5rem; display: grid; grid-template-columns: minmax(128px, 1fr) minmax(58px, 0.55fr) minmax(128px, 1fr); align-items: center; gap: var(--preview-gap); min-height: 160px; margin-top: auto; padding: 0.8rem; flex: none; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--surface); }
.subscription-preview__accounts { height: 116px; display: grid; align-content: center; gap: 4px; }
.subscription-preview__accounts > span { min-width: 0; height: 32px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 0.4rem; padding: 3px 6px 3px 4px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow-1); }
.subscription-preview__accounts img { width: 24px; height: 24px; padding: 3px; object-fit: contain; }
.subscription-preview__accounts strong { min-width: 0; overflow: hidden; color: var(--ink-2); font-size: 0.64rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.subscription-preview__accounts i { color: var(--green); font: 600 0.47rem var(--mono); font-style: normal; text-transform: uppercase; white-space: nowrap; }
.subscription-preview__merge { position: relative; z-index: 1; width: calc(100% + (var(--preview-gap) * 2)); height: 116px; margin-inline: calc(var(--preview-gap) * -1); overflow: visible; pointer-events: none; }
.subscription-preview__merge path { fill: none; stroke: var(--line-3); stroke-width: 1.2; stroke-linecap: round; }
.subscription-preview__hub, .plan-preview__pass { min-width: 0; height: 116px; display: grid; align-content: center; justify-items: center; gap: 0.2rem; padding: 0.72rem 0.45rem; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); box-shadow: none; text-align: center; }
.subscription-preview__hub img, .plan-preview__pass img { width: 46px; height: 46px; border-radius: 0; box-shadow: none; mix-blend-mode: multiply; }
.subscription-preview__hub strong, .plan-preview__pass strong { margin-top: 0.2rem; color: var(--ink-2); font-size: 0.69rem; font-weight: 670; white-space: nowrap; }
.subscription-preview__hub small, .plan-preview__pass small { color: var(--muted); font-size: 0.52rem; line-height: 1.25; }
.plan-preview__unlock { position: relative; height: 116px; display: grid; place-items: center; }
.plan-preview__unlock small { position: absolute; z-index: 2; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: 0.28rem; padding: 0.26rem 0.42rem; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); color: var(--accent-ink); font: 650 0.47rem var(--mono); letter-spacing: 0.035em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, calc(-100% - 7px)); }
.plan-preview__unlock small svg { width: 11px; height: 11px; flex: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.plan-preview__unlock i { position: absolute; z-index: 1; left: calc(var(--preview-gap) * -1); right: calc(var(--preview-gap) * -1); top: 50%; height: 1px; background: linear-gradient(90deg, var(--accent-line), var(--accent)); transform: translateY(-50%); }
.plan-preview__unlock i::after { content: ""; position: absolute; right: -1px; top: 50%; width: 7px; height: 8px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%); }
.plan-preview__roster { height: 116px; display: grid; align-content: center; justify-items: center; }
.plan-preview__roster > div { display: grid; grid-template-columns: repeat(3, 34px); gap: 5px; }
.plan-preview__roster span { width: 34px; height: 34px; display: grid; place-items: center; padding: 6px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); }
.plan-preview__roster img { width: 100%; height: 100%; object-fit: contain; }

.ways__note { margin-top: 1.4rem; color: var(--muted); text-align: center; font-size: var(--fs-sm); }

/* =========================================================================
   WORKSPACE — bento
   ========================================================================= */
.workspace { border-top: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bento-card { position: relative; display: flex; flex-direction: column; gap: 2rem; height: 390px; min-height: 390px; padding: 1.7rem; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-5); background: var(--surface); }
.bento-card > :last-child { margin-top: auto; }
.bento-card__copy { max-width: 460px; }
.bento-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.14; letter-spacing: -0.028em; font-weight: 600; }
.bento-card p { min-height: 2.75rem; margin-top: 0.7rem; color: var(--muted); font-size: 0.88rem; line-height: 1.55; text-wrap: pretty; }
/* unified capability rails — three cards share one copy/visual rhythm */
.bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) { display: grid; grid-template-rows: 126px minmax(0, 1fr); gap: 1.5rem; padding-bottom: 0; }
.bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) .bento-card__copy { height: 126px; }
.bento-card > :is(.market-viewport, .logo-viewport) { position: relative; min-width: 0; min-height: 0; margin: 0 -1.7rem; overflow: hidden; }
.bento-card > .logo-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.market-list { position: absolute; left: 50%; top: 40%; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; width: min(286px, calc(100% - 3.4rem)); transform: translate(-50%, -50%); }
.market-list > div { display: grid; justify-items: center; gap: 0.35rem; padding: 0.45rem 0.35rem; border: 0; border-radius: 14px; background: transparent; color: var(--muted); opacity: 0.68; text-align: center; transition: opacity 180ms ease, transform 180ms var(--ease), background 180ms ease; }
.market-list > div:hover { opacity: 1; background: var(--surface-2); transform: translateY(-2px); }
.market-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent-ink); }
.market-icon svg { width: 29px; height: 29px; }
.market-list p { min-height: 0; margin: 0; line-height: 1; }
.market-list strong { color: var(--ink-2); font-size: 0.72rem; font-weight: 620; }
.market-list small { display: none; }
.logo-grid { --logo-cell: 52px; position: absolute; left: 50%; top: 40%; display: grid; grid-template-columns: repeat(6, var(--logo-cell)); grid-auto-rows: var(--logo-cell); gap: 12px 6px; width: max-content; padding: 0; border: 0; background: transparent; transform: translate(-50%, -50%); }
.logo-grid span { width: var(--logo-cell); height: var(--logo-cell); min-width: 0; display: grid; place-items: center; padding: 10px; border: 0; border-radius: 14px; background: transparent; opacity: 0.68; transition: opacity 180ms ease, transform 180ms var(--ease), background 180ms ease; }
.logo-grid span:hover { opacity: 1; background: var(--surface-2); transform: translateY(-2px); }
.logo-grid img { width: 32px; height: 32px; max-width: 100%; max-height: 100%; object-fit: contain; }

/* =========================================================================
   CAPABILITIES
   ========================================================================= */
.capabilities { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; border-top: 1px solid var(--line); }
.capabilities__intro { position: sticky; top: 110px; }
.capabilities__note { display: flex; align-items: center; gap: 0.8rem; margin-top: 2rem; padding: 0.8rem; border: 1px solid var(--line-2); border-radius: var(--r-2); background: var(--surface); }
.capabilities__note img { width: 38px; height: 38px; border-radius: 10px; }
.capabilities__note p { display: grid; gap: 0.1rem; }
.capabilities__note strong { font-size: 0.78rem; }
.capabilities__note span { color: var(--muted); font-size: 0.66rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: var(--r-5); overflow: hidden; background: var(--surface); }
.feature-list article { min-height: 220px; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-list article:nth-child(2n) { border-right: 0; }
.feature-list article:nth-last-child(-n+2) { border-bottom: 0; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--accent-line); border-radius: var(--r-2); color: var(--accent-ink); background: var(--accent-soft); }
.feature-icon svg { width: 21px; height: 21px; }
.feature-list h3 { margin-top: 2.8rem; font-size: 1.05rem; letter-spacing: -0.02em; font-weight: 600; }
.feature-list p { margin-top: 0.4rem; color: var(--muted); font-size: 0.85rem; line-height: 1.55; text-wrap: pretty; }

/* =========================================================================
   VALUE — single dark panel, flat (no radial glow)
   ========================================================================= */
.value { border-top: 1px solid var(--line); }
.value__card { position: relative; overflow: hidden; padding: clamp(2.2rem, 5vw, 4.5rem); border-radius: var(--r-5); color: #f4f1e8; background: var(--ink-block); }
.value__card h2 { max-width: 900px; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.04em; font-weight: 580; text-wrap: balance; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(2.6rem, 6vw, 5rem); background: #33302a; border: 1px solid #33302a; border-radius: var(--r-3); overflow: hidden; }
.value-grid div { padding: 1.6rem 1.4rem; background: var(--ink-block); }
.value-grid strong { display: block; font-size: 1rem; }
.value-grid p { margin-top: 0.5rem; color: #a29c90; font-size: 0.84rem; line-height: 1.55; text-wrap: pretty; }

/* =========================================================================
   PRIVACY
   ========================================================================= */
.privacy { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; border-top: 1px solid var(--line); }
.privacy__points { display: grid; gap: 0.7rem; margin-top: 1.7rem; list-style: none; color: var(--ink-2); font-size: 0.9rem; }
.privacy__points li { position: relative; padding-left: 1.6rem; }
.privacy__points li::before { content: ""; position: absolute; left: 2px; top: 0.3em; width: 6px; height: 10px; border: solid var(--green); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.permission-card { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-4); background: var(--surface); box-shadow: var(--shadow-2); }
.permission-card__head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 0.82rem; font-weight: 650; }
.permission-card__head small { color: var(--muted); font: 0.61rem var(--mono); }
.permission-row { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.permission-row > span { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-2); font-size: 0.8rem; font-weight: 560; }
.permission-row i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); color: var(--ink-2); }
.permission-row i svg { width: 17px; height: 17px; }
.toggle { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--line-3); transition: background 200ms ease; }
.toggle::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); }
.toggle.is-on { background: var(--accent); }
.toggle.is-on::after { left: 17px; }
.permission-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.3rem; background: var(--surface); color: var(--muted); font-size: 0.72rem; }
.permission-card__foot span { display: flex; align-items: center; gap: 0.45rem; }
.permission-card__foot svg { width: 15px; height: 15px; color: var(--green); flex: none; }
.permission-card__foot strong { color: var(--ink-2); font-weight: 600; }

/* =========================================================================
   WAITLIST — flat (no orb, no muddy grid)
   ========================================================================= */
.waitlist { width: calc(100% - 28px); margin: 0 auto 14px; padding: clamp(5.5rem, 11vw, 9rem) 1.5rem; border-radius: var(--r-5); text-align: center; background: var(--surface); border: 1px solid var(--line); }
.waitlist__inner { max-width: 780px; margin: auto; }
.waitlist__inner > img { width: 60px; height: 60px; margin: 0 auto 1.5rem; border-radius: 16px; box-shadow: var(--shadow-2); }
.waitlist h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.046em; font-weight: 620; text-wrap: balance; }
.waitlist__inner > p:not(.wl-form__msg) { margin-top: 1.3rem; color: var(--muted); font-size: 1.02rem; }
.wl-form { display: flex; flex-wrap: wrap; max-width: 560px; margin: 2rem auto 0; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-1); }
.wl-form input { flex: 1; min-width: 0; padding: 0 1.1rem; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 0.9rem; }
.wl-form input::placeholder { color: var(--faint); }
.wl-form .btn { min-height: 46px; }
.wl-form.is-loading { opacity: 0.7; }
.wl-form.is-loading:has(.wl-form__turnstile.is-interactive) { opacity: 1; }
.wl-form .wl-form__website { position: absolute; left: -10000px; width: 1px; height: 1px; padding: 0; opacity: 0; }
.wl-form__turnstile { position: absolute; width: 1px; height: 1px; overflow: hidden; visibility: hidden; pointer-events: none; }
.wl-form__turnstile.is-interactive { position: relative; display: flex; flex: 1 0 100%; justify-content: center; width: 100%; min-height: 65px; height: auto; padding: 8px 0 2px; overflow: visible; visibility: visible; pointer-events: auto; }
.wl-form__turnstile iframe { max-width: 100%; }
.wl-form__msg { min-height: 1.4em; margin-top: 0.8rem; color: var(--muted); font-size: 0.78rem; }
.wl-form__msg.is-ok { color: var(--green); }
.wl-form__msg.is-err { color: #b7492f; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { width: var(--wrap); min-height: 120px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; color: var(--muted); }
.footer > p { font-size: 0.78rem; }
.footer nav { display: flex; gap: 1.2rem; font-size: 0.75rem; }
.footer a:hover { color: var(--ink); }
.footer small { font: 0.65rem var(--mono); }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal-init { opacity: 0; transform: translateY(20px); transition: opacity 680ms var(--ease), transform 680ms var(--ease); }
.reveal-init.reveal-in { opacity: 1; transform: none; }
.stage-init { opacity: 0; transform: translateY(24px); transition: opacity 820ms var(--ease), transform 820ms var(--ease); }
.stage-init.reveal-in { opacity: 1; transform: none; }
.line-init > span { display: block; transform: translateY(110%); transition: transform 820ms var(--ease); }
.line-init.reveal-in > span { transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .nav__links { gap: 0.05rem; }
  .feature-row { gap: 2.2rem; }
  .how-bento { grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.42fr); }
  .how-card--feature { grid-template-columns: minmax(160px, 0.64fr) minmax(240px, 1.36fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    height: 300px;
    min-height: 300px;
    border-radius: var(--r-4);
  }
  .bento-card > :last-child { margin-top: 0; }
  .bento-card p { min-height: 0; }
  .bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) { display: grid; grid-template-columns: 1fr; grid-template-rows: 92px minmax(0, 1fr); align-items: stretch; gap: 1.25rem; height: 300px; min-height: 300px; padding: 1.7rem 1.7rem 0; }
  .bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) .bento-card__copy { height: 92px; }
  .bento-card > :is(.market-viewport, .logo-viewport) { margin-inline: -1.7rem; }
  .market-list { width: min(318px, calc(100% - 3.4rem)); }
  .logo-grid { --logo-cell: 52px; grid-template-columns: repeat(12, var(--logo-cell)); grid-auto-rows: var(--logo-cell); gap: clamp(8px, 1.6vw, 18px); }
  .logo-grid span { padding: 10px; border-radius: 14px; }
  .logo-grid img { width: 32px; height: 32px; }
}

@media (max-width: 900px) {
  :root { --wrap: min(100% - 32px, 720px); }
  .nav { width: calc(100vw - 20px); }
  .nav__links { display: none; }
  .btn--nav { margin-left: auto; }
  .hero { padding-top: 9.5rem; }
  .how-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .how-card--mission { grid-row: auto; min-height: 710px; }
  .feature-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .feature-row--flip .feature-row__copy { order: 0; }
  .feature-row + .feature-row { margin-top: 4.5rem; }
  .lanes { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .way-card { min-height: 0; }
  .bento { grid-template-columns: 1fr; }
  .capabilities, .privacy { grid-template-columns: 1fr; }
  .capabilities__intro { position: static; }
  .value-grid { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr auto; padding: 2rem 0; }
  .footer > p { display: none; }
  .footer nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  :root { --wrap: calc(100% - 24px); }
  main > section:not(.hero):not(.waitlist) { padding-block: 5.2rem; }
  .nav { height: 56px; top: 10px; }
  .nav .brand-img { width: 28px; height: 28px; }
  .nav__brand { font-size: 0.9rem; }
  .btn--nav { min-height: 38px; padding: 0.5rem 0.85rem; font-size: 0.76rem; }
  .hero { width: calc(100% - 24px); padding-top: 8.4rem; padding-bottom: 4rem; }
  .hero__mark { width: 60px; height: 60px; margin-bottom: 1.6rem; }
  .hero__title { font-size: clamp(2.25rem, 10.5vw, 2.8rem); }
  .how-card { border-radius: var(--r-3); }
  .how-card--feature { grid-template-columns: 1fr; gap: 1.4rem; }
  .how-card--mission { min-height: 680px; padding: 1.4rem; }
  .how-card__visual { width: 100%; }
  .simple-diagram { max-height: 190px; }
  .mission-flow { min-height: 500px; margin-top: 1.35rem; }
  .mission-flow__standby { left: 72px; }
  .feature-row__media { border-radius: var(--r-4); }
  .way-card { padding: 1.4rem; }
  .subscription-preview, .plan-preview { --preview-gap: 0.25rem; grid-template-columns: minmax(102px, 1fr) 50px minmax(102px, 1fr); min-height: 156px; padding: 0.7rem; }
  .subscription-preview__accounts i { font-size: 0; }
  .subscription-preview__accounts i::after { content: "Yours"; font: 600 0.43rem var(--mono); }
  .subscription-preview__hub img, .plan-preview__pass img { width: 42px; height: 42px; }
  .plan-preview__unlock small { gap: 0.18rem; padding: 0.2rem 0.26rem; font-size: 0.38rem; letter-spacing: 0.02em; }
  .plan-preview__unlock small svg { width: 9px; height: 9px; }
  .plan-preview__roster > div { grid-template-columns: repeat(3, 32px); gap: 4px; }
  .plan-preview__roster span { width: 32px; height: 32px; padding: 5px; }
  .ways__note { max-width: 42ch; margin-inline: auto; }
  .bento-card {
    display: flex;
    align-items: stretch;
    gap: 1.7rem;
    padding: 1.4rem;
    border-radius: var(--r-3);
  }
  .bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) { display: grid; grid-template-rows: 112px minmax(0, 1fr); gap: 1rem; height: 330px; min-height: 330px; padding: 1.4rem 1.4rem 0; }
  .bento-card:is(.bento-card--market, .bento-card--remote, .bento-card--connect) .bento-card__copy { height: 112px; }
  .bento-card > :is(.market-viewport, .logo-viewport) { margin-inline: -1.4rem; }
  .market-list { width: min(286px, calc(100% - 2rem)); }
  .logo-grid { --logo-cell: 48px; grid-template-columns: repeat(6, var(--logo-cell)); grid-auto-rows: var(--logo-cell); gap: 10px 8px; }
  .logo-grid span { padding: 9px; border-radius: 13px; }
  .logo-grid img { width: 30px; height: 30px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .feature-list article:last-child { border-bottom: 0 !important; }
  .feature-list h3 { margin-top: 2.2rem; }
  .value__card { border-radius: var(--r-4); }
  .privacy { gap: 3.5rem; }
  .permission-card__foot { align-items: flex-start; flex-direction: column; }
  .waitlist { width: calc(100% - 12px); margin-bottom: 6px; padding-inline: 1rem; border-radius: var(--r-4); }
  .wl-form { flex-direction: column; gap: 5px; padding: 5px; border-radius: var(--r-3); }
  .wl-form input { min-height: 50px; text-align: center; }
  .wl-form .btn { width: 100%; border-radius: var(--r-2); }
  .footer { grid-template-columns: 1fr; justify-items: start; gap: 1.2rem; }
  .footer small { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal-init, .stage-init { opacity: 1 !important; transform: none !important; }
  .line-init > span { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav { backdrop-filter: none; background: #fff; }
}
