/*
 * app-polish.css
 * RoachNet design upgrades: display font, animation polish,
 * status indicators, reveal stagger, release badge, misc fixes.
 * Append-safe — zero selector conflicts with app.css.
 */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Syne:wght@700;800&display=swap');

/* ─── New CSS variables ─────────────────────────────────────── */
:root {
  --rn-font-display: 'Syne', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --rn-font-landing: 'Plus Jakarta Sans', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --rn-font-mono: 'JetBrains Mono', 'SF Mono', 'SFMono-Regular', ui-monospace, monospace;
  --rn-poster-max: 1320px;
}

/* ─── Display font on hero + section headings ───────────────── */
.hero h1,
.section-head h2,
.roachclaw-panel h1,
.account-poster h1,
.store-featured-card__copy h3,
body[data-page="apps"] .apps-section-head__copy h1,
body[data-page="apps"] .apps-hero-panel__copy h1,
body[data-page="apps"] .apps-row__head h2 {
  font-family: var(--rn-font-display);
}

/* ─── Monospace variable in remaining uses ──────────────────── */
.site-header__status,
.brand-kicker,
.eyebrow,
.feature-card__eyebrow,
.download-card__label,
.screen-chip,
.hero-status,
.roachclaw-status-tile span,
.account-metric span,
body[data-page="api"] .api-docs-kicker {
  font-family: var(--rn-font-mono);
}

/* ─── Hero: animated scan-line accent ───────────────────────── */
body:not([data-page="apps"]) .hero::before {
  /* overrides the ring decoration — replace with a scanline instead */
  border: none;
  opacity: 1;
  pointer-events: none;
  top: 0;
  left: -100%;
  width: 60%;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(50, 255, 126, 0.32) 40%,
    rgba(92, 141, 255, 0.24) 60%,
    transparent 100%
  );
  animation: rn-scan 9s ease-in-out infinite;
}

body:not([data-page="apps"]) .hero::after {
  /* remove the second ring */
  display: none;
}

@keyframes rn-scan {
  0%   { left: -60%; opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

/* ─── Hero: ambient corner glow pulses ──────────────────────── */
.bg-glow--blue {
  animation: rn-glow-breathe 12s ease-in-out infinite alternate;
}
.bg-glow--green {
  animation: rn-glow-breathe 16s ease-in-out infinite alternate-reverse;
}

@keyframes rn-glow-breathe {
  from { opacity: 0.55; }
  to   { opacity: 0.85; }
}

/* ─── data-reveal stagger delays for grid children ─────────── */
[data-reveal]:nth-child(1)  { transition-delay: 0ms;  }
[data-reveal]:nth-child(2)  { transition-delay: 55ms; }
[data-reveal]:nth-child(3)  { transition-delay: 110ms; }
[data-reveal]:nth-child(4)  { transition-delay: 165ms; }
[data-reveal]:nth-child(5)  { transition-delay: 220ms; }
[data-reveal]:nth-child(6)  { transition-delay: 275ms; }

/* ─── RoachClaw status tiles: live dot pulse ────────────────── */
@keyframes rn-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(50, 255, 126, 0.06), 0 0 10px rgba(50, 255, 126, 0.36); }
  50%       { box-shadow: 0 0 0 6px rgba(50, 255, 126, 0.10), 0 0 18px rgba(50, 255, 126, 0.54); }
}
@keyframes rn-dot-pulse-blue {
  0%, 100% { box-shadow: 0 0 0 3px rgba(92, 141, 255, 0.06), 0 0 10px rgba(92, 141, 255, 0.30); }
  50%       { box-shadow: 0 0 0 6px rgba(92, 141, 255, 0.10), 0 0 18px rgba(92, 141, 255, 0.50); }
}
@keyframes rn-dot-pulse-amber {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

.roachclaw-status-tile[data-state="live"]::after {
  animation: rn-dot-pulse 2.4s ease-in-out infinite;
}
.roachclaw-status-tile[data-state="ready"]::after {
  animation: rn-dot-pulse-blue 2.8s ease-in-out infinite;
}
.roachclaw-status-tile[data-state="pending"]::after {
  animation: rn-dot-pulse-amber 1.2s ease-in-out infinite;
}

/* ─── Account honeypot: truly hidden ───────────────────────── */
.account-honeypot {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ─── Footer: live release chip ─────────────────────────────── */
.site-footer__release-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(50, 255, 126, 0.18);
  background: rgba(50, 255, 126, 0.07);
  color: rgba(180, 255, 210, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--rn-font-mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}

.site-footer__release-chip:hover {
  border-color: rgba(50, 255, 126, 0.32);
  background: rgba(50, 255, 126, 0.12);
  color: #cbffe1;
}

.site-footer__release-chip::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #32ff7e;
  box-shadow: 0 0 8px rgba(50, 255, 126, 0.7);
  animation: rn-dot-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── Nav: active indicator improvement ─────────────────────── */
.site-header .site-nav a.is-current {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(var(--rn-poster-max), calc(100vw - 34px));
  margin-top: 18px;
  transition:
    width 220ms ease,
    padding 220ms ease,
    transform 220ms ease;
}

.site-header[data-scrolled="true"] {
  width: min(calc(var(--rn-poster-max) - 68px), calc(100vw - 30px));
}

.site-header[data-scrolled="true"] .brand-lockup,
.site-header[data-scrolled="true"] .site-header__panel {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header .site-nav a,
.site-action-pill {
  position: relative;
  overflow: hidden;
}

.site-header .site-nav a::after,
.site-action-pill::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0), rgba(145, 56, 216, 0.82), rgba(50, 255, 126, 0));
  transform: scaleX(0.2);
  transform-origin: center;
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a.is-current::after,
.site-action-pill:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ─── Pillar / surface cards: accent glow on hover ──────────── */
body:not([data-page="apps"]) .pillar-card:hover {
  background:
    radial-gradient(circle at top left, rgba(50, 255, 126, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.92), rgba(11, 15, 20, 0.94));
}
body:not([data-page="apps"]) .usecase-card:hover {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.07), transparent 50%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.92), rgba(11, 15, 20, 0.94));
}
body:not([data-page="apps"]) .shelf-card:hover {
  background:
    radial-gradient(circle at bottom right, rgba(145, 56, 216, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.92), rgba(11, 15, 20, 0.94));
}

/* ─── Download hero card: stronger magenta accent ───────────── */
body:not([data-page="apps"]) .download-hero-card {
  background:
    radial-gradient(ellipse at top right, rgba(145, 56, 216, 0.22), transparent 44%),
    radial-gradient(ellipse at bottom left, rgba(92, 141, 255, 0.10), transparent 40%),
    linear-gradient(180deg, rgba(16, 12, 24, 0.94), rgba(11, 15, 20, 0.98));
}

body[data-page="home"] .page-shell {
  width: min(var(--rn-poster-max), calc(100vw - 34px));
}

body[data-page="home"] .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: 34px;
  min-height: calc(100svh - 168px);
  padding-block: 32px 42px;
}

body[data-page="home"] .hero-copy {
  max-width: 670px;
}

body[data-page="home"] .hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 6.8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

body[data-page="home"] .hero-body {
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.6;
}

body[data-page="home"] .hero-actions {
  margin-top: 24px;
}

body[data-page="home"] .hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 16px;
}

body[data-page="home"] .hero-links a {
  color: rgba(216, 222, 230, 0.8);
  text-decoration: none;
}

body[data-page="home"] .hero-links a:hover {
  color: rgba(245, 247, 250, 0.96);
  transform: translateX(2px);
}

body[data-page="home"] .hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: stretch;
}

body[data-page="home"] .screen-frame--hero {
  min-height: 540px;
  padding: 18px;
  border-radius: 34px;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  transform-origin: center left;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.34),
    0 18px 44px rgba(92, 141, 255, 0.12);
}

body[data-page="home"] .screen-frame--hero::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

body[data-page="home"] .screen-frame__image {
  border-radius: 24px;
}

body[data-page="home"] .screen-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="home"] .screen-chip {
  background: rgba(8, 12, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-signal-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-signal-board--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.hero-signal-card {
  position: relative;
  min-height: 124px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(9, 13, 18, 0.96));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.hero-signal-card::before {
  content: '';
  position: absolute;
  inset: auto 16px 16px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0.86), rgba(50, 255, 126, 0.28));
}

.hero-signal-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--rn-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(216, 222, 230, 0.62);
}

.hero-signal-card strong {
  display: block;
  max-width: 18ch;
  font-size: 0.97rem;
  line-height: 1.45;
  color: rgba(247, 249, 252, 0.94);
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.panel-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel-note-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 172px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(9, 13, 18, 0.96));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.panel-note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 56, 216, 0.18);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.panel-note-card strong {
  display: block;
  max-width: 18ch;
  font-size: 1.05rem;
  line-height: 1.18;
  color: rgba(247, 249, 252, 0.96);
}

.panel-note-card p {
  margin: 0;
  color: rgba(216, 222, 230, 0.72);
}

body[data-page="roachclaw"] .roachclaw-shell,
body[data-page="account"] .account-hero {
  width: min(var(--rn-poster-max), calc(100vw - 34px));
  margin-inline: auto;
}

body[data-page="roachclaw"] .roachclaw-panel--brand,
body[data-page="account"] .account-poster {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.92), rgba(9, 13, 18, 0.97));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="roachclaw"] .roachclaw-panel--brand h1,
body[data-page="account"] .account-poster h1 {
  max-width: 10ch;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

body[data-page="roachclaw"] .roachclaw-panel--brand,
body[data-page="account"] .account-poster,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head {
  gap: 20px;
}

body[data-page="roachclaw"] .roachclaw-panel--workspace-head,
body[data-page="account"] .account-auth-shell {
  background:
    linear-gradient(180deg, rgba(16, 22, 30, 0.92), rgba(10, 14, 19, 0.96));
  box-shadow:
    0 20px 54px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="roachclaw"] .roachclaw-thread-list,
body[data-page="account"] .account-dashboard {
  gap: 16px;
}

body[data-page="roachclaw"] .roachclaw-status-tile,
body[data-page="account"] .account-panel,
body[data-page="account"] .account-mini-card {
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="roachclaw"] .roachclaw-panel,
body[data-page="roachclaw"] .hero-signal-card,
body[data-page="roachclaw"] .panel-note-card,
body[data-page="account"] .account-panel,
body[data-page="account"] .account-mini-card,
body[data-page="account"] .account-auth-shell {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease;
}

body[data-page="account"] .account-panel:hover,
body[data-page="account"] .account-mini-card:hover {
  transform: translateY(-4px);
}

body[data-page="roachclaw"] .hero-signal-card:hover,
body[data-page="roachclaw"] .roachclaw-panel:hover {
  transform: translateY(-4px);
}

body[data-page="roachclaw"] .roachclaw-panel--workspace-head .poster-actions .cta,
body[data-page="account"] .account-poster .poster-actions .cta {
  min-height: 46px;
}

body[data-page="home"] .content-section {
  padding-block: 34px 28px;
}

body[data-page="home"] .section-head {
  max-width: 700px;
  margin-bottom: 22px;
}

body[data-page="home"] .section-head h2 {
  font-size: clamp(2.1rem, 3vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body[data-page="home"] .surface-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="home"] .surface-card {
  grid-column: span 4;
}

body[data-page="home"] .surface-card--featured {
  grid-column: span 7;
}

body[data-page="home"] .surface-card--featured-secondary {
  grid-column: span 5;
}

body[data-page="home"] .surface-card {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(9, 13, 18, 0.96));
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .surface-card:hover,
body[data-page="home"] .pillar-card:hover,
body[data-page="home"] .usecase-card:hover,
body[data-page="home"] .shelf-card:hover {
  transform: translateY(-4px);
}

body[data-page="home"] .surface-card__shot {
  padding: 14px;
}

body[data-page="home"] .surface-card__copy {
  padding-inline: 18px 18px;
  padding-bottom: 18px;
}

body[data-page="home"] .pillar-grid,
body[data-page="home"] .usecase-grid,
body[data-page="home"] .shelf-grid {
  gap: 16px;
}

body[data-page="home"] .pillar-card,
body[data-page="home"] .usecase-card,
body[data-page="home"] .shelf-card {
  border-radius: 24px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .hero,
body[data-page="home"] .surface-card,
body[data-page="home"] .pillar-card,
body[data-page="home"] .usecase-card,
body[data-page="home"] .shelf-card {
  will-change: transform, opacity;
}

/* ─── iOS page: screen cards consistent hover accent ────────── */
body[data-page="ios"] .ios-shot-card:hover {
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(20, 24, 31, 0.94), rgba(9, 12, 17, 0.96));
}

/* ─── iOS page: mobile swipe hint on the shot wall ─────────── */
@media (max-width: 760px) {
  body[data-page="ios"] .ios-shot-wall {
    padding-inline: 4px;
    padding-bottom: 14px;
  }
  body[data-page="ios"] .ios-shot-wall::after {
    content: 'Swipe ›';
    display: block;
    position: sticky;
    right: 0;
    bottom: 0;
    flex-shrink: 0;
    align-self: center;
    min-width: 56px;
    padding: 0 12px;
    height: 36px;
    line-height: 36px;
    border-radius: 999px;
    background: rgba(11, 16, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(216, 222, 230, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    animation: rn-swipe-hint 2.4s ease 1.4s forwards;
  }
  @keyframes rn-swipe-hint {
    0%   { opacity: 0; transform: translateX(4px); }
    25%  { opacity: 0.9; transform: translateX(0); }
    75%  { opacity: 0.9; }
    100% { opacity: 0; }
  }
}

@media (max-width: 1180px) {
  body[data-page="home"] .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 14px;
  }

  body[data-page="home"] .hero-copy {
    max-width: 100%;
  }

  body[data-page="home"] .screen-frame--hero {
    min-height: 460px;
    transform: none;
  }

  .hero-signal-board {
    grid-template-columns: 1fr;
  }

  .hero-signal-board--compact {
    grid-template-columns: 1fr;
  }

  .panel-note-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .surface-card,
  body[data-page="home"] .surface-card--featured,
  body[data-page="home"] .surface-card--featured-secondary {
    grid-column: span 6;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100vw - 22px);
    margin-top: 10px;
  }

  body[data-page="home"] .page-shell {
    width: calc(100vw - 22px);
  }

  body[data-page="home"] .hero {
    gap: 22px;
    padding-bottom: 26px;
  }

  body[data-page="home"] .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 12vw, 4.3rem);
  }

  body[data-page="home"] .screen-frame--hero {
    min-height: 320px;
    padding: 12px;
    border-radius: 26px;
  }

  body[data-page="home"] .surface-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .surface-card,
  body[data-page="home"] .surface-card--featured,
  body[data-page="home"] .surface-card--featured-secondary {
    grid-column: auto;
  }
}

/* ─── Brew page: install step active glow ───────────────────── */
[data-install-step][data-step-active="true"] .feature-card__eyebrow {
  color: #9138D8;
}
[data-install-step][data-step-active="true"] h3 {
  color: var(--rn-text);
}

/* ─── RoachClaw page: composer textarea focus glow ──────────── */
.roachclaw-composer__field textarea:focus {
  border-color: rgba(145, 56, 216, 0.32);
  box-shadow: 0 0 0 3px rgba(145, 56, 216, 0.07);
  outline: none;
}

/* ─── Account page: auth shell focus ring ───────────────────── */
.account-field input:focus {
  border-color: rgba(145, 56, 216, 0.32);
  box-shadow: 0 0 0 3px rgba(145, 56, 216, 0.07);
  outline: none;
}

/* ─── Shared header: floating and responsive instead of static ───────── */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  transition: transform 220ms ease, opacity 220ms ease;
}

.site-header[data-scrolled="true"] {
  transform: translateY(-4px);
}

.site-header[data-scrolled="true"] .brand-lockup,
.site-header[data-scrolled="true"] .site-header__panel {
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ─── Home: less dashboard-stack, more editorial composition ─────────── */
body[data-page="home"] .hero {
  align-items: end;
  gap: clamp(26px, 5vw, 72px);
  min-height: min(860px, calc(100svh - 116px));
  padding-top: clamp(8px, 2vw, 28px);
}

body[data-page="home"] .hero-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  max-width: 640px;
}

body[data-page="home"] .hero-body {
  max-width: 30ch;
  font-size: 1.05rem;
}

body[data-page="home"] .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 720px;
}

body[data-page="home"] .hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

body[data-page="home"] .hero-links a {
  color: rgba(223, 232, 241, 0.74);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body[data-page="home"] .hero-links a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

body[data-page="home"] .homebrew-inline {
  margin-top: 2px;
}

body[data-page="home"] .hero-visual {
  width: min(100%, 620px);
  align-self: center;
  animation: rn-home-screen-float 11s ease-in-out infinite;
}

body[data-page="home"] .screen-frame--hero {
  transform: perspective(1800px) rotateX(5deg) rotateY(-9deg) rotateZ(1deg);
  transform-origin: center;
}

body[data-page="home"] .screen-chip-row {
  justify-content: flex-end;
  margin-top: -10px;
}

@keyframes rn-home-screen-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

body[data-page="home"] .content-section {
  gap: 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="home"] .content-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

body[data-page="home"] .section-head {
  max-width: 760px;
}

body[data-page="home"] .pillar-grid,
body[data-page="home"] .usecase-grid,
body[data-page="home"] .shelf-grid {
  gap: 24px;
}

body[data-page="home"] .pillar-card,
body[data-page="home"] .usecase-card,
body[data-page="home"] .shelf-card {
  min-height: 0;
  padding: 2px 0 2px 18px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .pillar-card::before,
body[data-page="home"] .usecase-card::before,
body[data-page="home"] .shelf-card::before {
  display: none;
}

body[data-page="home"] .pillar-card:hover,
body[data-page="home"] .usecase-card:hover,
body[data-page="home"] .shelf-card:hover {
  transform: translateX(6px);
  border-color: transparent;
  box-shadow: none;
}

body[data-page="home"] .surface-grid {
  gap: 20px;
}

body[data-page="home"] .surface-card {
  padding: 14px;
  border-radius: 30px;
}

body[data-page="home"] .surface-card__copy {
  padding: 10px 8px 6px;
}

body[data-page="home"] .site-footer__meta {
  align-items: center;
}

@media (max-width: 980px) {
  body[data-page="home"] .hero {
    min-height: auto;
    gap: 26px;
  }

  body[data-page="home"] .screen-chip-row {
    justify-content: flex-start;
    margin-top: 8px;
  }

  body[data-page="home"] .hero-links {
    gap: 10px 14px;
  }

  body[data-page="home"] .pillar-card,
  body[data-page="home"] .usecase-card,
  body[data-page="home"] .shelf-card {
    padding-left: 14px;
  }
}

/* ─── hero-status pill: breathing glow when online ─────────── */
.hero-status__pill[data-state="online"] {
  animation: rn-online-pulse 3s ease-in-out infinite;
}
@keyframes rn-online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(50, 255, 126, 0); }
  50%       { box-shadow: 0 0 0 4px rgba(50, 255, 126, 0.08); }
}

