/* Self-hosted type — no external font requests */
@font-face {
  font-family: 'Manrope Variable';
  src: url('./fonts/manrope-latin-variable.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Ginga — redesign 2026
   Warm-black canvas, lime signal, editorial serif counterpoint.
   ========================================================================== */

:root {
  --bg: #0b0c0a;
  --bg-soft: #0f110d;
  --panel: #131610;
  --panel-2: #171b14;
  --text: #f2f3ec;
  --muted: #a7ada0;
  --quiet: #7e8478;
  --lime: #b9f36b;
  --lime-bright: #d5ff96;
  --lime-deep: #8cc63f;
  --olive: #4a6128;
  --cream: #f1efe4;
  --cream-2: #e7e4d6;
  --cream-ink: #12140e;
  --line: rgba(242, 243, 236, 0.1);
  --line-2: rgba(242, 243, 236, 0.18);
  --sans: 'Manrope Variable', Manrope, Inter, system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 20px;
  --radius-sm: 12px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% -5%, rgba(185, 243, 107, 0.07), transparent 65%),
    radial-gradient(900px 600px at 0% 30%, rgba(185, 243, 107, 0.035), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--lime);
  color: #101208;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

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

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 156px);
  scroll-margin-top: 86px;
}

.section--tight {
  padding-block: clamp(60px, 7vw, 96px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--lime);
  color: #101208;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(185, 243, 107, 0.8);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow .sep {
  color: var(--quiet);
  margin-inline: 2px;
}

.eyebrow--dark {
  color: rgba(18, 20, 14, 0.6);
}

.eyebrow--dark::before {
  background: var(--cream-ink);
  box-shadow: none;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.0;
}

h1 em,
h2 em,
.display em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--lime);
  display: inline-block;
  padding-block: 0.06em 0.04em;
  line-height: 0.94;
}

.lede {
  color: var(--muted);
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.62;
  max-width: 52ch;
}

.micro {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
}

.hairline {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

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

.btn {
  --btn-bg: var(--lime);
  --btn-color: #10130a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  background: var(--btn-bg);
  color: var(--btn-color);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s;
  box-shadow: 0 8px 30px -12px rgba(185, 243, 107, 0.55);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--lime-bright);
  box-shadow: 0 14px 40px -12px rgba(185, 243, 107, 0.65);
}

.btn:hover svg {
  transform: translate(3px, 3px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(242, 243, 236, 0.05);
  border-color: rgba(242, 243, 236, 0.35);
}

.btn--small {
  padding: 11px 18px;
  font-size: 13px;
}

.btn--dark {
  --btn-bg: #11140d;
  --btn-color: var(--cream);
  box-shadow: 0 12px 30px -14px rgba(10, 12, 7, 0.8);
}

.btn--dark:hover {
  background: #1c2115;
  box-shadow: 0 18px 40px -16px rgba(10, 12, 7, 0.9);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 12, 10, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header.is-solid {
  background: #0b0c0a;
  backdrop-filter: none;
  border-bottom-color: var(--line);
}

.site-header.is-light {
  background: rgba(241, 239, 228, 0.82);
  border-bottom-color: rgba(18, 20, 14, 0.14);
  color: var(--cream-ink);
}

.site-header.is-light .brand-mark {
  filter: none;
}

.site-header.is-light .brand-tag {
  color: rgba(18, 20, 14, 0.45);
  border-left-color: rgba(18, 20, 14, 0.2);
}

.site-header.is-light .nav a {
  color: rgba(18, 20, 14, 0.62);
}

.site-header.is-light .nav a:hover {
  color: var(--cream-ink);
}

.site-header.is-light .text-link {
  color: var(--cream-ink);
  border-color: rgba(18, 20, 14, 0.3);
}

.site-header.is-light .menu-toggle {
  border-color: rgba(18, 20, 14, 0.3);
}

.site-header.is-light .menu-toggle span,
.site-header.is-light .menu-toggle span::before,
.site-header.is-light .menu-toggle span::after {
  background: var(--cream-ink);
}

.site-header.is-light .mobile-nav {
  background: rgba(241, 239, 228, 0.98);
  border-bottom-color: rgba(18, 20, 14, 0.14);
}

.site-header.is-light .mobile-nav a {
  border-bottom-color: rgba(18, 20, 14, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
  width: min(1400px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 14px rgba(185, 243, 107, 0.35));
}

.brand-word {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid var(--line-2);
  line-height: 1.3;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-block: 8px;
  transition: color 0.2s;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 15px;
  height: 1px;
  background: var(--text);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 15px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

.menu-toggle[aria-expanded='true'] span {
  background: transparent;
}

.menu-toggle[aria-expanded='true'] span::before {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 8px var(--gutter) 26px;
  background: rgba(11, 12, 10, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 2px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: 18px;
  align-self: flex-start;
}

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

.hero {
  position: relative;
  padding-top: clamp(96px, 11vh, 120px);
  padding-bottom: clamp(32px, 5vw, 56px);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 243, 236, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 243, 236, 0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000 20%, transparent 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  flex: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.9vw, 5rem);
  font-weight: 500;
  margin-top: 22px;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: inline-block;
  font-size: 1.04em;
}

.hero-lede {
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.6;
  max-width: 46ch;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--quiet);
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--line);
  line-height: 1.4;
}

.hero-proof li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-proof b {
  color: var(--text);
  font-weight: 600;
}

.hero-proof svg {
  width: 14px;
  height: 14px;
  color: var(--lime);
  flex: none;
}

/* Stage / canvas */
.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 380px;
  z-index: 1;
}

#hero-canvas[data-failed='true'] {
  display: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

.hero-stage::after {
  content: '';
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 243, 107, 0.14), transparent 66%);
  filter: blur(30px);
  z-index: 0;
}

