/* Rightside v2 — design system recreated from lightfield.app research
   (research/2026-08-06-lightfield-design-system.md). Single black ink at
   fixed opacities, weight 400 everywhere, DM Mono micro-labels. */

:root {
  /* Neutrals tinted per v1 (rightside.host): Apple-gray #f5f5f7 family. */
  --bg: #f5f5f7;
  --grad-a: #c6cad4;
  --grad-b: #e9ebef;
  --ink-85: rgba(0, 0, 0, 0.85);
  --ink-60: rgba(0, 0, 0, 0.6);
  --ink-50: rgba(0, 0, 0, 0.56);
  --ink-25: rgba(0, 0, 0, 0.25);
  --ink-12: rgba(0, 0, 0, 0.12);
  --ink-08: rgba(0, 0, 0, 0.08);
  --ink-04: rgba(0, 0, 0, 0.04);
  --ink-02: rgba(0, 0, 0, 0.02);
  --surface: rgba(255, 255, 255, 0.8);
  --surface-90: rgba(255, 255, 255, 0.9);
  /* Accent family from v1 (rightside.host): blue #0071e3 / #2997ff,
     state green #30d158 (fills) with #1c7c33 for text on light. */
  --accent: #0071e3;
  --accent-hi: #2997ff;
  --accent-deep: #005bb5;
  --accent-ink: #ffffff;
  --green: #1c7c33;
  --green-dot: #30d158;
  --fail: oklch(54% 0.17 25);
  --sans: "Instrument Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink-60);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fixed gradient backdrop — content scrolls over it; sections after the
   hero paint their own solid background on top. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--grad-a), var(--grad-b));
}

.page { position: relative; z-index: 1; }

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

a { color: var(--ink-85); text-decoration: none; }
a:hover { color: rgba(0, 0, 0, 1); }

h1, h2, h3 { font-weight: 400; }

.h-lg {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-85);
}
.h-lg .muted, .h-muted { color: var(--ink-50); }
.h-md {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-85);
}

/* DM Mono micro-label chip */
.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
  border: 1px solid var(--ink-12);
  border-radius: 4px;
  padding: 5px 6px;
  background: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-85);
  border-radius: 6px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s ease;
}
.btn .arrow { font-size: 12px; transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.btn-ghost { background: var(--ink-04); }
.btn-ghost:hover { background: var(--ink-08); }
.btn-white { background: var(--surface); box-shadow: 0 0 0 1px var(--ink-04); }
.btn-white:hover { background: var(--surface-90); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
a.btn-primary:hover, .btn-primary:hover {
  background: #fff;
  color: var(--ink-85);
  box-shadow: 0 0 0 1px var(--ink-12);
}
.btn-dark { background: #111214; color: #fff; }
a.btn-dark:hover, .btn-dark:hover {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--ink-12);
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 16px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  padding: 6px 6px 6px 14px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: var(--surface-90);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--ink-04);
  backdrop-filter: blur(12px);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  color: var(--ink-85);
  margin-right: 14px;
  letter-spacing: -0.01em;
}
.nav .brand svg { width: 16px; height: 16px; display: block; }
.nav .links { display: flex; align-items: center; gap: 2px; }
.nav .links a {
  font-size: 13px;
  color: var(--ink-85);
  padding: 6px 10px;
  border-radius: 6px;
}
.nav .links a:hover { background: var(--ink-04); }
.nav .cta { margin-left: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 0;
  overflow: clip;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  align-items: center;
  gap: 40px;
}
.hero-copy .mark { width: 32px; height: 32px; margin-bottom: 22px; }
.hero h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink-85);
  margin-bottom: 24px;
  max-width: 420px;
}
.hero-ctas { display: flex; gap: 10px; }

.hero-badge {
  position: absolute;
  left: 48px;
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-60);
  background: var(--surface);
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 0 0 1px var(--ink-04);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dot); }
.hero-badge strong { color: var(--ink-85); font-weight: 400; }
.hero-badge .chev { color: var(--ink-25); }