/* ─── Screen version chip: subtle entrance ──────────────────── */
.screen-version-chip {
  animation: rn-rise 640ms cubic-bezier(0.22, 1, 0.36, 1) 260ms both;
}

/* ─── Support cards: accent top-border on hover ─────────────── */
body:not([data-page="apps"]) .support-card {
  border-top-width: 2px;
  border-top-color: rgba(255, 255, 255, 0.05);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    border-top-color 220ms ease,
    box-shadow 220ms ease;
}
body:not([data-page="apps"]) .support-card:hover {
  border-top-color: rgba(145, 56, 216, 0.34);
}

/* ─── Brew page: hero screen chips use mono ─────────────────── */
body[data-page="brew"] .screen-chip {
  font-family: var(--rn-font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: rgba(200, 230, 200, 0.72);
  border-color: rgba(50, 255, 126, 0.12);
  background: rgba(50, 255, 126, 0.04);
}

/* ─── API page: sidebar active item gets green glow ─────────── */
body[data-page="api"] .api-docs-group.is-active {
  background:
    radial-gradient(circle at 12% 50%, rgba(50, 255, 126, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(18, 24, 31, 0.92), rgba(10, 14, 19, 0.96));
}

/* ─── Screen frame: hover lifts and brightens ───────────────── */
.screen-frame:hover {
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 40px rgba(92, 141, 255, 0.08);
  transform: perspective(1800px) rotateX(4deg) rotateY(-6deg) rotateZ(0.8deg);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 400ms ease;
}

/* ─── reduced-motion: kill the scan line ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  body:not([data-page="apps"]) .hero::before {
    animation: none !important;
    opacity: 0;
  }
  .bg-glow--blue,
  .bg-glow--green {
    animation: none !important;
  }
  .site-footer__release-chip::before {
    animation: none !important;
  }
  [data-reveal] {
    transition-delay: 0ms !important;
  }
}

/* ─── Sitewide shell tightening ─────────────────────────────── */
html {
  scrollbar-color: rgba(92, 141, 255, 0.34) rgba(9, 12, 18, 0.22);
}

body .site-header {
  position: sticky;
  top: 10px;
  z-index: 18;
}

body .site-header::after {
  content: '';
  position: absolute;
  inset: auto 18px -14px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 141, 255, 0.18), transparent 72%);
  filter: blur(16px);
  pointer-events: none;
  opacity: 0.66;
}

body .site-header__panel,
body .brand-lockup {
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

body .site-header__panel:hover,
body .brand-lockup:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
}

body:not([data-page="apps"]) .content-section,
body[data-page="ios"] .content-section,
body[data-page="brew"] .content-section {
  padding-top: clamp(48px, 6vw, 78px);
  padding-bottom: clamp(18px, 2.8vw, 30px);
}

body:not([data-page="apps"]) .hero,
body[data-page="ios"] .hero,
body[data-page="brew"] .hero {
  min-height: min(760px, calc(100svh - 118px));
  align-items: center;
  gap: clamp(30px, 5vw, 56px);
}

body:not([data-page="apps"]) .hero-copy,
body[data-page="ios"] .hero-copy,
body[data-page="brew"] .hero-copy {
  gap: 18px;
  max-width: 640px;
}

body:not([data-page="apps"]) .hero h1,
body[data-page="ios"] .hero h1,
body[data-page="brew"] .hero h1 {
  max-width: 11ch;
  letter-spacing: -0.05em;
}

body:not([data-page="apps"]) .hero-body,
body[data-page="ios"] .hero-body,
body[data-page="brew"] .hero-body {
  max-width: 54ch;
}

body:not([data-page="apps"]) .hero-visual,
body[data-page="ios"] .ios-hero-visual,
body[data-page="brew"] .hero-visual {
  perspective: 1800px;
}

body:not([data-page="apps"]) .screen-frame,
body:not([data-page="apps"]) .surface-card,
body:not([data-page="apps"]) .download-hero-card,
body:not([data-page="apps"]) .download-side-card,
body:not([data-page="apps"]) .usecase-card,
body[data-page="ios"] .ios-shot-card,
body[data-page="brew"] .feature-card,
body[data-page="roachclaw"] .roachclaw-panel,
body[data-page="account"] .account-surface,
body[data-page="api"] .api-docs-group,
body[data-page="api"] .api-docs-detail__surface {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 280ms ease,
    background 280ms ease;
}

body:not([data-page="apps"]) .surface-card:hover,
body:not([data-page="apps"]) .download-hero-card:hover,
body:not([data-page="apps"]) .download-side-card:hover,
body:not([data-page="apps"]) .usecase-card:hover,
body[data-page="ios"] .ios-shot-card:hover,
body[data-page="brew"] .feature-card:hover,
body[data-page="roachclaw"] .roachclaw-panel:hover,
body[data-page="account"] .account-surface:hover,
body[data-page="api"] .api-docs-group:hover,
body[data-page="api"] .api-docs-detail__surface:hover {
  transform: translateY(-4px);
}

body:not([data-page="apps"]) .surface-card__shot,
body[data-page="ios"] .ios-shot-card .app-screen-shot {
  overflow: hidden;
}

body:not([data-page="apps"]) .surface-card__shot img,
body[data-page="ios"] .ios-shot-card .app-screen-shot img {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

body:not([data-page="apps"]) .surface-card:hover .surface-card__shot img,
body[data-page="ios"] .ios-shot-card:hover .app-screen-shot img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

/* ─── Apps catalog interaction polish ───────────────────────── */
body[data-page="apps"] .apps-store-sidebar {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

body[data-page="apps"] .apps-store-sidebar__nav {
  scrollbar-width: none;
}

body[data-page="apps"] .apps-row__scroller {
  scroll-snap-type: x proximity;
}

body[data-page="apps"] .apps-card,
body[data-page="apps"] .apps-featured-card {
  scroll-snap-align: start;
}

body[data-page="apps"] .apps-card,
body[data-page="apps"] .apps-featured-card,
body[data-page="apps"] .apps-category-card,
body[data-page="apps"] .apps-detail__surface {
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

body[data-page="apps"] .apps-card:hover,
body[data-page="apps"] .apps-featured-card:hover,
body[data-page="apps"] .apps-category-card:hover,
body[data-page="apps"] .apps-detail__surface:hover {
  transform: translateY(-3px);
}

body[data-page="apps"] .apps-card:hover .store-generated-icon,
body[data-page="apps"] .apps-featured-card:hover .store-generated-icon {
  transform: scale(1.04) rotate(-1deg);
}

/* ─── Docs + account page reading rhythm ───────────────────── */
body[data-page="api"] .api-docs-layout,
body[data-page="roachclaw"] .roachclaw-shell,
body[data-page="account"] .account-shell {
  gap: clamp(18px, 2.5vw, 28px);
}

body[data-page="api"] .api-docs-hero h2,
body[data-page="roachclaw"] .roachclaw-panel h1,
body[data-page="account"] .account-poster h1 {
  letter-spacing: -0.04em;
}

/* ─── RoachNet v2 visual pass ─────────────────────────────── */
body:not([data-page="apps"]) .page-shell,
body[data-page="ios"] .page-shell,
body[data-page="brew"] .page-shell,
body[data-page="roachclaw"] .page-shell,
body[data-page="account"] .page-shell,
body[data-page="api"] .page-shell {
  gap: 34px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 18px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header__panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.92), rgba(8, 11, 16, 0.88)),
    rgba(10, 12, 17, 0.72);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-header__panel::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(145, 56, 216, 0.16), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.site-header .site-nav a,
.site-action-pill {
  position: relative;
  min-height: 40px;
  border-radius: 999px;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.site-header .site-nav a {
  padding-inline: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}

.site-header .site-nav a:hover,
.site-header .site-nav a.is-current {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(50, 255, 126, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.site-action-pill {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.site-action-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(145, 56, 216, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

body:not([data-page="apps"]) .hero {
  min-height: min(74vh, 760px);
  padding-top: 40px;
  padding-bottom: 10px;
}

body:not([data-page="apps"]) .hero-copy {
  display: grid;
  gap: 14px;
}

body:not([data-page="apps"]) .hero-body {
  max-width: 30ch;
  font-size: 1.06rem;
}

body:not([data-page="apps"]) .hero-actions {
  max-width: 720px;
}

body:not([data-page="apps"]) .hero-visual {
  position: relative;
  animation: rn-hero-float 8.5s ease-in-out infinite;
}

body:not([data-page="apps"]) .hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 8% -10% 8%;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 141, 255, 0.22), transparent 70%);
  filter: blur(16px);
  pointer-events: none;
}

@keyframes rn-hero-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

body:not([data-page="apps"]) .screen-frame--hero {
  overflow: hidden;
  border-radius: 34px;
}

body:not([data-page="apps"]) .screen-frame--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

body:not([data-page="apps"]) .section-head {
  position: relative;
  padding-bottom: 12px;
}

body:not([data-page="apps"]) .section-head::after {
  content: "";
  width: 68px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0.84), rgba(50, 255, 126, 0.66));
}

body:not([data-page="apps"]) .surface-grid {
  gap: 16px;
}

body:not([data-page="apps"]) .surface-card:first-child,
body:not([data-page="apps"]) .surface-card:nth-child(5) {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
}

body:not([data-page="apps"]) .surface-card__shot {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(5, 8, 12, 0.42), rgba(5, 8, 12, 0.08));
}

body:not([data-page="apps"]) .surface-card__copy {
  gap: 10px;
}

body:not([data-page="apps"]) .surface-card__copy h3 {
  font-size: 1.26rem;
}

body:not([data-page="apps"]) .usecase-card,
body:not([data-page="apps"]) .shelf-card,
body:not([data-page="apps"]) .runtime-card,
body:not([data-page="apps"]) .support-card {
  align-content: space-between;
}

body:not([data-page="apps"]) .download-layout {
  align-items: stretch;
}

body:not([data-page="apps"]) .download-hero-card {
  min-height: 248px;
}

body:not([data-page="apps"]) .support-card {
  min-height: 220px;
}

[data-reveal] {
  transform: translateY(26px) scale(0.985);
  filter: blur(5px);
}

[data-reveal].is-revealed {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 980px) {
  body:not([data-page="apps"]) .hero {
    min-height: auto;
    padding-top: 26px;
  }

  body:not([data-page="apps"]) .surface-card:first-child,
  body:not([data-page="apps"]) .surface-card:nth-child(5) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ─── Final product-surface polish ─────────────────────────── */
body[data-page="roachclaw"] .roachclaw-page {
  width: min(1380px, calc(100vw - 34px));
  padding: 24px 0 34px;
}

body[data-page="roachclaw"] .roachclaw-shell {
  gap: 18px;
  align-items: start;
}

body[data-page="roachclaw"] .roachclaw-panel {
  padding: 22px;
  border-radius: 26px;
}

body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
  max-width: 7.6ch;
}

body[data-page="roachclaw"] .roachclaw-panel--workspace-head {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
}

body[data-page="roachclaw"] .roachclaw-panel--threads,
body[data-page="roachclaw"] .roachclaw-panel--chat {
  min-height: 0;
}

body[data-page="roachclaw"] .roachclaw-panel--chat {
  grid-template-rows: minmax(0, 1fr) auto;
}

body[data-page="roachclaw"] .roachclaw-log {
  max-height: min(70vh, 760px);
}

body[data-page="roachclaw"] .roachclaw-chip {
  background: rgba(255, 255, 255, 0.035);
}

body[data-page="roachclaw"] .roachclaw-panel--meta h2,
body[data-page="roachclaw"] .roachclaw-panel--threads h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

body[data-page="roachclaw"] .roachclaw-composer {
  padding-top: 14px;
}

body[data-page="api"] .api-docs-shell {
  width: min(1400px, calc(100vw - 34px));
  gap: 18px;
  padding: 18px 0 26px;
  align-items: start;
}

body[data-page="api"] .api-docs-sidebar,
body[data-page="api"] .api-docs-main {
  gap: 14px;
}

body[data-page="api"] .api-docs-sidebar__intro h1 {
  max-width: 8ch;
}

body[data-page="api"] .api-docs-topbar {
  position: sticky;
  top: 18px;
  z-index: 4;
}

body[data-page="api"] .api-docs-workspace {
  grid-template-columns: minmax(320px, 0.56fr) minmax(0, 1fr);
  align-items: start;
}

body[data-page="api"] .api-route-pane,
body[data-page="api"] .api-detail-pane {
  max-height: calc(100svh - 162px);
  overflow: auto;
}

body[data-page="api"] .api-detail-pane {
  position: sticky;
  top: 96px;
}

body[data-page="ios"] .page-shell {
  gap: 26px;
  padding-bottom: 8px;
}

body[data-page="ios"] .hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: end;
  min-height: auto;
}

body[data-page="ios"] .hero-copy {
  max-width: 560px;
}

body[data-page="ios"] .hero-body {
  max-width: 29ch;
}

body[data-page="ios"] .ios-hero-visual {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: end;
  align-self: stretch;
  animation: none;
}

body[data-page="ios"] .ios-hero-visual::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 54px;
  width: 164px;
  aspect-ratio: 9 / 19.5;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    url("./assets/screens/roachnet-ios-companion-chat.jpg") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  transform: perspective(1800px) rotateY(14deg) rotateX(6deg) rotateZ(-6deg);
  opacity: 0.82;
  animation: none;
}

body[data-page="ios"] .ios-hero-shot {
  width: min(100%, 360px);
  transform: perspective(1800px) rotateY(-10deg) rotateX(4deg);
  transform-origin: center;
  opacity: 1;
  animation: none;
}

body[data-page="ios"] .ios-shot-card__copy {
  gap: 8px;
}

body[data-page="ios"] .ios-shot-card__copy p,
body[data-page="ios"] .ios-install-note,
body[data-page="ios"] .section-head p {
  color: rgba(236, 242, 248, 0.9);
}

body[data-page="ios"] .ios-shot-card__copy p {
  max-width: 28ch;
}

body[data-page="ios"] .ios-shot-wall--editorial {
  gap: 18px;
  align-items: start;
}

body[data-page="ios"] .ios-shot-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
}

body[data-page="ios"] .ios-shot-card::after {
  content: "";
  position: absolute;
  inset: auto 14% -22px 14%;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 141, 255, 0.16), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  opacity: 0.6;
}

body[data-page="apps"] .apps-store-back {
  min-height: 44px;
  background: rgba(255, 255, 255, 0.045);
}

body[data-page="apps"] .apps-nav-item {
  min-height: 46px;
}

body[data-page="apps"] .apps-nav-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
}

body[data-page="apps"] .apps-section-head__copy h1 {
  max-width: 12ch;
}

@media (max-width: 1180px) {
  body[data-page="api"] .api-docs-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="api"] .api-docs-topbar,
  body[data-page="api"] .api-detail-pane {
    position: static;
  }

  body[data-page="api"] .api-docs-workspace {
    grid-template-columns: 1fr;
  }

  body[data-page="api"] .api-route-pane,
  body[data-page="api"] .api-detail-pane {
    max-height: none;
  }
}

@media (max-width: 980px) {
  body[data-page="ios"] .hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body[data-page="ios"] .ios-hero-visual {
    justify-items: start;
  }

  body[data-page="ios"] .ios-hero-visual::before {
    display: none;
  }

  body[data-page="ios"] .ios-hero-shot {
    transform: none;
  }
}

/* ─── Final shell polish: RoachClaw / API / Apps ───────────── */
body[data-page="roachclaw"] .roachclaw-page,
body[data-page="api"] .api-docs-shell,
body[data-page="apps"] .apps-store-shell {
  min-height: auto;
}

body[data-page="roachclaw"] .roachclaw-shell {
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.34fr) minmax(240px, 0.72fr);
}

body[data-page="roachclaw"] .roachclaw-brand-shot {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(14, 18, 24, 0.94), rgba(8, 12, 18, 0.98));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="roachclaw"] .roachclaw-brand-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

body[data-page="roachclaw"] .roachclaw-rail--left,
body[data-page="roachclaw"] .roachclaw-rail--right,
body[data-page="roachclaw"] .roachclaw-workspace {
  gap: 18px;
}

body[data-page="roachclaw"] .roachclaw-rail--right {
  position: sticky;
  top: 96px;
}

body[data-page="roachclaw"] .roachclaw-chip-row,
body[data-page="roachclaw"] .panel-note-grid {
  max-width: 760px;
}

body[data-page="roachclaw"] .roachclaw-topbar,
body[data-page="api"] .api-docs-topbar,
body[data-page="apps"] .apps-store-topbar {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background:
    linear-gradient(180deg, rgba(17, 23, 31, 0.88), rgba(10, 14, 19, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="roachclaw"] .roachclaw-panel--brand,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head,
body[data-page="api"] .api-docs-hero,
body[data-page="apps"] .apps-section-head,
body[data-page="apps"] .apps-store-sidebar__card {
  position: relative;
  overflow: hidden;
}

body[data-page="roachclaw"] .roachclaw-panel--brand::after,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head::after,
body[data-page="api"] .api-docs-hero::after,
body[data-page="apps"] .apps-section-head::after,
body[data-page="apps"] .apps-store-sidebar__card::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% auto;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(50, 255, 126, 0.16), rgba(50, 255, 126, 0) 68%);
  filter: blur(22px);
  pointer-events: none;
}

body[data-page="roachclaw"] .roachclaw-panel--brand::before,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head::before,
body[data-page="api"] .api-docs-hero::before,
body[data-page="apps"] .apps-section-head::before,
body[data-page="apps"] .apps-store-sidebar__card::before {
  background:
    linear-gradient(145deg, rgba(145, 56, 216, 0.10), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(92, 141, 255, 0.18), transparent 28%);
}

body[data-page="roachclaw"] .roachclaw-panel--brand,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head,
body[data-page="api"] .api-docs-hero,
body[data-page="apps"] .apps-section-head,
body[data-page="apps"] .apps-store-sidebar__card {
  border-color: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="roachclaw"] .roachclaw-panel--brand h1,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head h2,
body[data-page="api"] .api-docs-hero h2,
body[data-page="apps"] .apps-section-head__copy h1 {
  text-wrap: balance;
}

body[data-page="roachclaw"] .roachclaw-thread,
body[data-page="roachclaw"] .roachclaw-starter,
body[data-page="api"] .api-route-card,
body[data-page="api"] .api-detail-block,
body[data-page="apps"] .apps-row,
body[data-page="apps"] .apps-nav-item {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

body[data-page="roachclaw"] .roachclaw-message {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="roachclaw"] .roachclaw-log {
  padding-right: 8px;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

body[data-page="roachclaw"] .roachclaw-panel--chat {
  min-height: min(74vh, 980px);
}

body[data-page="roachclaw"] .roachclaw-panel--threads {
  min-height: min(52vh, 620px);
}

body[data-page="roachclaw"] .roachclaw-starter {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.88), rgba(9, 13, 18, 0.94));
}

body[data-page="roachclaw"] .roachclaw-starter:hover,
body[data-page="roachclaw"] .roachclaw-thread:hover {
  transform: translateY(-3px);
}

body[data-page="api"] .api-docs-main {
  gap: 16px;
}

body[data-page="api"] .api-docs-sidebar {
  position: sticky;
  top: 18px;
}

