:root {
  --accent-orange: #ff6d10;
  --accent-center: #fdb871;
  --sage: #97bda5;
  --tide: #97b8bd;
  --harbour: #256f78;
  --clay: #bf3d3d;
  --ink: #172026;
  --soft-ink: rgba(23, 32, 38, 0.72);
  --white: #fffaf3;
  --muted-white: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --glass-border: rgba(255, 255, 255, 0.25);
  --dark-glass: rgba(20, 29, 33, 0.12);
  --radius: 8px;
  --shadow: 0 18px 46px rgba(14, 23, 30, 0.16);
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Spline Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f0ea;
  color: var(--ink);
  letter-spacing: 0;
}

body.stage-body {
  background: #bf3d3d;
  color: #ffffff;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 18px;
  z-index: 100;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 22px 28px;
  pointer-events: none;
}

.site-nav {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
}

/* The LoopSuite wordmark (Logo-cut.svg) — white, transparent, ~2.13:1. Height-driven, no chip/shadow. */
.brand img.brand-logo {
  width: auto;
  height: 40px;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.button.primary {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.92);
  color: var(--clay);
}

.button.dark {
  border-color: rgba(23, 32, 38, 0.1);
  background: var(--ink);
  color: #ffffff;
}

.button.secondary-light {
  color: var(--ink);
  border-color: rgba(23, 32, 38, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 112px 24px 46px;
  color: #ffffff;
}

.hero-inner {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 850;
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 0;
  max-width: 840px;
  color: #ffffff;
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.9;
  font-weight: 900;
}

.page-hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
}

.hero .lede,
.page-hero .lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.25;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.stage-demo {
  min-height: 560px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
}

.assistant-line-wrap {
  width: min(100%, 420px);
  height: 210px;
  display: grid;
  place-items: center;
}

.assistant-line {
  width: 100%;
  height: 100%;
}

.assistant-line path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.96);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 7 12;
  animation: line-breathe 5.5s ease-in-out infinite;
}

.assistant-line .echo {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 10;
  animation-duration: 6.8s;
}

@keyframes line-breathe {
  0%, 100% {
    stroke-dashoffset: 0;
    transform: translateY(0) scaleX(0.96);
  }
  45% {
    stroke-dashoffset: -92;
    transform: translateY(-4px) scaleX(1.04);
  }
  70% {
    stroke-dashoffset: -146;
    transform: translateY(2px) scaleX(0.99);
  }
}

.stage-caption {
  width: min(100%, 440px);
  display: grid;
  gap: 10px;
}

.prompt-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  padding: 8px 10px 8px 18px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.prompt-pill span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prompt-pill i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-orange);
  font-style: normal;
  font-weight: 900;
}

.assistant-reply {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  padding: 14px 15px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 118px) 24px;
}

.section.white {
  background: #fffaf3;
}