/* Tilted product-UI collage */
.hero-art {
  position: relative;
  height: 640px;
  perspective: 2000px;
  min-width: 0;
}
.hero-art .plane {
  position: absolute;
  inset: -40px -180px -40px 0;
  transform: rotateX(14deg) rotateZ(-6deg) rotateY(-8deg);
  transform-style: preserve-3d;
}
.ui-card {
  position: absolute;
  background: var(--surface-90);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 32px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
  color: var(--ink-60);
}
.ui-prompt {
  top: 0;
  left: 12%;
  width: 62%;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-85);
  background: rgba(255, 255, 255, 0.75);
}
.ui-agent { top: 108px; left: 4%; width: 70%; padding: 18px; }
.ui-agent .who {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-85);
  margin-bottom: 10px;
}
.ui-agent .who svg { width: 12px; height: 12px; }
.ui-agent .who .orb { margin-left: 2px; }
.orb { display: inline-flex; }
.orbcell { display: inline-flex; align-items: center; gap: 6px; }
.ui-agent > p { font-size: 14px; color: var(--ink-85); margin-bottom: 14px; }
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ink-04);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 8px;
  width: max-content;
  max-width: 100%;
}
.step + .step { margin-left: 12px; }
.step + .step + .step { margin-left: 24px; }
.step .k { color: var(--ink-85); }
.step .ico { color: var(--ink-50); font-size: 11px; }

.ui-side { top: 300px; left: 30%; width: 30%; padding: 14px; font-size: 12.5px; }
.ui-side .sec {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-50);
  margin: 12px 0 6px;
}
.ui-side .sec:first-child { margin-top: 0; }
.ui-side .row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 6px;
  color: var(--ink-85);
}
.ui-side .row:hover { background: var(--ink-02); }
.ui-side .row .live {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ui-side .row .live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-dot);
}
.ui-side .row .glyph { color: var(--ink-50); font-size: 11px; }
.ui-side .badge9 {
  margin-left: auto;
  background: var(--ink-04);
  border-radius: 10px;
  font-size: 10px;
  padding: 1px 6px;
  color: var(--ink-50);
}

.ui-overview { top: 210px; left: 66%; width: 44%; padding: 20px; }
.ui-overview .tabs { display: flex; gap: 4px; margin-bottom: 18px; }
.ui-overview .tab {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 20px;
  color: var(--ink-50);
}
.ui-overview .tab.on {
  background: #fff;
  color: var(--ink-85);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--ink-04);
}
.ui-overview .proj {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.ui-overview .proj .pic {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.ui-overview .proj .nm { font-size: 17px; color: var(--ink-85); letter-spacing: -0.01em; }
.ui-overview .kv { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-50); margin: 12px 0 4px; }
.ui-overview p.sum { font-size: 12.5px; line-height: 1.55; color: var(--ink-60); }
.ui-overview .url {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-85);
  background: var(--ink-02);
  border: 1px solid var(--ink-04);
  border-radius: 6px;
  padding: 7px 9px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-overview .rel { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--ink-04); color: var(--ink-85); }
.ui-overview .rel:last-child { border-bottom: none; }
.ui-overview .rel .tag { margin-left: auto; font-size: 10.5px; color: var(--green); }
.ui-overview .rel .tag.dim { color: var(--ink-50); }

/* ---------- Statement ---------- */
.statement { position: relative; z-index: 1; background: var(--bg); padding: 192px 0 96px; }
.two-col { display: grid; grid-template-columns: 35% 1fr; align-items: start; }
.statement .body { max-width: 620px; }
.statement p { font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; margin-bottom: 26px; color: var(--ink-50); }
.statement p strong { font-weight: 400; color: var(--ink-85); }
.statement .watch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 8px;
}
.statement .watch .play {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink-85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  padding-left: 2px;
}