body[data-page="api"] .api-docs-topbar__title strong {
  letter-spacing: -0.03em;
}

body[data-page="api"] .api-docs-hero {
  display: grid;
  gap: 18px;
  min-height: 0;
}

body[data-page="api"] .api-docs-hero__meta article,
body[data-page="api"] .api-detail-block {
  background:
    linear-gradient(180deg, rgba(18, 24, 31, 0.88), rgba(9, 13, 18, 0.94));
}

body[data-page="api"] .api-route-card {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.88), rgba(9, 13, 18, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 38px rgba(0, 0, 0, 0.12);
}

body[data-page="api"] .api-route-card.is-active,
body[data-page="api"] .api-route-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="api"] .api-route-list,
body[data-page="api"] .api-detail-pane {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body[data-page="api"] .api-detail-pane {
  background:
    linear-gradient(180deg, rgba(17, 23, 31, 0.92), rgba(9, 13, 18, 0.97));
}

body[data-page="apps"] .apps-store-sidebar__card {
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.92), rgba(9, 13, 18, 0.97));
}

body[data-page="apps"] .apps-store-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100svh - 36px);
}

body[data-page="apps"] .apps-store-sidebar__card h2 {
  max-width: 14ch;
}

body[data-page="apps"] .apps-store-back {
  position: relative;
  overflow: hidden;
  font-weight: 700;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="apps"] .apps-store-back::after {
  content: "";
  position: absolute;
  inset: auto 14px 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0), rgba(145, 56, 216, 0.88), rgba(50, 255, 126, 0));
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
}

body[data-page="apps"] .apps-store-back:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

body[data-page="apps"] .apps-nav-item {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 12px 26px rgba(0, 0, 0, 0.08);
}

body[data-page="apps"] .apps-nav-item--active,
body[data-page="apps"] .apps-nav-item:hover {
  transform: translateY(-2px);
}

body[data-page="apps"] .apps-row {
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="apps"] .apps-row__head {
  align-items: start;
}

body[data-page="apps"] .apps-store-content {
  align-content: start;
  gap: 18px;
}

body[data-page="apps"] .apps-section-head__meta span,
body[data-page="api"] .api-docs-hero__meta article {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1180px) {
  body[data-page="roachclaw"] .roachclaw-panel--workspace-head {
    grid-template-columns: 1fr;
  }

  body[data-page="roachclaw"] .roachclaw-shell,
  body[data-page="api"] .api-docs-shell,
  body[data-page="apps"] .apps-store-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="roachclaw"] .roachclaw-rail--right,
  body[data-page="api"] .api-docs-sidebar,
  body[data-page="apps"] .apps-store-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 760px) {
  body[data-page="roachclaw"] .roachclaw-page,
  body[data-page="api"] .api-docs-shell,
  body[data-page="apps"] .apps-store-shell {
    padding-bottom: 22px;
  }

  body[data-page="apps"] .apps-store-topbar,
  body[data-page="api"] .api-docs-topbar,
  body[data-page="roachclaw"] .roachclaw-topbar {
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
}

/* ─── Final page cleanup pass ─────────────────────────────── */
body[data-page="ios"] .hero-footnote,
body[data-page="ios"] .download-meta,
body[data-page="ios"] .section-head p,
body[data-page="ios"] .ios-shot-card__copy p,
body[data-page="ios"] .ios-install-note {
  color: rgba(236, 242, 248, 0.84);
}

body[data-page="ios"] .ios-shot-wall--editorial {
  align-items: start;
}

body[data-page="ios"] .ios-shot-card {
  min-height: 0;
}

body[data-page="ios"] .ios-shot-card .app-screen-shot {
  background:
    radial-gradient(circle at top center, rgba(92, 141, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(14, 18, 24, 0.94), rgba(8, 12, 18, 0.98));
}

body[data-page="ios"] .page-shell,
body[data-page="roachclaw"] .roachclaw-page,
body[data-page="api"] .api-docs-shell {
  min-height: auto;
  padding-bottom: 8px;
}

body[data-page="home"],
body[data-page="brew"],
body[data-page="ios"],
body[data-page="roachclaw"],
body[data-page="api"] {
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .page-shell,
body[data-page="brew"] .page-shell,
body[data-page="ios"] .page-shell,
body[data-page="roachclaw"] .roachclaw-page,
body[data-page="api"] .api-docs-shell {
  flex: 1 0 auto;
}

body[data-page="roachclaw"] .roachclaw-panel--brand,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head,
body[data-page="api"] .api-docs-hero {
  min-height: 0;
}

body[data-page="apps"] .apps-store-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 10px;
}

body[data-page="apps"] .apps-store-sidebar__card p {
  max-width: 32ch;
}

body[data-page="apps"] .apps-store-back::before {
  content: "↗";
  font-size: 0.9rem;
  opacity: 0.7;
  transform: rotate(180deg);
}

body[data-page="apps"] .apps-card__copy p,
body[data-page="apps"] .apps-hero-panel__lead,
body[data-page="apps"] .apps-hero-panel__body {
  max-width: 32ch;
}

body[data-page="apps"] .apps-card__copy p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body[data-page="apps"] .apps-hero-panel__body:empty {
  display: none;
}

body[data-page="apps"] .apps-preview-stage {
  margin-bottom: 18px;
}

body[data-page="apps"] .apps-preview-stage__secondary {
  max-width: 40ch;
  margin: -2px 0 0;
  color: rgba(232, 238, 245, 0.66);
  font-family: var(--rn-font-landing);
  line-height: 1.58;
}

body[data-page="apps"] .apps-preview-stage__stack span {
  min-height: 54px;
}

body[data-page="apps"] .apps-card {
  cursor: pointer;
}

body[data-page="apps"] .apps-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(50, 255, 126, 0.18);
  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(50, 255, 126, 0.07);
}

body[data-page="apps"] .apps-card.is-selected::before {
  opacity: 1;
}

body[data-page="apps"] .apps-card.is-selected .store-generated-icon {
  filter: saturate(1.18) brightness(1.03);
}

body[data-page="apps"] .apps-card__focus:focus-visible {
  outline: 2px solid rgba(50, 255, 126, 0.45);
  outline-offset: 3px;
}

body[data-page="apps"] .apps-row__head h2 {
  max-width: 22ch;
}

body[data-page="apps"] .apps-store-shell {
  padding-bottom: 8px;
}

body[data-page="apps"] .apps-store-content,
body[data-page="apps"] #apps-store-stage {
  min-height: 0;
}

body[data-page="roachclaw"] .roachclaw-page {
  width: min(var(--rn-poster-max), calc(100vw - 34px));
  padding-bottom: 10px;
}

body[data-page="roachclaw"] .roachclaw-panel--brand p,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head p,
body[data-page="roachclaw"] .account-form__note {
  max-width: 34ch;
}

body[data-page="roachclaw"] .roachclaw-panel--chat {
  min-height: clamp(560px, 68vh, 880px);
}

body[data-page="roachclaw"] .roachclaw-panel--threads {
  min-height: clamp(280px, 36vh, 480px);
}

body[data-page="roachclaw"] .roachclaw-panel--workspace-head {
  gap: 18px;
}

body[data-page="roachclaw"] .roachclaw-shell {
  gap: 16px;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.28fr) minmax(250px, 0.7fr);
}

body[data-page="roachclaw"] .roachclaw-panel {
  padding: 20px;
  border-radius: 24px;
}

body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
  max-width: 6.4ch;
}

body[data-page="roachclaw"] .roachclaw-panel--threads h2,
body[data-page="roachclaw"] .roachclaw-panel--meta h2 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
}

body[data-page="roachclaw"] .roachclaw-rail--left,
body[data-page="roachclaw"] .roachclaw-rail--right,
body[data-page="roachclaw"] .roachclaw-workspace {
  gap: 16px;
}

body[data-page="roachclaw"] .roachclaw-rail--right {
  top: 104px;
}

body[data-page="roachclaw"] .roachclaw-threads-head {
  align-items: center;
}

body[data-page="roachclaw"] .roachclaw-threads-head .cta {
  min-height: 42px;
  padding-inline: 14px;
}

body[data-page="roachclaw"] .roachclaw-panel--meta {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.88), rgba(9, 13, 18, 0.94));
}

body[data-page="roachclaw"] .site-footer,
body[data-page="api"] .site-footer {
  width: min(var(--rn-poster-max), calc(100vw - 34px));
  padding-top: 10px;
  padding-bottom: 24px;
}

body[data-page="api"] .api-docs-shell {
  width: min(var(--rn-poster-max), calc(100vw - 34px));
  padding-bottom: 10px;
}

body[data-page="api"] .api-docs-sidebar__intro p,
body[data-page="api"] .api-detail-header p,
body[data-page="api"] .api-detail-block p {
  max-width: 56ch;
}

body[data-page="api"] .api-route-pane,
body[data-page="api"] .api-detail-pane {
  max-height: calc(100svh - 176px);
}

body[data-page="api"] .api-detail-pane {
  padding-bottom: 8px;
}

body[data-page="ios"] .site-footer {
  padding-top: 8px;
  padding-bottom: 24px;
}

body[data-page="ios"] .screen-chip-row {
  justify-content: flex-end;
}

body[data-page="ios"] .ios-shot-card .app-screen-shot img {
  object-position: center top;
}

@media (max-width: 980px) {
  body[data-page="ios"] .screen-chip-row {
    justify-content: flex-start;
  }

  body[data-page="roachclaw"] .roachclaw-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="roachclaw"] .roachclaw-rail--right {
    top: auto;
  }
}

@keyframes rn-ios-shot-in {
  0% {
    opacity: 0;
    transform: perspective(1800px) rotateY(-10deg) rotateX(4deg) translateY(28px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: perspective(1800px) rotateY(-10deg) rotateX(4deg) translateY(0) scale(1);
  }
}

@keyframes rn-ios-backplate-in {
  0% {
    opacity: 0;
    transform: perspective(1800px) rotateY(14deg) rotateX(6deg) rotateZ(-6deg) translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: perspective(1800px) rotateY(14deg) rotateX(6deg) rotateZ(-6deg) translateY(0) scale(1);
  }
}

/* ─── Final footer + homepage interaction cleanup ─────────── */
body[data-page="home"] .page-shell,
body[data-page="brew"] .page-shell,
body[data-page="ios"] .page-shell,
body[data-page="account"] .page-shell {
  padding-bottom: 14px;
}

body[data-page="home"] .content-section {
  gap: 20px;
  padding-block: 30px 22px;
}

body[data-page="home"] .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.58fr);
  align-items: end;
  gap: 10px 28px;
  max-width: none;
  margin-bottom: 18px;
}

body[data-page="home"] .section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

body[data-page="home"] .section-head h2 {
  max-width: 10ch;
  margin: 0;
}

body[data-page="home"] .section-head > p:last-child:not(.eyebrow) {
  align-self: end;
  justify-self: end;
  max-width: 33ch;
  margin: 0;
  color: rgba(223, 232, 241, 0.76);
  line-height: 1.55;
}

body[data-page="home"] .site-footer,
body[data-page="brew"] .site-footer,
body[data-page="ios"] .site-footer,
body[data-page="roachclaw"] .site-footer,
body[data-page="api"] .site-footer,
body[data-page="account"] .site-footer {
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: 16px;
}

body[data-page="home"] .surface-card,
body[data-page="home"] .download-hero-card,
body[data-page="home"] .download-side-card,
body[data-page="home"] .support-card {
  position: relative;
  isolation: isolate;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 320ms ease,
    background 320ms ease,
    filter 320ms ease;
}

body[data-page="home"] .surface-card::after,
body[data-page="home"] .download-hero-card::after,
body[data-page="home"] .download-side-card::after,
body[data-page="home"] .support-card::after {
  content: "";
  position: absolute;
  inset: auto 16% -24px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(92, 141, 255, 0.24), rgba(145, 56, 216, 0.12) 46%, transparent 74%);
  filter: blur(18px);
  opacity: 0;
  transform: scale(0.82);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
  z-index: -1;
}

body[data-page="home"] .surface-card:hover,
body[data-page="home"] .download-hero-card:hover,
body[data-page="home"] .download-side-card:hover,
body[data-page="home"] .support-card:hover {
  transform: translateY(-6px) scale(1.006);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 34px 84px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(92, 141, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  filter: saturate(1.04);
}

body[data-page="home"] .surface-card:hover::after,
body[data-page="home"] .download-hero-card:hover::after,
body[data-page="home"] .download-side-card:hover::after,
body[data-page="home"] .support-card:hover::after {
  opacity: 0.85;
  transform: scale(1);
}

body[data-page="home"] .surface-card:hover .surface-card__shot img {
  transform: scale(1.042);
  filter: saturate(1.08) contrast(1.03);
}

body[data-page="home"] .hero-signal-card,
body[data-page="home"] .panel-note-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    box-shadow 300ms ease,
    background 300ms ease;
}

body[data-page="home"] .hero-signal-card::after,
body[data-page="home"] .panel-note-card::after {
  content: "";
  position: absolute;
  inset: auto 14% -20px;
  height: 26px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(145, 56, 216, 0.18), rgba(92, 141, 255, 0.1) 46%, transparent 74%);
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
}

body[data-page="home"] .hero-signal-card:hover,
body[data-page="home"] .panel-note-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(92, 141, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="home"] .hero-signal-card:hover::after,
body[data-page="home"] .panel-note-card:hover::after {
  opacity: 0.75;
  transform: scale(1);
}

body[data-page="home"] .pillar-card,
body[data-page="home"] .usecase-card,
body[data-page="home"] .shelf-card {
  position: relative;
  padding: 10px 10px 10px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), transparent 62%);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 260ms ease,
    padding-left 260ms ease;
}

body[data-page="home"] .pillar-card::after,
body[data-page="home"] .usecase-card::after,
body[data-page="home"] .shelf-card::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(145, 56, 216, 0.88), rgba(92, 141, 255, 0.58), rgba(50, 255, 126, 0));
  opacity: 0;
  transform: scaleY(0.75);
  transition: opacity 240ms ease, transform 240ms ease;
}

body[data-page="home"] .pillar-card:hover,
body[data-page="home"] .usecase-card:hover,
body[data-page="home"] .shelf-card:hover {
  transform: translateY(-2px);
  padding-left: 22px;
  border-left-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(90deg, rgba(92, 141, 255, 0.08), rgba(145, 56, 216, 0.03) 34%, transparent 72%);
  box-shadow: none;
}

body[data-page="home"] .pillar-card:hover::after,
body[data-page="home"] .usecase-card:hover::after,
body[data-page="home"] .shelf-card:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

body[data-page="home"] .hero-links a,
body[data-page="home"] .downloads-actions .cta--ghost {
  transition:
    color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

body[data-page="home"] .hero-links a:hover {
  transform: translateX(3px);
}

body[data-page="home"] .home-download-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(16, 22, 30, 0.9), rgba(10, 14, 19, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .home-download-note strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

body[data-page="home"] .home-download-note span {
  color: rgba(223, 232, 241, 0.74);
  line-height: 1.55;
}

body[data-page="home"] .home-support-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: start;
}

body[data-page="home"] .home-support-intro,
body[data-page="home"] .home-support-grid .support-card {
  min-height: 100%;
}

body[data-page="home"] .home-support-intro {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.92), rgba(9, 13, 18, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="home"] .home-support-intro h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2vw, 1.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body[data-page="home"] .home-support-intro p {
  margin: 0;
  color: rgba(223, 232, 241, 0.74);
  line-height: 1.6;
}

body[data-page="home"] .home-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  body[data-page="home"] .section-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="home"] .section-head > p:last-child:not(.eyebrow) {
    justify-self: start;
    max-width: 36ch;
  }

  body[data-page="home"] .surface-card:hover,
  body[data-page="home"] .download-hero-card:hover,
  body[data-page="home"] .download-side-card:hover,
  body[data-page="home"] .support-card:hover {
    transform: translateY(-4px) scale(1.002);
  }

  body[data-page="home"] .pillar-card:hover,
  body[data-page="home"] .usecase-card:hover,
  body[data-page="home"] .shelf-card:hover {
    padding-left: 18px;
  }

  body[data-page="home"] .home-download-note,
  body[data-page="home"] .home-support-shell,
  body[data-page="home"] .home-support-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Final visual pass: footer finish + homepage motion + RoachClaw cleanup ─── */
body[data-page="home"],
body[data-page="brew"],
body[data-page="ios"],
body[data-page="roachclaw"],
body[data-page="api"],
body[data-page="account"],
body[data-page="apps"] {
  min-height: 100svh;
}

body[data-page="home"] .page-shell,
body[data-page="brew"] .page-shell,
body[data-page="ios"] .page-shell,
body[data-page="account"] .account-page,
body[data-page="roachclaw"] .roachclaw-page,
body[data-page="api"] .api-docs-shell,
body[data-page="apps"] .apps-store-shell {
  padding-bottom: 0;
}

body[data-page="home"] .site-footer,
body[data-page="brew"] .site-footer,
body[data-page="ios"] .site-footer,
body[data-page="roachclaw"] .site-footer,
body[data-page="api"] .site-footer,
body[data-page="account"] .site-footer,
body[data-page="apps"] .site-footer {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 14px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

body[data-page="home"] .site-footer::before,
body[data-page="brew"] .site-footer::before,
body[data-page="ios"] .site-footer::before,
body[data-page="roachclaw"] .site-footer::before,
body[data-page="api"] .site-footer::before,
body[data-page="account"] .site-footer::before,
body[data-page="apps"] .site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0), rgba(145, 56, 216, 0.34), rgba(92, 141, 255, 0.34), rgba(50, 255, 126, 0));
  opacity: 0.9;
  pointer-events: none;
}

body[data-page="home"] .site-footer::after,
body[data-page="brew"] .site-footer::after,
body[data-page="ios"] .site-footer::after,
body[data-page="roachclaw"] .site-footer::after,
body[data-page="api"] .site-footer::after,
body[data-page="account"] .site-footer::after,
body[data-page="apps"] .site-footer::after {
  content: "";
  position: absolute;
  inset: -46px 0 auto;
  height: 58px;
  background: linear-gradient(180deg, rgba(10, 14, 19, 0), rgba(10, 14, 19, 0.72));
  pointer-events: none;
  z-index: -1;
}

body[data-page="home"] .site-footer__copy,
body[data-page="brew"] .site-footer__copy,
body[data-page="ios"] .site-footer__copy,
body[data-page="roachclaw"] .site-footer__copy,
body[data-page="api"] .site-footer__copy,
body[data-page="account"] .site-footer__copy,
body[data-page="apps"] .site-footer__copy {
  max-width: 38ch;
}

body[data-page="home"] .surface-card,
body[data-page="home"] .download-hero-card,
body[data-page="home"] .download-side-card,
body[data-page="home"] .support-card,
body[data-page="home"] .hero-signal-card,
body[data-page="home"] .panel-note-card {
  transform-origin: center top;
  will-change: transform;
}

body[data-page="home"] .surface-card::before,
body[data-page="home"] .download-hero-card::before,
body[data-page="home"] .download-side-card::before,
body[data-page="home"] .support-card::before {
  opacity: 0;
  transition: opacity 300ms ease, transform 420ms ease;
}