.section.sage {
  background: linear-gradient(135deg, #eef4ef 0%, #e4ece6 100%);
}

.section.tide {
  background: linear-gradient(135deg, #e8f1f1 0%, #f5f0ea 100%);
}

.section.dark {
  background: #172026;
  color: #ffffff;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--harbour);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section.dark .section-kicker {
  color: #9fe5d0;
}

.section-title {
  max-width: 840px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.section-lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--soft-ink);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 620;
}

.section.dark .section-lede {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards {
  margin-top: 34px;
}

.card {
  border: 1px solid rgba(23, 32, 38, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card.flat {
  box-shadow: none;
}

.section.dark .card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}

.card p {
  margin: 10px 0 0;
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.section.dark .card p {
  color: rgba(255, 255, 255, 0.66);
}

.mini-label {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(37, 111, 120, 0.12);
  color: var(--harbour);
  font-size: 11px;
  font-weight: 900;
}

.section.dark .mini-label {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
}

.examples {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.example {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
  align-items: stretch;
}

.example .ask,
.example .answer {
  border-radius: var(--radius);
  padding: 18px;
}

.example .ask {
  background: rgba(23, 32, 38, 0.06);
}

.example .answer {
  background: #172026;
  color: #ffffff;
}

.example strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

.example p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 680;
}

.work-surface {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.work-tabs {
  display: grid;
  gap: 8px;
}

.work-tab {
  min-height: 56px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  padding: 12px;
}

.work-tab strong {
  display: block;
  font-size: 14px;
}

.work-tab span {
  display: block;
  margin-top: 4px;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 650;
}

.work-panel {
  border-radius: var(--radius);
  background: #172026;
  color: #ffffff;
  padding: 18px;
}

.work-panel h3 {
  margin: 0;
  font-size: 20px;
}

.task-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.task {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 13px;
}

.task strong {
  display: block;
  font-size: 14px;
}

.task span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 650;
}

.cta-band {
  text-align: center;
}

.cta-band .hero-actions {
  justify-content: center;
}

.page-hero {
  min-height: min(760px, 86svh);
  display: grid;
  align-items: end;
  padding: 136px 24px 70px;
  color: #ffffff;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.16), transparent 24%),
    #bf3d3d;
}

.page-hero-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
}

.landing-visual-card,
.workflow-card,
.proof-card,
.surface-card,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 22px rgba(0, 0, 0, 0.16);
  padding: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.landing-visual-card::before,
.workflow-card::before,
.proof-card::before,
.surface-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--card-accent, 255, 255, 255), 0.2), rgba(255, 255, 255, 0.015) 56%);
  pointer-events: none;
}

.landing-visual-card > *,
.workflow-card > *,
.proof-card > *,
.surface-card > *,
.legal-card > * {
  position: relative;
}

.landing-visual-card h2,
.workflow-card h3,
.proof-card h3,
.surface-card h3,
.legal-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.18;
}

.landing-visual-card p,
.workflow-card p,
.proof-card p,
.surface-card p,
.legal-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.landing-visual-card {
  align-self: center;
  min-height: 360px;
  display: grid;
  gap: 14px;
}

.page-hero .hero-actions {
  margin-top: 24px;
}

.page-hero .intent-card {
  max-width: 760px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  padding: 18px;
}

.intent-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
}

.status-columns {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.status-columns .card {
  min-height: 180px;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.source-strip span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 38, 0.12);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 800;
}

.download-facts .card {
  min-height: 190px;
}

.hash-value {
  display: block;
  max-width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(23, 32, 38, 0.06);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
}

.download-steps {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 26px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 650;
}

.download-steps li::marker {
  color: var(--ink);
  font-weight: 900;
}

.workflow-grid,
.proof-grid,
.surface-grid {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.surface-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-hero .page-hero-inner {
  max-width: 980px;
}

.pricing-grid,
.addon-grid {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.addon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 520px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: #bf3d3d;
  color: #ffffff;
}

.pricing-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 0.95;
}

.pricing-card h3 span {
  display: block;
  margin-top: 8px;
  color: currentColor;
  font-size: 15px;
  opacity: 0.66;
}

.pricing-card p,
.pricing-card li {
  color: currentColor;
  opacity: 0.72;
  font-weight: 650;
}

.pricing-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding-left: 18px;
}

.pricing-card .button {
  align-self: end;
  margin-top: auto;
}

.page-cta {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  text-align: center;
}

.page-cta .section-lede,
.page-cta .hero-actions {
  margin-left: auto;
  margin-right: auto;
}

.page-cta .hero-actions {
  justify-content: center;
}