/* Full-bleed media block */
.media-block { background: var(--bg); padding: 48px 0 0; }
.media-frame {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  position: relative;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(122, 167, 238, 0.35), transparent 60%),
    radial-gradient(80% 80% at 20% 90%, rgba(199, 201, 209, 0.8), transparent 70%),
    linear-gradient(160deg, #23252b, #3a3f4a 55%, #14151a);
}
.img-note {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.media-frame .playbtn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-left: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Section scaffolding ---------- */
.section { background: var(--bg); padding-top: 96px; }
.section .rail { position: relative; }
.section .rail .label { margin-bottom: 28px; }
.section .rail h2 { margin-top: 20px; max-width: 300px; }

/* ---------- Foundations ---------- */
.foundations { padding-top: 192px; min-height: 800px; }
.foundations .head h2 { max-width: 480px; }
.foundations .grid { display: grid; grid-template-columns: 35% 1fr; margin-top: 64px; }
.f-list { max-width: 360px; }
.f-item { border-top: 1px solid var(--ink-12); padding: 22px 0 26px; }
.f-item h3 { font-size: 15px; color: var(--ink-85); margin-bottom: 10px; }
.f-item p { font-size: 15px; color: var(--ink-50); }
.f-art { display: flex; align-items: center; justify-content: center; padding-left: 40px; }
.f-art svg { width: 100%; max-width: 860px; height: auto; display: block; }

/* ---------- Features ---------- */
.features .h-lg { margin-top: 0; }
.features .layout { display: grid; grid-template-columns: 35% 1fr 60px; gap: 0; margin-top: 96px; }
/* One tall scroll segment per feature: only the active text is in view,
   sticky mid-viewport while its segment passes. */
.feat-scroll { max-width: 380px; }
.feat-block { min-height: 88vh; }
.feat-block:last-child { min-height: 60vh; }
.feat-text {
  position: sticky;
  top: 40vh;
}
.feat-text h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-50);
  transition: color 0.35s ease;
}
.feat-text p {
  font-size: 15px;
  color: var(--ink-50);
  margin-top: 10px;
  max-width: 340px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.feat-block.on .feat-text h3 { color: var(--ink-85); }
.feat-block.on .feat-text p { opacity: 1; }
.feat-counter {
  position: sticky;
  top: 47vh;
  align-self: start;
  font-size: 13px;
  color: var(--ink-85);
  text-align: right;
  line-height: 1.9;
}
.feat-counter .total { color: var(--ink-50); display: block; }

/* Product mockup (shared visual for features) */
.mock {
  background: var(--surface-90);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 16px 48px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  font-size: 12.5px;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-04);
  color: var(--ink-85);
}
.mock-bar .pill { font-size: 11px; padding: 3px 8px; border-radius: 20px; background: var(--ink-04); color: var(--ink-50); }
.mock-bar .pill.on { background: #fff; color: var(--ink-85); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--ink-04); }
.mock-bar .right { margin-left: auto; display: flex; gap: 8px; color: var(--ink-50); font-size: 11px; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th {
  text-align: left;
  font-weight: 400;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
  padding: 8px 14px;
  border-bottom: 1px solid var(--ink-04);
}
.mock td { padding: 9px 14px; border-bottom: 1px solid var(--ink-02); color: var(--ink-85); }
.mock td.dim { color: var(--ink-50); }
.mock td .live { color: var(--green); font-size: 11.5px; }
.mock td .live::before { content: "● "; font-size: 8px; vertical-align: 1px; }
.mock td .bar { display: inline-block; width: 54px; height: 4px; border-radius: 2px; background: var(--ink-08); position: relative; vertical-align: 2px; margin-right: 8px; }
.mock td .bar i { position: absolute; inset: 0; right: auto; border-radius: 2px; background: var(--green); }
.mock td .chipset { display: flex; gap: 5px; flex-wrap: wrap; }
.mock td .chip { font-size: 10.5px; border: 1px solid var(--ink-08); border-radius: 20px; padding: 2px 8px; color: var(--ink-60); white-space: nowrap; }
.mock .group td { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-50); background: var(--ink-02); padding: 6px 14px; }

/* ---------- Testimonials ---------- */
.testimonials { padding-top: 192px; }
.t-rows { border-left: 1px solid var(--ink-12); }
.t-row { border-bottom: 1px solid var(--ink-12); padding: 20px 0 20px 18px; cursor: pointer; position: relative; }
.t-row:first-child { padding-top: 4px; }
.t-row .who { font-size: 17px; color: var(--ink-85); letter-spacing: -0.01em; }
.t-row .quote {
  display: none;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink-85);
  max-width: 480px;
  margin-top: 120px;
}
.t-row.on .quote { display: block; }
.t-row .portrait {
  display: none;
  position: absolute;
  top: 4px;
  right: 0;
  width: 196px;
  height: 186px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(150deg, #d7d4cf, #b9bdc6 60%, #9aa0ad);
}
.t-row.on .portrait { display: block; }
.t-row .portrait .img-note { color: rgba(0, 0, 0, 0.4); }
.t-grid { display: grid; grid-template-columns: 35% 1fr; }

/* ---------- Security ---------- */
.security { padding-top: 96px; }
.s-cards { display: flex; gap: 2px; }
.s-card {
  width: 224px;
  height: 204px;
  background: var(--ink-02);
  border: 1px solid var(--ink-04);
  padding: 16px;
  position: relative;
}
.s-card .t { font-size: 12.5px; color: var(--ink-85); }
.s-card .soon { font-size: 12px; color: var(--ink-50); margin-top: 2px; }
.s-card .glyph {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  color: var(--ink-12);
}

/* ---------- Changelog ---------- */
.changelog { padding-top: 192px; }
.c-rows { }
.c-row {
  display: grid;
  grid-template-columns: 90px 1fr 24px;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--ink-12);
  padding: 22px 0;
}
.c-row .d { font-size: 12px; color: var(--ink-50); }
.c-row .t { font-size: 17px; letter-spacing: -0.01em; color: var(--ink-85); }
.c-row .plus { color: var(--ink-25); font-size: 16px; text-align: right; }
.c-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 13px; }