body[data-page="home"] .surface-card:hover,
body[data-page="home"] .download-hero-card:hover,
body[data-page="home"] .download-side-card:hover,
body[data-page="home"] .support-card:hover {
  transform: translateY(-8px) scale(1.008);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 40px 96px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(92, 141, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  filter: saturate(1.05);
}

body[data-page="home"] .surface-card:hover::before,
body[data-page="home"] .download-hero-card:hover::before,
body[data-page="home"] .download-side-card:hover::before,
body[data-page="home"] .support-card:hover::before {
  opacity: 1;
}

body[data-page="home"] .surface-card:hover::after,
body[data-page="home"] .download-hero-card:hover::after,
body[data-page="home"] .download-side-card:hover::after,
body[data-page="home"] .support-card:hover::after {
  opacity: 0.95;
}

body[data-page="home"] .surface-card__shot img,
body[data-page="home"] .download-hero-card .screen-frame__image,
body[data-page="home"] .download-side-card .screen-frame__image {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

body[data-page="home"] .surface-card:hover .surface-card__shot img {
  transform: scale(1.05) translateY(-2px);
  filter: saturate(1.1) contrast(1.03);
}

body[data-page="home"] .screen-version-chip,
body[data-page="home"] .screen-chip,
body[data-page="home"] .hero-status__pill {
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease,
    background 240ms ease,
    color 240ms ease;
}

body[data-page="home"] .surface-card:hover .screen-version-chip,
body[data-page="home"] .download-hero-card:hover .screen-version-chip {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

body[data-page="home"] .hero-signal-card,
body[data-page="home"] .panel-note-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-page="home"] .hero-signal-card:hover,
body[data-page="home"] .panel-note-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 28px 66px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(92, 141, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="home"] .pillar-card,
body[data-page="home"] .usecase-card,
body[data-page="home"] .shelf-card {
  padding-top: 14px;
  padding-bottom: 14px;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent 68%);
}

body[data-page="home"] .pillar-card:hover,
body[data-page="home"] .usecase-card:hover,
body[data-page="home"] .shelf-card:hover {
  transform: translateY(-1px);
  padding-left: 24px;
  border-left-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(90deg, rgba(92, 141, 255, 0.1), rgba(145, 56, 216, 0.045) 32%, transparent 76%);
}

body[data-page="home"] .hero-links a,
body[data-page="home"] .downloads-actions .cta--ghost {
  position: relative;
}

body[data-page="home"] .hero-links a:hover,
body[data-page="home"] .downloads-actions .cta--ghost:hover {
  transform: translateX(0);
  color: rgba(250, 252, 255, 0.96);
  text-shadow: 0 0 18px rgba(92, 141, 255, 0.2);
}

body[data-page="roachclaw"] .roachclaw-panel {
  padding: 22px;
  border-radius: 26px;
}

body[data-page="roachclaw"] .roachclaw-panel--brand {
  gap: 20px;
  padding: 26px;
}

body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
  max-width: 7.4ch;
}

body[data-page="roachclaw"] .roachclaw-panel--brand p,
body[data-page="roachclaw"] .roachclaw-panel--workspace-head p,
body[data-page="roachclaw"] .account-form__note {
  max-width: 38ch;
}

body[data-page="roachclaw"] .roachclaw-panel--workspace-head {
  gap: 20px;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  align-items: start;
}

body[data-page="roachclaw"] .roachclaw-workspace-head__copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

body[data-page="roachclaw"] .roachclaw-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="roachclaw"] .roachclaw-status-tile {
  min-height: 110px;
  padding: 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(15, 20, 27, 0.92), rgba(9, 13, 18, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.14);
}

body[data-page="roachclaw"] .roachclaw-brand-shot {
  border-radius: 28px;
}

body[data-page="roachclaw"] .roachclaw-brand-shot img {
  aspect-ratio: 16 / 9.4;
  object-position: center 10%;
}

body[data-page="roachclaw"] .hero-signal-board--compact,
body[data-page="roachclaw"] .panel-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="roachclaw"] .hero-signal-card,
body[data-page="roachclaw"] .panel-note-card,
body[data-page="roachclaw"] .roachclaw-panel--meta,
body[data-page="roachclaw"] .roachclaw-panel--threads,
body[data-page="roachclaw"] .roachclaw-panel--auth {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.9), rgba(9, 13, 18, 0.96));
}

body[data-page="roachclaw"] .roachclaw-panel--chat {
  min-height: clamp(580px, 70vh, 900px);
}

body[data-page="roachclaw"] .roachclaw-log {
  padding-right: 10px;
  padding-bottom: 8px;
}

body[data-page="roachclaw"] .roachclaw-thread:hover,
body[data-page="roachclaw"] .roachclaw-starter:hover,
body[data-page="roachclaw"] .roachclaw-panel--meta:hover,
body[data-page="roachclaw"] .roachclaw-panel--auth:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(92, 141, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="api"] .api-docs-sidebar__intro,
body[data-page="api"] .api-docs-hero {
  overflow: hidden;
}

body[data-page="api"] .api-route-card,
body[data-page="api"] .api-detail-block {
  border-radius: 22px;
}

body[data-page="api"] .api-route-card.is-active,
body[data-page="api"] .api-route-card:hover {
  transform: translateY(-4px);
}

body[data-page="apps"] .apps-row,
body[data-page="apps"] .apps-store-sidebar__card,
body[data-page="apps"] .apps-nav-item {
  border-radius: 24px;
}

body[data-page="apps"] .apps-row:hover {
  transform: translateY(-3px);
  box-shadow:
    0 30px 72px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 1180px) {
  body[data-page="roachclaw"] .roachclaw-panel--workspace-head,
  body[data-page="roachclaw"] .hero-signal-board--compact,
  body[data-page="roachclaw"] .panel-note-grid,
  body[data-page="roachclaw"] .roachclaw-chip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .surface-card:hover,
  body[data-page="home"] .download-hero-card:hover,
  body[data-page="home"] .download-side-card:hover,
  body[data-page="home"] .support-card:hover,
  body[data-page="home"] .hero-signal-card:hover,
  body[data-page="home"] .panel-note-card:hover {
    transform: translateY(-4px);
  }

  body[data-page="home"] .pillar-card:hover,
  body[data-page="home"] .usecase-card:hover,
  body[data-page="home"] .shelf-card:hover {
    padding-left: 20px;
  }
}

/* ─── Homepage editorial rhythm pass ───────────────────────── */
body[data-page="home"] .hero {
  gap: 40px;
  padding-block: 26px 34px;
}

body[data-page="home"] .hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
}

body[data-page="home"] .hero h1 {
  max-width: 10.4ch;
  margin-bottom: 16px;
}

body[data-page="home"] .hero-body {
  max-width: 33rem;
  font-size: 1.1rem;
  line-height: 1.62;
}

body[data-page="home"] .hero-actions {
  margin-top: 22px;
}

body[data-page="home"] .hero-links {
  margin-top: 14px;
  gap: 12px 18px;
}

body[data-page="home"] .hero-footnote {
  margin-top: 18px;
}

body[data-page="home"] .download-meta {
  max-width: 40ch;
  margin-top: 6px;
}

body[data-page="home"] .homebrew-inline {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(14, 18, 24, 0.9), rgba(9, 13, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="home"] .homebrew-inline code {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="home"] .homebrew-note {
  max-width: 43ch;
  margin-top: 10px;
}

body[data-page="home"] .hero-status {
  margin-top: 16px;
}

body[data-page="home"] .hero-visual {
  gap: 18px;
}

body[data-page="home"] .screen-frame--hero {
  min-height: 568px;
}

body[data-page="home"] .hero-signal-board {
  gap: 14px;
}

body[data-page="home"] .hero-signal-card {
  min-height: 132px;
}

body[data-page="home"] .content-section {
  gap: 22px;
  padding-block: 34px 20px;
}

body[data-page="home"] .content-section--surfaces {
  padding-top: 18px;
}

body[data-page="home"] .content-section--inside,
body[data-page="home"] .content-section--runtime,
body[data-page="home"] .content-section--downloads,
body[data-page="home"] .content-section#support {
  position: relative;
}

body[data-page="home"] .content-section--inside::before,
body[data-page="home"] .content-section--runtime::before,
body[data-page="home"] .content-section--downloads::before,
body[data-page="home"] .content-section#support::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

body[data-page="home"] .section-head {
  margin-bottom: 14px;
}

body[data-page="home"] .section-head h2 {
  max-width: 9.6ch;
}

body[data-page="home"] .content-section--surfaces .section-head h2 {
  max-width: 8.6ch;
}

body[data-page="home"] .content-section--inside .section-head h2 {
  max-width: 8ch;
}

body[data-page="home"] .content-section--runtime .section-head h2 {
  max-width: 9.2ch;
}

body[data-page="home"] .content-section--downloads .section-head h2,
body[data-page="home"] .content-section#support .section-head h2 {
  max-width: 8.4ch;
}

body[data-page="home"] .surface-grid {
  gap: 18px;
}

body[data-page="home"] .surface-card {
  gap: 12px;
}

body[data-page="home"] .surface-card__copy {
  gap: 6px;
}

body[data-page="home"] .surface-card__copy h3 {
  font-size: 1.16rem;
  line-height: 1.16;
}

body[data-page="home"] .usecase-grid {
  gap: 18px 28px;
}

body[data-page="home"] .usecase-card {
  min-height: 0;
  padding-block: 16px;
}

body[data-page="home"] .usecase-card h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  line-height: 1.38;
  max-width: 26ch;
}

body[data-page="home"] .shelf-grid {
  gap: 18px 24px;
}

body[data-page="home"] .shelf-card {
  min-height: 0;
  padding-block: 16px;
}

body[data-page="home"] .shelf-card h3 {
  font-size: 1.06rem;
  line-height: 1.42;
}

body[data-page="home"] .runtime-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

body[data-page="home"] .runtime-card {
  min-height: 0;
  padding: 18px 18px 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.06), transparent 44%),
    linear-gradient(180deg, rgba(15, 20, 27, 0.88), rgba(9, 13, 18, 0.94));
}

body[data-page="home"] .runtime-card h3 {
  font-size: 1.08rem;
  line-height: 1.42;
}

body[data-page="home"] .download-layout {
  gap: 18px;
}

body[data-page="home"] .download-hero-card {
  min-height: 256px;
}

body[data-page="home"] .download-side-grid {
  gap: 18px;
}

body[data-page="home"] .downloads-actions {
  margin-top: 10px;
  padding-top: 6px;
}

body[data-page="home"] .home-support-shell {
  gap: 20px;
}

body[data-page="home"] .home-support-intro {
  padding: 24px;
}

body[data-page="home"] .home-support-intro h3 {
  max-width: 14ch;
}

body[data-page="home"] .home-support-grid {
  gap: 20px;
}

body[data-page="home"] .support-card {
  padding: 24px;
}

body[data-page="home"] .support-card h3 {
  max-width: 22ch;
  line-height: 1.28;
}

@media (max-width: 1180px) {
  body[data-page="home"] .runtime-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body[data-page="home"] .hero {
    gap: 28px;
    min-height: auto;
    padding-block: 24px 24px;
  }

  body[data-page="home"] .screen-frame--hero {
    min-height: 460px;
  }

  body[data-page="home"] .homebrew-inline {
    align-items: start;
  }
}

/* ─── iOS + Apps refinement pass ───────────────────────────── */
body[data-page="ios"] .hero {
  gap: 34px;
}

body[data-page="ios"] .hero-copy {
  max-width: 600px;
}

body[data-page="ios"] .hero h1 {
  max-width: 9ch;
  margin-bottom: 14px;
}

body[data-page="ios"] .hero-body {
  max-width: 30ch;
  font-size: 1.08rem;
  line-height: 1.58;
}

body[data-page="ios"] .hero-actions {
  margin-top: 22px;
}

body[data-page="ios"] .hero-footnote {
  margin-top: 16px;
}

body[data-page="ios"] .download-meta {
  margin-top: 6px;
}

body[data-page="ios"] .section-head {
  margin-bottom: 12px;
  max-width: 760px;
}

body[data-page="ios"] .section-head h2 {
  max-width: 13ch;
}

body[data-page="ios"] .section-head p {
  max-width: 58ch;
}

body[data-page="ios"] .content-section {
  gap: 20px;
  padding-block: 30px 18px;
}

body[data-page="ios"] .content-section#install,
body[data-page="ios"] .content-section#pairing {
  position: relative;
}

body[data-page="ios"] .content-section#install::before,
body[data-page="ios"] .content-section#pairing::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

body[data-page="ios"] .ios-shot-wall--editorial {
  gap: 20px;
}

body[data-page="ios"] .ios-shot-card {
  padding: 22px;
}

body[data-page="ios"] .ios-shot-card__copy {
  gap: 6px;
}

body[data-page="ios"] .ios-shot-card__copy h3 {
  max-width: 16ch;
  line-height: 1.14;
}

body[data-page="ios"] .ios-feature-shell,
body[data-page="ios"] .ios-install-shell,
body[data-page="ios"] .ios-pair-shell {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

body[data-page="ios"] .ios-pair-shell {
  grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
}

body[data-page="ios"] .ios-story-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.92), rgba(9, 13, 18, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 26px 66px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="ios"] .ios-story-card h3 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.26rem, 2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body[data-page="ios"] .ios-story-card p {
  margin: 0;
  max-width: 31ch;
  color: rgba(236, 242, 248, 0.82);
  line-height: 1.6;
}

body[data-page="ios"] .ios-story-card .hero-signal-board {
  gap: 12px;
}

body[data-page="ios"] .ios-story-card .hero-signal-card {
  min-height: 116px;
}

body[data-page="ios"] .ios-feature-grid,
body[data-page="ios"] .ios-install-grid,
body[data-page="ios"] .ios-pair-grid {
  gap: 18px;
}

body[data-page="ios"] .ios-pair-grid.card-grid--three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="ios"] .ios-feature-grid .support-card,
body[data-page="ios"] .ios-install-grid .support-card,
body[data-page="ios"] .ios-pair-grid .support-card {
  min-height: 100%;
}

body[data-page="ios"] .ios-pair-grid .support-card:last-child {
  grid-column: 1 / -1;
}

body[data-page="ios"] .ios-pair-grid .support-card h3 {
  max-width: 18ch;
}

body[data-page="ios"] .ios-pair-grid .support-card:last-child h3 {
  max-width: 34ch;
}

body[data-page="ios"] .ios-story-card .section-actions {
  margin-top: 4px;
}

body[data-page="ios"] .ios-story-card .cta {
  min-height: 46px;
}

body[data-page="ios"] .ios-story-card .ios-install-note {
  margin-top: 2px;
}

body[data-page="apps"] .apps-nav-item {
  grid-template-columns: 42px minmax(0, 1fr) minmax(44px, auto);
  gap: 10px;
  min-height: 56px;
  padding: 0 14px;
  opacity: 0;
  transform: translateX(-10px) scale(0.985);
  animation: appsSidebarItemIn 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--apps-nav-index, 0) * 28ms);
}

body[data-page="apps"] .apps-nav-item__icon {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: 38px;
  height: 38px;
  gap: 1px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 28px rgba(0, 0, 0, 0.12);
}

body[data-page="apps"] .apps-nav-item__icon::after {
  content: "";
  position: absolute;
  inset: auto 8px 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(145, 56, 216, 0.86), rgba(92, 141, 255, 0.64), rgba(50, 255, 126, 0.4));
  opacity: 0.9;
}

body[data-page="apps"] .apps-nav-item__glyph {
  font-size: 0.96rem;
  line-height: 1;
  color: rgba(249, 252, 255, 0.94);
  transform: translateY(1px);
}

body[data-page="apps"] .apps-nav-item__code {
  font-family:
    "JetBrains Mono",
    "SF Mono",
    "SFMono-Regular",
    ui-monospace,
    monospace;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(216, 222, 230, 0.62);
}

body[data-page="apps"] .apps-nav-item__label {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease;
}

body[data-page="apps"] .apps-nav-item--active .apps-nav-item__icon,
body[data-page="apps"] .apps-nav-item:hover .apps-nav-item__icon {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(92, 141, 255, 0.06);
}

body[data-page="apps"] .apps-nav-item__count {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms ease,
    opacity 180ms ease;
}

body[data-page="apps"] .apps-nav-item:hover,
body[data-page="apps"] .apps-nav-item--active {
  transform: translateX(0) translateY(-1px) scale(1);
}

body[data-page="apps"] .apps-nav-item:hover .apps-nav-item__label,
body[data-page="apps"] .apps-nav-item--active .apps-nav-item__label {
  transform: translateX(2px);
  color: rgba(249, 252, 255, 0.98);
}

body[data-page="apps"] .apps-nav-item:hover .apps-nav-item__count,
body[data-page="apps"] .apps-nav-item--active .apps-nav-item__count {
  transform: translateX(-1px);
  color: rgba(249, 252, 255, 0.82);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-y {
  box-shadow:
    inset 0 16px 16px -18px rgba(0, 0, 0, 0),
    inset 0 -18px 18px -18px rgba(0, 0, 0, 0.34);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-y.is-scrolled-y {
  box-shadow:
    inset 0 18px 18px -18px rgba(0, 0, 0, 0.34),
    inset 0 -18px 18px -18px rgba(0, 0, 0, 0.34);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-y.is-at-end-y {
  box-shadow:
    inset 0 18px 18px -18px rgba(0, 0, 0, 0.34),
    inset 0 -16px 16px -18px rgba(0, 0, 0, 0);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-x {
  box-shadow:
    inset 18px 0 18px -18px rgba(0, 0, 0, 0),
    inset -18px 0 18px -18px rgba(0, 0, 0, 0.32);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-x.is-scrolled-x {
  box-shadow:
    inset 18px 0 18px -18px rgba(0, 0, 0, 0.32),
    inset -18px 0 18px -18px rgba(0, 0, 0, 0.32);
}

body[data-page="apps"] .apps-store-sidebar__nav.is-scrollable-x.is-at-end-x {
  box-shadow:
    inset 18px 0 18px -18px rgba(0, 0, 0, 0.32),
    inset -18px 0 18px -18px rgba(0, 0, 0, 0);
}

body[data-page="apps"] .apps-nav-item__icon[data-icon="map-regions"] {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.16), transparent 44%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.9), rgba(11, 15, 20, 0.96));
}

body[data-page="apps"] .apps-nav-item__icon[data-icon="medicine"] {
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.9), rgba(11, 15, 20, 0.96));
}

body[data-page="apps"] .apps-nav-item__icon[data-icon="courses"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="education"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="science"] {
  background:
    radial-gradient(circle at top right, rgba(50, 255, 126, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.9), rgba(11, 15, 20, 0.96));
}

body[data-page="apps"] .apps-nav-item__icon[data-icon="dev"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="ml"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="models"] {
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.9), rgba(11, 15, 20, 0.96));
}

body[data-page="apps"] .apps-nav-item__icon[data-icon="audio"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="design"],
body[data-page="apps"] .apps-nav-item__icon[data-icon="culture"] {
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(19, 24, 31, 0.9), rgba(11, 15, 20, 0.96));
}