.ad-pages {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ad-link {
  display: block;
  min-height: 146px;
  border: 1px solid rgba(23, 32, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.ad-link strong {
  display: block;
  font-size: 17px;
}

.ad-link span {
  display: block;
  margin-top: 8px;
  color: var(--soft-ink);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.footer {
  padding: 42px 24px;
  background: #10171a;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 750;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 80;
  transform: translate(-50%, 24px);
  opacity: 0;
  max-width: calc(100vw - 32px);
  border-radius: 999px;
  background: rgba(23, 32, 38, 0.92);
  color: #ffffff;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.legal-page {
  background: #bf3d3d;
  color: #ffffff;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 138px 0 84px;
}

.legal-main h1 {
  max-width: 780px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.98;
}

.legal-main h2 {
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 24px;
}

.legal-main p,
.legal-main li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 620;
}

.legal-main strong,
.legal-main a {
  color: rgba(255, 255, 255, 0.94);
}

.legal-main a {
  text-decoration-color: rgba(255, 255, 255, 0.44);
  text-underline-offset: 3px;
}

body.stage-body:not(.assistant-home) .site-header,
.legal-page .site-header {
  background: linear-gradient(180deg, rgba(191, 61, 61, 0.94), rgba(191, 61, 61, 0));
}

body.stage-body:not(.assistant-home) .button,
.legal-page .button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

body.stage-body:not(.assistant-home) .button.primary,
.legal-page .button.primary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.92);
  color: #bf3d3d;
}

body.stage-body:not(.assistant-home) .button.dark,
body.stage-body:not(.assistant-home) .button.secondary-light,
.legal-page .button.dark,
.legal-page .button.secondary-light {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
}

body.stage-body:not(.assistant-home) .page-hero {
  background: #bf3d3d;
}

body.stage-body:not(.assistant-home) .section,
body.stage-body:not(.assistant-home) .section.white,
body.stage-body:not(.assistant-home) .section.sage,
body.stage-body:not(.assistant-home) .section.tide,
body.stage-body:not(.assistant-home) .section.dark {
  background: #bf3d3d;
  color: #ffffff;
}

body.stage-body:not(.assistant-home) .section-kicker,
body.stage-body:not(.assistant-home) .mini-label {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.82);
}

body.stage-body:not(.assistant-home) .section-title,
body.stage-body:not(.assistant-home) .card h3,
body.stage-body:not(.assistant-home) .ad-link strong,
body.stage-body:not(.assistant-home) .pricing-card h3 {
  color: #ffffff;
}

body.stage-body:not(.assistant-home) .section-lede,
body.stage-body:not(.assistant-home) .card p,
body.stage-body:not(.assistant-home) .ad-link span,
body.stage-body:not(.assistant-home) .pricing-card p,
body.stage-body:not(.assistant-home) .pricing-card li {
  color: rgba(255, 255, 255, 0.72);
}

body.stage-body:not(.assistant-home) .card,
body.stage-body:not(.assistant-home) .pricing-card,
body.stage-body:not(.assistant-home) .ad-link,
body.stage-body:not(.assistant-home) .example .ask,
body.stage-body:not(.assistant-home) .example .answer,
body.stage-body:not(.assistant-home) .work-tab,
body.stage-body:not(.assistant-home) .work-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  color: #ffffff;
}

body.stage-body:not(.assistant-home) .pricing-card.featured,
body.stage-body:not(.assistant-home) .example .answer {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
}

body.stage-body:not(.assistant-home) .pricing-card p,
body.stage-body:not(.assistant-home) .pricing-card li {
  opacity: 1;
}

body.stage-body:not(.assistant-home) .source-strip span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

body.stage-body:not(.assistant-home) .page-cta {
  border-top-color: rgba(255, 255, 255, 0.12);
}

body.stage-body:not(.assistant-home) .ad-link:hover,
body.stage-body:not(.assistant-home) .ad-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

body.stage-body:not(.assistant-home) .footer,
.legal-page .footer {
  background: #101010;
}