.stage-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(185, 243, 107, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.stage-ring:nth-of-type(2) {
  width: 56%;
  border-color: rgba(185, 243, 107, 0.16);
}

.orbit-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(14, 17, 12, 0.66);
  backdrop-filter: blur(12px);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text);
  box-shadow: 0 12px 40px -20px #000;
  animation: float-chip 9s ease-in-out infinite;
}

.orbit-chip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  flex: none;
}

.orbit-chip small {
  color: var(--quiet);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orbit-chip.is-muted {
  color: var(--muted);
  border-style: dashed;
}

.orbit-chip.is-muted .dot {
  background: transparent;
  border: 1px solid var(--quiet);
  box-shadow: none;
}

.chip-a {
  top: 9%;
  left: 4%;
  animation-delay: -1s;
}

.chip-b {
  top: 33%;
  right: -2%;
  animation-delay: -4s;
}

.chip-c {
  bottom: 20%;
  left: -2%;
  animation-delay: -6s;
}

.chip-d {
  bottom: 5%;
  right: 10%;
  animation-delay: -2.5s;
}

@keyframes float-chip {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}

.stage-caption {
  position: absolute;
  z-index: 3;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
  white-space: nowrap;
}

.stage-caption .bar {
  width: 34px;
  height: 1px;
  background: var(--line-2);
}

.stage-caption b {
  color: var(--lime);
  font-weight: 500;
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(22px, 3vw, 36px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--quiet);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.scroll-cue i {
  display: block;
  width: 18px;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  position: relative;
}

.scroll-cue i::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
  animation: scroll-dot 2s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 12px);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  border-block: 1px solid var(--line);
  padding-block: 16px;
  background: rgba(19, 22, 16, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee-label {
  flex: none;
  padding-left: var(--gutter);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--quiet);
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  padding-inline: 22px;
  white-space: nowrap;
}

.marquee-track span::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(185, 243, 107, 0.5);
  margin-left: 22px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Section heading
   -------------------------------------------------------------------------- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(44px, 5vw, 76px);
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  margin-top: 20px;
}

.section-head .head-side {
  padding-bottom: 6px;
}

.section-head .head-side p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 42ch;
}

.section-head .head-side p + p {
  margin-top: 14px;
  color: var(--quiet);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Continuidade / session card
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.split-copy {
  position: sticky;
  top: 118px;
}

.split-copy h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  margin-top: 20px;
}

.split-copy > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 24px;
  max-width: 46ch;
}

.feature-list {
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list .num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--lime);
  padding-top: 4px;
  letter-spacing: 0.08em;
}

.feature-list h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.feature-list p {
  color: var(--quiet);
  font-size: 13.5px;
  line-height: 1.6;
}

.note {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--quiet);
  max-width: 44ch;
}

.note svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 2px;
  color: var(--lime-deep);
}

.session-wrap {
  perspective: 1400px;
  padding-block: 8px;
}

.session-card {
  position: relative;
  background: linear-gradient(160deg, #191d15 0%, #10130e 60%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow:
    0 40px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 80px -50px rgba(185, 243, 107, 0.4);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
}

.session-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 243, 107, 0.55), transparent);
}

.session-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.win-dots {
  display: flex;
  gap: 5px;
}

.win-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 243, 236, 0.16);
}

.win-dots i:first-child {
  background: rgba(185, 243, 107, 0.6);
}

.session-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--lime);
  text-transform: uppercase;
}

.live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(185, 243, 107, 0.4);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 0 4px rgba(185, 243, 107, 0);
  }
}

.chat {
  padding: 20px 20px 6px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.msg {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 11px;
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  background: rgba(242, 243, 236, 0.06);
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.msg--user .avatar {
  background: rgba(242, 243, 236, 0.1);
  color: var(--text);
}

.msg--agent .avatar {
  background: rgba(185, 243, 107, 0.12);
  border-color: rgba(185, 243, 107, 0.3);
  color: var(--lime);
}

.msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.msg-meta b {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.model-badge {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid var(--line-2);
  color: var(--quiet);
  background: rgba(255, 255, 255, 0.02);
}

.msg p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.msg p strong {
  color: var(--text);
  font-weight: 600;
}

.code-line {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: #b7c8a4;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
}

.code-line .add {
  color: var(--lime);
}

.code-line .del {
  color: #d98a7a;
}

.switch-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-block: 2px;
}

.switch-divider::before,
.switch-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px);
}