@media (max-width: 1120px) {
  body[data-page="ios"] .ios-feature-shell,
  body[data-page="ios"] .ios-install-shell,
  body[data-page="ios"] .ios-pair-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="ios"] .ios-pair-grid.card-grid--three {
    grid-template-columns: 1fr;
  }

  body[data-page="ios"] .ios-pair-grid .support-card:last-child {
    grid-column: auto;
  }
}

@keyframes appsSidebarItemIn {
  from {
    opacity: 0;
    transform: translateX(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 760px) {
  body[data-page="ios"] .ios-story-card {
    padding: 20px;
  }

  body[data-page="apps"] .apps-nav-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: 48px;
    padding: 0 12px;
  }

  body[data-page="apps"] .apps-nav-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
}

/* ─── landing page: raycast/dia-inspired split ─────────────── */
body[data-page="landing"] {
  background:
    radial-gradient(circle at top left, rgba(50, 255, 126, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.08), transparent 32%),
    #060a0f;
}

body[data-page="landing"] .page-shell {
  width: min(1240px, calc(100vw - 40px));
  display: grid;
  gap: 34px;
  padding-bottom: 88px;
}

body[data-page="landing"] .landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.98fr);
  gap: 42px;
  align-items: center;
  padding-top: 50px;
}

body[data-page="landing"] .landing-hero__copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
  font-family: var(--rn-font-landing);
}

body[data-page="landing"] .landing-hero__copy h1 {
  margin: 0;
  max-width: 9.5ch;
  font-family: var(--rn-font-landing);
  font-size: clamp(3.8rem, 8vw, 6.7rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-hero__body {
  margin: 0;
  max-width: 33ch;
  font-family: var(--rn-font-landing);
  color: rgba(233, 239, 246, 0.82);
  font-size: 1.12rem;
  line-height: 1.68;
}

body[data-page="landing"] .landing-hero__actions,
body[data-page="landing"] .landing-shortcut__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-page="landing"] .landing-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

body[data-page="landing"] .landing-proof-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  font-family: var(--rn-font-landing);
  color: rgba(238, 243, 248, 0.82);
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

body[data-page="landing"] .landing-hero__visual {
  position: relative;
  min-height: 620px;
  animation: rn-landing-float 13s ease-in-out infinite;
}

body[data-page="landing"] .landing-shot,
body[data-page="landing"] .landing-note-card,
body[data-page="landing"] .landing-strip__item,
body[data-page="landing"] .landing-ecosystem__card,
body[data-page="landing"] .landing-shortcut__panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(16, 21, 28, 0.88), rgba(10, 14, 19, 0.95));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-shot {
  overflow: hidden;
  border-radius: 30px;
}

body[data-page="landing"] .landing-shot img,
body[data-page="landing"] .landing-story__frame img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .landing-shot--primary {
  position: relative;
  width: min(100%, 760px);
  margin-left: auto;
}

body[data-page="landing"] .landing-shot--secondary {
  position: absolute;
  right: -10px;
  bottom: 46px;
  width: min(54%, 320px);
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(2deg);
  animation: rn-landing-card-float 11s ease-in-out infinite;
}

body[data-page="landing"] .landing-note-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(320px, 62%);
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 24px;
  animation: rn-landing-card-float 15s ease-in-out infinite reverse;
}

body[data-page="landing"] .landing-note-card span,
body[data-page="landing"] .landing-strip__item span {
  font-family: var(--rn-font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(211, 219, 227, 0.56);
}

body[data-page="landing"] .landing-note-card strong,
body[data-page="landing"] .landing-strip__item strong,
body[data-page="landing"] .landing-ecosystem__card h3 {
  margin: 0;
  font-family: var(--rn-font-landing);
  letter-spacing: -0.03em;
}

body[data-page="landing"] .landing-note-card strong {
  color: rgba(245, 248, 252, 0.94);
  font-size: 1rem;
  line-height: 1.45;
}

body[data-page="landing"] .landing-feel {
  position: relative;
  min-height: 248svh;
}

body[data-page="landing"] .landing-feel__sticky {
  position: sticky;
  top: 96px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100svh - 128px);
}

body[data-page="landing"] .landing-feel__copy {
  display: grid;
  gap: 16px;
  max-width: 380px;
  font-family: var(--rn-font-landing);
}

body[data-page="landing"] .landing-feel__copy h2 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.8rem, 4.8vw, 5.4rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-feel__copy p {
  margin: 0;
  color: rgba(229, 236, 243, 0.76);
  font-size: 1.04rem;
  line-height: 1.7;
}

body[data-page="landing"] .landing-feel__stage {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 620px;
}

body[data-page="landing"] .landing-feel__rail {
  position: relative;
  height: min(68svh, 540px);
}

body[data-page="landing"] .landing-feel__rail-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(145, 56, 216, 0.3), rgba(50, 255, 126, 0.2));
}

body[data-page="landing"] .landing-feel__rail-dot {
  --landing-noise-progress: 0;
  position: absolute;
  left: 50%;
  top: calc(var(--landing-noise-progress) * (100% - 18px));
  width: 18px;
  height: 18px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(145, 56, 216, 0.95), rgba(50, 255, 126, 0.92));
  box-shadow:
    0 0 0 6px rgba(145, 56, 216, 0.08),
    0 0 26px rgba(145, 56, 216, 0.34);
  transition: top 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="landing"] .landing-feel__film {
  position: relative;
  min-height: min(70svh, 580px);
  border-radius: 34px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.12), transparent 36%),
    radial-gradient(circle at bottom left, rgba(145, 56, 216, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(10, 14, 19, 0.96), rgba(7, 10, 14, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

body[data-page="landing"] .landing-feel__film::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.014)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 24px);
  opacity: 0.55;
  pointer-events: none;
}

body[data-page="landing"] .landing-feel__scene {
  position: absolute;
  inset: 26px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(14, 18, 24, 0.74), rgba(8, 11, 16, 0.92));
  opacity: 0.14;
  transform: translateY(28px) scale(0.97);
  filter: saturate(0.72);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease,
    border-color 320ms ease;
}

body[data-page="landing"] .landing-feel__scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="landing"] .landing-feel__scene-kicker,
body[data-page="landing"] .landing-feel__caption-kicker {
  font-family: var(--rn-font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(211, 219, 227, 0.56);
}

body[data-page="landing"] .landing-feel__scene strong,
body[data-page="landing"] .landing-feel__caption strong {
  font-family: var(--rn-font-landing);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: rgba(245, 248, 252, 0.96);
}

body[data-page="landing"] .landing-feel__scene-lines,
body[data-page="landing"] .landing-feel__scene-grid {
  display: grid;
  gap: 12px;
}

body[data-page="landing"] .landing-feel__scene-lines span,
body[data-page="landing"] .landing-feel__scene-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
  font-family: var(--rn-font-landing);
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: rgba(238, 243, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

body[data-page="landing"] .landing-feel__scene-lines--noise span {
  animation: rn-landing-noise-shift 6s linear infinite;
}

body[data-page="landing"] .landing-feel__scene-lines--noise span:nth-child(2) { animation-delay: 160ms; }
body[data-page="landing"] .landing-feel__scene-lines--noise span:nth-child(3) { animation-delay: 320ms; }
body[data-page="landing"] .landing-feel__scene-lines--noise span:nth-child(4) { animation-delay: 480ms; }

body[data-page="landing"] .landing-feel__scene-lines--signal span {
  border-color: rgba(50, 255, 126, 0.12);
  background: linear-gradient(180deg, rgba(50, 255, 126, 0.08), rgba(255, 255, 255, 0.03));
}

body[data-page="landing"] .landing-feel__scene-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-feel__caption {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 38px;
  display: grid;
  gap: 10px;
  max-width: 32rem;
  z-index: 2;
}

body[data-page="landing"] .landing-feel__caption p {
  margin: 0;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.76);
  line-height: 1.62;
}

@keyframes rn-landing-noise-shift {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.82;
  }
  25% {
    transform: translateX(-6px);
    opacity: 0.58;
  }
  50% {
    transform: translateX(6px);
    opacity: 0.92;
  }
  75% {
    transform: translateX(-2px);
    opacity: 0.66;
  }
}

body[data-page="landing"] .landing-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="landing"] .landing-strip__item {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 22px 22px 24px;
  border-radius: 24px;
}

body[data-page="landing"] .landing-strip__item strong {
  color: rgba(245, 248, 252, 0.94);
  font-size: 1.06rem;
  line-height: 1.4;
}

body[data-page="landing"] .landing-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(0, 0.92fr);
  gap: 36px;
  align-items: center;
  padding-block: 34px;
}

body[data-page="landing"] .landing-story--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.98fr);
}

body[data-page="landing"] .landing-story--reverse .landing-story__media {
  order: 2;
}

body[data-page="landing"] .landing-story__frame {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .landing-story__copy {
  display: grid;
  gap: 14px;
  max-width: 480px;
  font-family: var(--rn-font-landing);
}

body[data-page="landing"] .landing-story__copy h2,
body[data-page="landing"] .landing-ecosystem .section-head h2,
body[data-page="landing"] .landing-shortcut__copy h2 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-story__copy p,
body[data-page="landing"] .landing-ecosystem .section-head p,
body[data-page="landing"] .landing-ecosystem__card p,
body[data-page="landing"] .landing-shortcut__copy p,
body[data-page="landing"] .landing-shortcut__status {
  margin: 0;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.78);
  line-height: 1.68;
}

body[data-page="landing"] .landing-story__list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body[data-page="landing"] .landing-story__list li {
  position: relative;
  padding-left: 18px;
  color: rgba(239, 243, 248, 0.84);
  line-height: 1.55;
}

body[data-page="landing"] .landing-story__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(145, 56, 216, 0.94), rgba(50, 255, 126, 0.92));
  box-shadow: 0 0 12px rgba(145, 56, 216, 0.28);
}

body[data-page="landing"] .landing-story__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(189, 255, 215, 0.92);
  font-weight: 700;
  text-decoration: none;
}

body[data-page="landing"] .landing-story__link:hover {
  color: #e7fff0;
}

@keyframes rn-landing-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes rn-landing-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

body[data-page="landing"] .landing-ecosystem {
  display: grid;
  gap: 22px;
  padding-block: 12px 20px;
}

body[data-page="landing"] .landing-ecosystem .section-head {
  max-width: 760px;
}

body[data-page="landing"] .landing-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="landing"] .landing-ecosystem__card {
  display: grid;
  gap: 12px;
  min-height: 240px;
  padding: 24px;
  border-radius: 26px;
}

body[data-page="landing"] .landing-shortcut {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.84fr);
  gap: 28px;
  align-items: center;
  padding-block: 24px 10px;
}

body[data-page="landing"] .landing-shortcut__copy {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

body[data-page="landing"] .landing-shortcut__panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
}