/* ---------- Blog ---------- */
.blog { position: relative; margin-top: 144px; padding: 96px 0 0; overflow: hidden; background: var(--bg); border-top: 1px solid var(--ink-08); }
.blog .head { display: grid; grid-template-columns: 35% 1fr auto; align-items: start; }
.blog .head h2 { margin: 0; }
.blog .tools { display: flex; gap: 8px; align-items: center; }
.blog .tools .nav-btn {
  width: 30px;
  height: 26px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 0 0 1px var(--ink-04);
}
.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.blog-card .thumb {
  aspect-ratio: 16 / 8.4;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(140deg, #e8e6e2, #cfd2d9 70%, #b8bdc9);
}
.blog-card .thumb.dark { background: radial-gradient(90% 120% at 50% 100%, #3d4c66 0%, #10121a 55%, #05060a 100%); }
.blog-card h3 { font-size: 17px; letter-spacing: -0.01em; color: var(--ink-85); margin-top: 18px; }
.blog-card .d { font-size: 12px; color: var(--ink-50); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta-block { background: var(--bg); padding: 168px 0 192px; text-align: center; }
.cta-block h2 { font-size: 28px; letter-spacing: -0.03em; color: var(--ink-85); margin-bottom: 28px; }
.cta-block .btn { margin: 0 auto; }

/* ---------- Footer (structure + colors from v1 · rightside.host) ---------- */
.chip-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--green);
  background: rgba(48, 209, 88, 0.12);
  border-radius: 8px;
  padding: 4px 9px;
  white-space: nowrap;
}
.chip-live .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dot); }