.switch-divider b {
  color: var(--lime-deep);
  font-weight: 500;
}

.switch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 20px;
}

.model-chip {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--quiet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.model-chip.is-active {
  color: #0f1309;
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 500;
}

.model-chip::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.composer {
  margin: 16px 18px 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 12px 10px;
}

.composer .placeholder {
  font-size: 12px;
  color: var(--quiet);
  min-height: 30px;
}

.composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.composer-tools {
  display: flex;
  gap: 6px;
}

.tool-pill {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--quiet);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 3px 6px;
}

.send-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--lime);
  color: #101208;
  display: grid;
  place-items: center;
}

.send-btn svg {
  width: 12px;
  height: 12px;
}

.context-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--quiet);
  text-transform: uppercase;
}

.context-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(242, 243, 236, 0.1);
  overflow: hidden;
}

.context-bar i {
  display: block;
  height: 100%;
  width: 64%;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Product mockup
   -------------------------------------------------------------------------- */

.product-stage {
  perspective: 1800px;
  margin-top: clamp(32px, 4vw, 52px);
  position: relative;
}

.product-stage::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  background: radial-gradient(ellipse at center, rgba(185, 243, 107, 0.13), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.app {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(242, 243, 236, 0.16);
  border-radius: 16px;
  background: #0f120d;
  overflow: hidden;
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 0.7s var(--ease);
  font-size: 12px;
}

.app-top {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  padding-inline: 14px;
  border-bottom: 1px solid var(--line);
  background: #121510;
}

.app-tabs {
  display: flex;
  gap: 3px;
  align-items: center;
  overflow: hidden;
  flex: 1;
  mask-image: linear-gradient(90deg, #000 85%, transparent);
}

.app-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--quiet);
  padding: 6px 11px;
  border-radius: 6px;
  white-space: nowrap;
}

.app-tab.is-active {
  background: rgba(242, 243, 236, 0.07);
  color: var(--text);
}

.app-tab i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.app-mode {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--lime);
  border: 1px solid rgba(185, 243, 107, 0.28);
  background: rgba(185, 243, 107, 0.07);
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.app-body {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr) 216px;
  min-height: 470px;
}

.app-side {
  border-right: 1px solid var(--line);
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.012);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 7px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 11px;
}

.side-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  flex: none;
}

.side-item .badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--quiet);
}

.side-item.is-active {
  background: rgba(185, 243, 107, 0.08);
  color: var(--text);
}

.side-item.is-active svg {
  color: var(--lime);
  opacity: 1;
}

.side-group {
  margin-top: 12px;
  padding: 8px 7px 5px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:rgba(242, 243, 236, 0.3);
}

.side-proj {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  font-size: 11px;
  color: var(--quiet);
}

.side-proj .fold {
  width: 11px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.6;
  flex: none;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9.5px;
}

.crumbs b {
  color: var(--text);
  font-weight: 500;
}

.main-scroll {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.task-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(185, 243, 107, 0.035);
  padding: 11px 13px;
}

.task-card .micro {
  font-size: 8px;
}

.task-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 5px 0 8px;
}

.task-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock-disclosure {
  display: inline-flex;
  margin-top: 7px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.025em;
}

.chip {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--quiet);
}

.chip--lime {
  color: var(--lime);
  border-color: rgba(185, 243, 107, 0.3);
  background: rgba(185, 243, 107, 0.06);
}

.progress {
  height: 3px;
  background: rgba(242, 243, 236, 0.08);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  width: 68%;
  background: var(--lime);
  animation: progress-glow 3.5s ease-in-out infinite;
}

@keyframes progress-glow {
  50% {
    opacity: 0.65;
  }
}

.agent-step {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.agent-step:last-child {
  border-bottom: 0;
}

.agent-step .tick {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(185, 243, 107, 0.4);
  display: grid;
  place-items: center;
  font-size: 8px;
  color: var(--lime);
}

.agent-step.is-done .tick {
  background: rgba(185, 243, 107, 0.16);
}

.agent-step .who {
  color: var(--quiet);
  font-size: 8.5px;
}

.agent-step .running {
  color: var(--lime);
  font-size: 9px;
}

.app-right {
  border-left: 1px solid var(--line);
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.012);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-label {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 243, 236, 0.34);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ring-metric {
  display: flex;
  align-items: center;
  gap: 12px;
}

.donut {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(var(--lime) 0 64%, rgba(242, 243, 236, 0.09) 64% 100%);
  display: grid;
  place-items: center;
  position: relative;
}

.donut::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #10130e;
}

