/* ============================================================
   Xirp — Powered by Spotify Portal
   Design system: Spotify Mix / Spotify Mix Mono, #f56031 on black
   ============================================================ */

@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_Regular-s.p.3mwl8vyrjwz-w.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_Medium-s.p.1nw5iw3hn1brx.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_SemiBold-s.p.1pgtu_ba99vl3.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_Bold-s.p.4402z-akbcgdw.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_ExtraBold-s.p.1mux-ifufna8s.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix'; src: url('../fonts/SpotifyMix_Black-s.p.2x_7art2sbu1m.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Spotify Mix Mono'; src: url('../fonts/SpotifyMixMono_Regular-s.p.2rve2cuxpnmrc.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #050505;
  --bg-2: #0b0b0d;
  --panel: #101013;
  --panel-2: #16161a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #a1a1aa;
  --dim: #6b6b74;
  --orange: #f56031;
  --orange-hot: #ff7a4d;
  --orange-soft: rgba(245, 96, 49, 0.14);
  --green: #58de54;
  --green-soft: rgba(88, 222, 84, 0.12);
  --red: #ff5f56;
  --blue: #8f86ff;
  --sans: 'Spotify Mix', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Spotify Mix Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 76rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection { background: var(--orange); color: #000; }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: #000;
  font-weight: 700;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.section { position: relative; padding: clamp(5rem, 12vh, 9rem) 0; }
.mono { font-family: var(--mono); }

/* ---------- typography ---------- */
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1rem;
}
.h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0.8rem 0 1rem;
}
.lede { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 40rem; margin: 0; }
.body { color: var(--muted); font-size: 1.06rem; max-width: 34rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}
.eyebrow__mark {
  width: 0.62rem;
  height: 0.62rem;
  flex: none;
  background:
    linear-gradient(var(--orange), var(--orange)) left top / 45% 45% no-repeat,
    linear-gradient(var(--orange), var(--orange)) right bottom / 45% 45% no-repeat;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-spring), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1.02rem; }
.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn--primary {
  background: var(--orange);
  color: #0d0503;
  box-shadow: 0 0 0 0 rgba(245, 96, 49, 0.4);
}
.btn--primary:hover {
  background: var(--orange-hot);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -6px rgba(245, 96, 49, 0.55);
}
.btn--primary:active { transform: translateY(0) scale(0.98); }
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-hot); transform: translateY(-2px); }
.btn--outline {
  color: var(--orange);
  border: 1px solid rgba(245, 96, 49, 0.5);
  flex-wrap: wrap;
}
.btn--outline:hover { background: var(--orange-soft); border-color: var(--orange); transform: translateY(-2px); }
.btn__note {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 0.6rem;
}