footer { background: var(--bg); padding: 48px 0 0; overflow: hidden; }
.foot-cards {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2.3fr;
  gap: 16px;
  align-items: stretch;
}
.foot-dark, .foot-light { border-radius: 18px; padding: 32px; }
.foot-dark {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(41, 151, 255, 0.22), transparent 55%),
    linear-gradient(160deg, #101216, #0b0b0e 70%);
}
.brandrow { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.tile-sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tile-sm svg { width: 16px; height: 16px; }
.foot-tag { margin-top: auto; padding-top: 64px; font-size: 17px; line-height: 1.4; color: #fff; }
.foot-tag span { color: rgba(255, 255, 255, 0.6); }
.statusrow {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.foot-dark .chip-live { color: var(--green-dot); }

.foot-light { position: relative; background: #fff; box-shadow: 0 0 0 1px var(--ink-04); }
.foot-cols { display: flex; gap: 96px; }
.foot-cols .h {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 14px;
}
.foot-cols a { display: block; font-size: 14px; color: var(--ink-85); padding: 5px 0; }
.foot-cols a:hover { color: var(--accent); }
.foot-bottomrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 56px;
}
.legal { font-size: 12px; line-height: 1.7; color: var(--ink-50); max-width: 52ch; }
.foot-cta { text-align: right; }
.foot-cta p { font-size: 15px; color: var(--ink-50); margin-bottom: 12px; }
.foot-cta strong { font-weight: 400; color: var(--ink-85); }
.runson {
  position: absolute;
  top: -20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tile-blue {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--accent-hi), var(--accent) 60%);
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tile-blue svg { width: 30px; height: 30px; }
.runson .note {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-50);
  transform: rotate(-3deg);
  white-space: nowrap;
}
.note-arrow { width: 16px; height: 17px; display: block; color: var(--ink-50); }
.watermark::before { content: "Rightside"; }
.watermark {
  font-size: clamp(110px, 21vw, 300px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.72;
  color: #e9e9ed;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  margin-top: 40px;
  margin-bottom: -0.08em;
}

/* ---------- Product-rule band ---------- */
.band {
  background: var(--bg);
  padding: 72px 0;
  position: relative;
  z-index: 1;
}
.band p {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-85);
  max-width: 34ch;
  margin-inline: auto;
  text-align: center;
}
.band em, .cta-block em { font-style: normal; color: var(--accent-deep); }

/* ---------- Problem ---------- */
.problem .sub, .sub {
  font-size: 15px;
  color: var(--ink-50);
  max-width: 560px;
  margin-top: 20px;
}
.sub.dim { color: var(--ink-50); }
.sub.note { margin-top: 40px; }
.finish { margin-top: 28px; max-width: 560px; counter-reset: fin; list-style: none; }
.finish li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--ink-12);
  counter-increment: fin;
}
.finish li::before {
  content: counter(fin, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
}
.finish strong { font-weight: 400; color: var(--ink-85); display: block; }
.finish span { display: block; color: var(--ink-50); font-size: 14px; margin-top: 2px; }

/* ---------- Stages ---------- */
.stages { margin-top: 56px; max-width: 720px; }
.stage {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--ink-12);
  align-items: start;
}
.stage-no {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}
.stage h3 { font-size: 17px; letter-spacing: -0.01em; color: var(--ink-85); }
.stage-body { color: var(--ink-50); font-size: 14.5px; }
.stage-body p + p { margin-top: 12px; }
.aside {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-50);
  background: var(--ink-02);
  border: 1px solid var(--ink-04);
  border-left: 2px solid var(--ink-12);
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.aside .k { color: var(--ink-85); }
.aside .a { color: var(--accent-deep); }

/* ---------- Repair loop ---------- */
.loop { margin-top: 48px; max-width: 720px; }
.loop-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  list-style: none;
}
.node {
  background: var(--surface-90);
  border: 1px solid var(--ink-12);
  border-radius: 6px;
  padding: 12px 8px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-50);
  overflow-wrap: anywhere;
}
.node-k {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink-85);
  font-weight: 500;
}
.node-s { display: block; font-size: 10px; margin-top: 2px; }
.node-fail { border-color: var(--fail); }
.node-fail .node-k, .node-fail .node-s { color: var(--fail); }
.node-ok { border-color: var(--green); }
.node-ok .node-k, .node-ok .node-s { color: var(--green); }
.loop-return {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}
.loop-arc { grid-column: 2 / 5; position: relative; height: 44px; color: var(--accent-deep); }
.loop-arc svg { width: 100%; height: 100%; overflow: visible; display: block; }
.loop-arc path { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 3 3; }
.loop-arclabel {
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--accent-deep);
}
.loop-mobilenote {
  display: none;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-deep);
}

/* ---------- Features frame (pattern from the 4173 study) ----------
   Scroll-driven: the text segments scroll, the frame stays pinned, and the
   scene crossfades as each feature crosses the viewport's center band. */
.fframe {
  position: sticky;
  top: 12vh;
  align-self: start;
  height: 76vh;
  min-height: 480px;
  background: var(--ink-02);
  border: 1px solid var(--ink-04);
  border-radius: 16px;
  min-width: 0;
  overflow: hidden;
}
.fview {
  position: absolute;
  inset: clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fview.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fview, .feat-text { transition: none; }
}