.donut b {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.ring-metric small {
  display: block;
  font-size: 10px;
  color: var(--quiet);
  line-height: 1.5;
}

.mem-item {
  display: flex;
  gap: 7px;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.mem-item:last-child {
  border-bottom: 0;
}

.mem-item .mark {
  color: var(--lime-deep);
  font-family: var(--mono);
  font-size: 9px;
  padding-top: 1px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
  color: var(--muted);
  padding: 5px 0;
}

.toggle {
  width: 24px;
  height: 13px;
  border-radius: 999px;
  background: rgba(185, 243, 107, 0.22);
  position: relative;
  flex: none;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
}

.toggle.is-off {
  background: rgba(242, 243, 236, 0.12);
}

.toggle.is-off::after {
  right: auto;
  left: 2px;
  background: var(--quiet);
}

.app-status {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: #121510;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--quiet);
  flex-wrap: wrap;
}

.app-status span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.app-status .ok {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.app-status .spacer {
  flex: 1;
}

.caption-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 34px;
}

.caption-grid > div {
  background: var(--bg);
  padding: 20px 22px;
}

.caption-grid h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.caption-grid p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--quiet);
}

/* --------------------------------------------------------------------------
   Browser section
   -------------------------------------------------------------------------- */

.browser-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.browser-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 18px;
}

.browser-copy > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 44ch;
}

.mcp-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.mcp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.mcp-list .tool-tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--lime-deep);
  border: 1px solid rgba(185, 243, 107, 0.24);
  border-radius: 4px;
  padding: 2px 6px;
}

.browser-frame {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0f120d;
  overflow: hidden;
  box-shadow: 0 50px 120px -50px #000;
  position: relative;
}

.browser-bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--line);
  background: #121510;
}

.url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 21px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding-inline: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--quiet);
  overflow: hidden;
  white-space: nowrap;
}

.url .lock {
  width: 6px;
  height: 7px;
  border: 1px solid var(--quiet);
  border-radius: 1px;
  flex: none;
}

.browser-view {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(185, 243, 107, 0.08), transparent 60%),
    #0c0f0a;
  overflow: hidden;
}

.mock-site {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--quiet);
  text-transform: uppercase;
}

.mock-nav b {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.mock-hero {
  border: 1px dashed rgba(242, 243, 236, 0.14);
  border-radius: 8px;
  padding: 22px 18px;
  background: rgba(242, 243, 236, 0.025);
}

.mock-hero .mock-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
}

.mock-hero p {
  font-size: 9px;
  color: var(--quiet);
  margin-top: 6px;
  max-width: 30ch;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  aspect-ratio: 1;
  padding: 11px;
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(242, 243, 236, 0.07), rgba(242, 243, 236, 0.015));
}

.mock-tile::before {
  content: '';
  position: absolute;
  left: 25%;
  top: 30%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  border: 1px solid rgba(242, 243, 236, 0.14);
  background: radial-gradient(circle at 34% 28%, rgba(242, 243, 236, 0.16), rgba(242, 243, 236, 0.03) 65%);
}

.mock-tile.is-target::before {
  border-color: rgba(185, 243, 107, 0.5);
  background: radial-gradient(circle at 34% 28%, rgba(185, 243, 107, 0.22), rgba(185, 243, 107, 0.03) 68%);
}

.mock-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mock-price {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--quiet);
}

.mock-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 243, 236, 0.28);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.mock-tile.is-target {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(185, 243, 107, 0.12);
}

.agent-cursor {
  position: absolute;
  z-index: 3;
  top: 58%;
  left: 44%;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  transition: top 0.9s var(--ease), left 0.9s var(--ease);
  pointer-events: none;
}

.agent-cursor svg {
  width: 14px;
  height: 14px;
  color: var(--lime);
  filter: drop-shadow(0 0 6px rgba(185, 243, 107, 0.6));
}

.cursor-tag {
  background: var(--lime);
  color: #0f1309;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 500;
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 6px;
  white-space: nowrap;
}

.browser-view.is-running .agent-cursor {
  animation: cursor-tour 9s var(--ease) infinite;
}

.browser-view.is-running .mock-tile:nth-child(2) {
  animation: target-pulse 9s ease-in-out infinite;
}

@keyframes cursor-tour {
  0% {
    top: 62%;
    left: 66%;
  }
  18% {
    top: 52%;
    left: 40%;
  }
  30% {
    top: 52%;
    left: 40%;
  }
  46% {
    top: 66%;
    left: 22%;
  }
  58% {
    top: 66%;
    left: 22%;
  }
  74% {
    top: 50%;
    left: 52%;
  }
  88%,
  100% {
    top: 62%;
    left: 66%;
  }
}

@keyframes target-pulse {
  0%,
  40%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 243, 107, 0);
    border-color: var(--line);
  }
  50%,
  70% {
    box-shadow: 0 0 0 3px rgba(185, 243, 107, 0.12);
    border-color: var(--lime);
  }
}

.browser-toast {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(12, 15, 10, 0.9);
  border: 1px solid rgba(185, 243, 107, 0.25);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 8px;
  color: var(--muted);
  box-shadow: 0 10px 30px -12px #000;
}

.browser-toast .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

.step-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.step-tags span {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--quiet);
  border: 1px solid var(--line);
  padding: 4px 7px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Routing
   -------------------------------------------------------------------------- */

.routing {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(23, 27, 20, 0.9), rgba(12, 15, 10, 0.9));
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
}

.routing::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 55%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(185, 243, 107, 0.12), transparent);
  pointer-events: none;
}