@media (max-width: 980px) {
  .hero-inner,
  .work-surface,
  .example,
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .stage-demo {
    min-height: 360px;
  }

  .assistant-line-wrap {
    height: 160px;
  }

  .grid.three,
  .grid.two,
  .status-columns,
  .ad-pages,
  .workflow-grid,
  .proof-grid,
  .surface-grid,
  .pricing-grid,
  .addon-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(56px, 20vw, 104px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 14px;
  }

  .brand span {
    display: none;
  }

  .nav-actions .button:not(.primary) {
    display: none;
  }

  .hero,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-hero {
    min-height: auto;
    align-items: start;
    padding-top: 124px;
    padding-bottom: 54px;
  }

  .hero h1,
  .page-hero h1 {
    overflow-wrap: anywhere;
  }

  .hero .lede,
  .page-hero .lede {
    font-size: 18px;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-inner {
    display: grid;
  }
}

/* Scroll-led assistant stage homepage. This deliberately mirrors the Mac app stage:
   a single living white line first, with visual work appearing beside it. */
body.assistant-home.stage-body {
  background: #bf3d3d;
  color: #ffffff;
}

.assistant-home .site-header {
  background: linear-gradient(180deg, rgba(191, 61, 61, 0.92), rgba(191, 61, 61, 0));
}

.assistant-home .site-nav {
  max-width: 1260px;
}

.assistant-home .nav-actions {
  gap: 7px;
}

.assistant-home .button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.assistant-home .button.primary {
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.92);
  color: #bf3d3d;
}

.assistant-home .button.ghost {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.78);
}

.assistant-story {
  position: relative;
  min-height: 760vh;
  background: #bf3d3d;
}

.assistant-story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #bf3d3d;
  color: #ffffff;
}

.assistant-line-canvas {
  position: absolute;
  left: var(--line-left, 50%);
  top: var(--line-top, 50%);
  width: var(--line-width, 250px);
  height: var(--line-height, 210px);
  transform: translate(-50%, -50%);
  contain: strict;
  will-change: transform, width, height;
}

.stage-intro {
  position: absolute;
  left: 50%;
  top: 63%;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  opacity: var(--intro-opacity, 1);
  transform: translate(-50%, -50%) translateY(var(--intro-y, 0)) scale(var(--intro-scale, 1));
  text-align: center;
  will-change: opacity, transform;
}

.stage-intro.is-hidden {
  pointer-events: none;
}

.stage-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-intro h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7.1vw, 86px);
  line-height: 0.92;
  font-weight: 900;
}

.stage-intro p:not(.stage-kicker) {
  width: min(620px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.28;
  font-weight: 720;
}

.stage-intro .hero-actions,
.assistant-home .cta-band .hero-actions {
  justify-content: center;
}

.stage-status {
  position: absolute;
  left: var(--status-left, 50%);
  top: var(--status-top, calc(50% + 122px));
  z-index: 3;
  display: inline-flex;
  width: min(320px, calc(100vw - 48px));
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, 14px) scale(0.965);
  transition: opacity 0.34s ease, transform 0.52s cubic-bezier(0.19, 1, 0.22, 1);
}

.stage-status.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.84);
}

.story-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.story-card {
  position: absolute;
  right: clamp(24px, 7vw, 104px);
  top: 50%;
  width: min(560px, 43vw);
  max-height: min(74vh, 640px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(70, 12, 12, 0.2);
  padding: 18px;
  opacity: var(--card-opacity, 0);
  transform: translateY(calc(-50% + var(--card-y, 34px))) scale(var(--card-scale, 0.948));
  transition: transform 0.28s cubic-bezier(0.19, 1, 0.22, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  will-change: opacity, transform;
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--card-accent, 255, 255, 255), 0.2), rgba(255, 255, 255, 0.015) 56%);
  pointer-events: none;
}

.story-card > * {
  position: relative;
}

.story-card.active {
  pointer-events: auto;
}

.story-card h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: 0;
}

.story-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.48;
  font-weight: 650;
}

.story-card .mini-label,
.stage-section .section-kicker,
.assistant-home .mini-label {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
}

.stage-section .section-kicker {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 0 8px;
}

.app-card-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
}

.app-card-title {
  min-width: 0;
}

.app-card-title .mini-label {
  min-height: 22px;
  margin-bottom: 5px;
  padding: 0 7px;
  font-size: 10px;
}