/* Scene cards */
.vcard {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 16px 48px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--ink-04);
  padding: 20px;
  font-size: 13px;
}
.vcard.vnarrow { max-width: 340px; }
.vhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.vhead .vt { font-size: 13px; color: var(--ink-85); }
.vhead .vt.failt { color: var(--fail); }
.vtag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(48, 209, 88, 0.12);
  border-radius: 20px;
  padding: 3px 9px;
}
.vtag.failtag { color: var(--fail); background: rgba(200, 40, 30, 0.09); }
.vmono {
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-85);
  background: var(--ink-02);
  border: 1px solid var(--ink-04);
  border-radius: 8px;
  padding: 12px 14px;
}
.vmono .ln + .ln { margin-top: 4px; }
.dim { color: var(--ink-50); }
.okt { color: var(--green); }
.vchip {
  font-size: 10.5px;
  font-family: var(--sans);
  border: 1px solid var(--ink-08);
  border-radius: 20px;
  padding: 2px 8px;
  color: var(--ink-60);
  white-space: nowrap;
}
.redact {
  background: var(--ink-08);
  border-radius: 4px;
  padding: 0 5px;
  letter-spacing: 2px;
  color: var(--ink-50);
}
.vrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 2px;
  border-top: 1px solid var(--ink-08);
  color: var(--ink-85);
}
.vrow:first-of-type { border-top: none; }
.okdot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-dot);
  margin-right: 7px;
}
.vfoot { margin-top: 14px; font-size: 12px; color: var(--ink-50); }
.vfoot.center { text-align: center; }

/* Sign-in scene */
.vlogin { padding: 8px 6px 2px; }
.vlogin-t { font-size: 16px; letter-spacing: -0.01em; color: var(--ink-85); margin-bottom: 14px; text-align: center; }
.fake {
  border: 1px solid var(--ink-12);
  border-radius: 7px;
  padding: 9px 11px;
  margin-bottom: 8px;
  font-size: 12.5px;
}
.fake .dots { letter-spacing: 3px; color: var(--ink-50); }
.vbtn {
  background: var(--accent);
  color: #fff;
  border-radius: 7px;
  text-align: center;
  padding: 9px 0;
  font-size: 13px;
  margin-top: 4px;
}

/* Browser scene */
.vcard.vbrowser { padding: 0; overflow: hidden; }
.vbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-08);
  background: var(--ink-02);
}
.wdots { display: inline-flex; gap: 5px; }
.wdots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-12); }
.vurl {
  flex: 1;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-85);
  background: #fff;
  border: 1px solid var(--ink-08);
  border-radius: 20px;
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vpage { padding: 22px 18px; }
.vpage-line { height: 9px; border-radius: 4px; background: var(--ink-04); margin-bottom: 10px; }
.vpage-line.w60 { width: 60%; }
.vpage-line.w90 { width: 90%; }
.vpage-line.w75 { width: 75%; }
.vbrowser .vfoot { padding: 0 18px 16px; margin-top: 0; }
.meter { display: inline-flex; gap: 3px; vertical-align: 1px; margin-right: 8px; }
.meter i { width: 9px; height: 4px; border-radius: 2px; background: var(--ink-08); display: inline-block; }
.meter i.on { background: var(--green-dot); }
.mock td .work { color: var(--accent-deep); font-size: 11.5px; }
.mock td .dimtx { color: var(--ink-25); font-size: 11.5px; }
.fpop {
  position: absolute;
  right: clamp(8px, 2vw, 28px);
  bottom: clamp(16px, 3vw, 40px);
  width: min(260px, 70%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--ink-04);
  padding: 16px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.fpop.show { opacity: 1; transform: none; }
.fpop-err .fpop-no { color: var(--fail); }
.fpop-err .fpop-tag { color: var(--fail); background: rgba(200, 40, 30, 0.1); }
@media (prefers-reduced-motion: reduce) {
  .fpop { transition: none; }
}
.fpop-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.fpop-no { font-size: 20px; letter-spacing: -0.02em; color: var(--ink-85); }
.fpop-tag {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--green);
  background: rgba(48, 209, 88, 0.15);
  border-radius: 20px;
  padding: 2px 8px;
}
.fpop p { color: var(--ink-50); line-height: 1.5; margin-bottom: 10px; }
.fpop-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--ink-50);
  font-size: 11.5px;
}
.fpop-row .meter { margin-left: auto; margin-right: 0; }
.fpop-row span:last-child { min-width: 44px; text-align: right; color: var(--ink-85); }