.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.route-head .auto {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.route-head .auto .switch {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--lime);
  position: relative;
  box-shadow: 0 0 18px -2px rgba(185, 243, 107, 0.6);
}

.route-head .auto .switch::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #11140c;
}

.route-decisor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(185, 243, 107, 0.22);
  background: rgba(185, 243, 107, 0.05);
  border-radius: 12px;
}

.decisor-id {
  display: flex;
  align-items: center;
  gap: 13px;
}

.decisor-orb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #e1ffb3, var(--lime) 55%, #6f9636);
  color: #0f1309;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 30px -6px rgba(185, 243, 107, 0.7);
  flex: none;
}

.decisor-id b {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
}

.decisor-id small {
  font-size: 10px;
  color: var(--quiet);
  display: block;
  margin-top: 1px;
}

.route-prompt {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  border-left: 1px solid var(--line-2);
  padding-left: 16px;
  max-width: 40%;
  line-height: 1.6;
}

.lanes {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.lane {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.lane:last-child {
  border-bottom: 0;
}

.lane::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: var(--fill, 30%);
  background: linear-gradient(90deg, var(--lime), transparent);
  opacity: 0.7;
}

.lane .complexity {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  display: flex;
  align-items: center;
  gap: 7px;
}

.lane .bars {
  display: inline-flex;
  gap: 2px;
  align-items: flex-end;
}

.lane .bars i {
  width: 2px;
  background: rgba(185, 243, 107, 0.55);
  border-radius: 1px;
}

.lane .bars i:nth-child(1) {
  height: 5px;
}
.lane .bars i:nth-child(2) {
  height: 8px;
}
.lane .bars i:nth-child(3) {
  height: 11px;
  opacity: 0.25;
}

.lane.is-high .bars i:nth-child(3) {
  opacity: 1;
}

.lane b {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.lane b span {
  color: var(--quiet);
  font-weight: 400;
  font-size: 11.5px;
  display: block;
  margin-top: 2px;
}

.lane .model {
  font-family: var(--mono);
  font-size: 9.5px;
  padding: 5px 9px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}

.lane .model.hot {
  border-color: rgba(185, 243, 107, 0.4);
  color: var(--lime);
  background: rgba(185, 243, 107, 0.07);
}

.route-foot {
  margin-top: 14px;
  font-size: 11px;
  color: var(--quiet);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.route-foot b {
  color: var(--muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Factory — 3D layers
   -------------------------------------------------------------------------- */

.factory {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}

.factory-copy h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 18px;
}

.factory-copy > p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  margin-top: 22px;
  max-width: 42ch;
}

.factory-rules {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.factory-rules li {
  display: flex;
  gap: 10px;
  font-size: 12.5px;
  color: var(--quiet);
  line-height: 1.55;
}

.factory-rules svg {
  width: 13px;
  height: 13px;
  color: var(--lime-deep);
  flex: none;
  margin-top: 2px;
}

.factory-stage {
  position: relative;
  height: clamp(540px, 43vw, 600px);
  perspective: 1500px;
  perspective-origin: 55% 40%;
}

.factory-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: min(330px, 71%);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(30, 36, 25, 0.98), rgba(16, 19, 13, 0.99));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  padding: 15px 16px;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease), border-color 0.4s;
  will-change: transform;
}

.factory-plane .plane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 9px;
}

.factory-plane .plane-head b {
  color: var(--lime);
  font-weight: 500;
}

.factory-plane h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.factory-plane > p {
  font-size: 10.5px;
  color: var(--quiet);
  margin-top: 4px;
  line-height: 1.55;
}

.plane-rows {
  margin-top: 11px;
  border-top: 1px solid var(--line);
}

.plane-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}

.plane-row:last-child {
  border-bottom: 0;
}

.plane-row .ok {
  color: var(--lime);
  font-size: 8.5px;
}

.plane-row .wait {
  color: var(--quiet);
  font-size: 8.5px;
}

.factory-plane.p1 {
  top: 2%;
  left: 0;
  transform: rotateY(17deg) rotateX(8deg) rotate(-4deg) translateZ(-40px);
  z-index: 1;
}

.factory-plane.p2 {
  top: 33%;
  left: 16%;
  transform: rotateY(13deg) rotateX(5deg) rotate(-1deg);
  z-index: 2;
}

.factory-plane.p3 {
  top: 64%;
  left: 32%;
  transform: rotateY(9deg) rotateX(2deg) rotate(2.5deg) translateZ(40px);
  z-index: 3;
  border-color: rgba(185, 243, 107, 0.32);
}

.factory-stage:hover .p1 {
  transform: rotateY(19deg) rotateX(9deg) rotate(-5deg) translate(-2%, -2%) translateZ(-40px);
}

.factory-stage:hover .p2 {
  transform: rotateY(12deg) rotateX(4deg) rotate(-1deg) translate(1%, -1%);
}

.factory-stage:hover .p3 {
  transform: rotateY(7deg) rotateX(1deg) rotate(3deg) translate(3%, 2%) translateZ(70px);
}