.app-card-glyph {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(var(--card-accent, 255, 255, 255), 0.2);
  overflow: hidden;
}

.app-card-glyph::before,
.app-card-glyph::after {
  content: "";
  position: absolute;
  border-color: rgba(255, 255, 255, 0.76);
}

.app-card-glyph::before {
  width: 15px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
}

.app-card-glyph::after {
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  transform: translateY(8px);
}

.app-card-glyph.thinking::before {
  width: 18px;
  height: 10px;
  border-radius: 999px 999px 3px 3px;
  transform: rotate(-18deg);
}

.app-card-glyph.thinking::after {
  width: 18px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px 999px 3px 3px;
  background: transparent;
  transform: rotate(18deg);
}

.app-card-glyph.checking::before {
  width: 15px;
  height: 17px;
  border-radius: 10px 10px 12px 12px;
  transform: translateY(-1px);
}

.app-card-glyph.checking::after,
.app-card-glyph.approval::after {
  width: 10px;
  height: 5px;
  border-left: 2px solid rgba(255, 255, 255, 0.84);
  border-bottom: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg) translate(1px, 2px);
}

.app-card-glyph.voice::before {
  width: 4px;
  height: 15px;
  border-radius: 999px;
}

.app-card-glyph.voice::after {
  width: 16px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.72);
  border-bottom: 2px solid rgba(255, 255, 255, 0.72);
  border-left: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 0 0 999px 999px;
  background: transparent;
  transform: translateY(3px);
}

.app-card-glyph.visual::before {
  width: 16px;
  height: 12px;
  border-radius: 6px;
}

.app-card-glyph.visual::after {
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.74);
  border-bottom: 2px solid rgba(255, 255, 255, 0.74);
  background: transparent;
  transform: translate(-3px, 8px) rotate(45deg);
}

.app-card-glyph.background::before {
  width: 17px;
  height: 17px;
  border-radius: 999px;
}

.app-card-glyph.background::after {
  width: 6px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.78);
  border-left: 2px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  transform: translate(3px, -1px);
}

.app-card-glyph.approval::before {
  width: 16px;
  height: 18px;
  border-radius: 10px 10px 13px 13px;
}

.app-card-glyph.device::before {
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.app-card-glyph.device::after {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.74);
  transform: rotate(28deg);
}

.app-card-status,
.app-card-ask {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.14);
  padding: 0 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.app-card-ask {
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
}

.app-card-status {
  grid-column: 2 / -1;
  justify-self: start;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.app-part {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
}

.visual-card-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.visual-card-note strong {
  color: rgba(255, 255, 255, 0.86);
}

.app-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
}

.app-row-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.app-row-dot.ready {
  border-color: rgba(166, 240, 201, 0.76);
  background: rgba(166, 240, 201, 0.44);
  box-shadow: 0 0 14px rgba(166, 240, 201, 0.22);
}

.app-row-dot.waiting {
  border-color: rgba(255, 218, 130, 0.76);
  background: rgba(255, 218, 130, 0.36);
  box-shadow: 0 0 14px rgba(255, 218, 130, 0.18);
}

.app-row strong,
.app-table strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.2;
}

.app-row span,
.app-table span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 650;
}