/* ---------- announcement bar ---------- */
.announce {
  position: relative;
  background: var(--orange);
  color: #14060a;
  transition: margin-top 0.35s var(--ease-out);
  overflow: hidden;
}
.announce__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.6rem;
  padding: 0.4rem 3rem 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
}
.announce__link:hover .announce__arrow { transform: translateX(4px); }
.announce__arrow { transition: transform 0.25s var(--ease-out); flex: none; }
.announce__pulse {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: #14060a;
  flex: none;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 6, 10, 0.45); }
  55% { box-shadow: 0 0 0 6px rgba(20, 6, 10, 0); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__progress {
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(0);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__logo { border-radius: 7px; }
.nav__links { display: flex; gap: 0.25rem; }
.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link.is-active { color: var(--orange-hot); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0.1rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}
.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
}
.nav__burger span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mmenu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(5, 5, 5, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
}
.mmenu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mmenu__link {
  padding: 0.9rem 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mmenu__link:hover { color: var(--orange-hot); }
.mmenu__cta { margin-top: 1.5rem; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 65% at 28% 45%, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 55%, rgba(5, 5, 5, 0) 100%),
    linear-gradient(to bottom, rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0) 70%, var(--bg) 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero__scrim {
    background:
      linear-gradient(to bottom, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.25) 70%, var(--bg) 100%);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero__title {
  margin: 1.2rem 0 1.3rem;
  font-size: clamp(2.7rem, 6.9vw, 6rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
@media (min-width: 761px) and (max-width: 1180px) {
  .hero__title { font-size: 3.9rem; }
}
.hero__line { display: block; }
.hero__line--accent {
  color: transparent;
  background: linear-gradient(100deg, var(--orange) 10%, var(--orange-hot) 45%, #ffb59b 90%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero__sub {
  max-width: 33rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  margin: 0 0 1.8rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* hero query bar */
.query {
  margin-top: 2.2rem;
  max-width: 37rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.query__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: rgba(10, 10, 12, 0.75);
  border: 1px solid var(--line);
  border-radius: 0.65rem 0.65rem 0 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text);
  min-height: 2.6rem;
}
.query__prompt { color: var(--orange); flex: none; }
.query__caret {
  width: 0.55rem; height: 1.05rem;
  background: var(--orange);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.query__a {
  margin: 0;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 0.65rem 0.65rem;
  background: rgba(10, 10, 12, 0.55);
  color: var(--green);
  min-height: 2.5rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.query__a:empty::before { content: '…'; color: var(--dim); }

.hero__scrollcue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--dim);
}
.hero__scrollcue-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; }
.hero__scrollcue-line {
  width: 1px; height: 2.6rem;
  background: linear-gradient(var(--orange), transparent);
  animation: cue 2.4s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- glimpse / tabs ---------- */
.glimpse { background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.glimpse__head { margin-bottom: 3rem; }

.tabs__list {
  position: relative;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  margin-bottom: 1.75rem;
}
.tabs__tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  padding: 0.65rem 1.3rem;
  border-radius: 0.75rem;
  text-align: left;
  transition: color 0.2s;
}
.tabs__tab-name { font-weight: 700; font-size: 0.98rem; }
.tabs__tab-desc { font-size: 0.76rem; color: var(--dim); }
.tabs__tab.is-active .tabs__tab-name { color: var(--orange-hot); }
.tabs__tab.is-active .tabs__tab-desc { color: var(--muted); }
.tabs__ink {
  position: absolute;
  top: 0.3rem; bottom: 0.3rem; left: 0;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  transition: transform 0.35s var(--ease-spring), width 0.35s var(--ease-spring);
  z-index: 0;
}
.tabs__panel { position: relative; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active { animation: panelIn 0.5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabs__note { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }

/* screenshot framing */
.shot {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.shot img { width: 100%; height: auto; }
.shot--wide:hover { transform: translateY(-4px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.95), 0 0 60px -30px rgba(245, 96, 49, 0.25); }
.shot--card { box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.9); }

/* ---------- problem narrative ---------- */
.story { background: var(--bg); }
.story__track { height: 560vh; position: relative; }
.story__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.story__fragments { position: absolute; inset: 0; pointer-events: none; }
.frag {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(16, 16, 19, 0.8);
  color: var(--dim);
  will-change: transform, opacity;
}
.frag--slack { color: #b79cff; border-color: rgba(183, 156, 255, 0.25); }
.frag--adr { color: var(--blue); border-color: rgba(143, 134, 255, 0.25); }
.frag--person { color: var(--orange-hot); border-color: rgba(245, 96, 49, 0.3); }
.frag--doc { color: var(--muted); }
.frag.is-core {
  color: #0d0503;
  background: var(--orange);
  border-color: var(--orange);
  font-weight: 700;
}
.story__beats {
  position: relative;
  z-index: 2;
  max-width: 62rem;
  padding: 0 1.5rem;
  text-align: center;
}
.beat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62rem, calc(100vw - 3rem));
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
}
.beat.is-current { opacity: 1; visibility: visible; }
.beat__kicker {
  color: var(--orange);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
}
.beat__text {
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 1.3rem;
}
.beat__text em {
  font-style: normal;
  color: var(--orange);
}
.beat[data-beat="1"] .beat__text em { color: var(--red); }
.beat__sub { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 44rem; margin: 0 auto; }
.story__rail {
  position: absolute;
  right: clamp(0.8rem, 3vw, 2.5rem);
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 3;
}
.story__rail-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--orange);
  border-radius: 2px;
}

/* ---------- versus ---------- */
.versus { background: var(--bg-2); }
.versus__head { text-align: center; margin-bottom: 2.5rem; }
.versus__head .lede { margin: 0 auto; }
.versus__head .eyebrow { justify-content: center; }
.versus__control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.versus__scenario {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
}
.switch {
  position: relative;
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
}
.switch__opt {
  position: relative;
  z-index: 1;
  padding: 0.6rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s;
}
.switch__opt.is-active { color: #0d0503; }
.switch__thumb {
  position: absolute;
  top: 0.3rem; bottom: 0.3rem; left: 0.3rem;
  width: 0;
  background: var(--orange);
  border-radius: 999px;
  transition: transform 0.4s var(--ease-spring), width 0.4s var(--ease-spring), background 0.4s;
}
.switch.is-knows .switch__thumb { background: var(--green); }

.versus__stage { max-width: 52rem; margin: 0 auto; }
.term {
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  overflow: hidden;
  background: #0a0a0c;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}
.term[hidden] { display: none; }
.term.is-active { animation: termIn 0.45s var(--ease-out); }
@keyframes termIn { from { opacity: 0; transform: translateY(12px) scale(0.99); } to { opacity: 1; transform: none; } }
.term__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.term__dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #2a2a30; }
.term__dot:first-child { background: rgba(255, 95, 86, 0.55); }
.term__dot:nth-child(2) { background: rgba(255, 189, 46, 0.5); }
.term__dot:nth-child(3) { background: rgba(88, 222, 84, 0.45); }
.term__title { margin-left: 0.5rem; font-size: 0.75rem; color: var(--dim); letter-spacing: 0.08em; }
.term__body { padding: 1.3rem 1.4rem 1.5rem; }
.term__line { margin: 0 0 0.7rem; font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.term__line code { color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 0.1rem 0.35rem; border-radius: 0.3rem; font-size: 0.82rem; }
.term__ok { color: var(--green); font-weight: 700; }
.term__look { color: var(--orange); font-weight: 700; }
.term__flags { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.term__flag {
  font-size: 0.86rem;
  padding: 0.6rem 0.85rem 0.6rem 2rem;
  border-radius: 0.55rem;
  position: relative;
  line-height: 1.5;
}
.term__flag::before {
  position: absolute;
  left: 0.8rem;
  top: 0.72rem;
  font-weight: 700;
}
.term__flag--bad { background: rgba(255, 95, 86, 0.08); color: #ffb4ae; border: 1px solid rgba(255, 95, 86, 0.22); }
.term__flag--bad::before { content: '✕'; color: var(--red); }
.term__flag--good { background: var(--green-soft); color: #b8f5b5; border: 1px solid rgba(88, 222, 84, 0.25); }
.term__flag--good::before { content: '✓'; color: var(--green); }
.term__verdict {
  margin: 1.3rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.term__verdict--bad { color: var(--red); }
.term__verdict--good { color: var(--green); }

/* term lines stagger-in */
.term.is-active .term__line, .term.is-active .term__flag, .term.is-active .term__verdict {
  animation: lineIn 0.5s var(--ease-out) backwards;
}
.term.is-active .term__line:nth-child(1) { animation-delay: 0.05s; }
.term.is-active .term__line:nth-child(2) { animation-delay: 0.12s; }
.term.is-active .term__line:nth-child(3) { animation-delay: 0.19s; }
.term.is-active .term__line:nth-child(4) { animation-delay: 0.26s; }
.term.is-active .term__flags .term__flag:nth-child(1) { animation-delay: 0.33s; }
.term.is-active .term__flags .term__flag:nth-child(2) { animation-delay: 0.4s; }
.term.is-active .term__flags .term__flag:nth-child(3) { animation-delay: 0.47s; }
.term.is-active .term__verdict { animation-delay: 0.55s; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* ---------- pillars ---------- */
.pillars__head { margin-bottom: clamp(3rem, 8vh, 6rem); }
.pillar {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 5.5rem) 0;
  border-top: 1px solid var(--line);
}
.pillar--flip .pillar__copy { order: 2; }
.pillar--flip .pillar__visual { order: 1; }
.pillar__facts {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pillar__facts li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.pillar__facts .mono {
  color: var(--orange);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 96, 49, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 0.4rem;
  flex: none;
}
.pillar__visual { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.pillar__shot { transition: transform 0.5s var(--ease-out); }
.pillar__visual:hover .pillar__shot { transform: translateY(-3px); }

/* --- agent: system map --- */
.sysmap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(245, 96, 49, 0.05), transparent 70%),
    var(--panel);
  padding: 1.2rem;
  min-height: 15rem;
}
.sysmap svg { width: 100%; height: auto; display: block; }
.sysmap__node { cursor: pointer; }
.sysmap__node circle.core { transition: r 0.25s var(--ease-out), fill 0.25s; }
.sysmap__node .halo { opacity: 0; transition: opacity 0.25s; }
.sysmap__node.is-hot .halo { opacity: 1; }
.sysmap__node .nlabel {
  font-family: var(--mono);
  font-size: 10px;
  fill: var(--dim);
  transition: fill 0.2s;
}
.sysmap__node.is-hot .nlabel { fill: var(--text); }
.sysmap__edge { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; transition: stroke 0.25s; }
.sysmap__edge.is-hot { stroke: var(--orange); stroke-width: 1.6; }
.sysmap__tip {
  position: absolute;
  z-index: 3;
  min-width: 12rem;
  max-width: 15rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(245, 96, 49, 0.4);
  background: rgba(10, 10, 12, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.sysmap__tip.is-on { opacity: 1; transform: none; }
.sysmap__tip strong { color: var(--text); display: block; font-size: 0.78rem; margin-bottom: 0.2rem; }
.sysmap__tip .k { color: var(--orange); }

/* --- workspace: handoff --- */
.handoff {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  padding: 1.5rem 1.2rem 1.1rem;
  overflow: hidden;
}
.handoff__lane { display: flex; justify-content: space-between; position: relative; z-index: 2; }
.handoff__actor {
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  position: relative;
  flex: none;
}
.handoff__actor--human { background: linear-gradient(135deg, #4a3aff, #8f86ff); color: #fff; }
.handoff__actor--human2 { background: linear-gradient(135deg, #b0481f, var(--orange)); color: #fff; }
.handoff__actor--agent {
  background: var(--orange-soft);
  border: 1px dashed rgba(245, 96, 49, 0.6);
  color: var(--orange);
  font-size: 1.2rem;
}
.handoff__role {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--dim);
  white-space: nowrap;
}
.handoff__actor:first-child .handoff__role { left: 0; transform: none; }
.handoff__actor:last-child .handoff__role { left: auto; right: 0; transform: none; }
.handoff__path { width: 100%; height: 3.4rem; margin-top: 1.6rem; display: block; }
.handoff__path path { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; stroke-dasharray: 4 5; }
.handoff__packet {
  position: absolute;
  z-index: 3;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--orange);
  color: #0d0503;
  font-size: 0.66rem;
  font-weight: 700;
  box-shadow: 0 4px 18px -4px rgba(245, 96, 49, 0.7);
  offset-path: none;
  will-change: transform;
}
.handoff__caption {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--dim);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

/* --- documentation: autodoc --- */
.autodoc {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  overflow: hidden;
}
.autodoc__chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.72rem;
}
.autodoc__live {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex: none;
}
.autodoc__page {
  padding: 1.1rem 1.2rem;
  min-height: 10.5rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}
.autodoc__page h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1rem;
}
.autodoc__page .ln { display: block; margin-bottom: 0.3rem; }
.autodoc__page .typing::after {
  content: '▍';
  color: var(--orange);
  animation: blink 0.9s steps(1) infinite;
}
.autodoc__page .hl { color: var(--orange-hot); }
.autodoc__feed {
  border-top: 1px solid var(--line);
  padding: 0.6rem 1rem;
  font-size: 0.68rem;
  color: var(--dim);
  display: flex;
  gap: 1.2rem;
  overflow: hidden;
  white-space: nowrap;
}
.autodoc__feed span { flex: none; }
.autodoc__feed .in { color: var(--green); }

.flywheel {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.flywheel i { color: var(--orange); font-style: normal; }
.flywheel__hot { color: var(--orange-hot); font-weight: 700; }
.flywheel__loop { font-size: 1rem; }

/* --- flexibility: model swap --- */
.modswap {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
  overflow: hidden;
}
.modswap__models {
  display: flex;
  gap: 0.25rem;
  padding: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.modswap__model {
  flex: 1;
  padding: 0.55rem 0.5rem;
  border-radius: 0.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dim);
  transition: background 0.2s, color 0.2s;
}
.modswap__model:hover { color: var(--text); }
.modswap__model.is-active { background: var(--orange-soft); color: var(--orange-hot); }
.modswap__stage { padding: 1.1rem 1.2rem 1.2rem; }
.modswap__row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.modswap__key {
  width: 3.4rem;
  flex: none;
  color: var(--dim);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.modswap__modelname {
  font-weight: 700;
  color: var(--text);
  transition: opacity 0.2s, transform 0.2s;
}
.modswap__modelname.is-out { opacity: 0; transform: translateY(-6px); }
.modswap__swapped {
  margin-left: auto;
  color: var(--green);
  font-size: 0.68rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.modswap__swapped.is-on { opacity: 1; }
.modswap__run {
  font-family: var(--mono);
  color: var(--dim);
  padding: 0.15rem 0.3rem;
  border-radius: 0.3rem;
  transition: color 0.2s;
}
.modswap__run.is-active { color: var(--orange-hot); text-decoration: underline; text-underline-offset: 3px; }
.modswap__runsep { color: var(--line-strong); }
.modswap__context { margin-top: 1.1rem; }
.modswap__context-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--dim);
  margin-bottom: 0.4rem;
}
.modswap__context-head span:last-child { color: var(--orange-hot); font-weight: 700; }
.modswap__context-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.modswap__context-fill {
  display: block;
  height: 100%;
  width: 87%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b0481f, var(--orange), var(--orange-hot));
  transition: width 1.2s var(--ease-out);
}
.modswap__context-note { margin: 0.55rem 0 0; font-size: 0.72rem; color: var(--dim); }

/* ---------- proof ---------- */
.proof { background: var(--bg-2); border-block: 1px solid var(--line); }
.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.proof__item { border-left: 2px solid var(--orange); padding-left: 1.3rem; }
.proof__big {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.proof__small { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- closing ---------- */
.closing {
  text-align: center;
  overflow: hidden;
  padding: clamp(7rem, 16vh, 11rem) 0;
}
.closing__glow {
  position: absolute;
  left: 50%; top: 100%;
  width: 70rem; height: 42rem;
  transform: translate(-50%, -45%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 96, 49, 0.22), rgba(245, 96, 49, 0.05) 55%, transparent 75%);
  pointer-events: none;
}
.closing__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.closing__inner .eyebrow { justify-content: center; }
.closing__title {
  margin: 1.2rem 0 1.3rem;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.closing__accent { color: var(--orange); }
.closing__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.4rem; }
.closing__webinar {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.closing__webinar:hover { border-color: var(--orange); color: var(--text); transform: translateY(-2px); }
.closing__webinar strong { color: var(--orange-hot); font-weight: 700; }
.closing__webinar-play {
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #0d0503;
  font-size: 0.55rem;
  flex: none;
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
}
.footer__logo img { border-radius: 8px; }
.footer__tag { color: var(--dim); margin: 0.8rem 0 0; font-size: 0.9rem; }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-start; }
.footer__head { color: var(--dim); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 0.5rem; }
.footer__col a, .footer__cookiebtn {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0;
  transition: color 0.2s;
}
.footer__col a:hover, .footer__cookiebtn:hover { color: var(--orange-hot); }
.footer__cookiebtn { text-align: left; }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  padding-bottom: 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}
.footer__base p { margin: 0; }
.footer__base-note { font-size: 0.72rem; letter-spacing: 0.06em; }

/* ---------- cookie modal ---------- */
.cookie { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; }
.cookie[hidden] { display: none; }
.cookie__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cookie__card {
  position: relative;
  width: min(26rem, 100%);
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 1.1rem;
  padding: 1.6rem;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.9);
  animation: termIn 0.3s var(--ease-out);
}
.cookie__title { margin: 0 0 0.6rem; font-size: 1.3rem; font-weight: 800; }
.cookie__text { color: var(--muted); font-size: 0.9rem; margin: 0 0 1.2rem; }
.cookie__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie__row small { color: var(--dim); }
.cookie__row input { width: 1.15rem; height: 1.15rem; accent-color: var(--orange); }
.cookie__actions { display: flex; justify-content: flex-end; gap: 0.6rem; margin-top: 1.2rem; }

/* ---------- reveal choreography ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.2s; }
.hero .reveal:nth-child(4) { transition-delay: 0.28s; }
.hero .reveal:nth-child(5) { transition-delay: 0.38s; }
.hero__line { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .pillar { grid-template-columns: 1fr; gap: 2rem; }
  .pillar--flip .pillar__copy { order: 1; }
  .pillar--flip .pillar__visual { order: 2; }
  .proof__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .story__rail { display: none; }
}
@media (max-width: 38rem) {
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .closing__ctas { flex-direction: column; width: 100%; }
  .closing__ctas .btn { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .tabs__list { display: flex; width: 100%; }
  .tabs__tab { flex: 1; }
  .versus__scenario { font-size: 0.75rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .story__track { height: auto; }
  .story__stage { position: static; height: auto; flex-direction: column; padding: 4rem 0; }
  .story__fragments { display: none; }
  .story__beats { display: flex; flex-direction: column; gap: 4rem; }
  .beat { position: static; opacity: 1; visibility: visible; transform: none; width: auto; }
  .story__rail { display: none; }
  .hero__scrollcue { display: none; }
}