.worker-badge {
  position: absolute;
  right: 2%;
  top: 6%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(185, 243, 107, 0.3);
  background: rgba(15, 18, 12, 0.85);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: var(--lime);
  animation: float-chip 7s ease-in-out infinite;
  z-index: 5;
}

.worktree-tags {
  position: absolute;
  left: 0;
  bottom: 4%;
  display: flex;
  gap: 6px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--quiet);
  z-index: 5;
  flex-wrap: wrap;
  max-width: 46%;
}

.worktree-tags span {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 6px;
  background: rgba(12, 15, 10, 0.7);
}

/* --------------------------------------------------------------------------
   Bento
   -------------------------------------------------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, rgba(242, 243, 236, 0.035), rgba(242, 243, 236, 0.008));
  padding: 22px;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.5s var(--ease), background 0.35s;
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
}

.card::after {
  content: '';
  position: absolute;
  inset: auto -30% -70% -30%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(185, 243, 107, 0.14), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  border-color: rgba(185, 243, 107, 0.32);
  background: linear-gradient(165deg, rgba(185, 243, 107, 0.06), rgba(242, 243, 236, 0.01));
}

.card:hover::after {
  opacity: 1;
}

.card--wide {
  grid-column: span 2;
}

.card--half {
  grid-column: span 3;
}

.card--third {
  grid-column: span 2;
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--lime);
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.card-icon svg {
  width: 16px;
  height: 16px;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.card > p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--quiet);
  margin-top: 8px;
  max-width: 38ch;
}

.card-visual {
  margin-top: 18px;
}

.mini-folders {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.folder-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.folder-row.is-active {
  border-color: rgba(185, 243, 107, 0.3);
  color: var(--text);
}

.folder-row.is-new {
  border-style: dashed;
  color: var(--quiet);
  justify-content: center;
}

.folder-row .fold {
  width: 12px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.5;
}

.folder-row .count {
  margin-left: auto;
  color: var(--quiet);
}

.tree-svg {
  width: 100%;
  height: auto;
  color: var(--lime-deep);
}

.qr {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 2px;
  width: 96px;
  padding: 7px;
  background: #0a0c08;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}

.qr i {
  aspect-ratio: 1;
  background: rgba(242, 243, 236, 0.12);
  border-radius: 1px;
}

.qr i.on {
  background: var(--lime);
}

.card--qr {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-end;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.step {
  background: var(--bg);
  padding: clamp(26px, 3.4vw, 44px) clamp(18px, 2.4vw, 32px);
  position: relative;
  overflow: hidden;
}

.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 243, 236, 0.22);
  display: block;
  margin-bottom: 22px;
  transition: -webkit-text-stroke-color 0.4s, color 0.4s;
}

.step:hover .step-num {
  color: rgba(185, 243, 107, 0.08);
  -webkit-text-stroke-color: var(--lime);
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.step p {
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.65;
  max-width: 30ch;
}

.step-code {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--lime-deep);
  border: 1px solid rgba(185, 243, 107, 0.22);
  border-radius: 4px;
  padding: 4px 7px;
}

/* --------------------------------------------------------------------------
   Brasil — light contrast section
   -------------------------------------------------------------------------- */

.brasil {
  scroll-margin-top: 74px;
  position: relative;
  background: var(--cream);
  color: var(--cream-ink);
  padding-block: clamp(72px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}

.brasil::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image: radial-gradient(rgba(18, 20, 14, 0.16) 0.6px, transparent 0.6px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 70%);
}

.brasil-lines {
  position: absolute;
  right: -8%;
  top: -10%;
  width: 58%;
  height: 130%;
  z-index: -1;
  opacity: 0.5;
  color: rgba(18, 20, 14, 0.22);
  pointer-events: none;
}

.brasil-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.brasil h2 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  margin-top: 20px;
}

.brasil h2 em {
  color: var(--cream-ink);
  text-decoration: underline;
  text-decoration-color: var(--lime-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.brasil-copy {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(18, 20, 14, 0.72);
  max-width: 46ch;
}

.brasil-copy + .brasil-copy {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(18, 20, 14, 0.55);
}

.brasil-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: 28px;
  border-top: 1px solid rgba(18, 20, 14, 0.16);
}

.fact b {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--cream-ink);
}

.fact span {
  display: block;
  margin-top: 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(18, 20, 14, 0.55);
  line-height: 1.6;
}

.brasil-seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 7px 12px;
  border: 1px solid rgba(18, 20, 14, 0.25);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brasil-seal svg {
  width: 18px;
  height: 18px;
}

/* Colabore */
.collab {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  margin-top: clamp(44px, 5vw, 70px);
  padding-top: 30px;
  border-top: 1px solid rgba(18, 20, 14, 0.16);
  align-items: start;
}

.collab h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.04em;
  margin-top: 12px;
}

.collab p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(18, 20, 14, 0.65);
  margin-top: 12px;
  max-width: 40ch;
}

.collab-rows {
  display: flex;
  flex-direction: column;
}

.collab-rows li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(18, 20, 14, 0.14);
}

.collab-rows .n {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(18, 20, 14, 0.5);
  padding-top: 3px;
}