/* ---------- Proof rows ---------- */
.railsub { font-size: 13px; color: var(--ink-50); margin-top: 16px; max-width: 300px; }
.t-row .who .tick { color: var(--green); font-family: var(--mono); font-size: 13px; margin-right: 10px; }
.t-row .quote { margin-top: 80px; }

/* ---------- Security spec ---------- */
.spec { margin-top: 40px; width: 100%; max-width: 720px; border-collapse: collapse; }
.spec caption {
  text-align: left;
  color: var(--ink-50);
  font-size: 12px;
  padding-bottom: 14px;
}
.spec th, .spec td {
  text-align: left;
  padding: 12px 16px 12px 0;
  border-top: 1px solid var(--ink-12);
  vertical-align: top;
  font-size: 14px;
}
.spec thead th {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}
.spec tbody th {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-85);
  width: 32%;
  overflow-wrap: anywhere;
}
.spec td { color: var(--ink-50); }

/* ---------- Fit ---------- */
.fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 48px;
  max-width: 720px;
}
.fit h3 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-12);
}
.fit-yes h3 { color: var(--green); }
.fit-no h3 { color: var(--ink-25); }
.fit ul { margin-top: 12px; list-style: none; }
.fit li { padding: 5px 0; color: var(--ink-60); font-size: 14px; }
.fit-no li { color: var(--ink-50); }

/* ---------- The difference (section from v1) ---------- */
.diff .h-lg .blue { color: var(--accent-deep); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 980px;
}
.dcard {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 36px rgba(0, 0, 0, 0.05), 0 0 0 1px var(--ink-04);
  padding: 22px 24px;
}
.dhead {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--ink-08);
  padding-bottom: 14px;
}
.dt { font-size: 15px; color: var(--ink-85); }
.dmeta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-50);
  text-align: right;
}
.dmeta .bluet { color: var(--accent); }
.dsteps { list-style: none; counter-reset: ds; margin-top: 4px; }
.dsteps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-top: 1px solid var(--ink-04);
  font-size: 14px;
  color: var(--ink-60);
  counter-increment: ds;
}
.dsteps li:first-child { border-top: none; }
.dsteps li::before {
  content: counter(ds);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-25);
}
.dhere { display: flex; flex-direction: column; }
.dchat {
  align-self: flex-start;
  background: #111214;
  color: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13.5px;
  margin-top: 18px;
}
.dorb {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 0;
}
.dorb .dnote { font-family: var(--mono); font-size: 10.5px; color: var(--ink-50); }
.dlive {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid var(--ink-08);
  padding-top: 14px;
}
.dlive .okt { font-size: 15px; }
.durl { font-family: var(--mono); font-size: 12px; color: var(--ink-85); }

/* ---------- Apply ---------- */
.apply { background: var(--ink-02); border-top: 1px solid var(--ink-08); border-bottom: 1px solid var(--ink-08); padding-bottom: 96px; }
.apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.apply-grid .label { margin-bottom: 24px; }
.apply-grid h2 { margin-top: 0; }
.apply form { padding-top: 8px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-50);
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink-85);
  border: 1px solid var(--ink-12);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 0.15s ease;
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-25); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-50); opacity: 1; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-foot small { color: var(--ink-50); font-size: 12px; }
.form-foot .btn { min-height: 40px; }

/* ---------- Private beta modal ---------- */
.apply-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  overflow: visible;
  /* the global `* { margin: 0 }` reset would otherwise pin the dialog top-left */
  margin: auto;
}
.apply-modal::backdrop {
  background: rgba(18, 20, 24, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.am-card {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--ink-04);
}
.am-card .label { margin-bottom: 18px; }
.am-card .sub { margin: 14px 0 24px; }
.am-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--ink-04);
  color: var(--ink-60);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.am-close:hover { background: var(--ink-08); }
@media (max-width: 640px) {
  .am-card { padding: 22px 18px; }
}

.field .opt { text-transform: none; letter-spacing: 0; color: var(--ink-50); }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 12px; font-size: 13px; color: var(--fail); min-height: 1em; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; max-width: 720px; border-top: 1px solid var(--ink-12); }
.faq details { border-bottom: 1px solid var(--ink-12); }
.faq summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-85);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: rgba(0, 0, 0, 1); }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent-deep);
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div {
  padding-bottom: 20px;
  color: var(--ink-50);
  font-size: 14.5px;
  max-width: 620px;
}