.app-row-badge,
.app-table b {
  align-self: start;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 3px 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.app-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.app-metric-grid.surfaces {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-metric {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.app-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 900;
}

.app-metric strong {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.05;
}

.app-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.app-table > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
}

.app-table > div:first-child {
  background: rgba(255, 255, 255, 0.08);
}

.app-table > div:nth-child(odd):not(:first-child) {
  background: rgba(255, 255, 255, 0.035);
}

.voice-part {
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
}

.approval-part .approval-row {
  margin-top: 2px;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.quiet-list,
.source-cloud,
.device-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.quiet-list span,
.source-cloud span,
.device-grid span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
}

.mock-work-card {
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 16px;
}

.mock-work-card strong,
.mock-work-card small {
  display: block;
}

.mock-work-card strong {
  color: #ffffff;
  font-size: 16px;
}

.mock-work-card small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.mock-work-card ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mock-work-card li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.mock-work-card.compact {
  display: grid;
  gap: 4px;
}

.voice-mini-wave {
  display: flex;
  height: 58px;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
}

.voice-part .voice-mini-wave {
  height: 48px;
  margin-top: 0;
}

.voice-mini-wave span {
  display: block;
  width: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
  animation: voice-bars 1.25s ease-in-out infinite;
}

.voice-mini-wave span:nth-child(1) {
  height: 22px;
}

.voice-mini-wave span:nth-child(2) {
  height: 42px;
  animation-delay: -0.18s;
}

.voice-mini-wave span:nth-child(3) {
  height: 58px;
  animation-delay: -0.36s;
}

.voice-mini-wave span:nth-child(4) {
  height: 34px;
  animation-delay: -0.54s;
}

.voice-mini-wave span:nth-child(5) {
  height: 48px;
  animation-delay: -0.72s;
}

@keyframes voice-bars {
  0%, 100% {
    transform: scaleY(0.68);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.approval-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stage-section {
  display: grid;
  min-height: 100svh;
  align-items: center;
  box-sizing: border-box;
  scroll-margin-top: 0;
  background: #bf3d3d;
  color: #ffffff;
}

.stage-section[data-scroll-reveal] {
  opacity: var(--section-opacity, 1);
  transform: translateY(var(--section-y, 0)) scale(var(--section-scale, 1));
  transform-origin: center top;
  will-change: opacity, transform;
}

.stage-section[data-scroll-reveal] .section-inner {
  transform: translateY(var(--section-inner-y, 0));
}

.mode-card,
.truth-grid article,
.assistant-home .ad-link,
.workflow-card,
.proof-card,
.surface-card,
.legal-card {
  opacity: var(--item-opacity, 1);
  transform: translateY(var(--item-y, 0)) scale(var(--item-scale, 1));
}

.stage-section.result-section {
  padding-top: clamp(64px, 9svh, 118px);
}

.section-inner.narrow {
  max-width: 920px;
}

.stage-section .section-title {
  color: #ffffff;
}

.stage-section .section-lede {
  color: rgba(255, 255, 255, 0.74);
}

.voice-section {
  padding-top: clamp(64px, 9svh, 118px);
}

.voice-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

.voice-stage {
  position: relative;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(80, 12, 12, 0.18);
}

.voice-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.voice-pill {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 850;
}

.mode-grid,
.truth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.truth-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mode-card,
.truth-grid article,
.assistant-home .ad-link {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  padding: 18px;
  color: #ffffff;
}

.mode-card span {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 900;
}

.mode-card h3,
.truth-grid h3 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.12;
}

.truth-grid h3 {
  margin-top: 0;
}

.mode-card p,
.truth-grid p,
.assistant-home .ad-link span {
  color: rgba(255, 255, 255, 0.68);
}

.assistant-home .ad-link {
  min-height: 126px;
}

.assistant-home .ad-link:hover,
.assistant-home .ad-link:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.assistant-home .footer {
  background: #101010;
}

@media (min-width: 761px) and (max-height: 820px) {
  .assistant-story-sticky {
    height: 100vh;
    min-height: 0;
  }

  .stage-intro {
    top: 58%;
    width: min(780px, calc(100% - 48px));
  }

  .stage-kicker {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .stage-intro h1 {
    width: min(780px, 100%);
    margin: 0 auto;
    font-size: clamp(46px, 5.1vw, 62px);
    line-height: 0.94;
  }

  .stage-intro p:not(.stage-kicker) {
    max-width: 620px;
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.22;
  }

  .stage-intro .hero-actions {
    margin-top: 14px;
  }

  .stage-intro .button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .assistant-home .stage-section {
    min-height: 100svh;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .assistant-home .scroll-cue {
    display: none;
  }

  .story-card {
    width: min(500px, 42vw);
    max-height: min(66vh, 500px);
    padding: 18px;
  }

  .story-card h2 {
    font-size: 18px;
    line-height: 1.18;
  }

  .story-card p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.42;
  }

  .quiet-list,
  .source-cloud,
  .device-grid,
  .approval-row,
  .app-part {
    margin-top: 16px;
  }
}

@media (min-width: 761px) and (max-height: 700px) {
  .site-header {
    padding-top: 16px;
  }

  .stage-intro {
    top: 56%;
  }

  .stage-intro h1 {
    font-size: 44px;
  }

  .stage-intro p:not(.stage-kicker) {
    max-width: 560px;
    font-size: 16px;
  }

  .stage-intro .hero-actions {
    margin-top: 10px;
  }

  .story-card h2 {
    font-size: 17px;
  }
}

@media (max-width: 1080px) {
  .assistant-home .nav-actions .button:not(.primary):nth-child(n+3) {
    display: none;
  }

  .story-card {
    right: 24px;
    width: min(460px, 45vw);
  }

  .mode-grid,
  .truth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .assistant-story {
    min-height: 760vh;
  }

  .assistant-story-sticky {
    height: 100svh;
    min-height: 560px;
  }

  .stage-intro {
    top: 58%;
    width: calc(100% - 28px);
  }

  .stage-intro h1 {
    font-size: clamp(34px, 12.5vw, 58px);
    line-height: 0.94;
  }

  .stage-intro p:not(.stage-kicker) {
    margin-top: 16px;
    font-size: clamp(15px, 4.8vw, 19px);
    line-height: 1.25;
  }

  .stage-intro .hero-actions .button:nth-child(n+3) {
    display: none;
  }

  .stage-status {
    min-width: 0;
    width: min(320px, calc(100vw - 36px));
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .story-card {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: clamp(18px, 4svh, 34px);
    width: auto;
    max-height: min(52svh, 420px);
    overflow: auto;
    padding: 14px;
    transform: translateY(var(--card-y, 24px)) scale(var(--card-scale, 0.948));
  }

  .story-card.active {
    pointer-events: auto;
  }

  .story-card h2 {
    font-size: clamp(16px, 4.6vw, 19px);
    line-height: 1.16;
  }

  .story-card p {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.38;
  }

  .assistant-home .stage-section {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .assistant-home .stage-section.result-section,
  .assistant-home .voice-section {
    padding-top: 72px;
  }

  .app-card-head {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .app-card-glyph {
    width: 26px;
    height: 26px;
  }

  .app-card-status {
    grid-column: 2 / -1;
    justify-self: start;
    min-height: 22px;
    margin-top: 0;
    max-width: 100%;
    white-space: normal;
  }

  .app-card-title .mini-label {
    min-height: 20px;
    margin-bottom: 6px;
    font-size: 9px;
  }

  .app-part {
    margin-top: 10px;
    padding: 8px;
  }

  .app-row {
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .app-row strong,
  .app-table strong {
    font-size: 11px;
  }

  .app-row span,
  .app-table span {
    font-size: 10px;
    line-height: 1.3;
  }

  .app-row-badge {
    grid-column: 2;
    justify-self: start;
  }

  .app-metric-grid,
  .app-metric-grid.surfaces {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .voice-part {
    grid-template-columns: 1fr;
  }

  .voice-part .voice-mini-wave {
    height: 38px;
  }

  .story-card .mock-work-card {
    margin-top: 14px;
    padding: 12px;
  }

  .story-card .visual-card-note {
    display: none;
  }

  .quiet-list,
  .source-cloud,
  .device-grid,
  .approval-row {
    margin-top: 14px;
  }

  .voice-stage {
    min-height: 240px;
  }

  .assistant-home .scroll-cue {
    display: none;
  }

  .mode-grid,
  .truth-grid {
    grid-template-columns: 1fr;
  }

  .assistant-home .ad-pages {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .stage-section[data-scroll-reveal],
  .stage-section[data-scroll-reveal] .section-inner {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