.collab-rows b {
  font-size: 13px;
  font-weight: 700;
  display: block;
  letter-spacing: -0.01em;
}

.collab-rows span {
  font-size: 12px;
  color: rgba(18, 20, 14, 0.62);
  display: block;
  margin-top: 2px;
  line-height: 1.5;
}

.collab-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid rgba(18, 20, 14, 0.4);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease);
}

.collab-cta:hover {
  gap: 13px;
}

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

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-top: 18px;
}

.faq-intro p {
  color: var(--quiet);
  font-size: 13px;
  margin-top: 18px;
  max-width: 30ch;
  line-height: 1.7;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.25s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--lime);
}

.faq summary .plus {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.3s, background 0.3s;
}

.faq summary .plus::before,
.faq summary .plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.faq summary .plus::before {
  width: 9px;
  height: 1px;
}

.faq summary .plus::after {
  width: 1px;
  height: 9px;
}

.faq details[open] summary {
  color: var(--lime);
}

.faq details[open] summary .plus {
  transform: rotate(90deg);
  border-color: rgba(185, 243, 107, 0.4);
  background: rgba(185, 243, 107, 0.08);
}

.faq details[open] summary .plus::after {
  opacity: 0;
}

.faq .answer {
  padding: 0 40px 22px 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
  max-width: 66ch;
  animation: answer-in 0.4s var(--ease);
}

@keyframes answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

/* --------------------------------------------------------------------------
   Download
   -------------------------------------------------------------------------- */

.download {
  scroll-margin-top: 90px;
  padding-block: clamp(64px, 8vw, 110px);
}

.download-card {
  position: relative;
  background: linear-gradient(120deg, #c6ff7a 0%, var(--lime) 48%, #a9e55a 100%);
  color: #11140b;
  border-radius: clamp(18px, 2.4vw, 30px);
  padding: clamp(30px, 5vw, 68px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 50px 120px -50px rgba(185, 243, 107, 0.4);
}

.download-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.download-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}

.download .eyebrow {
  color: rgba(17, 20, 11, 0.6);
}

.download .eyebrow::before {
  background: #11140b;
  box-shadow: none;
}

.download h2 {
  font-size: clamp(2.3rem, 5.2vw, 4.5rem);
  margin-top: 20px;
}

.download h2 em {
  color: #11140b;
}

.download .dl-copy {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(17, 20, 11, 0.72);
  max-width: 46ch;
  margin-top: 22px;
}

.download-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.dl-meta {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(17, 20, 11, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-meta .ok {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #11140b;
}

.fine {
  font-size: 11px;
  color: rgba(17, 20, 11, 0.55);
  margin-top: 16px;
  line-height: 1.6;
}

.dl-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  perspective: 800px;
}

.dl-mark svg {
  width: min(210px, 48%);
  filter: drop-shadow(0 26px 30px rgba(17, 20, 11, 0.28));
  animation: mark-sway 9s ease-in-out infinite;
  transform-style: preserve-3d;
  color: #11140b;
}

.dl-mark::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 20, 11, 0.16);
  border-radius: 50%;
}

.dl-mark::after {
  content: '';
  position: absolute;
  width: 108%;
  aspect-ratio: 1;
  border: 1px solid rgba(17, 20, 11, 0.1);
  border-radius: 50%;
}

@keyframes mark-sway {
  0%,
  100% {
    transform: rotateY(-14deg) rotateZ(-4deg) translateY(0);
  }
  50% {
    transform: rotateY(14deg) rotateZ(4deg) translateY(-10px);
  }
}

.dl-tag {
  position: absolute;
  bottom: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 20, 11, 0.55);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 54px 32px;
  background: #090a08;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: 32px;
}

.footer-brand p {
  color: var(--quiet);
  font-size: 12.5px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 243, 236, 0.58);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a {
  font-size: 12.5px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 243, 236, 0.52);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--quiet);
  transition: color 0.2s;
}