/* Image placeholder slots (until generated art lands) */
.img-slot { position: relative; }
.center-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  display: block;
}
.portrait, .thumb { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .stage, .fit, .apply-grid, .field-row, .diff-grid { grid-template-columns: minmax(0, 1fr); }
  .stage { gap: 10px; }
  .band p { font-size: 20px; }
  .loop-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop-return { display: none; }
  .loop-mobilenote { display: block; }
  /* Phone features: no pinned frame — each feature stacks its text and its
     own scene card inline (the script moves each .fview into its block). */
  .features .layout { display: flex; flex-direction: column; }
  .fframe { display: none; }
  .feat-scroll { max-width: none; }
  .feat-block { min-height: 0; padding: 26px 0 4px; border-top: 1px solid var(--ink-08); }
  .feat-block:first-child { border-top: none; padding-top: 8px; }
  .feat-text { position: static; }
  .feat-text h3 { color: var(--ink-85); }
  .feat-text p { opacity: 1; max-width: none; }
  .feat-block .fview {
    position: static;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: flex;
    justify-content: flex-start;
    margin: 18px 0 22px;
  }
  .vcard { max-width: 100%; padding: 16px; font-size: 12.5px; }
  .vmono { font-size: 11px; overflow-wrap: anywhere; }
  .spec tbody th { width: auto; display: block; border-top: none; padding-bottom: 0; }
  .spec tbody td { display: block; padding-top: 4px; border-top: none; }
  .spec tbody tr { display: block; border-top: 1px solid var(--ink-12); padding: 8px 0; }
  .spec thead { display: none; }
  .hero { display: block; min-height: auto; padding: 120px 0 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  /* Phone hero: the 3D collage becomes a flat chat exchange — prompt bubble,
     then the agent card. The two dense side cards don't fit and are hidden. */
  .hero-art { height: auto; margin-top: 32px; perspective: none; }
  .hero-art .plane { position: static; inset: auto; transform: none; }
  .ui-card { position: static; }
  .ui-prompt { width: fit-content; max-width: 92%; margin-left: auto; border-radius: 14px 14px 4px 14px; background: #fff; }
  .ui-agent { width: 100%; margin-top: 12px; }
  .ui-side, .ui-overview { display: none; }
  .step { display: block; width: 100%; line-height: 1.55; }
  .step .ico { margin-right: 2px; }
  .step + .step, .step + .step + .step { margin-left: 0; }
  .hero-badge { margin: 28px 20px 0 0; }
  .hero-badge { position: static; margin: 48px 20px 0; white-space: nowrap; font-size: 11px; }
  .two-col, .foundations .grid, .t-grid, .blog .head { grid-template-columns: 1fr; }
  .statement { padding-top: 96px; }
  .statement p { font-size: 17px; }
  .section, .foundations, .testimonials, .changelog { padding-top: 80px; }
  .features .layout { grid-template-columns: 1fr; }
  .feat-counter { display: none; }
  .features .layout { min-width: 0; }
  .features .layout .mock-wrap { margin-top: 40px; overflow-x: auto; }
  .features .layout .mock { min-width: 620px; }
  .feat-list { max-width: 100%; }
  .f-art { padding-left: 0; margin-top: 40px; }
  .rail { margin-bottom: 32px; }
  .t-row .portrait { display: none !important; }
  .t-row .quote { margin-top: 24px; }
  .s-cards { flex-wrap: wrap; }
  .blog-cards { grid-template-columns: 1fr; }
  footer { padding-top: 72px; }
  .foot-cards { grid-template-columns: 1fr; }
  .foot-dark { min-height: 260px; }
  .foot-light { padding-top: 24px; }
  .foot-cols { gap: 48px; }
  .foot-bottomrow { grid-template-columns: 1fr; }
  .foot-cta { text-align: left; }
  /* The floating blue tile becomes a quiet inline row so it stops crowding
     the link columns on small screens. */
  .runson {
    position: static;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 24px;
  }
  .tile-blue { width: 44px; height: 44px; border-radius: 11px; }
  .tile-blue svg { width: 24px; height: 24px; }
  .runson .note { transform: none; }
  .cta-block { padding: 96px 0 112px; }
  .nav .links a:not(.keep) { display: none; }
}