body[data-page="landing"] .landing-shortcut__keys {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-page="landing"] .shortcut-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 62px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: rgba(247, 250, 252, 0.92);
  font-family: var(--rn-font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

body[data-page="landing"] .shortcut-key[data-active="true"] {
  transform: translateY(-2px);
  border-color: rgba(145, 56, 216, 0.32);
  background:
    linear-gradient(180deg, rgba(145, 56, 216, 0.14), rgba(92, 141, 255, 0.08)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(50, 255, 126, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-shortcut__status {
  max-width: 42ch;
}

body[data-page="landing"] .landing-hero--editorial {
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 86px;
  min-height: calc(100svh - 180px);
  align-items: end;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy {
  max-width: 820px;
  gap: 22px;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1 {
  max-width: 10.5ch;
  font-size: clamp(4.6rem, 10vw, 8.8rem);
  line-height: 0.9;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__body {
  max-width: 41ch;
  font-size: 1.18rem;
}

body[data-page="landing"] .landing-hero__subnote {
  margin: 4px 0 0;
  max-width: 43ch;
  font-family: var(--rn-font-landing);
  color: rgba(238, 243, 248, 0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}

body[data-page="landing"] .landing-manifesto {
  display: grid;
  gap: 22px;
  padding-block: 18px 8px;
}

body[data-page="landing"] .landing-manifesto__intro {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

body[data-page="landing"] .landing-manifesto__intro h2,
body[data-page="landing"] .landing-choice h2 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-manifesto__intro p,
body[data-page="landing"] .landing-choice p {
  margin: 0;
  max-width: 44ch;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.78);
  line-height: 1.72;
}

body[data-page="landing"] .landing-manifesto__feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-manifesto__copy {
  display: grid;
  gap: 10px;
  max-width: 28rem;
}

body[data-page="landing"] .landing-manifesto__copy h3 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .landing-manifesto__copy p {
  margin: 0;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.76);
  line-height: 1.68;
}

body[data-page="landing"] .landing-manifesto__media {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.9), rgba(10, 14, 19, 0.96));
  box-shadow:
    0 26px 68px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .landing-manifesto__media img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .landing-choice {
  display: grid;
  gap: 16px;
  padding-block: 24px 12px;
}

body[data-page="landing"] .landing-choice__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

body[data-page="landing"] .landing-story__media {
  position: sticky;
  top: 112px;
}

body[data-page="landing"] .landing-hero__copy,
body[data-page="landing"] .landing-story__copy,
body[data-page="landing"] .landing-ecosystem .section-head,
body[data-page="landing"] .landing-ecosystem__card,
body[data-page="landing"] .landing-shortcut__copy,
body[data-page="landing"] .landing-shortcut__panel {
  animation: rn-landing-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body[data-page="landing"] .landing-story:nth-of-type(1) .landing-story__copy { animation-delay: 80ms; }
body[data-page="landing"] .landing-story:nth-of-type(2) .landing-story__copy { animation-delay: 120ms; }
body[data-page="landing"] .landing-story:nth-of-type(3) .landing-story__copy { animation-delay: 160ms; }

@keyframes rn-landing-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body[data-page="landing"] .landing-shot,
body[data-page="landing"] .landing-story__frame,
body[data-page="landing"] .landing-strip__item,
body[data-page="landing"] .landing-ecosystem__card,
body[data-page="landing"] .landing-shortcut__panel,
body[data-page="landing"] .landing-note-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

body[data-page="landing"] .landing-shot:hover,
body[data-page="landing"] .landing-story__frame:hover,
body[data-page="landing"] .landing-strip__item:hover,
body[data-page="landing"] .landing-ecosystem__card:hover,
body[data-page="landing"] .landing-shortcut__panel:hover,
body[data-page="landing"] .landing-note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 30px 76px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="landing"] .site-footer {
  width: min(1240px, calc(100vw - 40px));
}

.site-header__panel {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-header__panel::before,
.site-header__panel::after,
.site-header[data-scrolled="true"] .site-header__panel::before,
.site-header[data-scrolled="true"] .site-header__panel::after {
  opacity: 0 !important;
}

.site-header[data-scrolled="true"] .site-header__panel {
  overflow: visible;
}

.site-header[data-scrolled="true"] .site-nav a,
.site-header[data-scrolled="true"] .site-action-pill {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body:not([data-page="landing"]) .hero-copy h1,
body[data-page="api"] .api-docs-sidebar__intro h1,
body[data-page="account"] .account-poster h1,
body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
  font-family: var(--rn-font-landing);
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

body:not([data-page="landing"]) .hero-copy h1 {
  font-size: clamp(3.2rem, 5.4vw, 5.6rem);
}

body[data-page="api"] .api-docs-sidebar__intro h1,
body[data-page="account"] .account-poster h1,
body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.9rem);
}

body:not([data-page="landing"]) .hero-body,
body[data-page="api"] .api-docs-sidebar__intro p,
body[data-page="account"] .account-poster p,
body[data-page="roachclaw"] .roachclaw-panel--brand > p {
  font-family: var(--rn-font-landing);
  color: rgba(232, 238, 245, 0.8);
}

body:not([data-page="landing"]) .section-head h2,
body[data-page="api"] .api-docs-topbar__title strong,
body[data-page="account"] .account-inline-status h2,
body[data-page="roachclaw"] .account-inline-status h2 {
  font-family: var(--rn-font-landing);
  letter-spacing: -0.045em;
}

@media (max-width: 1120px) {
  body[data-page="landing"] .landing-hero,
  body[data-page="landing"] .landing-feel__sticky,
  body[data-page="landing"] .landing-manifesto__feature,
  body[data-page="landing"] .landing-story,
  body[data-page="landing"] .landing-story--reverse,
  body[data-page="landing"] .landing-shortcut {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-story--reverse .landing-story__media {
    order: 0;
  }

  body[data-page="landing"] .landing-ecosystem__grid,
  body[data-page="landing"] .landing-strip {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-story__media {
    position: static;
  }

  body[data-page="landing"] .landing-feel {
    min-height: 0;
  }

  body[data-page="landing"] .landing-feel__sticky {
    position: static;
    min-height: 0;
  }

  body[data-page="landing"] .landing-feel__stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body[data-page="landing"] .landing-feel__rail {
    display: none;
  }

  body[data-page="landing"] .landing-feel__film {
    min-height: 520px;
  }

  body[data-page="landing"] .landing-hero__visual {
    min-height: 0;
    padding-bottom: 120px;
  }

  body[data-page="landing"] .landing-shot--secondary {
    right: 0;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .page-shell {
    width: calc(100vw - 28px);
    gap: 26px;
  }

  body[data-page="landing"] .landing-hero {
    gap: 28px;
    padding-top: 34px;
  }

  body[data-page="landing"] .landing-hero--editorial {
    min-height: 0;
    padding-top: 44px;
  }

  body[data-page="landing"] .landing-feel__scene {
    inset: 18px;
    padding: 22px;
  }

  body[data-page="landing"] .landing-feel__caption {
    left: 30px;
    right: 30px;
    bottom: 28px;
  }

  body[data-page="landing"] .landing-hero__copy h1,
  body[data-page="landing"] .landing-feel__copy h2,
  body[data-page="landing"] .landing-manifesto__intro h2,
  body[data-page="landing"] .landing-choice h2,
  body[data-page="landing"] .landing-story__copy h2,
  body[data-page="landing"] .landing-shortcut__copy h2 {
    max-width: none;
  }

  body[data-page="landing"] .landing-shortcut__panel,
  body[data-page="landing"] .landing-ecosystem__card,
  body[data-page="landing"] .landing-strip__item,
  body[data-page="landing"] .landing-note-card {
    padding: 22px;
  }

  body[data-page="landing"] .shortcut-key {
    min-width: 84px;
    min-height: 56px;
    border-radius: 16px;
  }
}

/* ─── Raycast-style landing correction + shared nav cleanup ─────────── */
body .site-header {
  top: 0;
  padding-top: 20px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .site-header::after {
  display: none !important;
}

body .site-header__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body .site-header__panel::before,
body .site-header__panel::after {
  display: none !important;
}

body .site-header__panel:hover,
body .site-header[data-scrolled="true"] .site-header__panel {
  transform: none !important;
  border-color: transparent !important;
}

body .site-header[data-scrolled="true"] {
  transform: none;
}

body .site-header[data-scrolled="true"] .site-header__panel,
body .site-header[data-scrolled="true"] .brand-lockup {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body .site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

body .site-header .site-nav a {
  min-height: auto;
  padding: 0 0 8px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(228, 235, 243, 0.76);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body .site-header .site-nav a::after {
  left: 0;
  right: 0;
  bottom: 0;
}

body .site-header .site-nav a:hover,
body .site-header .site-nav a.is-current {
  color: rgba(255, 255, 255, 0.98);
  background: transparent !important;
}

body .site-header__actions {
  gap: 10px;
}

body .site-action-pill {
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .page-shell {
  width: min(1280px, calc(100vw - 44px));
  gap: clamp(48px, 7vw, 108px);
}

body[data-page="landing"] .landing-hero--editorial {
  align-items: center;
  min-height: calc(100svh - 132px);
  padding-top: clamp(64px, 10vh, 132px);
  padding-bottom: clamp(18px, 4vw, 40px);
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy {
  max-width: 980px;
  gap: 18px;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1 {
  max-width: 9.5ch;
  font-size: clamp(4.8rem, 11vw, 9.8rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__body {
  max-width: 39ch;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  color: rgba(230, 237, 245, 0.8);
  line-height: 1.62;
}

body[data-page="landing"] .landing-hero__actions {
  gap: 12px;
}

body[data-page="landing"] .landing-hero__subnote {
  max-width: 36ch;
  font-size: 1rem;
  color: rgba(230, 237, 245, 0.62);
}

body[data-page="landing"] .landing-feel {
  min-height: 220svh;
}

body[data-page="landing"] .landing-feel__sticky {
  min-height: 100svh;
  align-items: center;
}

body[data-page="landing"] .landing-feel__copy {
  gap: 16px;
  max-width: 34rem;
}

body[data-page="landing"] .landing-feel__copy h2 {
  font-size: clamp(3.4rem, 6vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

body[data-page="landing"] .landing-feel__copy p {
  max-width: 31ch;
  font-size: 1.02rem;
  line-height: 1.68;
  color: rgba(227, 234, 242, 0.74);
}

body[data-page="landing"] .landing-feel__film {
  min-height: clamp(560px, 72vh, 860px);
  border-radius: 38px;
}

body[data-page="landing"] .landing-feel__scene {
  inset: 26px;
  padding: 30px;
}

body[data-page="landing"] .landing-feel__scene strong,
body[data-page="landing"] .landing-feel__caption strong {
  font-family: var(--rn-font-landing);
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  letter-spacing: -0.045em;
}

body[data-page="landing"] .landing-editorial {
  display: grid;
  gap: clamp(56px, 8vw, 112px);
  padding-block: 8px 0;
}

body[data-page="landing"] .landing-editorial__intro {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

body[data-page="landing"] .landing-editorial__intro h2,
body[data-page="landing"] .landing-closer h2 {
  margin: 0;
  max-width: 12ch;
  font-family: var(--rn-font-landing);
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-editorial__intro p,
body[data-page="landing"] .landing-closer p {
  margin: 0;
  max-width: 42ch;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.76);
  line-height: 1.72;
}

body[data-page="landing"] .landing-editorial__section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 4vw, 54px);
  align-items: center;
}

body[data-page="landing"] .landing-editorial__section--reverse .landing-editorial__copy {
  order: 2;
}

body[data-page="landing"] .landing-editorial__section--reverse .landing-editorial__media {
  order: 1;
}

body[data-page="landing"] .landing-editorial__copy {
  display: grid;
  gap: 12px;
  max-width: 33rem;
}

body[data-page="landing"] .landing-editorial__copy h3 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-editorial__copy p {
  margin: 0;
  font-family: var(--rn-font-landing);
  color: rgba(229, 236, 243, 0.74);
  line-height: 1.7;
}

body[data-page="landing"] .landing-editorial__media {
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(16, 21, 28, 0.92), rgba(10, 14, 19, 0.98));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .landing-editorial__media img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .landing-closer {
  display: grid;
  gap: 16px;
  padding-block: 8px 6px;
  max-width: 1080px;
}

body[data-page="landing"] .landing-choice__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}

body[data-page="apps"] .apps-preview-stage {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: start;
  gap: 22px;
}

body[data-page="apps"] .apps-preview-stage__art {
  gap: 16px;
  align-content: start;
}

body[data-page="apps"] .apps-preview-stage__surface {
  gap: 14px;
}

body[data-page="apps"] .apps-preview-stage__surface-grid {
  gap: 12px;
}

body[data-page="apps"] .apps-preview-stage__stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="apps"] .apps-preview-stage__icon {
  width: min(100%, 286px);
  justify-self: end;
}

body[data-page="apps"] .apps-preview-stage__icon .store-generated-icon--hero {
  min-height: 286px;
}

body[data-page="apps"] .apps-card__head {
  align-items: flex-start;
}

body[data-page="apps"] .apps-hero-panel__copy {
  display: grid;
  align-content: start;
}

body[data-page="apps"] .apps-card__copy {
  max-width: none;
}

body[data-page="apps"] .apps-card__copy h3 {
  font-family: var(--rn-font-landing);
  letter-spacing: -0.04em;
}

body[data-page="apps"] .apps-store-brand__copy strong,
body[data-page="apps"] .apps-store-sidebar__card h2,
body[data-page="apps"] .apps-section-head__copy h1 {
  text-wrap: balance;
}

@media (max-width: 1120px) {
  body .site-header__panel {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body[data-page="landing"] .landing-editorial__section,
  body[data-page="landing"] .landing-editorial__section--reverse,
  body[data-page="apps"] .apps-preview-stage {
    grid-template-columns: 1fr;
  }

  body[data-page="apps"] .apps-preview-stage__surface-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-editorial__section--reverse .landing-editorial__copy,
  body[data-page="landing"] .landing-editorial__section--reverse .landing-editorial__media {
    order: initial;
  }
}

@media (max-width: 760px) {
  body .site-header {
    padding-top: 16px;
  }

  body .site-nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  body[data-page="landing"] .landing-hero--editorial {
    min-height: 0;
    padding-top: 52px;
  }

  body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1,
  body[data-page="landing"] .landing-feel__copy h2,
  body[data-page="landing"] .landing-editorial__intro h2,
  body[data-page="landing"] .landing-closer h2,
  body[data-page="landing"] .landing-editorial__copy h3 {
    max-width: none;
  }

  body[data-page="landing"] .landing-feel__scene {
    inset: 18px;
    padding: 24px;
  }

  body[data-page="apps"] .apps-preview-stage__stack {
    grid-template-columns: 1fr;
  }

  body[data-page="apps"] .apps-preview-stage__panel {
    min-height: 0;
  }
}

/* ─── Final site cleanup: footer badges, landing rhythm, API typography ─── */
body[data-page="landing"] .page-shell {
  padding-bottom: 42px;
}

body[data-page="home"] .page-shell,
body[data-page="ios"] .page-shell,
body[data-page="brew"] .page-shell {
  padding-bottom: 34px !important;
}

body[data-page="roachclaw"] .roachclaw-page,
body[data-page="account"] .account-page,
body[data-page="api"] .api-docs-shell,
body[data-page="apps"] .apps-store-shell {
  padding-bottom: 34px !important;
}

body[data-page="apps"] .apps-store-shell {
  margin-bottom: 18px;
}

body .site-footer {
  padding-bottom: 20px;
}

body[data-page="landing"] .site-action-pill,
body[data-page="landing"] .site-action-pill--ghost {
  min-height: auto;
  padding: 0 0 8px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="landing"] .site-action-pill:hover,
body[data-page="landing"] .site-action-pill--ghost:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1 {
  max-width: 10.5ch;
  font-size: clamp(5.2rem, 11.5vw, 10rem);
  line-height: 0.84;
  letter-spacing: -0.085em;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1 span {
  display: block;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy h1 span:last-child {
  color: rgba(225, 234, 243, 0.82);
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__copy {
  gap: 14px;
}

body[data-page="landing"] .landing-hero--editorial .landing-hero__body {
  max-width: 37ch;
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.58;
}

body[data-page="landing"] .landing-hero__subnote {
  color: rgba(225, 234, 243, 0.56);
}

body[data-page="landing"] .landing-feel__sticky {
  gap: clamp(28px, 4vw, 52px);
}

body[data-page="landing"] .landing-feel__copy h2 {
  max-width: 8ch;
  font-size: clamp(3.8rem, 6.6vw, 7rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-feel__copy p {
  max-width: 33ch;
  font-size: 1.04rem;
}

body[data-page="landing"] .landing-feel__film {
  position: relative;
  overflow: hidden;
  min-height: clamp(600px, 74vh, 880px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(92, 141, 255, 0.18), transparent 28%),
    radial-gradient(circle at 18% 100%, rgba(50, 255, 126, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(9, 12, 17, 0.96), rgba(4, 6, 9, 0.99));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(calc(var(--landing-noise-progress, 0) * -16px));
}

body[data-page="landing"] .landing-feel__film::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0 1px,
      transparent 1px 14px
    );
  mix-blend-mode: screen;
}

body[data-page="landing"] .landing-feel__scene {
  display: grid;
  align-content: end;
  gap: 18px;
  inset: 28px;
  padding: 34px;
  opacity: 0.14;
  filter: blur(12px);
  transform: scale(0.94);
  transition:
    opacity 360ms ease,
    filter 360ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="landing"] .landing-feel__scene.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

body[data-page="landing"] .landing-feel__scene strong,
body[data-page="landing"] .landing-feel__caption strong {
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  max-width: 9ch;
}

body[data-page="landing"] .landing-feel__scene-lines,
body[data-page="landing"] .landing-feel__scene-grid {
  gap: 12px;
}

body[data-page="landing"] .landing-feel__scene-lines span,
body[data-page="landing"] .landing-feel__scene-grid span {
  min-height: 42px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-feel__caption {
  padding-inline: 6px;
  gap: 8px;
}

body[data-page="landing"] .landing-editorial__intro h2,
body[data-page="landing"] .landing-closer h2 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 6vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-editorial__copy h3 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

body[data-page="landing"] .landing-editorial__media {
  border-radius: 28px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="ios"] .ios-pair-grid .support-card {
  align-content: start;
  min-height: 0;
}

body[data-page="ios"] .ios-pair-grid .support-card h3 {
  max-width: none;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.24;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body[data-page="ios"] .ios-pair-grid .support-card h3 code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body[data-page="api"] .api-docs-shell {
  width: min(1380px, calc(100vw - 40px));
  gap: 24px;
  padding-top: 24px;
}

body[data-page="api"] .api-docs-sidebar__intro h1,
body[data-page="api"] .api-docs-topbar__title strong,
body[data-page="api"] .api-docs-hero h2,
body[data-page="api"] .api-route-card strong,
body[data-page="api"] .api-detail-header h3,
body[data-page="api"] .api-empty-state h3,
body[data-page="api"] .api-docs-group__copy strong {
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

body[data-page="api"] .api-docs-sidebar__intro h1 {
  max-width: 9.5ch;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body[data-page="api"] .api-docs-topbar {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) auto;
  gap: 18px;
  padding: 20px 24px;
}

body[data-page="api"] .api-docs-topbar__title strong {
  font-size: 1.18rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body[data-page="api"] .api-docs-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 20px;
  padding: 28px;
}

body[data-page="api"] .api-docs-hero h2 {
  font-size: clamp(2.1rem, 3.7vw, 3.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

body[data-page="api"] .api-docs-sidebar__intro p,
body[data-page="api"] .api-docs-hero p,
body[data-page="api"] .api-route-card p,
body[data-page="api"] .api-detail-header p,
body[data-page="api"] .api-detail-block p,
body[data-page="api"] .api-empty-state p {
  max-width: 62ch;
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

body[data-page="api"] .api-docs-workspace {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
}

body[data-page="api"] .api-route-pane {
  align-content: start;
  max-height: calc(100svh - 176px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

body[data-page="api"] .api-docs-sidebar__intro h1 {
  max-width: 9ch;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

body[data-page="api"] .api-docs-topbar {
  gap: 18px;
}

body[data-page="api"] .api-docs-topbar__title strong {
  line-height: 0.96;
  letter-spacing: -0.045em;
}

body[data-page="api"] .api-route-card {
  gap: 10px;
  padding: 18px;
}

body[data-page="api"] .api-route-card strong {
  font-size: 1rem;
  line-height: 1.22;
}

body[data-page="api"] .api-detail-pane,
body[data-page="api"] .api-route-pane {
  padding: 20px;
}

@media (max-width: 1120px) {
  body[data-page="api"] .api-docs-topbar,
  body[data-page="api"] .api-docs-hero,
  body[data-page="api"] .api-docs-workspace,
  body[data-page="ios"] .ios-pair-grid.card-grid--three {
    grid-template-columns: 1fr;
  }
}

/* ─── Landing rewrite: Jam/Raycast-inspired root page ───────────────────── */
body[data-page="landing"] .page-shell {
  width: min(1180px, calc(100vw - 48px));
  gap: clamp(56px, 8vw, 118px);
  padding-bottom: 56px;
}

body[data-page="landing"] .site-header {
  padding-top: 18px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: start;
}

body[data-page="landing"] .brand-lockup {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="landing"] .brand-mark {
  width: 42px;
  height: 42px;
}

body[data-page="landing"] .brand-copy {
  gap: 2px;
}

body[data-page="landing"] .brand-copy strong,
body[data-page="landing"] .brand-copy span {
  color: rgba(236, 241, 246, 0.88);
}

body[data-page="landing"] .site-header__panel {
  justify-content: flex-end;
  gap: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-page="landing"] .site-header__panel::before,
body[data-page="landing"] .site-header__panel::after {
  display: none;
}

body[data-page="landing"] .site-header__actions {
  padding-left: 0;
  border-left: 0;
}

body[data-page="landing"] .site-header .site-nav a,
body[data-page="landing"] .site-action-pill,
body[data-page="landing"] .site-action-pill--ghost {
  padding: 0 0 10px !important;
  min-height: auto;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.97rem;
  font-weight: 600;
  color: rgba(228, 235, 243, 0.72);
}

body[data-page="landing"] .site-header .site-nav a:hover,
body[data-page="landing"] .site-header .site-nav a.is-current,
body[data-page="landing"] .site-action-pill:hover,
body[data-page="landing"] .site-action-pill--ghost:hover {
  color: rgba(255, 255, 255, 0.98);
  transform: none;
}

body[data-page="landing"] .landing-hero--why {
  min-height: calc(100svh - 150px);
  align-items: start;
  padding-top: clamp(28px, 5vh, 64px);
  padding-bottom: 16px;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy h1 {
  max-width: 8.9ch;
  margin: 0;
  font-size: clamp(4.1rem, 8.9vw, 8rem);
  line-height: 0.84;
  letter-spacing: -0.092em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy h1 span {
  display: block;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy h1 span:last-child {
  color: rgba(232, 238, 245, 0.74);
}

body[data-page="landing"] .landing-hero--why .landing-hero__body {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.62;
  color: rgba(229, 236, 243, 0.78);
}

body[data-page="landing"] .landing-hero--why .landing-hero__subnote {
  max-width: 34ch;
  margin-top: 8px;
  font-size: 0.98rem;
  color: rgba(229, 236, 243, 0.55);
}

body[data-page="landing"] .landing-hero--why .landing-hero__actions {
  margin-top: 10px;
  gap: 12px;
}

body[data-page="landing"] .landing-feel {
  min-height: 292svh;
}

body[data-page="landing"] .landing-feel__sticky {
  position: sticky;
  top: 84px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 64px);
  min-height: calc(100svh - 104px);
  align-items: center;
}

body[data-page="landing"] .landing-feel__copy {
  display: grid;
  gap: 16px;
  max-width: 33rem;
}

body[data-page="landing"] .landing-feel__copy h2 {
  max-width: 7.4ch;
  margin: 0;
  font-size: clamp(3.2rem, 5.9vw, 6.2rem);
  line-height: 0.85;
  letter-spacing: -0.088em;
}

body[data-page="landing"] .landing-feel__copy p {
  max-width: 31ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.68;
  color: rgba(229, 236, 243, 0.7);
}

body[data-page="landing"] .landing-feel__stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  transform: translateY(calc(var(--landing-noise-progress, 0) * -10px));
  transition: transform 180ms linear;
}

body[data-page="landing"] .landing-feel__rail {
  display: flex;
  align-self: stretch;
  width: 16px;
  justify-content: center;
}

body[data-page="landing"] .landing-feel__rail-line {
  position: relative;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

body[data-page="landing"] .landing-feel__rail-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--landing-noise-progress, 0) * (100% - 92px));
  width: 7px;
  height: 92px;
  border-radius: 999px;
  transform: translate(-50%, 0);
  background: linear-gradient(180deg, rgba(47, 255, 143, 0), rgba(47, 255, 143, 0.75), rgba(214, 74, 255, 0.8), rgba(214, 74, 255, 0));
  opacity: calc(0.38 + (var(--landing-noise-beat, 0) * 0.4));
  filter: blur(8px);
}

body[data-page="landing"] .landing-feel__rail-dot {
  position: absolute;
  top: calc(18px + (var(--landing-noise-progress, 0) * (100% - 36px)));
  left: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.25) 40%, transparent 68%),
    linear-gradient(135deg, rgba(47, 255, 143, 0.96), rgba(214, 74, 255, 0.92));
  box-shadow:
    0 0 24px rgba(110, 255, 159, 0.4),
    0 0 36px rgba(196, 78, 255, 0.18);
  transform: translate(-50%, -50%) scale(calc(0.9 + (var(--landing-noise-beat, 0) * 0.24)));
  transition: transform 180ms linear;
}

body[data-page="landing"] .landing-feel__film {
  position: relative;
  min-height: clamp(660px, 78vh, 920px);
  overflow: hidden;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(198, 93, 255, 0.18), transparent 32%),
    radial-gradient(circle at 86% 22%, rgba(88, 141, 255, 0.16), transparent 28%),
    radial-gradient(circle at 62% 82%, rgba(47, 255, 143, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.95), rgba(3, 4, 7, 0.995));
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform:
    translateY(calc(var(--landing-noise-progress, 0) * -24px))
    scale(calc(1 + (var(--landing-noise-beat, 0) * 0.008)));
  transition: transform 180ms linear;
}

body[data-page="landing"] .landing-feel__film::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 14%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 13px);
  mix-blend-mode: screen;
}

body[data-page="landing"] .landing-feel__film::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
  opacity: 0.52;
  background:
    radial-gradient(circle at calc(18% + (var(--landing-noise-progress, 0) * 48%)) calc(22% + (var(--landing-noise-progress, 0) * 20%)), rgba(214, 74, 255, 0.16), transparent 22%),
    radial-gradient(circle at calc(76% - (var(--landing-noise-progress, 0) * 28%)) calc(30% + (var(--landing-noise-progress, 0) * 18%)), rgba(88, 141, 255, 0.16), transparent 24%),
    radial-gradient(circle at calc(48% + (var(--landing-noise-progress, 0) * 10%)) calc(86% - (var(--landing-noise-progress, 0) * 16%)), rgba(47, 255, 143, 0.1), transparent 22%);
  filter: blur(42px);
  transform:
    translate3d(
      calc((var(--landing-noise-progress, 0) - 0.5) * 20px),
      calc((var(--landing-noise-progress, 0) - 0.5) * -16px),
      0
    )
    scale(calc(1.01 + (var(--landing-noise-beat, 0) * 0.03)));
}

body[data-page="landing"] .landing-feel__scene {
  position: absolute;
  inset: 34px;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: 40px;
  border-radius: 32px;
  opacity: calc(0.04 + (var(--scene-visibility, 0) * 0.96));
  filter: blur(calc((1 - var(--scene-visibility, 0)) * 18px));
  transform:
    translate3d(
      calc(var(--scene-distance, 0) * 12px),
      calc((var(--scene-distance, 0) * -34px) + ((1 - var(--scene-visibility, 0)) * 34px)),
      0
    )
    scale(calc(0.94 + (var(--scene-visibility, 0) * 0.06)));
  transition:
    opacity 220ms linear,
    filter 220ms linear,
    transform 220ms linear;
}

body[data-page="landing"] .landing-feel__scene::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, calc(0.03 + (var(--scene-visibility, 0) * 0.08)));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, calc(0.01 + (var(--scene-visibility, 0) * 0.03))), rgba(255, 255, 255, 0));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, calc(0.01 + (var(--scene-visibility, 0) * 0.06))),
    0 32px 80px rgba(0, 0, 0, calc(0.06 + (var(--scene-visibility, 0) * 0.2)));
}

body[data-page="landing"] .landing-feel__scene.is-active {
  z-index: 2;
}

body[data-page="landing"] .landing-feel__scene strong {
  position: relative;
  z-index: 1;
  max-width: 7.3ch;
  margin: 0;
  font-size: clamp(2.3rem, 4.1vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: -0.084em;
  text-wrap: balance;
  transform:
    translate3d(
      calc(var(--scene-distance, 0) * 4px),
      calc((1 - var(--scene-visibility, 0)) * 16px),
      0
    );
  opacity: calc(0.16 + (var(--scene-visibility, 0) * 0.84));
  transition: transform 220ms linear, opacity 220ms linear;
}

body[data-page="landing"] .landing-feel__caption strong {
  max-width: 10ch;
}

body[data-page="landing"] .landing-feel__scene-kicker {
  position: relative;
  z-index: 1;
  color: rgba(232, 238, 245, 0.46);
  opacity: calc(0.3 + (var(--scene-visibility, 0) * 0.7));
  transform:
    translate3d(
      calc(var(--scene-distance, 0) * 3px),
      calc((1 - var(--scene-visibility, 0)) * 12px),
      0
    );
  transition: transform 220ms linear, opacity 220ms linear;
}

body[data-page="landing"] .landing-feel__caption-kicker {
  color: rgba(232, 238, 245, 0.46);
}

body[data-page="landing"] .landing-feel__scene-lines,
body[data-page="landing"] .landing-feel__scene-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

body[data-page="landing"] .landing-feel__scene-lines span,
body[data-page="landing"] .landing-feel__scene-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(240, 245, 250, 0.84);
  font-size: 0.95rem;
  opacity: calc(0.18 + (var(--scene-visibility, 0) * 0.82));
  transform:
    translate3d(
      calc(var(--scene-distance, 0) * 3px),
      calc((1 - var(--scene-visibility, 0)) * 18px),
      0
    );
  transition: transform 220ms linear, opacity 220ms linear, background 220ms linear;
}

body[data-page="landing"] .landing-feel__scene-lines--noise span {
  background: rgba(255, 255, 255, 0.028);
  color: rgba(232, 238, 245, 0.7);
}

body[data-page="landing"] .landing-feel__scene-lines--signal span {
  background: linear-gradient(135deg, rgba(47, 255, 143, 0.1), rgba(214, 74, 255, 0.08));
}

body[data-page="landing"] .landing-feel__scene-grid {
  grid-template-columns: repeat(2, minmax(0, max-content));
}

body[data-page="landing"] .landing-feel__caption {
  position: absolute;
  left: 58px;
  right: 58px;
  bottom: 40px;
  display: grid;
  gap: 8px;
  pointer-events: none;
  opacity: calc(1 - (var(--landing-noise-beat, 0) * 0.12));
  transform:
    translateY(calc((var(--landing-noise-progress, 0) - 0.5) * -6px))
    scale(calc(1 - (var(--landing-noise-beat, 0) * 0.015)));
  transition: transform 180ms linear, opacity 180ms linear;
}

body[data-page="landing"] .landing-feel__caption p {
  max-width: 34ch;
  margin: 0;
  color: rgba(229, 236, 243, 0.68);
}

body[data-page="landing"] .landing-feel__scene-lines span:nth-child(2),
body[data-page="landing"] .landing-feel__scene-grid span:nth-child(2) {
  transition-delay: 28ms;
}

body[data-page="landing"] .landing-feel__scene-lines span:nth-child(3),
body[data-page="landing"] .landing-feel__scene-grid span:nth-child(3) {
  transition-delay: 56ms;
}

body[data-page="landing"] .landing-feel__scene-lines span:nth-child(4),
body[data-page="landing"] .landing-feel__scene-grid span:nth-child(4) {
  transition-delay: 84ms;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy > * {
  animation: landingFadeRise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy > *:nth-child(2) {
  animation-delay: 60ms;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy > *:nth-child(3) {
  animation-delay: 120ms;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy > *:nth-child(4) {
  animation-delay: 180ms;
}

body[data-page="landing"] .landing-hero--why .landing-hero__copy > *:nth-child(5) {
  animation-delay: 240ms;
}

body[data-page="landing"] .landing-essay {
  display: grid;
  gap: 34px;
  max-width: 980px;
  padding-top: 10px;
}

body[data-page="landing"] .landing-essay__intro {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

body[data-page="landing"] .landing-essay__intro h2 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--rn-font-landing);
  font-size: clamp(3rem, 5.1vw, 5.7rem);
  line-height: 0.88;
  letter-spacing: -0.086em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-essay__block {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-essay__block p {
  max-width: 34ch;
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(1.55rem, 2.65vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: rgba(240, 244, 249, 0.92);
}

body[data-page="landing"] .landing-mantra,
body[data-page="landing"] .landing-surface-strip,
body[data-page="landing"] .landing-mindset {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .landing-mantra__lines {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .landing-mantra__lines p {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.55rem, 4.6vw, 4.95rem);
  line-height: 0.9;
  letter-spacing: -0.086em;
  color: rgba(240, 244, 249, 0.92);
  transform: translateY(0);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}

body[data-page="landing"] .landing-mantra__lines p:not(:first-child) {
  color: rgba(229, 236, 243, 0.74);
}

body[data-page="landing"] .landing-mantra[data-reveal].is-revealed .landing-mantra__lines p:nth-child(2) {
  transform: translateX(12px);
}

body[data-page="landing"] .landing-mantra[data-reveal].is-revealed .landing-mantra__lines p:nth-child(3) {
  transform: translateX(24px);
}

body[data-page="landing"] .landing-surface-strip__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-page="landing"] .landing-surface-strip__items span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(239, 244, 249, 0.9);
  font-size: 0.96rem;
  font-weight: 600;
}

body[data-page="landing"] .landing-surface-strip__body,
body[data-page="landing"] .landing-mindset__copy p,
body[data-page="landing"] .landing-mindset__item p,
body[data-page="landing"] .landing-closer p,
body[data-page="landing"] .landing-shortcut__copy p,
body[data-page="landing"] .landing-shortcut__status {
  max-width: 40ch;
  margin: 0;
  color: rgba(229, 236, 243, 0.72);
  line-height: 1.68;
}

body[data-page="landing"] .landing-mindset__copy {
  display: grid;
  gap: 14px;
}

body[data-page="landing"] .landing-mindset__copy h2,
body[data-page="landing"] .landing-closer h2,
body[data-page="landing"] .landing-shortcut__copy h2 {
  margin: 0;
  max-width: 10ch;
  font-family: var(--rn-font-landing);
  font-size: clamp(3.2rem, 5.4vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.082em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-mindset__list {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .landing-mindset__item {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-mindset__item strong {
  font-family: var(--rn-font-landing);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .landing-closer {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

body[data-page="landing"] .landing-choice__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}

body[data-page="landing"] .landing-shortcut {
  display: grid;
  grid-template-columns: minmax(280px, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: center;
  padding-top: 12px;
}

body[data-page="landing"] .landing-shortcut__copy {
  display: grid;
  gap: 14px;
}

body[data-page="landing"] .landing-shortcut__panel {
  display: grid;
  gap: 22px;
  min-height: 0;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(88, 141, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.95), rgba(8, 11, 16, 0.99));
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .landing-shortcut__keys {
  justify-content: flex-start;
  gap: 14px;
}

body[data-page="landing"] .shortcut-key {
  min-width: 112px;
  min-height: 72px;
  border-radius: 22px;
  font-size: 1.06rem;
}

body[data-page="landing"] .site-footer {
  padding-top: 12px;
  padding-bottom: 18px;
}

@keyframes landingFadeRise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: none;
  }
}

@media (max-width: 1120px) {
  body[data-page="landing"] .landing-feel__sticky,
  body[data-page="landing"] .landing-shortcut {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .page-shell {
    width: calc(100vw - 30px);
    gap: 56px;
  }

  body[data-page="landing"] .site-header {
    padding-top: 14px;
  }

  body[data-page="landing"] .site-header__panel {
    gap: 14px;
  }

  body[data-page="landing"] .site-nav {
    gap: 14px;
  }

  body[data-page="landing"] .landing-hero--why {
    min-height: 0;
    padding-top: 54px;
  }

  body[data-page="landing"] .landing-hero--why .landing-hero__copy h1,
  body[data-page="landing"] .landing-feel__copy h2,
  body[data-page="landing"] .landing-essay__intro h2,
  body[data-page="landing"] .landing-mindset__copy h2,
  body[data-page="landing"] .landing-closer h2,
  body[data-page="landing"] .landing-shortcut__copy h2 {
    max-width: none;
  }

  body[data-page="landing"] .landing-feel {
    min-height: 0;
  }

  body[data-page="landing"] .landing-feel__sticky {
    position: static;
    min-height: 0;
    gap: 22px;
  }

  body[data-page="landing"] .landing-feel__stage {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-feel__rail {
    display: none;
  }

  body[data-page="landing"] .landing-feel__film {
    min-height: 580px;
    border-radius: 30px;
  }

  body[data-page="landing"] .landing-feel__scene {
    inset: 18px;
    padding: 24px;
  }

  body[data-page="landing"] .landing-feel__caption {
    left: 28px;
    right: 28px;
    bottom: 26px;
  }

  body[data-page="landing"] .landing-essay__block p {
    font-size: clamp(1.32rem, 6.6vw, 1.9rem);
    line-height: 1.14;
  }

  body[data-page="landing"] .landing-mantra__lines p {
    font-size: clamp(2.5rem, 11vw, 4.1rem);
  }

  body[data-page="landing"] .landing-shortcut__panel {
    padding: 22px;
  }

body[data-page="landing"] .shortcut-key {
  min-width: 86px;
  min-height: 58px;
  border-radius: 18px;
}
}

/* ─── Landing rebuild: Raycast why-style editorial root ─────────────────── */
body[data-page="landing"] .page-shell.landing-why {
  position: relative;
  width: min(1280px, calc(100vw - 48px));
  gap: 0;
  padding-top: clamp(106px, 14vh, 148px);
  padding-bottom: 136px;
}

body[data-page="landing"] .site-header {
  padding-top: 18px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: start;
}

body[data-page="landing"] .brand-lockup,
body[data-page="landing"] .site-header__panel,
body[data-page="landing"] .site-header__panel::before,
body[data-page="landing"] .site-header__panel::after,
body[data-page="landing"] .site-header[data-scrolled="true"] .brand-lockup,
body[data-page="landing"] .site-header[data-scrolled="true"] .site-header__panel {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-page="landing"] .brand-lockup {
  padding: 0;
  gap: 10px;
}

body[data-page="landing"] .site-header__panel {
  justify-content: flex-end;
  gap: 22px;
  padding: 0;
}

body[data-page="landing"] .site-header__actions {
  padding-left: 0;
  border-left: 0;
}

body[data-page="landing"] .site-header .site-nav a,
body[data-page="landing"] .site-action-pill,
body[data-page="landing"] .site-action-pill--ghost {
  min-height: auto;
  padding: 0 0 10px !important;
  border-radius: 0;
  border: 0;
  background: transparent;
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(227, 234, 241, 0.72);
}

body[data-page="landing"] .site-header .site-nav a:hover,
body[data-page="landing"] .site-header .site-nav a.is-current,
body[data-page="landing"] .site-action-pill:hover,
body[data-page="landing"] .site-action-pill--ghost:hover {
  color: rgba(247, 250, 255, 0.98);
  transform: none;
}

body[data-page="landing"] .landing-why__hero,
body[data-page="landing"] .landing-why__story,
body[data-page="landing"] .landing-shortcut--essay {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin-inline: auto;
}

body[data-page="landing"] .landing-why__hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: clamp(420px, 64vh, 740px);
  padding-bottom: 52px;
}

body[data-page="landing"] .landing-why__hero-copy {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .landing-why__hero h1 {
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 9.2ch;
  font-family: var(--rn-font-landing);
  font-size: clamp(4.9rem, 8.2vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.098em;
  text-wrap: balance;
  animation: landingFadeRise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="landing"] .landing-why__hero h1 span {
  display: block;
}

body[data-page="landing"] .landing-why__hero h1 span:first-child {
  color: rgba(247, 250, 253, 0.98);
}

body[data-page="landing"] .landing-why__hero h1 span:last-child {
  color: rgba(227, 234, 241, 0.76);
  letter-spacing: -0.074em;
  word-spacing: 0.12em;
}

body[data-page="landing"] .landing-why__hero-note {
  max-width: 23ch;
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  line-height: 1.5;
  letter-spacing: -0.024em;
  color: rgba(227, 234, 241, 0.7);
  animation: landingFadeRise 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="landing"] .landing-why__hero-stage {
  position: relative;
  min-height: clamp(360px, 44vw, 620px);
  overflow: hidden;
  isolation: isolate;
}

body[data-page="landing"] .landing-why__hero-glow,
body[data-page="landing"] .landing-why__hero-track,
body[data-page="landing"] .landing-why__hero-orbit,
body[data-page="landing"] .landing-why__hero-core {
  position: absolute;
}

body[data-page="landing"] .landing-why__hero-glow {
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.84;
}

body[data-page="landing"] .landing-why__hero-glow--green {
  top: 14%;
  left: 16%;
  width: 190px;
  height: 190px;
  background: rgba(74, 255, 162, 0.28);
  animation: landingHeroPulse 7.2s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-glow--magenta {
  right: 8%;
  bottom: 8%;
  width: 220px;
  height: 220px;
  background: rgba(145, 56, 216, 0.22);
  animation: landingHeroPulse 9.4s ease-in-out infinite reverse;
}

body[data-page="landing"] .landing-why__hero-track {
  left: -8%;
  right: -8%;
  height: 108px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent),
    linear-gradient(120deg, rgba(67, 255, 161, 0.42), rgba(215, 70, 255, 0.34), rgba(92, 141, 255, 0.28));
  transform: rotate(-24deg);
  opacity: 0.64;
  filter: blur(0.2px);
}

body[data-page="landing"] .landing-why__hero-track::after {
  content: "";
  position: absolute;
  inset: 14px 22px;
  border-radius: inherit;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.24) 0 2px,
      transparent 2px 22px
    );
  mix-blend-mode: screen;
  opacity: 0.6;
}

body[data-page="landing"] .landing-why__hero-track--one {
  top: 9%;
  animation: landingHeroRailA 11s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-track--two {
  top: 36%;
  animation: landingHeroRailB 12.8s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-track--three {
  top: 65%;
  animation: landingHeroRailC 14.6s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-orbit {
  top: 8%;
  right: 6%;
  display: grid;
  gap: 12px;
  justify-items: end;
  animation: landingHeroFloat 8.8s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-orbit span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 20, 0.56);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 244, 248, 0.88);
}

body[data-page="landing"] .landing-why__hero-core {
  left: 14%;
  right: 14%;
  bottom: 14%;
  display: grid;
  gap: 14px;
  padding: 26px 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(9, 13, 18, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: landingHeroCore 9.8s ease-in-out infinite;
}

body[data-page="landing"] .landing-why__hero-core-label {
  color: rgba(221, 229, 237, 0.54);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-why__hero-core strong {
  font-family: var(--rn-font-landing);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
  color: rgba(247, 250, 253, 0.98);
}

body[data-page="landing"] .landing-why__hero-core p {
  margin: 0;
  max-width: 22ch;
  font-size: 1rem;
  line-height: 1.48;
  color: rgba(229, 236, 242, 0.72);
}

body[data-page="landing"] .landing-why__story {
  display: grid;
  gap: 48px;
}

body[data-page="landing"] .landing-why__block {
  display: grid;
  gap: 22px;
}

body[data-page="landing"] .landing-why__block p,
body[data-page="landing"] .landing-why__list li,
body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__copy p {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(1.24rem, 1.42vw, 1.46rem);
  line-height: 1.6;
  letter-spacing: -0.018em;
  color: rgba(228, 235, 243, 0.78);
}

body[data-page="landing"] .landing-why__block--intro p:first-child,
body[data-page="landing"] .landing-why__block--shift p:first-child {
  color: rgba(244, 247, 252, 0.92);
}

body[data-page="landing"] .landing-why__pullquote {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-top: 14px;
}

body[data-page="landing"] .landing-why__pullquote-mark {
  color: rgba(219, 226, 234, 0.5);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-why__pullquote p {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.5rem, 4.8vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.082em;
  color: rgba(246, 249, 252, 0.96);
  text-wrap: balance;
}

body[data-page="landing"] .landing-why__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="landing"] .landing-why__list li {
  padding-left: 26px;
  position: relative;
}

body[data-page="landing"] .landing-why__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(78, 255, 162, 0.9);
}

body[data-page="landing"] .landing-shortcut--essay {
  display: grid;
  gap: 18px;
  padding-top: 82px;
}

body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__copy {
  display: grid;
  gap: 14px;
}

body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__copy h2 {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.9rem, 5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__panel {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__keys {
  justify-content: flex-start;
}

body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__status {
  color: rgba(221, 228, 236, 0.62);
}

body[data-page="landing"] .landing-why__ribbons {
  position: absolute;
  left: 50%;
  width: min(1180px, calc(100vw - 18px));
  pointer-events: none;
  transform: translateX(-50%);
  opacity: 0.92;
  z-index: 0;
}

body[data-page="landing"] .landing-why__ribbons::before,
body[data-page="landing"] .landing-why__ribbons::after {
  content: "";
  position: absolute;
  inset: 0;
}

body[data-page="landing"] .landing-why__ribbons::before {
  background:
    repeating-linear-gradient(
      -32deg,
      transparent 0 13%,
      rgba(67, 255, 161, 0.88) 13% 15.6%,
      rgba(215, 70, 255, 0.76) 15.6% 18.2%,
      transparent 18.2% 33%
    );
  -webkit-mask-image: radial-gradient(circle at 1px 1px, #000 1.2px, transparent 1.32px);
  -webkit-mask-size: 8px 8px;
  mask-image: radial-gradient(circle at 1px 1px, #000 1.2px, transparent 1.32px);
  mask-size: 8px 8px;
  filter: saturate(1.08);
  transform: translate3d(0, calc(var(--landing-scroll, 0) * -36px), 0);
}

body[data-page="landing"] .landing-why__ribbons::after {
  inset: 18px 0 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 24, 0.04), rgba(14, 18, 24, 0.7)),
    radial-gradient(circle at 22% 32%, rgba(64, 255, 158, 0.14), transparent 28%),
    radial-gradient(circle at 74% 58%, rgba(214, 74, 255, 0.16), transparent 32%);
  filter: blur(26px);
  opacity: 0.72;
  transform: translate3d(0, calc(var(--landing-scroll, 0) * -18px), 0);
}

body[data-page="landing"] .landing-why__ribbons--top {
  top: 72px;
  height: clamp(210px, 29vw, 340px);
}

body[data-page="landing"] .landing-why__ribbons--bottom {
  bottom: 12px;
  height: clamp(260px, 34vw, 420px);
}

body[data-page="landing"] .landing-why__wordmark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  text-align: center;
  font-family: var(--rn-font-landing);
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: 0.84;
  letter-spacing: -0.1em;
  color: rgba(241, 246, 250, 0.18);
  text-shadow: 0 0 44px rgba(81, 255, 164, 0.12);
  text-transform: none;
}

body[data-page="landing"] .landing-why__wordmark-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  text-align: center;
  color: rgba(235, 242, 247, 0.52);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body[data-page="landing"] .site-footer {
  margin-top: 0;
  padding-top: 20px;
  border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1120px) {
  body[data-page="landing"] .page-shell.landing-why {
    width: min(1080px, calc(100vw - 40px));
  }

  body[data-page="landing"] .landing-why__story,
  body[data-page="landing"] .landing-shortcut--essay {
    width: min(700px, 100%);
  }

  body[data-page="landing"] .landing-why__hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    gap: 34px;
  }

  body[data-page="landing"] .landing-why__hero-copy {
    width: min(700px, 100%);
    margin-inline: auto;
  }

  body[data-page="landing"] .landing-why__hero-stage {
    width: min(700px, 100%);
    margin-inline: auto;
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .page-shell.landing-why {
    width: calc(100vw - 28px);
    padding-top: 96px;
    padding-bottom: 96px;
  }

  body[data-page="landing"] .landing-why__story,
  body[data-page="landing"] .landing-shortcut--essay {
    width: 100%;
  }

  body[data-page="landing"] .landing-why__hero {
    gap: 24px;
    padding-bottom: 34px;
  }

  body[data-page="landing"] .landing-why__hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.8rem);
  }

  body[data-page="landing"] .landing-why__hero-note {
    max-width: none;
    font-size: 1.08rem;
  }

  body[data-page="landing"] .landing-why__hero-stage {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-why__hero-core {
    left: 8%;
    right: 8%;
    bottom: 10%;
    padding: 20px 22px;
  }

  body[data-page="landing"] .landing-why__hero-orbit {
    gap: 10px;
  }

  body[data-page="landing"] .landing-why__hero-orbit span {
    min-height: 30px;
    padding-inline: 12px;
    font-size: 0.74rem;
  }

  body[data-page="landing"] .landing-why__pullquote p {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  body[data-page="landing"] .landing-why__block p,
  body[data-page="landing"] .landing-why__list li,
  body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__copy p {
    font-size: clamp(1.18rem, 5.4vw, 1.34rem);
  }

  body[data-page="landing"] .landing-shortcut--essay .landing-shortcut__copy h2 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  body[data-page="landing"] .landing-why__ribbons--top {
    top: 84px;
    height: 180px;
  }

  body[data-page="landing"] .landing-why__ribbons--bottom {
    height: 220px;
  }
}

@keyframes landingHeroRailA {
  0%,
  100% {
    transform: rotate(-24deg) translate3d(-26px, -6px, 0);
    opacity: 0.46;
  }
  50% {
    transform: rotate(-24deg) translate3d(18px, 10px, 0);
    opacity: 0.82;
  }
}

@keyframes landingHeroRailB {
  0%,
  100% {
    transform: rotate(-24deg) translate3d(22px, 6px, 0);
    opacity: 0.38;
  }
  50% {
    transform: rotate(-24deg) translate3d(-14px, -12px, 0);
    opacity: 0.74;
  }
}

@keyframes landingHeroRailC {
  0%,
  100% {
    transform: rotate(-24deg) translate3d(-12px, 10px, 0);
    opacity: 0.4;
  }
  50% {
    transform: rotate(-24deg) translate3d(20px, -8px, 0);
    opacity: 0.78;
  }
}

@keyframes landingHeroFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 10px, 0);
  }
}

@keyframes landingHeroCore {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@keyframes landingHeroPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.52;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}

/* ─── Raycast-style Mission page: enhanced typography & flow ────────────── */

/* Scroll progress bar */
.landing-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--rn-blue), #9138D8, var(--rn-green));
  z-index: 9999;
  transition: width 60ms linear;
  will-change: width;
}

/* Eyebrow above hero */
body[data-page="landing"] .landing-why__eyebrow {
  font-family: var(--rn-font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9138D8;
  margin: 0;
  opacity: 0;
  animation: landingFadeRise 600ms 200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Hero subtitle */
body[data-page="landing"] .landing-why__hero-sub {
  max-width: 26ch;
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(1.14rem, 1.6vw, 1.36rem);
  line-height: 1.54;
  letter-spacing: -0.02em;
  color: rgba(227, 234, 241, 0.64);
  opacity: 0;
  animation: landingFadeRise 800ms 400ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Staggered line reveals */
body[data-page="landing"] .landing-why__hero-line {
  display: block;
  opacity: 0;
  animation: landingLineReveal 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body[data-page="landing"] .landing-why__hero-line:nth-child(2) {
  animation-delay: 180ms;
}

body[data-page="landing"] .landing-why__hero-line--dim {
  color: rgba(227, 234, 241, 0.68);
  letter-spacing: -0.074em;
  word-spacing: 0.12em;
}

@keyframes landingLineReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Divider between hero and story */
body[data-page="landing"] .landing-why__divider {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 16px 0 48px;
  width: min(760px, 100%);
  margin-inline: auto;
}

body[data-page="landing"] .landing-why__divider-line {
  display: block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(145, 56, 216, 0.6), transparent);
}

/* Enhanced lead text */
body[data-page="landing"] .landing-why__lead-text {
  font-size: clamp(1.52rem, 2.2vw, 1.88rem) !important;
  color: rgba(247, 250, 253, 0.94) !important;
  line-height: 1.48 !important;
  letter-spacing: -0.028em !important;
}

body[data-page="landing"] .landing-why__lead-text em {
  font-style: normal;
  background: linear-gradient(135deg, #9138D8, var(--rn-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced pullquote - Raycast large statement style */
body[data-page="landing"] .landing-why__pullquote {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-why__pullquote-mark {
  font-family: var(--rn-font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 0.7;
  color: rgba(145, 56, 216, 0.26);
  user-select: none;
}

body[data-page="landing"] .landing-why__pullquote p {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.076em;
  color: rgba(246, 249, 252, 0.96);
  text-wrap: balance;
}

body[data-page="landing"] .landing-why__pullquote-cite {
  display: block;
  font-style: normal;
  font-family: var(--rn-font-landing);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(145, 56, 216, 0.82);
}

/* Section headings within story */
body[data-page="landing"] .landing-why__section-heading {
  margin: 0 0 6px;
  font-family: var(--rn-font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(247, 250, 253, 0.96);
}

/* Accent text - highlighted statement */
body[data-page="landing"] .landing-why__accent-text {
  font-size: clamp(1.42rem, 2vw, 1.72rem) !important;
  color: rgba(240, 244, 250, 0.88) !important;
  font-weight: 600;
  letter-spacing: -0.032em !important;
  padding: 28px 0;
  border-left: 3px solid #9138D8;
  padding-left: 24px;
}

/* Capability grid */
body[data-page="landing"] .landing-why__capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

body[data-page="landing"] .landing-why__capability {
  padding: 26px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at top right, rgba(145, 56, 216, 0.08), transparent 56%),
    linear-gradient(180deg, rgba(16, 21, 28, 0.82), rgba(10, 14, 19, 0.92));
  transition: border-color 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="landing"] .landing-why__capability:hover {
  border-color: rgba(145, 56, 216, 0.2);
  transform: translateY(-2px);
}

body[data-page="landing"] .landing-why__capability-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

body[data-page="landing"] .landing-why__capability h3 {
  margin: 0 0 8px;
  font-family: var(--rn-font-landing);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(247, 250, 253, 0.94);
}

body[data-page="landing"] .landing-why__capability p {
  margin: 0;
  font-family: var(--rn-font-landing);
  font-size: 0.94rem !important;
  line-height: 1.52 !important;
  color: rgba(220, 228, 236, 0.68) !important;
}

/* Enhanced final line */
body[data-page="landing"] .landing-why__final-line {
  font-size: clamp(1.46rem, 2vw, 1.72rem) !important;
  color: rgba(247, 250, 253, 0.96) !important;
  font-weight: 600;
  letter-spacing: -0.03em !important;
  line-height: 1.4 !important;
  padding-top: 8px;
}

/* Inline keyboard shortcut symbols in CTA heading */
body[data-page="landing"] .landing-shortcut__kbd-inline {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--rn-font-landing);
  font-size: 0.78em;
  vertical-align: baseline;
}

/* Reveal animation polish */
body[data-page="landing"] [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="landing"] [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="landing"] .landing-why__capability[data-reveal] {
  transition-delay: 0ms;
}

body[data-page="landing"] .landing-why__capability[data-reveal]:nth-child(2) {
  transition-delay: 100ms;
}

body[data-page="landing"] .landing-why__capability[data-reveal]:nth-child(3) {
  transition-delay: 200ms;
}

/* Purple glow class (renamed from magenta) */
body[data-page="landing"] .landing-why__hero-glow--purple {
  right: 8%;
  bottom: 8%;
  width: 220px;
  height: 220px;
  background: rgba(145, 56, 216, 0.22);
  animation: landingHeroPulse 9.4s ease-in-out infinite reverse;
}

/* Responsive capability grid */
@media (max-width: 760px) {
  body[data-page="landing"] .landing-why__capability-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-why__pullquote p {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  body[data-page="landing"] .landing-why__accent-text {
    padding-left: 18px;
  }

  body[data-page="landing"] .landing-why__hero-sub {
    max-width: none;
    font-size: 1.08rem;
  }
}

@media (min-width: 761px) and (max-width: 1120px) {
  body[data-page="landing"] .landing-why__capability-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ─── Sitewide UI/UX polish: enhanced transitions & micro-interactions ──── */

/* Smoother global transitions */
a,
button {
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 280ms ease,
    opacity 240ms ease,
    color 240ms ease;
}

/* Enhanced CTA button hover */
.cta--primary {
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 320ms ease;
}

.cta--primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.cta--primary:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 120ms;
}

/* Ghost CTA polish */
.cta--ghost {
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cta--ghost:hover {
  transform: translateY(-1px);
}

.cta--ghost:active {
  transform: translateY(0);
  transition-duration: 120ms;
}

/* Enhanced card hover lift */
.shelf-card,
.feature-card,
.panel-note-card,
.ios-shot-card,
.download-hero-card,
.support-card,
.landing-ecosystem__card {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shelf-card:hover,
.feature-card:hover,
.panel-note-card:hover,
.ios-shot-card:hover,
.download-hero-card:hover,
.support-card:hover,
.landing-ecosystem__card:hover {
  transform: translateY(-4px);
}

/* Enhanced header scroll transition */
.site-header {
  transition:
    backdrop-filter 360ms ease,
    -webkit-backdrop-filter 360ms ease,
    background 360ms ease,
    box-shadow 360ms ease;
}

/* Smoother reveal animations sitewide */
[data-reveal] {
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Shortcut key animation polish */
.shortcut-key {
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.shortcut-key[data-active="true"] {
  transform: translateY(-3px) scale(1.04);
}

/* Enhanced input focus states */
input:focus,
textarea:focus {
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
}

/* Section head decorative bar polish */
.section-head::after {
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left;
}

.section-head.is-visible::after {
  transform: scaleX(1);
}

/* Footer link hover effects */
.site-footer__nav a {
  transition:
    color 220ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__nav a:hover {
  color: rgba(247, 250, 255, 0.98);
  transform: translateX(2px);
}

/* Release badge polish */
.site-footer__release-chip {
  transition:
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__release-chip:hover {
  transform: translateY(-1px);
}

/* Brand lockup hover */
.brand-lockup:hover .brand-mark {
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1.06);
}

/* Nav link current indicator pulse */
.site-nav a.is-current {
  position: relative;
}

.site-nav a.is-current::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9138D8;
  transform: translateX(-50%);
  animation: navDotPulse 3s ease-in-out infinite;
}

@keyframes navDotPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.3); }
}

/* Account page tab animation */
.account-tab {
  transition:
    background 280ms ease,
    color 280ms ease,
    border-color 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.account-tab:hover:not(.is-active) {
  transform: translateY(-1px);
}

/* RoachClaw thread smooth transitions */
.roachclaw-thread {
  transition:
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.roachclaw-thread:hover {
  transform: translateX(4px);
}

/* RoachClaw message enter animation */
.roachclaw-message {
  animation: messageSlideIn 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* API docs route card hover */
.api-route-card {
  transition:
    background 280ms ease,
    border-color 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.api-route-card:hover {
  transform: translateX(3px);
}

/* App store card hover scale */
.store-app-card {
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.store-featured-card {
  transition:
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.store-featured-card:hover {
  transform: translateY(-6px) scale(1.005);
}

/* Enhanced iOS screenshot card */
body[data-page="ios"] .ios-shot-card {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Brew install step active indicator */
body[data-page="brew"] [data-install-step] {
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="brew"] [data-install-step]:hover {
  transform: translateY(-2px);
}

/* Smooth page transitions */
@keyframes rn-page-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero status cards subtle float */
.hero-signal-card {
  transition:
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease;
}

.hero-signal-card:hover {
  transform: translateY(-3px);
}

/* Enhanced skeleton loading shimmer */
@keyframes skeletonShimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

/* Apps sidebar card hover */
.apps-store-sidebar__card {
  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 240ms ease;
}

.apps-store-sidebar__card:hover {
  transform: translateY(-2px);
}

/* Smooth dialog overlay */
.app-detail-overlay {
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.app-detail-overlay[open] .app-detail-sheet__content {
  animation: detailSlideUp 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes detailSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Shared motion refresh */
:root {
  --rn-ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
}

body .site-nav a,
body .site-header__action,
body .rn-nav-link,
body .rn-nav-primary,
body .rn-nav-ghost,
body .rn-btn,
body .cta,
body .apps-card__install,
body .apps-card__more,
body .apps-card__secondary,
body .site-footer__nav a,
body .account-tab,
body .api-route-card,
body .roatchclaw-thread {
  transition:
    transform 300ms var(--rn-ease-fluid),
    border-color 220ms ease,
    box-shadow 320ms var(--rn-ease-fluid),
    background 260ms ease,
    color 220ms ease,
    opacity 220ms ease;
  will-change: transform;
}

body .site-nav a:hover,
body .site-header__action:hover,
body .rn-nav-link:hover,
body .rn-nav-primary:hover,
body .rn-nav-ghost:hover,
body .rn-btn:hover,
body .cta:hover,
body .apps-card__install:hover,
body .apps-card__more:hover,
body .apps-card__secondary:hover,
body .account-tab:hover:not(.is-active) {
  transform: translateY(-2px);
}

body [data-reveal] {
  transition:
    opacity 760ms var(--rn-ease-fluid),
    transform 760ms var(--rn-ease-fluid),
    filter 760ms var(--rn-ease-fluid);
}

/* Final compact-screen, motion, and voice fit pass */
body[data-page="apps"] .apps-store-sidebar__card h2 {
  max-width: none;
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: clamp(1.24rem, 1.55vw, 1.56rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

body[data-page="apps"] .apps-store-sidebar__card p,
body[data-page="apps"] .apps-store-sidebar__meta {
  max-width: none;
  font-family:
    "Inter",
    "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

body[data-page="apps"] .apps-store-sidebar__card p {
  font-size: 0.94rem;
  line-height: 1.58;
}

body[data-page="apps"] .apps-store-sidebar__meta {
  font-size: 0.8rem;
  line-height: 1.42;
  color: rgba(226, 232, 240, 0.7);
}

body .screen-frame,
body .app-screen-shot,
body .hero-signal-card,
body .feature-card,
body .support-card,
body .account-mini-card,
body[data-page="api"] .api-docs-hero__meta article,
body[data-page="api"] .api-route-card {
  transition:
    transform 420ms var(--rn-ease-fluid),
    border-color 260ms ease,
    box-shadow 420ms var(--rn-ease-fluid),
    filter 320ms ease;
}

body .screen-frame:hover,
body .app-screen-shot:hover,
body .hero-signal-card:hover,
body .feature-card:hover,
body .support-card:hover,
body .account-mini-card:hover,
body[data-page="api"] .api-docs-hero__meta article:hover,
body[data-page="api"] .api-route-card:hover {
  transform: translateY(-5px);
}

body .screen-frame__image,
body .app-screen-shot img {
  transition:
    transform 860ms var(--rn-ease-fluid),
    filter 320ms ease;
}

body .screen-frame:hover .screen-frame__image,
body .app-screen-shot:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}

@media (max-width: 900px) {
  body .site-header__panel {
    gap: 10px;
  }

  body[data-page="home"] .page-shell,
  body[data-page="brew"] .page-shell,
  body[data-page="ios"] .page-shell,
  body[data-page="account"] .account-page,
  body[data-page="roachclaw"] .roachclaw-page,
  body[data-page="api"] .api-docs-shell {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  body:not([data-page="landing"]) .hero-copy h1,
  body[data-page="api"] .api-docs-sidebar__intro h1,
  body[data-page="account"] .account-poster h1,
  body[data-page="roachclaw"] .roachclaw-panel--brand h1 {
    font-size: clamp(2.2rem, 11.8vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  body:not([data-page="landing"]) .hero-body,
  body[data-page="api"] .api-docs-sidebar__intro p,
  body[data-page="account"] .account-poster p,
  body[data-page="roachclaw"] .roachclaw-panel--brand > p {
    max-width: none;
    font-size: 1rem;
    line-height: 1.58;
  }

  body .site-footer__copy,
  body .site-footer__nav,
  body .site-footer__meta {
    width: 100%;
    max-width: none;
  }

  body .site-footer__nav,
  body .site-footer__meta {
    justify-content: flex-start;
  }

  body[data-page="apps"] .apps-store-sidebar__card h2 {
    font-size: clamp(1.22rem, 6vw, 1.46rem);
  }
}