.to-top:hover {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

html.js [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

html.js [data-reveal='left'] {
  transform: translateX(-26px);
}

html.js [data-reveal='right'] {
  transform: translateX(26px);
}

html.js [data-reveal='left'].is-inview,
html.js [data-reveal='right'].is-inview {
  transform: none;
}

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

@media (max-width: 1280px) {
  .section-index {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 16px;
  }
  .nav a {
    font-size: 12px;
  }
  .brand-tag {
    display: none;
  }
  .header-actions .ghost-link {
    display: none;
  }
  .app-body {
    grid-template-columns: 176px minmax(0, 1fr) 196px;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header.is-open .mobile-nav {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split-copy {
    position: static;
  }
  .split-copy > p {
    max-width: 60ch;
  }
  .factory {
    grid-template-columns: 1fr;
  }
  .factory-stage {
    width: 100%;
    height: clamp(540px, 62vw, 660px);
    margin-top: 10px;
  }
  .factory-plane {
    width: min(400px, 46%);
  }
  .factory-plane.p1 {
    top: 2%;
    left: 2%;
  }
  .factory-plane.p2 {
    top: 33%;
    left: 24%;
  }
  .factory-plane.p3 {
    top: 64%;
    left: 46%;
  }
  .browser-split {
    grid-template-columns: 1fr;
  }
  .browser-copy > p {
    max-width: 60ch;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
  .section-head .head-side p {
    max-width: 60ch;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .faq-intro p {
    max-width: 50ch;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    padding-top: 108px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .hero-copy {
    min-width: 0;
  }
  .hero-stage {
    order: 2;
    width: min(560px, 100%);
    margin-inline: auto;
    aspect-ratio: 1.05;
  }
  .hero h1 {
    font-size: clamp(2.7rem, 8.6vw, 4.6rem);
  }
  .hero-proof {
    margin-top: 30px;
  }
  .hero-proof li {
    padding-right: 14px;
    margin-right: 14px;
    font-size: 11px;
  }
  .hero-foot {
    margin-top: 24px;
  }
  .marquee-label {
    display: none;
  }
  .app-body {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .app-right {
    display: none;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--wide,
  .card--half,
  .card--third {
    grid-column: span 1;
  }
  .caption-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .brasil-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .brasil-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .collab {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .dl-mark {
    min-height: 160px;
    order: -1;
  }
  .dl-mark svg {
    width: 128px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .site-header .btn--small {
    display: none;
  }
  .header-inner {
    height: 64px;
  }
  .hero {
    padding-top: 96px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    letter-spacing: -0.05em;
  }
  .hero-lede {
    font-size: 15px;
    margin-top: 20px;
  }
  .hero-actions {
    gap: 14px;
    margin-top: 26px;
  }
  .hero-actions .btn {
    flex: 1;
  }
  .hero-proof {
    display: grid;
    gap: 8px;
    margin-top: 26px;
  }
  .hero-proof li {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    font-size: 11.5px;
  }
  .hero-foot {
    font-size: 8.5px;
    gap: 12px;
  }
  .hero-foot .foot-note {
    display: none;
  }
  .hero-stage {
    aspect-ratio: 1.1;
    min-height: 320px;
  }
  .chip-a {
    top: 6%;
    left: 0;
  }
  .chip-b {
    top: 30%;
    right: 0;
  }
  .chip-c {
    bottom: 24%;
    left: 0;
  }
  .chip-d {
    display: none;
  }
  .orbit-chip {
    font-size: 9px;
    padding: 6px 10px;
  }
  .orbit-chip small {
    display: none;
  }
  .stage-caption {
    font-size: 8px;
    letter-spacing: 0.1em;
    bottom: 0;
  }
  .section-head h2,
  .split-copy h2,
  .browser-copy h2,
  .factory-copy h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.7rem);
  }
  .app-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .app-side {
    display: none;
  }
  .app-tabs .app-tab:not(.is-active) {
    display: none;
  }
  .app-main {
    min-height: 380px;
  }
  .main-scroll {
    padding: 14px;
    gap: 12px;
  }
  .app-status {
    gap: 10px;
    font-size: 7.5px;
  }
  .main-head {
    flex-wrap: wrap;
    padding: 10px 12px;
  }
  .main-head .chip:last-child {
    display: none;
  }
  .crumbs {
    font-size: 8.5px;
    gap: 5px;
  }
  .main-head .chip {
    font-size: 7.5px;
  }
  .eyebrow-extra,
  .eyebrow .sep {
    display: none;
  }
  .caption-grid > div {
    padding: 16px;
  }
  .routing {
    padding: 16px;
  }
  .route-prompt {
    display: none;
  }
  .route-decisor {
    margin-top: 16px;
  }
  .lane {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 14px 0;
  }
  .lane .complexity {
    grid-column: span 2;
  }
  .lane .model {
    font-size: 8.5px;
  }
  .factory-plane {
    width: 84%;
  }
  .factory-plane.p1 {
    top: 1%;
    left: 0;
  }
  .factory-plane.p2 {
    top: 31%;
    left: 9%;
  }
  .factory-plane.p3 {
    top: 61%;
    left: 16%;
  }
  .factory-stage {
    height: 560px;
  }
  .factory-stage:hover .p1,
  .factory-stage:hover .p2,
  .factory-stage:hover .p3 {
    transform: rotateY(12deg) rotateX(4deg) rotate(-1deg) translateZ(0);
  }
  .factory-stage:hover .p3 {
    transform: rotateY(9deg) rotateX(2deg) rotate(2.5deg) translateZ(40px);
  }
  .worker-badge {
    top: 0;
    right: 0;
  }
  .worktree-tags {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .steps {
    background: none;
  }
  .step {
    border-bottom: 1px solid var(--line);
  }
  .brasil-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq summary {
    font-size: 14px;
  }
  .download-card {
    padding: 26px 22px;
  }
  .download h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .download-actions {
    gap: 12px;
  }
  .download-actions .btn {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
  html.js [data-reveal='left'],
  html.js [data-reveal='right'] {
    transform: translateY(24px);
  }
  .session-card {
    transform: none !important;
  }
  .product-stage .app {
    transform: none;
  }
  .agent-cursor {
    display: none;
  }
  .browser-view {
    aspect-ratio: 5 / 4;
  }
}

@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;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}
