/**
 * CloudOpsGPT Website — webUI2 design system
 * Apple atmosphere + AWS accent. Motion lives in the canvas, not in the copy.
 */

:root {
  --website-bg: #F3F7FC;
  --website-surface: #FFFFFF;
  --website-surface-subtle: #E8F1FB;
  --website-text: #1D1D1F;
  --website-text-secondary: #3F4A55;
  --website-text-muted: #6E7A86;
  --website-border: #D5DEE8;
  --website-brand: #0077ED;
  --website-brand-hover: #147CE5;
  --website-brand-ink: #0171E3;
  --website-link: #0077ED;
  --website-focus: #0077ED;
  --website-on-brand: #FFFFFF;
  --website-cyan: #22D3EE;
  --website-cyan-ink: #083344;
  --website-orange: #FF9900;
  --website-danger: #D70015;
  --website-success: #248A3D;
  --website-radius: 8px;
  --website-radius-sm: 6px;
  --website-radius-lg: 12px;
  --website-shadow: none;
  --website-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --website-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --website-header-h: 56px;
  --website-max: 1120px;
  --website-prose: 68ch;
  --website-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --website-section-y: 5.5rem;
  --website-section-y-sm: 3.5rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body.website-body {
  margin: 0;
  font-family: var(--website-font);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  color: var(--website-text);
  background: var(--website-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--website-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #0077ED;
}

:focus-visible {
  outline: 2px solid var(--website-focus);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus,
.sr-only:focus-visible {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.65rem 1rem;
  clip: auto;
  white-space: normal;
  z-index: 10000;
  background: var(--website-brand);
  color: var(--website-on-brand);
  border-radius: var(--website-radius-sm);
  font-weight: 600;
}

.site-container {
  width: min(100% - 2rem, var(--website-max));
  margin-inline: auto;
}

.site-container--narrow {
  width: min(100% - 2rem, 720px);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--website-header-h);
  background: rgba(241, 244, 247, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--website-text);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}

.site-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--website-text);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.35rem 0.7rem;
  border-radius: 0;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity 0.24s var(--website-ease);
}

.site-nav a:hover {
  color: var(--website-text);
  background: transparent;
  opacity: 1;
}

.site-nav__actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
}

.site-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-sm);
  background: var(--website-surface);
  color: var(--website-text);
  cursor: pointer;
}

@media (min-width: 768px) {
  .site-nav,
  .site-nav__actions {
    display: flex;
  }
  .site-nav a {
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
  }
  .site-menu-btn {
    display: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: var(--website-radius);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.28s var(--website-ease), color 0.28s var(--website-ease), border-color 0.28s var(--website-ease), transform 0.28s var(--website-ease), box-shadow 0.28s var(--website-ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background: var(--website-brand);
  color: var(--website-on-brand);
  border-color: var(--website-brand);
  box-shadow: 0 8px 24px rgba(0, 119, 237, 0.28);
}

.btn--primary:hover {
  background: var(--website-brand-hover);
  border-color: var(--website-brand-hover);
  color: var(--website-on-brand);
  box-shadow: 0 14px 32px rgba(0, 119, 237, 0.38);
}

.btn--secondary {
  background: var(--website-surface);
  color: var(--website-text);
  border-color: rgba(0, 119, 237, 0.28);
}

.btn--secondary:hover {
  border-color: var(--website-brand);
  background: #F0F7FF;
  color: var(--website-brand);
}

.btn--ghost {
  background: transparent;
  color: var(--website-text-secondary);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--website-text);
  background: var(--website-surface-subtle);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

/* ——— Sections ——— */
.site-section {
  padding: var(--website-section-y-sm) 0;
}

@media (min-width: 768px) {
  .site-section {
    padding: var(--website-section-y) 0;
  }
}

.site-section--surface {
  background: var(--website-surface);
  border-block: 1px solid var(--website-border);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
  margin-bottom: 0.85rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--website-text);
  letter-spacing: -0.022em;
}

.section-lead {
  margin: 0;
  max-width: 40rem;
  color: var(--website-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-lead--center {
  margin-inline: auto;
  text-align: center;
}

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

/* ——— Hero ——— */
.hero {
  padding: 3.5rem 0 2.5rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 0 4rem;
  }
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--website-text);
}

.hero h1 span {
  display: block;
  color: var(--website-text);
}

.hero__support {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--website-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Product preview ——— */
.preview {
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  box-shadow: var(--website-shadow);
  overflow: hidden;
}

.preview__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--website-border);
  background: var(--website-surface-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.preview__badge {
  color: var(--website-brand-ink);
  background: rgba(35, 47, 62, 0.08);
  border: 1px solid rgba(35, 47, 62, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
}

.preview__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--website-border);
  font-size: 0.8rem;
}

@media (min-width: 640px) {
  .preview__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.preview__meta dt {
  margin: 0;
  color: var(--website-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.preview__meta dd {
  margin: 0.15rem 0 0;
  color: var(--website-text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.preview__body {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.preview__bubble {
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  padding: 0.85rem 1rem;
  background: var(--website-bg);
}

.preview__bubble--user {
  border-color: rgba(35, 47, 62, 0.28);
  background: rgba(35, 47, 62, 0.05);
}

.preview__bubble--plan {
  background: var(--website-surface);
}

.preview__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.preview__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--website-text);
  line-height: 1.55;
}

.preview__list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--website-text-secondary);
  font-size: 0.88rem;
}

.preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.preview__note {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.78rem;
  color: var(--website-text-muted);
}

/* ——— Compact lists / who ——— */
.outcome-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.outcome {
  padding: 1.25rem 0;
  border-top: 1px solid var(--website-border);
}

.outcome h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.outcome p {
  margin: 0;
  color: var(--website-text-secondary);
  font-size: 0.98rem;
}

.outcome q {
  display: block;
  margin-top: 0.65rem;
  color: var(--website-text);
  font-style: normal;
  font-size: 0.92rem;
  border-left: 2px solid var(--website-brand);
  padding-left: 0.75rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}

.steps li {
  position: relative;
  padding-top: 0.25rem;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: rgba(35, 47, 62, 0.10);
  color: var(--website-brand-ink);
  font-weight: 700;
  font-size: 0.85rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.steps p {
  margin: 0;
  color: var(--website-text-secondary);
  font-size: 0.92rem;
}

.trust-points {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}

@media (min-width: 768px) {
  .trust-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.trust-points h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.trust-points p {
  margin: 0;
  color: var(--website-text-secondary);
  font-size: 0.95rem;
}

.trust-aside {
  margin: 0;
  max-width: 48rem;
  color: var(--website-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.audience span {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--website-border);
  border-radius: 999px;
  background: var(--website-surface);
  color: var(--website-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ——— Pricing ——— */
.price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .price-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.price-card {
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.price-card--featured {
  border-color: var(--website-brand);
  box-shadow: inset 0 0 0 1px var(--website-brand);
}

.price-card__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--website-brand);
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.price-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.price-card__price {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-card__price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--website-text-muted);
}

.price-card__meta {
  margin: 0;
  color: var(--website-text-secondary);
  font-size: 0.9rem;
}

.price-card .btn {
  margin-top: auto;
}

.price-note {
  margin: 1.25rem 0 0;
  color: var(--website-text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ——— FAQ ——— */
.faq-list {
  margin: 2rem auto 0;
  max-width: 48rem;
  border-top: 1px solid var(--website-border);
}

.faq-item {
  border-bottom: 1px solid var(--website-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  font-weight: 600;
  color: var(--website-text);
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--website-text-muted);
  transition: transform 0.28s var(--website-ease-out);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--website-text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-more {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.95rem;
}

/* ——— CTA band ——— */
.cta-band {
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-band {
    padding: 2.75rem;
  }
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: var(--website-text-secondary);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--website-border);
  background: var(--website-bg);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  }
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--website-text-muted);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer a {
  text-decoration: none;
  color: var(--website-text-secondary);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--website-text);
}

.site-footer__brand p {
  margin: 0.65rem 0 0;
  color: var(--website-text-muted);
  font-size: 0.9rem;
  max-width: 22rem;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--website-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--website-text-muted);
  font-size: 0.85rem;
}

/* ——— Mobile menu ——— */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--website-header-h) 0 0 0;
  z-index: 99;
  background: var(--website-bg);
  overflow-y: auto;
  padding: 1.25rem 1rem 2rem;
  border-top: 1px solid var(--website-border);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: var(--website-text);
  font: inherit;
  font-weight: 500;
  border-radius: var(--website-radius-sm);
  cursor: pointer;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  background: var(--website-surface-subtle);
}

.mobile-menu__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--website-border);
}

body.menu-open {
  overflow: hidden;
}

/* ——— Docs shell ——— */
.doc-shell {
  padding: 2rem 0 4rem;
}

.doc-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .doc-layout {
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    gap: 2.5rem;
    align-items: start;
  }
}

.doc-side,
.doc-toc {
  font-size: 0.9rem;
}

.doc-side a,
.doc-toc a {
  text-decoration: none;
  color: var(--website-text-secondary);
}

.doc-side a:hover,
.doc-toc a:hover,
.doc-toc a.is-active {
  color: var(--website-text);
}

.doc-side__label,
.doc-toc__label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.doc-side nav,
.doc-toc nav {
  display: grid;
  gap: 0.45rem;
}

.doc-toc {
  display: none;
}

@media (min-width: 1024px) {
  .doc-toc {
    display: block;
    position: sticky;
    top: calc(var(--website-header-h) + 1.25rem);
  }
  .doc-side {
    position: sticky;
    top: calc(var(--website-header-h) + 1.25rem);
  }
}

.doc-toc-mobile {
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .doc-toc-mobile {
    display: none;
  }
}

.doc-toc-mobile details {
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  background: var(--website-surface);
  padding: 0.75rem 1rem;
}

.doc-toc-mobile summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--website-text);
}

.doc-toc-mobile nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.doc-article {
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  padding: 1.75rem 1.25rem;
}

@media (min-width: 768px) {
  .doc-article {
    padding: 2.5rem 2.75rem;
  }
}

.doc-article h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: -0.02em;
}

.doc-meta {
  margin: 0 0 1.5rem;
  color: var(--website-text-muted);
  font-size: 0.9rem;
}

.doc-intro {
  margin: 0 0 2rem;
  max-width: var(--website-prose);
  color: var(--website-text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.doc-article section {
  margin: 0 0 2rem;
  max-width: var(--website-prose);
  scroll-margin-top: calc(var(--website-header-h) + 1rem);
}

.doc-article h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.doc-article h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 1.05rem;
}

.doc-article p,
.doc-article li {
  color: var(--website-text-secondary);
  line-height: 1.75;
}

.doc-article p {
  margin: 0 0 0.9rem;
}

.doc-article ul,
.doc-article ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.doc-article li + li {
  margin-top: 0.4rem;
}

.doc-article strong {
  color: var(--website-text);
  font-weight: 600;
}

.doc-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--website-surface-subtle);
  border: 1px solid var(--website-border);
  border-radius: 6px;
  padding: 0.1em 0.35em;
  color: var(--website-text);
}

.doc-article pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  background: var(--website-surface-subtle);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-sm);
}

.doc-article pre code {
  border: 0;
  background: transparent;
  padding: 0;
}

.doc-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.doc-article th,
.doc-article td {
  border: 1px solid var(--website-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.doc-article th {
  background: var(--website-surface-subtle);
  color: var(--website-text);
  font-weight: 600;
}

.doc-callout {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  background: var(--website-bg);
}

.doc-callout h3 {
  margin-top: 0;
}

.doc-nav {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.doc-nav a {
  color: var(--website-brand);
  text-decoration: none;
  font-weight: 500;
}

.doc-nav a:hover {
  color: var(--website-brand-hover);
  text-decoration: underline;
}

.doc-step {
  margin: 0 0 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--website-border);
}

.doc-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.doc-step h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.95rem;
  color: var(--website-text);
}

.doc-step h3:first-child {
  margin-top: 0;
}

.doc-article section.doc-section--wide {
  max-width: none;
}

.doc-article section.doc-section--wide table {
  font-size: 0.88rem;
}

.doc-article section + section {
  padding-top: 0.25rem;
}

.doc-side nav a[aria-current="page"] {
  color: var(--website-text);
  font-weight: 600;
}

.doc-summary {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  background: var(--website-bg);
}

.doc-summary ul {
  margin: 0;
  padding-left: 1.15rem;
}

.doc-summary li + li {
  margin-top: 0.45rem;
}

.doc-result {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--website-text-secondary);
}

.doc-quiet-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.doc-quiet-link a {
  color: var(--website-brand);
  text-decoration: none;
  font-weight: 500;
}

.doc-quiet-link a:hover {
  text-decoration: underline;
}

.doc-disclosure {
  margin: 1.25rem 0 0;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  background: var(--website-bg);
  padding: 0.65rem 0.9rem;
}

.doc-disclosure--major {
  padding: 0.85rem 1rem;
}

.doc-disclosure--nested {
  margin-top: 0.85rem;
  background: var(--website-surface);
}

.doc-disclosure summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--website-text);
  list-style: none;
}

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

.doc-disclosure summary::before {
  content: '▸ ';
  color: var(--website-brand);
}

.doc-disclosure[open] summary::before {
  content: '▾ ';
}

.doc-disclosure__body {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--website-border);
  color: var(--website-text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.doc-disclosure__body--sections section {
  max-width: var(--website-prose);
}

.doc-disclosure__body--sections section:first-child h2 {
  margin-top: 0;
}

.doc-disclosure--spaced {
  margin-top: 1.5rem;
}

.doc-meta {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--website-text-muted);
  line-height: 1.5;
}

.doc-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--website-brand);
}

.doc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: doc-step;
}

.doc-steps > li {
  counter-increment: doc-step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.875rem 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--website-border);
}

.doc-steps > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.doc-steps > li::before {
  content: counter(doc-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--website-surface-subtle);
  color: var(--website-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.doc-steps h2,
.doc-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--website-text);
}

.doc-steps p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--website-text-secondary);
}

.doc-hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.doc-hub-row {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  background: var(--website-bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s var(--website-ease), background-color 0.15s var(--website-ease);
}

.doc-hub-row:hover {
  border-color: color-mix(in srgb, var(--website-brand) 40%, transparent);
  background: var(--website-surface-subtle);
}

.doc-hub-row__body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.doc-hub-row__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--website-text);
}

.doc-hub-row__meta {
  font-size: 0.8125rem;
  color: var(--website-text-muted);
}

.doc-hub-row__link {
  font-size: 0.8125rem;
  color: var(--website-brand);
  font-weight: 500;
  margin-top: 0.15rem;
}

.doc-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--website-surface-subtle);
  color: var(--website-brand);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.doc-inline-success {
  margin: 1.25rem 0 0;
  padding: 0.875rem 1rem;
  border: 1px solid color-mix(in srgb, var(--website-brand) 35%, transparent);
  border-radius: var(--website-radius);
  background: var(--website-bg);
  font-size: 0.9375rem;
  color: var(--website-text-secondary);
  line-height: 1.55;
}

.doc-inline-success strong {
  color: var(--website-text);
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--website-border);
}

.doc-actions .btn {
  text-decoration: none;
}

.doc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.25rem;
  max-width: 100%;
}

.doc-table-wrap table {
  margin: 0;
  min-width: 36rem;
}

.doc-overview {
  width: 100%;
  height: auto;
  border-radius: var(--website-radius-sm);
  border: 1px solid var(--website-border);
  background: var(--website-surface-subtle);
}

.doc-disclosure__note {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--website-text-muted);
}

.doc-mobile-nav {
  display: none;
  margin-bottom: 1.25rem;
}

.doc-mobile-nav details {
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  background: var(--website-surface);
  padding: 0.75rem 1rem;
}

.doc-mobile-nav summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--website-text);
}

.doc-mobile-nav nav {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.doc-mobile-nav a {
  color: var(--website-brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.doc-mobile-nav a[aria-current="page"] {
  color: var(--website-text);
  font-weight: 600;
}

.doc-nav--faq-context {
  max-width: 48rem;
  margin: 0 auto 1rem;
  padding-top: 0.5rem;
}

.site-section--faq .doc-nav--faq-context a {
  color: var(--website-brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.site-section--faq .doc-nav--faq-context a:hover {
  text-decoration: underline;
}

.doc-article {
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.doc-layout {
  min-width: 0;
}

@media (max-width: 1023px) {
  .doc-side {
    display: none;
  }

  .doc-mobile-nav {
    display: block;
  }

  .doc-article {
    padding: 1.35rem 1rem;
  }

  .doc-shell .site-container {
    width: min(100% - 1.25rem, var(--website-max));
  }

  .doc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .doc-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .doc-article h1 {
    font-size: 1.5rem;
  }

  .doc-table-wrap table {
    font-size: 0.85rem;
  }
}

/* ——— Centered doc layout (journey consolidation) ——— */
.doc-layout.doc-layout--centered {
  display: block;
  width: min(100% - 2rem, var(--website-max));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .doc-layout.doc-layout--centered {
    grid-template-columns: minmax(0, 1fr);
  }
}

.doc-layout--centered .doc-article {
  width: 100%;
  max-width: none;
}

body.doc-page {
  font-family: var(--website-font);
}

body.doc-page .doc-shell {
  padding-top: 1.75rem;
}

.doc-page .doc-article section:not(.doc-section--wide) {
  max-width: var(--website-prose);
}

.doc-page .doc-article section.doc-section--wide,
.doc-page .doc-table-wrap,
.doc-page .doc-disclosure {
  max-width: none;
}

.site-footer--doc {
  padding: 2rem 0 2.5rem;
}

.site-footer--doc .site-footer__bottom {
  display: none;
}

.doc-layout--centered .doc-side,
.doc-layout--centered .doc-toc,
.doc-layout--centered .doc-mobile-nav,
.doc-layout--centered .doc-toc-mobile {
  display: none !important;
}

/* ——— Installation onboarding journey (enterprise rail system) ——— */
body.doc-page--journey .doc-journey {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 2rem;
  box-shadow: none;
  width: 100%;
  max-width: none;
}

body.doc-page--journey .doc-journey__head {
  margin-bottom: 0;
  max-width: none;
}

body.doc-page--journey .doc-journey__head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.625rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 75ch;
}

body.doc-page--journey .doc-journey__lede {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--website-text-secondary);
  max-width: 75ch;
}

body.doc-page--journey .doc-nav {
  margin-bottom: 1.5rem;
}

body.doc-page--journey .doc-journey-orient {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--website-text-muted);
  width: 100%;
  max-width: none;
}

body.doc-page--journey .doc-journey-orient__num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: rgba(0, 119, 237, 0.55);
}

body.doc-page--journey .doc-journey-orient__sep {
  color: rgba(110, 122, 134, 0.35);
  user-select: none;
  font-weight: 400;
}

body.doc-page--journey .doc-journey-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  width: 100%;
  max-width: none;
}

body.doc-page--journey .doc-journey-step {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1rem;
  align-items: start;
  padding: 0;
  border-bottom: none;
  scroll-margin-top: calc(var(--website-header-h) + 1rem);
  width: 100%;
}

body.doc-page--journey .doc-journey-step:not(:last-child) {
  padding-bottom: 1.625rem;
}

body.doc-page--journey .doc-journey-step:not(:last-child) .doc-journey-step__body::after {
  content: '';
  display: block;
  margin-top: 1.625rem;
  border-bottom: 1px solid rgba(213, 222, 232, 0.28);
}

body.doc-page--journey .doc-journey-step__rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: stretch;
  padding-top: 0.05rem;
}

body.doc-page--journey .doc-journey-step:not(:last-child) .doc-journey-step__rail::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 1.1rem;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  height: auto;
  background: linear-gradient(
    to bottom,
    rgba(0, 119, 237, 0.22) 0%,
    rgba(213, 222, 232, 0.5) 14%,
    rgba(213, 222, 232, 0.5) 100%
  );
  pointer-events: none;
}

body.doc-page--journey .doc-journey-step__num {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--website-text-muted);
  background: var(--website-bg);
  padding: 0 0.125rem;
  flex-shrink: 0;
}

body.doc-page--journey .doc-journey-step__body {
  min-width: 0;
  width: 100%;
}

body.doc-page--journey .doc-journey-step__body > h2,
body.doc-page--journey .doc-journey-step__body > p {
  max-width: 75ch;
}

body.doc-page--journey .doc-journey-step h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--website-text);
}

body.doc-page--journey .doc-journey-step p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--website-text-secondary);
}

body.doc-page--journey .doc-journey-step p:last-child {
  margin-bottom: 0;
}

body.doc-page--journey .doc-journey-action {
  margin: 0.625rem 0 0;
  max-width: none;
}

body.doc-page--journey .doc-journey-action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--website-radius-sm);
  transform: none;
  box-shadow: none;
}

body.doc-page--journey .doc-journey-action .btn:hover,
body.doc-page--journey .doc-journey-action .btn:active {
  transform: none;
}

body.doc-page--journey .doc-journey-action .btn:focus-visible {
  outline: 2px solid rgba(0, 119, 237, 0.45);
  outline-offset: 2px;
}

body.doc-page--journey .doc-journey-action .btn--primary {
  box-shadow: none;
}

body.doc-page--journey .doc-journey-action .btn--primary:hover {
  box-shadow: none;
}

body.doc-page--journey .doc-journey-action .btn--secondary:hover {
  background: var(--website-surface-subtle);
  border-color: rgba(0, 119, 237, 0.18);
}

body.doc-page--journey .doc-journey-step .doc-disclosure {
  margin-top: 0.75rem;
  width: 100%;
  max-width: none;
  border: 1px solid rgba(213, 222, 232, 0.36);
  border-radius: var(--website-radius-sm);
  background: rgba(255, 255, 255, 0.28);
  padding: 0.375rem 0.6875rem;
  transition: border-color 0.15s var(--website-ease), background-color 0.15s var(--website-ease);
}

body.doc-page--journey .doc-journey-step .doc-disclosure:hover {
  border-color: rgba(0, 119, 237, 0.2);
  background: rgba(255, 255, 255, 0.48);
}

body.doc-page--journey .doc-journey-step .doc-disclosure summary {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--website-text-secondary);
  line-height: 1.45;
}

body.doc-page--journey .doc-journey-step .doc-disclosure summary:focus-visible {
  outline: 2px solid rgba(0, 119, 237, 0.35);
  outline-offset: 2px;
  border-radius: 2px;
}

body.doc-page--journey .doc-journey-step .doc-disclosure summary::before {
  content: '▸';
  display: inline-block;
  width: 0.875rem;
  margin-right: 0.1rem;
  color: rgba(0, 119, 237, 0.42);
  font-size: 0.625rem;
  vertical-align: 0.05em;
  transition: transform 0.15s var(--website-ease);
}

body.doc-page--journey .doc-journey-step .doc-disclosure[open] summary::before {
  transform: rotate(90deg);
}

body.doc-page--journey .doc-journey-step .doc-disclosure__body {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid rgba(213, 222, 232, 0.32);
  font-size: 0.9375rem;
}

body.doc-page--journey .doc-journey-step .doc-disclosure__body,
body.doc-page--journey .doc-journey-step .doc-table-wrap {
  max-width: none;
}

body.doc-page--journey .doc-journey-step--final .doc-journey-step__num {
  color: var(--website-brand-ink);
  font-weight: 700;
}

body.doc-page--journey .doc-journey-step--final h2 {
  font-weight: 600;
  letter-spacing: -0.008em;
}

body.doc-page--journey .doc-journey-step--final:not(:last-child) {
  padding-bottom: 1.75rem;
}

body.doc-page--journey .doc-journey-trouble {
  width: 100%;
  max-width: none;
  margin-top: 2.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(213, 222, 232, 0.35);
  scroll-margin-top: calc(var(--website-header-h) + 1rem);
}

body.doc-page--journey .doc-journey-trouble h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--website-text);
  max-width: none;
}

body.doc-page--journey .doc-journey-trouble__lede {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--website-text-muted);
  max-width: 75ch;
}

body.doc-page--journey .doc-journey-trouble__issues {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0.5625rem;
}

body.doc-page--journey .doc-journey-trouble__issue.doc-disclosure {
  margin-top: 0;
  padding: 0;
}

body.doc-page--journey .doc-journey-trouble__issue.doc-disclosure > .doc-disclosure__body {
  margin-top: 0;
  padding-top: 0.875rem;
  border-top: none;
}

body.doc-page--journey .doc-journey-trouble__recovery.doc-disclosure {
  margin-top: 0.875rem;
  padding: 0;
}

body.doc-page--journey .doc-journey-trouble__recovery.doc-disclosure > .doc-disclosure__body {
  margin-top: 0;
  padding-top: 0.75rem;
  border-top: none;
}

body.doc-page--journey .doc-journey-trouble__issue {
  margin: 0;
  width: 100%;
  max-width: none;
  border: 1px solid rgba(213, 222, 232, 0.52);
  border-radius: var(--website-radius-sm);
  background: rgba(255, 255, 255, 0.32);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s var(--website-ease), background-color 0.15s var(--website-ease);
}

body.doc-page--journey .doc-journey-trouble__issue:hover {
  border-color: rgba(0, 119, 237, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

body.doc-page--journey .doc-journey-trouble__issue[open] {
  border-color: rgba(213, 222, 232, 0.62);
  background: rgba(255, 255, 255, 0.52);
}

body.doc-page--journey .doc-journey-trouble__issue > summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.375rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--website-text);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s var(--website-ease);
}

body.doc-page--journey .doc-journey-trouble__issue > summary::-webkit-details-marker {
  display: none;
}

body.doc-page--journey .doc-journey-trouble__issue > summary::marker {
  content: '';
}

body.doc-page--journey .doc-journey-trouble__issue > summary::before {
  content: '';
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  border: none;
  border-radius: 999px;
  background-color: rgba(0, 119, 237, 0.08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6.25 4.25 9.75 8l-3.5 3.75' stroke='%230077ED' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.875rem;
  transition: transform 0.18s var(--website-ease), background-color 0.15s var(--website-ease);
}

body.doc-page--journey .doc-journey-trouble__issue[open] > summary::before {
  content: '';
  transform: rotate(90deg);
  background-color: rgba(0, 119, 237, 0.12);
}

body.doc-page--journey .doc-journey-trouble__issue > summary:hover {
  background: rgba(0, 119, 237, 0.04);
}

body.doc-page--journey .doc-journey-trouble__issue > summary:focus-visible {
  outline: 2px solid rgba(0, 119, 237, 0.42);
  outline-offset: -2px;
}

body.doc-page--journey .doc-journey-trouble__issue[open] > summary {
  border-bottom: 1px solid rgba(213, 222, 232, 0.38);
}

body.doc-page--journey .doc-journey-trouble__issue > .doc-disclosure__body {
  margin: 0;
  padding: 0.875rem 1rem 1.125rem calc(1rem + 1.75rem + 0.75rem);
  border-top: none;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: none;
}

body.doc-page--journey .doc-journey-trouble__issue > .doc-disclosure__body > p {
  margin: 0 0 0.625rem;
  max-width: 75ch;
  line-height: 1.6;
  color: var(--website-text-secondary);
  font-weight: 400;
}

body.doc-page--journey .doc-journey-trouble__issue > .doc-disclosure__body > p:last-child {
  margin-bottom: 0;
}

body.doc-page--journey .doc-journey-trouble__issue .doc-quiet-link {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  max-width: 75ch;
}

body.doc-page--journey .doc-journey-trouble__issue .doc-quiet-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

body.doc-page--journey .doc-journey-trouble__issue .doc-quiet-link a::after {
  content: '→';
  width: auto;
  height: auto;
  background: none;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--website-brand);
}

body.doc-page--journey .doc-journey-trouble__recovery {
  margin: 0.875rem 0 0;
  max-width: 75ch;
  border: 1px solid rgba(213, 222, 232, 0.48);
  border-radius: var(--website-radius-sm);
  background: rgba(243, 247, 252, 0.72);
  padding: 0;
  overflow: hidden;
}

body.doc-page--journey .doc-journey-trouble__recovery > summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--website-text-secondary);
  list-style: none;
  cursor: pointer;
}

body.doc-page--journey .doc-journey-trouble__recovery > summary::-webkit-details-marker {
  display: none;
}

body.doc-page--journey .doc-journey-trouble__recovery > summary::before {
  content: '';
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  border: none;
  border-radius: 999px;
  background-color: rgba(0, 119, 237, 0.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6.25 4.25 9.75 8l-3.5 3.75' stroke='%230077ED' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.6875rem;
  transition: transform 0.18s var(--website-ease);
}

body.doc-page--journey .doc-journey-trouble__recovery[open] > summary::before {
  content: '';
  transform: rotate(90deg);
}

body.doc-page--journey .doc-journey-trouble__recovery > summary:focus-visible {
  outline: 2px solid rgba(0, 119, 237, 0.35);
  outline-offset: -2px;
}

body.doc-page--journey .doc-journey-trouble__recovery[open] > summary {
  border-bottom: 1px solid rgba(213, 222, 232, 0.32);
}

body.doc-page--journey .doc-journey-trouble__recovery > .doc-disclosure__body {
  margin: 0;
  padding: 0.75rem 0.75rem 0.875rem calc(0.75rem + 1.375rem + 0.5rem);
  border-top: none;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: none;
}

body.doc-page--journey .doc-journey-trouble__recovery > .doc-disclosure__body p {
  margin: 0 0 0.5625rem;
  line-height: 1.6;
  color: var(--website-text-secondary);
  font-weight: 400;
}

body.doc-page--journey .doc-journey-trouble__recovery > .doc-disclosure__body p:last-child {
  margin-bottom: 0;
}

body.doc-page--journey .doc-journey-trouble__issue#activate {
  scroll-margin-top: calc(var(--website-header-h) + 1rem);
}

body.doc-page--journey .doc-journey-trouble__support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem 0.875rem;
  margin: 1.625rem 0 0;
  width: 100%;
  max-width: none;
}

body.doc-page--journey .doc-journey-trouble__support-text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--website-text-secondary);
}

body.doc-page--journey .doc-journey-trouble__support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 2.125rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  transform: none;
  box-shadow: none;
}

body.doc-page--journey .doc-journey-trouble__support-btn::after {
  content: '';
  width: 0.875rem;
  height: 0.875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M5.5 3.5h7v7M12.5 3.5 3.5 12.5' stroke='%230077ED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}

body.doc-page--journey .doc-journey-trouble__support-btn:focus-visible {
  outline: 2px solid rgba(0, 119, 237, 0.42);
  outline-offset: 2px;
}

@media (min-width: 1024px) {
  body.doc-page--journey .doc-journey-trouble {
    padding-left: calc(3rem + 1.125rem);
  }

  body.doc-page--journey .doc-journey-step {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0 1.125rem;
  }

  body.doc-page--journey .doc-journey-step__num {
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  body.doc-page--journey .doc-journey-orient {
    display: none;
  }

  body.doc-page--journey .doc-journey-trouble {
    padding-left: calc(2.25rem + 0.75rem);
  }

  body.doc-page--journey .doc-journey-trouble__issue > summary {
    min-height: 3.25rem;
    padding: 0.6875rem 0.875rem;
    font-size: 0.9375rem;
  }

  body.doc-page--journey .doc-journey-trouble__issue > .doc-disclosure__body {
    padding-left: calc(0.875rem + 1.75rem + 0.75rem);
    padding-right: 0.875rem;
  }

  body.doc-page--journey .doc-journey-steps {
    margin-top: 1.125rem;
  }

  body.doc-page--journey .doc-journey-step {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0 0.75rem;
  }

  body.doc-page--journey .doc-journey-step:not(:last-child) {
    padding-bottom: 1.375rem;
  }

  body.doc-page--journey .doc-journey-step:not(:last-child) .doc-journey-step__body::after {
    margin-top: 1.375rem;
  }

  body.doc-page--journey .doc-journey-step__rail::after {
    display: none;
  }

  body.doc-page--journey .doc-journey-step__num {
    font-size: 0.8125rem;
    padding-top: 0.05rem;
  }

  body.doc-page--journey .doc-journey-action .btn {
    min-height: 2.25rem;
    padding: 0.4375rem 1rem;
  }
}

/* ——— Auth / utility pages ——— */
.auth-page {
  min-height: calc(100vh - var(--website-header-h));
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}

.auth-card {
  width: min(100%, 420px);
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--website-shadow);
}

.auth-card h1,
.auth-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}

.auth-card p {
  margin: 0 0 1.25rem;
  color: var(--website-text-secondary);
  font-size: 0.95rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--website-text);
}

.form-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius-sm);
  background: var(--website-surface);
  color: var(--website-text);
  font: inherit;
}

.form-field input::placeholder {
  color: var(--website-text-muted);
}

.form-field input:focus-visible {
  border-color: var(--website-brand);
}

/* Auth modals + standalone auth pages: see assets/css/auth-portal.css */

.hidden {
  display: none !important;
}

/* Utility */
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   WEBSITE-UX-2 CORRECTION — premium visual storytelling
   (docs remain light-first; these styles power homepage richness)
   ========================================================= */

:root {
  --website-max-wide: 1200px;
  --website-dark: #111827;
  --website-dark-elevated: #1F2937;
  --website-dark-border: rgba(255, 255, 255, 0.12);
  --website-dark-muted: #9CA3AF;
  --website-shadow-lg: 0 24px 48px rgba(17, 24, 39, 0.08);
}

.site-container--wide {
  width: min(100% - 2rem, var(--website-max-wide));
  margin-inline: auto;
}

/* Hero — substantial, product-led */
.hero--premium {
  position: relative;
  padding: 3.25rem 0 1.25rem;
  overflow: hidden;
}

.hero--premium::before {
  content: none;
}

.hero--premium > .site-container {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero--premium {
    padding: 4.75rem 0 2.5rem;
  }
}

.hero--premium .hero__support {
  font-size: 1.125rem;
  max-width: 40rem;
  line-height: 1.55;
}

.hero--premium h1 {
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  max-width: 13ch;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
}

.hero-stage {
  margin-top: 2.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  box-shadow: none;
}

@media (min-width: 768px) {
  .hero-stage {
    margin-top: 3.5rem;
    padding: 1.15rem;
  }
}

.preview--hero {
  margin: 0;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
  border-color: #D1D5DB;
}

.preview--hero .preview__meta {
  background: #F3F4F6;
}

.preview--hero .preview__body {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .preview--hero .preview__body {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
  .preview--hero .preview__span {
    grid-column: 1 / -1;
  }
}

/* Workflow */
.workflow {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.25rem;
  list-style: none;
  padding: 0;
}

@media (min-width: 900px) {
  .workflow {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

.workflow li {
  position: relative;
  background: var(--website-surface);
  border: 1px solid var(--website-border);
  border-radius: var(--website-radius);
  padding: 1.1rem 1rem 1.15rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .workflow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 1.15rem;
    right: -0.55rem;
    width: auto;
    height: auto;
    background: transparent;
    color: #9CA3AF;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    z-index: 1;
  }
}

.workflow__step {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
  margin-bottom: 0.45rem;
}

.workflow h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.workflow p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--website-text-secondary);
  line-height: 1.55;
}

/* Dark product showcase */
.showcase {
  background: var(--website-dark);
  color: #F9FAFB;
  padding: var(--website-section-y-sm) 0;
}

@media (min-width: 768px) {
  .showcase {
    padding: var(--website-section-y) 0;
  }
}

.showcase .eyebrow {
  color: var(--website-brand);
}

.showcase .section-title,
.showcase h2 {
  color: #F9FAFB;
}

.showcase .section-lead {
  color: var(--website-dark-muted);
}

.showcase-frame {
  margin-top: 2rem;
  border: 1px solid var(--website-dark-border);
  border-radius: 12px;
  background: #16191F;
  overflow: hidden;
  box-shadow: none;
}

.showcase-frame__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--website-dark-border);
  font-size: 0.8rem;
  color: var(--website-dark-muted);
}

.showcase-frame__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #6EE7B7;
  font-weight: 600;
}

.showcase-frame__status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #34D399;
}

.showcase-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 960px) {
  .showcase-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.showcase-pane {
  padding: 1.15rem;
  min-width: 0;
}

.showcase-pane + .showcase-pane {
  border-top: 1px solid var(--website-dark-border);
}

@media (min-width: 960px) {
  .showcase-pane + .showcase-pane {
    border-top: 0;
    border-left: 1px solid var(--website-dark-border);
  }
}

.showcase-pane h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--website-dark-muted);
  font-weight: 700;
}

.chat-line {
  border: 1px solid var(--website-dark-border);
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
}

.chat-line--user {
  border-color: rgba(35, 47, 62, 0.28);
  background: rgba(35, 47, 62, 0.06);
}

.chat-line p {
  margin: 0;
  color: #E5E7EB;
  font-size: 0.92rem;
  line-height: 1.55;
}

.chat-line small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--website-dark-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-box {
  border: 1px solid var(--website-dark-border);
  border-radius: 10px;
  padding: 0.9rem;
  background: rgba(0, 0, 0, 0.18);
}

.plan-box ul {
  margin: 0.5rem 0 0.85rem;
  padding-left: 1.1rem;
  color: #D1D5DB;
  font-size: 0.88rem;
}

.plan-box li + li {
  margin-top: 0.3rem;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn--on-dark {
  background: #FFFFFF;
  color: #1D1D1F;
  border-color: #FFFFFF;
}

.btn--on-dark:hover {
  background: #F5F5F7;
  border-color: #F5F5F7;
  color: #1D1D1F;
}

.btn--ghost-on-dark {
  background: transparent;
  color: #F3F4F6;
  border-color: var(--website-dark-border);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.meta-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.meta-chip {
  border: 1px solid var(--website-dark-border);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  color: #E5E7EB;
  background: rgba(255, 255, 255, 0.03);
}

/* Editorial use cases */
.usecase {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--website-border);
}

.usecase:first-of-type {
  border-top: 0;
  padding-top: 0.5rem;
}

@media (min-width: 960px) {
  .usecase {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    padding: 2.75rem 0;
  }
  .usecase--reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .usecase--reverse .usecase__copy {
    order: 2;
  }
}

.usecase__label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
}

.usecase h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

.usecase p {
  margin: 0 0 0.85rem;
  color: var(--website-text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 36rem;
}

.usecase q {
  display: block;
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--website-brand);
  background: var(--website-surface);
  border-radius: 0 var(--website-radius-sm) var(--website-radius-sm) 0;
  color: var(--website-text);
  font-style: normal;
  font-weight: 500;
}

.story-card {
  border: 1px solid var(--website-border);
  border-radius: 12px;
  background: var(--website-surface);
  box-shadow: none;
  overflow: hidden;
  min-height: 17rem;
}

.story-card__head {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--website-border);
  background: var(--website-surface-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.story-card__body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.story-row {
  border: 1px solid var(--website-border);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  background: var(--website-bg);
}

.story-row strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  color: var(--website-text);
}

.story-row span {
  color: var(--website-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.story-row--accent {
  border-color: rgba(35, 47, 62, 0.32);
  background: rgba(35, 47, 62, 0.06);
}

/* Architecture */
.arch {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .arch {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.arch-flow {
  display: grid;
  gap: 0.65rem;
  padding: 1.25rem;
  border: 1px solid var(--website-border);
  border-radius: 14px;
  background: var(--website-surface);
}

.arch-node {
  border: 1px solid var(--website-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--website-bg);
}

.arch-node--runtime {
  border-color: rgba(35, 47, 62, 0.36);
  background: rgba(35, 47, 62, 0.06);
}

.arch-node--control {
  background: #111827;
  border-color: #111827;
  color: #F9FAFB;
}

.arch-node--control p {
  color: #D1D5DB;
}

.arch-node h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.arch-node p {
  margin: 0;
  color: var(--website-text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.arch-connector {
  text-align: center;
  color: var(--website-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.arch-aside {
  border: 1px solid var(--website-border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  background: var(--website-surface);
}

.arch-aside h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.arch-aside ul {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--website-text-secondary);
}

.arch-aside li + li {
  margin-top: 0.45rem;
}

/* Comparison editorial */
.compare {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.compare-panel {
  border: 1px solid var(--website-border);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  background: var(--website-surface);
  min-height: 100%;
}

.compare-panel--emphasis {
  border-color: rgba(35, 47, 62, 0.40);
  box-shadow: inset 0 0 0 1px rgba(35, 47, 62, 0.18);
}

.compare-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.compare-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.compare-panel li {
  color: var(--website-text-secondary);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}

.compare-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #D1D5DB;
}

.compare-panel--emphasis li::before {
  background: var(--website-brand);
}

.compare-note {
  margin: 1.25rem 0 0;
  color: var(--website-text-muted);
  font-size: 0.92rem;
  max-width: 46rem;
}

/* Taxonomy */
.taxonomy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .taxonomy {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.taxonomy span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0.85rem;
  border: 1px solid var(--website-border);
  border-radius: 12px;
  background: var(--website-surface);
  color: var(--website-text);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

/* Pricing composition */
.pricing-shell {
  margin-top: 2rem;
  border: 1px solid var(--website-border);
  border-radius: 12px;
  background: var(--website-surface);
  overflow: hidden;
  box-shadow: none;
}

.pricing-shell .price-grid {
  margin: 0;
  padding: 1rem;
  gap: 0.75rem;
}

@media (min-width: 1200px) {
  .pricing-shell .price-grid {
    padding: 1.25rem;
  }
}

.price-card--featured {
  background: linear-gradient(180deg, rgba(0, 119, 237, 0.08) 0%, rgba(34, 211, 238, 0.06) 100%);
  border-color: rgba(0, 119, 237, 0.45);
  box-shadow: 0 18px 40px rgba(0, 119, 237, 0.12);
}

.price-card__badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C05600;
  background: rgba(255, 153, 0, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

/* Final CTA weight */
.cta-band--finale {
  background: var(--website-dark);
  border-color: var(--website-dark);
  color: #F9FAFB;
  padding: 2.75rem 1.5rem;
}

@media (min-width: 768px) {
  .cta-band--finale {
    padding: 3.5rem 2.5rem;
  }
}

.cta-band--finale h2 {
  color: #F9FAFB;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-inline: auto;
  line-height: 1.15;
}

.cta-band--finale p {
  color: var(--website-dark-muted);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--website-ease-out), transform 0.7s var(--website-ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Living Demo + soft gradient rhythm (Pass 2)
   Docs remain light-first via .doc-* surfaces (untouched).
   ========================================================= */

:root {
  --website-sky: #38BDF8;
  --website-blue: #0077ED;
  --website-indigo: #5B6CFF;
  --website-teal: #22D3EE;
  --website-aws-orange: #FF9900;
  --website-grad-hero: linear-gradient(165deg, #E7F0F7 0%, #EEF2F7 38%, #F4F1F6 68%, #F7F6F3 100%);
  --website-grad-sky: linear-gradient(180deg, #EAF6FF 0%, #F3F7FC 100%);
  --website-grad-teal: linear-gradient(180deg, #F0FDFA 0%, #F3F7FC 100%);
  --website-grad-finale: linear-gradient(135deg, #071427 0%, #123A6B 52%, #0B3A4A 100%);
}

.hero--living {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: var(--website-grad-hero);
  overflow: hidden;
}

.hero--living::before,
.hero--living::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-living__intro {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero--living h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.75rem);
  max-width: 14ch;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero--living .hero__support {
  max-width: 38rem;
  font-size: 1.1rem;
}

.site-section--sky {
  background: var(--website-grad-sky);
}

.site-section--teal {
  background: var(--website-grad-teal);
}

.site-section--finale {
  position: relative;
  overflow: hidden;
  background: var(--website-grad-finale);
  padding: 4.5rem 0;
}

.site-section--finale .cta-band--finale {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Living demo shell */
.living-demo-wrap {
  margin-top: 0.5rem;
}

.living-demo__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.living-demo__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0F172A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.living-demo__subtle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--website-text-secondary);
}

.living-demo__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--website-text);
}

.living-demo__lead {
  margin: 0 0 1.25rem;
  color: var(--website-text-secondary);
  max-width: 40rem;
}

.living-demo {
  border-radius: 14px;
  background: #0B1220;
  color: #F9FAFB;
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 60px rgba(15, 23, 42, 0.28),
    0 0 80px rgba(34, 211, 238, 0.16);
  overflow: hidden;
}

.living-demo__chrome {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #0B1220;
}

.living-demo__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.living-demo__brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
}

.living-demo__brand-demo {
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #9CA3AF;
}

.living-demo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 0;
}

.living-demo__meta div {
  min-width: 5.5rem;
}

.living-demo__meta dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.living-demo__meta dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #F3F4F6;
}

.living-demo__scenarios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.9rem 1.15rem 0.35rem;
}

.living-demo__scenarios-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.living-demo__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ld-pill-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #E5E7EB;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.ld-pill-btn:hover,
.ld-pill-btn:focus-visible {
  border-color: rgba(34, 211, 238, 0.7);
  color: #ECFEFF;
  outline: none;
}

.ld-pill-btn.is-active {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.75);
  color: #ECFEFF;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.living-demo__prompt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem 1rem;
}

@media (min-width: 768px) {
  .living-demo__prompt-row {
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
  }
}

.living-demo__prompt-row input {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0B1220;
  color: #F9FAFB;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.living-demo__prompt-row input:focus {
  outline: 2px solid rgba(197, 212, 224, 0.55);
  outline-offset: 1px;
}

.living-demo__prompt-row .btn--ghost-on-dark {
  color: #E5E7EB;
}

.living-demo__stage {
  min-height: 22rem;
  max-height: min(62vh, 34rem);
  overflow: auto;
  padding: 0.35rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  background:
    radial-gradient(80% 60% at 10% 0%, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(70% 50% at 90% 20%, rgba(35, 47, 62, 0.06), transparent 50%),
    #111827;
}

.ld-enter {
  opacity: 0;
  transform: translateY(8px);
}

.ld-enter.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ld-idle__title {
  margin: 0.5rem 0 0.35rem;
  font-weight: 600;
  color: #F3F4F6;
}

.ld-idle__hint {
  margin: 0 0 1rem;
  color: #9CA3AF;
  font-size: 0.95rem;
}

.ld-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.ld-text {
  margin: 0;
  color: #E5E7EB;
  line-height: 1.55;
}

.ld-bubble {
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1F2937;
}

.ld-bubble--user {
  border-color: rgba(35, 47, 62, 0.28);
  background: rgba(35, 47, 62, 0.06);
}

.ld-bubble--assistant {
  border-color: rgba(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.1);
}

.ld-context,
.ld-checks,
.ld-findings,
.ld-plan,
.ld-result,
.ld-audit {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
  padding: 0.9rem 1rem;
}

.ld-context__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
}

@media (min-width: 640px) {
  .ld-context__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ld-context__grid dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.ld-context__grid dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: #F3F4F6;
}

.ld-dot {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--website-teal);
  vertical-align: middle;
}

.ld-checks__list,
.ld-findings__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ld-checks__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #D1D5DB;
  font-size: 0.95rem;
}

.ld-check-mark {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex: 0 0 auto;
}

.ld-checks__list li.is-done .ld-check-mark {
  background: rgba(20, 184, 166, 0.9);
  border-color: rgba(20, 184, 166, 0.9);
  box-shadow: inset 0 0 0 2px #111827;
}

.ld-findings__list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ld-findings__list strong {
  color: #F9FAFB;
  font-size: 0.92rem;
}

.ld-findings__list span {
  color: #9CA3AF;
  font-size: 0.88rem;
}

.ld-rec {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.28);
  color: #FDE68A;
}

.ld-rec strong {
  color: #FFF7ED;
}

.ld-plan__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.ld-pill {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F5F5F7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ld-plan__title {
  margin: 0.35rem 0;
  font-size: 1.15rem;
  color: #F9FAFB;
}

.ld-plan__detail {
  margin: 0 0 0.75rem;
  color: #9CA3AF;
  font-size: 0.95rem;
}

.ld-plan__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.ld-plan__meta dt {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.ld-plan__meta dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
  color: #F3F4F6;
}

.ld-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ld-result {
  border-color: rgba(20, 184, 166, 0.35);
  background: rgba(20, 184, 166, 0.1);
}

.ld-result--muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.ld-audit__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.ld-audit__table th,
.ld-audit__table td {
  text-align: left;
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #D1D5DB;
  vertical-align: top;
}

.ld-audit__table th {
  color: #9CA3AF;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-fineprint {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: #9CA3AF;
}

.usecase--glow-a,
.usecase--glow-b,
.usecase--glow-c {
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--website-surface);
  border: 1px solid var(--website-border);
}

.taxonomy--rich span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.taxonomy--rich svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--website-brand-ink);
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .ld-plan__meta {
    grid-template-columns: 1fr;
  }
  .ld-audit__table {
    display: block;
    overflow-x: auto;
  }
  .living-demo__stage {
    min-height: 18rem;
    max-height: 28rem;
  }
}

/* =========================================================
   Commercial positioning — MSP / ROI / verticals
   ========================================================= */

.hero__audience {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--website-text-secondary);
}

.hero--living h1 {
  max-width: 16ch;
}

.site-section--msp {
  background: var(--website-bg);
}

.site-section--roi {
  background: var(--website-surface);
}

.verticals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .verticals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.verticals article {
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--website-border);
  border-radius: 12px;
  background: var(--website-surface);
  min-height: 8.5rem;
}

.verticals h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--website-text);
}

.verticals p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--website-text-secondary);
  line-height: 1.45;
}

.msp-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .msp-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.msp-flow {
  display: grid;
  gap: 0.35rem;
}

.msp-flow__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--website-border);
}

.msp-flow__step span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--website-brand-ink);
}

.msp-flow__step strong {
  font-size: 1rem;
}

.msp-flow__arrow {
  color: #9CA3AF;
  padding-left: 1.15rem;
  font-size: 0.95rem;
}

.msp-switcher {
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  background: #FFFFFF;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.06);
  padding: 1.15rem;
}

.msp-switcher__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.msp-switcher__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.msp-switcher__tabs button {
  appearance: none;
  border: 1px solid var(--website-border);
  background: #F8FAFC;
  color: var(--website-text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.msp-switcher__tabs button.is-active {
  border-color: rgba(35, 47, 62, 0.35);
  background: rgba(35, 47, 62, 0.06);
  color: #232F3E;
}

.msp-switcher__panel {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.msp-switcher__panel div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid var(--website-border);
}

.msp-switcher__panel dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--website-text-muted);
  align-self: center;
}

.msp-switcher__panel dd {
  margin: 0;
  font-weight: 600;
  color: var(--website-text);
}

.msp-switcher__note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--website-text-muted);
}

.msp-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.msp-points li {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--website-border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--website-text-secondary);
}

.roi-meters {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .roi-meters {
    grid-template-columns: 1fr 1fr;
  }
}

.roi-col {
  border-radius: 14px;
  border: 1px solid var(--website-border);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.15rem 1.2rem;
}

.roi-col--up {
  border-color: rgba(20, 184, 166, 0.28);
  background: rgba(240, 253, 250, 0.9);
}

.roi-col__label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.roi-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.roi-col li {
  font-weight: 600;
  color: var(--website-text);
}

.roi-equation {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  text-align: center;
}

.roi-equation__block {
  width: min(100%, 28rem);
  border-radius: 14px;
  border: 1px solid var(--website-border);
  background: #FFFFFF;
  padding: 1rem 1.15rem;
}

.roi-equation__block p {
  margin: 0.2rem 0;
  color: var(--website-text-secondary);
  font-weight: 500;
}

.roi-equation__arrow {
  color: #9CA3AF;
  font-size: 1.1rem;
}

.roi-equation__core {
  width: min(100%, 28rem);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text);
  background: var(--website-surface);
  border: 1px solid var(--website-border);
}

.roi-equation__result {
  width: min(100%, 28rem);
  border-radius: 12px;
  padding: 1.05rem 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #F5F5F7;
  background: var(--website-brand);
}

.roi-statement {
  margin: 1.5rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text);
}

/* =========================================================
   Commercial simplification — slim homepage
   ========================================================= */

.hero--slim {
  padding-top: 2.75rem;
}

.hero--slim .hero-living__intro {
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero--slim h1 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 5.4vw, 3.85rem);
}

.hero--slim .hero__support {
  max-width: 34rem;
}

.demo-msp-note {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--website-text-secondary);
}

.site-section--value {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
  background: #FFFFFF;
}

.site-section--value .section-title {
  max-width: 18ch;
  margin-inline: auto;
}

.value-line {
  margin: 1rem 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--website-text);
}

.value-statement {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  color: var(--website-text-secondary);
  line-height: 1.55;
}

.site-section--trust-strip {
  background: var(--website-bg);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.trust-strip p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text);
  max-width: 34rem;
}

.living-demo__meta {
  gap: 0.75rem 1rem;
}

@media (max-width: 640px) {
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   Final commercial polish — compact product-like demo
   ========================================================= */

.living-demo__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 0.35rem;
}

.living-demo__lead {
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
}

.living-demo__chrome {
  padding: 0.7rem 0.9rem;
}

.living-demo__meta dt {
  font-size: 0.62rem;
}

.living-demo__meta dd {
  font-size: 0.82rem;
}

.living-demo__scenarios {
  padding: 0.65rem 0.9rem 0.25rem;
}

.living-demo__scenarios-label {
  font-size: 0.7rem;
}

.ld-pill-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  min-height: 34px;
}

.living-demo__prompt-row {
  padding: 0.55rem 0.9rem 0.75rem;
  gap: 0.45rem;
}

.living-demo__prompt-row input {
  min-height: 40px;
  font-size: 0.92rem; /* ~14–15px */
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
}

.living-demo__prompt-row .btn {
  font-size: 0.8rem; /* ~12–13px */
  min-height: 40px;
  padding: 0.45rem 0.8rem;
}

.living-demo__stage {
  min-height: 16rem;
  max-height: min(52vh, 28rem);
  padding: 0.25rem 0.9rem 0.9rem;
  gap: 0.5rem;
}

.ld-kicker {
  font-size: 0.62rem; /* ~10px */
  margin-bottom: 0.2rem;
}

.ld-text {
  font-size: 0.86rem; /* ~13–14px */
  line-height: 1.45;
}

.ld-bubble {
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
}

.ld-bubble--user .ld-text {
  font-size: 0.92rem; /* prompt ~14–15px */
}

.ld-bubble--assistant .ld-text {
  font-size: 0.86rem;
}

.ld-context,
.ld-checks,
.ld-findings,
.ld-plan,
.ld-result,
.ld-audit {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
}

.ld-context__grid {
  gap: 0.4rem 0.75rem;
}

.ld-context__grid dt {
  font-size: 0.62rem;
}

.ld-context__grid dd {
  font-size: 0.82rem;
}

.ld-checks__list,
.ld-findings__list {
  gap: 0.3rem;
}

.ld-checks__list li {
  font-size: 0.8rem; /* ~12–13px */
}

.ld-check-mark {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.15rem;
}

.ld-findings__list li {
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
}

.ld-findings__list strong {
  font-size: 0.82rem;
}

.ld-findings__list span {
  font-size: 0.78rem;
}

.ld-rec {
  margin-top: 0.5rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.8rem;
}

.ld-plan__title {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.ld-plan__detail {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
}

.ld-plan__meta {
  margin: 0 0 0.6rem;
  gap: 0.35rem;
}

.ld-plan__meta dt {
  font-size: 0.62rem;
}

.ld-plan__meta dd {
  font-size: 0.8rem;
}

.ld-plan__actions .btn {
  font-size: 0.8rem;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
}

.ld-pill {
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
}

.ld-audit__table {
  font-size: 0.72rem;
}

.ld-audit__table th,
.ld-audit__table td {
  padding: 0.3rem 0.3rem;
}

.ld-idle__title {
  font-size: 0.95rem;
}

.ld-idle__hint {
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.demo-msp-note {
  margin-top: 0.95rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--website-text);
  text-align: center;
}

.value-expert {
  margin: 0.85rem auto 0;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--website-text-secondary);
  line-height: 1.5;
}

.value-statement {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--website-text);
}

.aws-built {
  margin: 1.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--website-text);
}

.aws-built__support {
  margin: 0.4rem auto 0;
  max-width: 34rem;
  font-size: 0.9rem;
  color: var(--website-text-secondary);
}

@media (max-width: 640px) {
  .living-demo__stage {
    min-height: 14rem;
    max-height: 24rem;
  }
  .demo-msp-note {
    font-size: 0.95rem;
    text-align: left;
  }
}

/* =========================================================
   Universal demo expansion — denser console + persona line
   ========================================================= */

.living-demo {
  border-radius: 16px;
}

.living-demo__scenarios {
  align-items: flex-start;
  gap: 0.4rem 0.65rem;
  padding: 0.5rem 0.8rem 0.15rem;
}

.living-demo__scenarios-label {
  font-size: 0.62rem;
  padding-top: 0.35rem;
}

.living-demo__pills {
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.28rem;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (min-width: 1024px) {
  .living-demo__pills {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
}

.ld-pill-btn {
  flex: 0 0 auto;
  padding: 0.22rem 0.5rem;
  font-size: 0.7rem;
  min-height: 28px;
  border-radius: 7px;
}

.ld-pill-btn:focus-visible {
  outline: 2px solid rgba(197, 212, 224, 0.75);
  outline-offset: 1px;
}

.living-demo__chrome {
  padding: 0.55rem 0.8rem;
}

.living-demo__meta dt {
  font-size: 0.58rem;
}

.living-demo__meta dd {
  font-size: 0.76rem;
}

.living-demo__prompt-row {
  padding: 0.45rem 0.8rem 0.6rem;
}

.living-demo__prompt-row input {
  min-height: 36px;
  font-size: 0.84rem;
  padding: 0.45rem 0.65rem;
}

.living-demo__stage {
  min-height: 15rem;
  max-height: min(50vh, 26rem);
  padding: 0.2rem 0.8rem 0.75rem;
  gap: 0.4rem;
}

.ld-kicker {
  font-size: 0.58rem;
}

.ld-text {
  font-size: 0.8rem;
  line-height: 1.4;
}

.ld-bubble {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
}

.ld-bubble--user .ld-text {
  font-size: 0.84rem;
}

.ld-context,
.ld-checks,
.ld-findings,
.ld-plan,
.ld-result,
.ld-audit {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}

.ld-findings__list li {
  padding: 0.35rem 0.45rem;
}

.ld-findings__list strong {
  font-size: 0.76rem;
}

.ld-findings__list span {
  font-size: 0.72rem;
}

.ld-plan__title {
  font-size: 0.86rem;
}

.ld-plan__detail,
.ld-checks__list li {
  font-size: 0.74rem;
}

.ld-idle__title {
  font-size: 0.86rem;
}

.ld-idle__hint {
  font-size: 0.74rem;
}

.demo-msp-support {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--website-text-secondary);
}

.persona-kicker {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-text);
}

.persona-line {
  margin: 0.45rem 0 0;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--website-text);
}

.value-line {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--website-text-secondary);
}

@media (max-width: 640px) {
  .demo-msp-support {
    text-align: left;
  }
  .ld-pill-btn {
    min-height: 32px;
  }
}

@media (max-width: 767px) {
  .living-demo__prompt-row {
    grid-template-columns: 1fr 1fr;
  }
  .living-demo__prompt-row input,
  .living-demo__prompt-row [data-demo-run] {
    grid-column: 1 / -1;
  }
}

/* =========================================================
   Hero viewport + dedicated demo viewport
   ========================================================= */

.hero.hero--living.hero--slim {
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 3rem 0 3.25rem;
  background: var(--website-grad-hero);
}

.hero-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.hero-compose__main,
.hero-compose__aside {
  min-width: 0;
  text-align: left;
}

.hero__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
}

.hero.hero--living.hero--slim h1,
.hero--living h1,
.hero--slim h1 {
  max-width: none;
  margin: 0 0 0.7rem;
  font-size: clamp(2.05rem, 3.6vw, 3.25rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-align: left;
}

.hero.hero--living.hero--slim h1 .hero__h1-line,
.hero--living h1 .hero__h1-line,
.hero--slim h1 .hero__h1-line {
  display: block;
}

.hero.hero--living.hero--slim h1 .hero__h1-line:last-child {
  margin-top: 0.15em;
}

.hero--living .hero__support,
.hero--slim .hero__support {
  max-width: 38rem;
  margin: 0 0 0.95rem;
  font-size: 1.05rem;
  line-height: 1.5;
  text-align: left;
}

.hero--living .hero__ctas,
.hero--slim .hero__ctas {
  margin: 0 0 0.95rem;
  justify-content: flex-start;
}

.hero__scale {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--website-text);
}

.hero__trust {
  width: min(100% - 2rem, 1360px);
  margin: 1.35rem auto 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--website-text-secondary);
}

.hero-compose__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-compose__proposition {
  width: 100%;
}

@media (min-width: 1024px) {
  .hero.hero--living.hero--slim .hero-compose__main .hero__eyebrow {
    margin: -6px 0 22px;
  }

  .hero.hero--living.hero--slim .hero-compose__main h1 {
    margin: 0 0 25px;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__support {
    margin: 0 0 39px;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__ctas {
    margin: 0 0 39px;
  }
}

.hero.hero--living.hero--slim .hero-compose__main .hero__scale {
  margin: 0;
}

.hero-compose__aside {
  min-width: 0;
}

.hero-spec {
  display: grid;
  gap: 0;
}

.hero-spec__block {
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-spec__block:first-child {
  padding-top: 0;
}

.hero-spec__block--last {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-spec__label,
.hero-spec__climax {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--website-text);
}

.hero-spec__label {
  margin: 0 0 0.41rem;
}

.hero-spec__icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #0071E3;
}

.hero-spec__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-spec__value {
  margin: 0;
  padding-left: 2.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--website-text-secondary);
}

.hero-spec__climax {
  margin: 0;
}

.hero-spec__climax-support {
  margin: 0.51rem 0 0;
  padding-left: 2.2rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--website-text-secondary);
}

.living-demo-section {
  padding: 2.25rem 0 2.75rem;
  background:
    radial-gradient(70% 80% at 80% 20%, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(50% 60% at 10% 90%, rgba(91, 108, 255, 0.12), transparent 50%),
    #F7FBFF;
  border-top: 1px solid rgba(0, 119, 237, 0.12);
}

.living-demo-section .site-container--wide {
  width: min(100% - 2rem, 1320px);
  max-width: min(100% - 2rem, 1320px);
  margin-inline: auto;
}

.living-demo-section .living-demo__title {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.living-demo-wrap,
.living-demo,
.living-demo__pills {
  min-width: 0;
  max-width: 100%;
}

.living-demo-wrap {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.living-demo__copy {
  min-width: 0;
}

.living-demo__title {
  display: block;
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: left;
  color: var(--website-text);
}

.living-demo__title-line {
  display: block;
}

.living-demo__lead {
  display: none;
}

.living-demo {
  display: flex;
  flex-direction: column;
  min-height: 32rem;
}

.living-demo__stage {
  flex: 1 1 auto;
  min-height: 20rem;
  max-height: none;
}

.site-section--value-relocated {
  display: none;
}

@media (min-width: 1024px) {
  .hero.hero--living.hero--slim {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    height: calc(100svh - var(--website-header-h));
    min-height: calc(100svh - var(--website-header-h));
    max-height: calc(100svh - var(--website-header-h));
    padding: 2.25rem 0 3.25rem;
  }
  .hero.hero--living .site-container--wide {
    display: block;
    flex: 0 0 auto;
    width: min(100% - 3rem, 1360px);
    margin-inline: auto;
  }
  .hero-compose {
    flex: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
    align-items: start;
    gap: 2rem 2rem;
  }
  .hero-compose__main {
    min-height: 0;
    padding-top: 0;
  }
  .hero-compose__aside {
    display: block;
    min-height: 0;
    padding-top: calc(0.78rem * 1.65 + 22px);
  }
  .hero-spec {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 387px;
  }
  .hero-spec__block {
    padding: 2.03rem 0;
  }
  .hero-spec__block:first-child {
    padding-top: 0;
  }
  .hero-spec__block--last {
    padding-bottom: 0;
  }
  .hero.hero--living.hero--slim .hero__trust {
    position: absolute;
    z-index: 2;
    left: max(1.5rem, calc((100% - min(100% - 3rem, 1360px)) / 2));
    bottom: 1.6rem;
    width: auto;
    margin: 0;
  }
  .hero.hero--living.hero--slim h1 {
    font-size: clamp(1.95rem, 2.4vw, 2.7rem);
    line-height: 0.98;
  }
  .hero.hero--living.hero--slim h1 .hero__h1-line:first-child {
    white-space: nowrap;
  }
  .hero-spec__climax {
    white-space: nowrap;
  }
  .living-demo-section {
    height: calc(100svh - var(--website-header-h));
    min-height: calc(100svh - var(--website-header-h));
    max-height: calc(100svh - var(--website-header-h));
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding: 1.35rem 0 1.5rem;
    overflow: hidden;
  }
  .living-demo-section .site-container--wide {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-self: center;
    min-height: 0;
    width: min(100% - 2rem, 1320px);
    max-width: min(100% - 2rem, 1320px);
    margin-inline: auto;
  }
  .living-demo-wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.27fr) minmax(0, 0.73fr);
    align-items: center;
    gap: 1.6rem;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }
  .living-demo__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
  }
  .living-demo__title {
    margin: 0;
    padding: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-align: center;
  }
  .living-demo__title-line {
    white-space: nowrap;
  }
  .living-demo {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: 90%;
    max-height: 90%;
  }
  .living-demo__chrome,
  .living-demo__scenarios,
  .living-demo__prompt-row,
  .living-demo__demo-controls {
    flex-shrink: 0;
  }
  .living-demo__stage {
    flex: 1 1 auto;
    min-height: 12rem;
    max-height: none;
    overflow: auto;
  }
}

@media (max-width: 1023px) {
  .hero.hero--living.hero--slim {
    flex-direction: column;
    align-items: stretch;
    padding: 2.1rem 0 2.5rem;
  }
  .hero.hero--living.hero--slim .hero__trust {
    position: static;
    align-self: flex-start;
    width: auto;
    margin: 0.75rem 1rem 0;
  }
  .hero-compose {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
  }
  .hero-spec__block {
    padding: 0.76rem 0;
  }
  .hero--living .hero__ctas,
  .hero--slim .hero__ctas {
    justify-content: flex-start;
  }
  .living-demo {
    min-height: 28rem;
  }
  .living-demo__stage {
    min-height: 16rem;
  }
}

@media (max-width: 640px) {
  .hero.hero--living.hero--slim {
    padding: 1.4rem 0 1.85rem;
  }
  .hero.hero--living.hero--slim h1,
  .hero--living h1,
  .hero--slim h1 {
    max-width: none;
    font-size: clamp(1.7rem, 7.4vw, 2.05rem);
  }
  .hero--living .hero__support,
  .hero--slim .hero__support {
    font-size: 0.96rem;
  }
  .hero-spec__value {
    font-size: 0.86rem;
  }
  .hero-spec__climax {
    font-size: 0.9375rem;
  }
  .living-demo-section {
    padding: 1.5rem 0 2.25rem;
  }
  .living-demo {
    min-height: 26rem;
  }
}

/* =========================================================
   Final homepage polish — chrome, controls, mobile fold
   ========================================================= */

@media (min-width: 768px) {
  .living-demo__prompt-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .living-demo__prompt-row {
    grid-template-columns: 1fr;
  }
  .living-demo__prompt-row textarea,
  .living-demo__prompt-row [data-demo-run] {
    grid-column: 1 / -1;
  }
}

.living-demo__prompt-row textarea {
  width: 100%;
  min-height: 2.75rem;
  resize: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0B1220;
  color: #F9FAFB;
  padding: 0.5rem 0.7rem;
  font: inherit;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.living-demo__prompt-row textarea:focus-visible {
  outline: 2px solid rgba(197, 212, 224, 0.75);
  outline-offset: 1px;
}

.living-demo__demo-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 0 0.8rem 0.45rem;
}

.ld-quiet {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: #9CA3AF;
  font: inherit;
  font-size: 0.72rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 28px;
}

.ld-quiet:hover,
.ld-quiet:focus-visible {
  color: #E5E7EB;
}

.ld-quiet[hidden] {
  display: none;
}

.living-demo__pills {
  position: relative;
}

.living-demo__scenarios {
  position: relative;
}

.living-demo__scenarios::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #16191F 90%);
}

@media (min-width: 1024px) {
  .living-demo__scenarios::after {
    display: none;
  }
}

.ld-pill-btn {
  min-height: 36px;
}

.ld-pill-btn:focus-visible {
  outline: 2px solid rgba(197, 212, 224, 0.85);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .living-demo__chrome {
    flex-wrap: nowrap;
    align-items: center;
    padding: 0.35rem 0.65rem;
    gap: 0.45rem;
  }
  .living-demo__brand {
    flex: 0 0 auto;
  }
  .living-demo__brand span {
    display: none;
  }
  .living-demo__meta {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.2rem 0.35rem;
  }
  .living-demo__meta div {
    min-width: 0;
  }
  .living-demo__meta dt {
    font-size: 0.5rem;
  }
  .living-demo__meta dd {
    font-size: 0.66rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .living-demo__scenarios {
    padding: 0.3rem 0.65rem 0.05rem;
  }
  .living-demo__scenarios-label {
    display: none;
  }
  .ld-pill-btn {
    min-height: 38px;
    padding: 0.3rem 0.6rem;
  }
  .living-demo__prompt-row {
    padding: 0.3rem 0.65rem 0.3rem;
    grid-template-columns: 1fr;
  }
  .living-demo__prompt-row textarea {
    font-size: 0.78rem;
    padding: 0.4rem 0.55rem;
    line-height: 1.4;
  }
  .living-demo__prompt-row [data-demo-run] {
    width: 100%;
    min-height: 40px;
  }
  .living-demo__demo-controls {
    padding: 0 0.65rem 0.3rem;
  }
  .living-demo__stage {
    min-height: 16rem;
    max-height: none;
  }
  .ld-idle .ld-bubble {
    display: none;
  }
  .ld-idle__hint {
    margin: 0.1rem 0 0.25rem;
  }
}

/* =========================================================
   webUI2 — atmosphere, accent, motion
   ========================================================= */

.hero.hero--living.hero--slim > .site-container {
  position: relative;
  z-index: 1;
}

.hero.hero--living.hero--slim::before {
  width: 70vw;
  min-width: 32rem;
  height: 70vw;
  min-height: 32rem;
  top: -32%;
  right: -18%;
  background: radial-gradient(circle, rgba(167, 199, 224, 0.42) 0%, rgba(167, 199, 224, 0) 68%);
  animation: aurora-drift 32s var(--website-ease) infinite;
}

.hero.hero--living.hero--slim::after {
  width: 62vw;
  min-width: 28rem;
  height: 62vw;
  min-height: 28rem;
  bottom: -36%;
  left: -20%;
  background: radial-gradient(circle, rgba(196, 186, 214, 0.28) 0%, rgba(196, 186, 214, 0) 70%);
  animation: aurora-drift 40s var(--website-ease) infinite reverse;
}

.site-logo img {
  width: 22px;
  height: 22px;
}

.site-header.is-scrolled {
  background: rgba(241, 244, 247, 0.9);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.site-nav a:hover {
  color: var(--website-brand);
  opacity: 1;
}

.site-nav__actions .btn--ghost:hover {
  background: transparent;
  color: var(--website-brand);
}

.hero-spec__block--last .hero-spec__icon {
  color: #0058C8;
}

.hero-spec__block {
  transition: transform 0.35s var(--website-ease);
}

.hero-spec__block:hover {
  transform: translateX(6px);
}

.ld-pill-btn {
  border-radius: 8px;
  transition: background 0.24s var(--website-ease), border-color 0.24s var(--website-ease), color 0.24s var(--website-ease), box-shadow 0.24s var(--website-ease);
}

.living-demo .btn--primary {
  background: var(--website-cyan);
  color: var(--website-cyan-ink);
  border-color: var(--website-cyan);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}

.living-demo .btn--primary:hover {
  background: #67E8F9;
  color: var(--website-cyan-ink);
  border-color: #67E8F9;
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.5);
}

.living-demo__prompt-row input:focus,
.living-demo__prompt-row textarea:focus {
  outline: 2px solid rgba(34, 211, 238, 0.8);
  outline-offset: 1px;
}

.living-demo__meta [data-demo-runtime] {
  color: #22D3EE;
}

.living-demo__meta [data-demo-runtime]::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65);
  animation: ready-pulse 1.8s ease-out infinite;
  vertical-align: 0.05em;
}

.site-section--finale::before {
  content: "";
  position: absolute;
  inset: -45% -20%;
  background:
    radial-gradient(circle at 28% 40%, rgba(34, 211, 238, 0.32), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(0, 119, 237, 0.4), transparent 40%),
    radial-gradient(circle at 62% 82%, rgba(255, 153, 0, 0.18), transparent 38%);
  animation: aurora-drift 16s var(--website-ease) infinite;
  pointer-events: none;
}

.site-section--finale .site-container {
  position: relative;
  z-index: 1;
}

.cta-band--finale h2 {
  font-weight: 600;
  letter-spacing: -0.028em;
}

.btn--on-dark {
  box-shadow: 0 10px 28px rgba(34, 211, 238, 0.22);
}

.price-card__price {
  font-weight: 600;
}

.faq-question {
  transition: color 0.24s var(--website-ease);
}

.faq-question:hover {
  color: var(--website-brand);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero__h1-line,
  .hero__support,
  .hero__ctas,
  .hero__scale,
  .hero-spec__block {
    animation: webui2-enter 0.9s var(--website-ease-out) both;
  }
  .hero__eyebrow { animation-delay: 0.05s; }
  .hero__h1-line:first-child { animation-delay: 0.14s; }
  .hero__h1-line:last-child { animation-delay: 0.26s; }
  .hero__support { animation-delay: 0.36s; }
  .hero__ctas { animation-delay: 0.46s; }
  .hero__scale { animation-delay: 0.56s; }
  .hero-spec__block:nth-child(1) { animation-delay: 0.2s; }
  .hero-spec__block:nth-child(2) { animation-delay: 0.32s; }
  .hero-spec__block:nth-child(3) { animation-delay: 0.44s; }
  .hero-spec__block:nth-child(4) { animation-delay: 0.56s; }
}

@keyframes webui2-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aurora-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40% { transform: translate3d(-4%, 3%, 0) scale(1.06); }
  70% { transform: translate3d(3%, -3%, 0) scale(0.97); }
}

@keyframes ready-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

#demo,
#pricing,
#faq,
#get-started {
  --enter: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-cinema #demo .living-demo__title,
  html.js-cinema #demo .living-demo,
  html.js-cinema #pricing .text-center,
  html.js-cinema #pricing .price-card,
  html.js-cinema #pricing .price-note,
  html.js-cinema #faq .text-center,
  html.js-cinema #faq .faq-item,
  html.js-cinema #faq .faq-more,
  html.js-cinema #get-started .cta-band--finale {
    --lag: 0;
    --travel: 22px;
    --p: clamp(0, (var(--enter) - var(--lag)) / 0.82, 1);
    opacity: calc(0.16 + (var(--p) * 0.84));
    transform: translate3d(0, calc((1 - var(--p)) * var(--travel)), 0);
  }

  html.js-cinema #demo .living-demo__title {
    --travel: 16px;
  }

  html.js-cinema #demo .living-demo {
    --lag: 0.06;
    --travel: 22px;
  }

  html.js-cinema #pricing .text-center {
    --travel: 16px;
  }

  html.js-cinema #pricing .price-card:nth-child(1) { --lag: 0.04; --travel: 24px; }
  html.js-cinema #pricing .price-card:nth-child(2) { --lag: 0.08; --travel: 24px; }
  html.js-cinema #pricing .price-card:nth-child(3) { --lag: 0.12; --travel: 24px; }
  html.js-cinema #pricing .price-card:nth-child(4) { --lag: 0.16; --travel: 24px; }
  html.js-cinema #pricing .price-card:nth-child(5) { --lag: 0.2; --travel: 24px; }

  html.js-cinema #pricing .price-note {
    --lag: 0.22;
    --travel: 14px;
  }

  html.js-cinema #faq .text-center {
    --travel: 16px;
  }

  html.js-cinema #faq .faq-item:nth-child(1) { --lag: 0.03; --travel: 14px; }
  html.js-cinema #faq .faq-item:nth-child(2) { --lag: 0.07; --travel: 14px; }
  html.js-cinema #faq .faq-item:nth-child(3) { --lag: 0.11; --travel: 14px; }
  html.js-cinema #faq .faq-item:nth-child(4) { --lag: 0.15; --travel: 14px; }
  html.js-cinema #faq .faq-item:nth-child(5) { --lag: 0.19; --travel: 14px; }
  html.js-cinema #faq .faq-item:nth-child(6) { --lag: 0.23; --travel: 14px; }

  html.js-cinema #faq .faq-more {
    --lag: 0.26;
    --travel: 12px;
  }

  html.js-cinema #get-started .cta-band--finale {
    --travel: 18px;
    transform: translate3d(0, calc((1 - var(--p)) * var(--travel)), 0) scale(calc(0.985 + (var(--p) * 0.015)));
  }
}

/* =========================================================
   WebUI-2A — Where it runs + Ask → Approve → Audit
   ========================================================= */

.site-section--model {
  background: var(--website-surface);
  border-top: 1px solid var(--website-border);
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

.site-section--loop {
  background: var(--website-bg);
  border-top: 1px solid var(--website-border);
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-section--model {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }
  .site-section--loop {
    padding-top: 1.75rem;
    padding-bottom: 3.75rem;
  }
}

.site-section--model .eyebrow {
  display: block;
  margin: 0 0 1.75rem;
}

.run-model {
  display: grid;
  gap: 2rem;
}

.run-model__col + .run-model__col {
  border-top: 1px solid var(--website-border);
  padding-top: 2rem;
}

.run-model__label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.run-model__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--website-text);
}

.run-model__copy {
  margin: 0;
  max-width: 36rem;
  color: var(--website-text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
}

.run-model__more {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

.run-model__more a {
  color: var(--website-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--website-border);
  padding-bottom: 0.12rem;
}

.run-model__more a:hover {
  color: var(--website-brand);
  border-bottom-color: var(--website-brand);
}

@media (min-width: 768px) {
  .run-model {
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    align-items: start;
  }
  .run-model__col + .run-model__col {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--website-border);
    padding-left: 4rem;
  }
}

.op-loop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.op-loop__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--website-border);
}

.op-loop__step:first-child {
  border-top: 1px solid var(--website-border);
}

.op-loop__name {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text-secondary);
}

.op-loop__note {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--website-text-muted);
  line-height: 1.3;
}

.op-loop__step--approve {
  padding: 0.85rem 0.95rem;
  margin: 0.2rem 0;
  border: 1px solid var(--website-text);
  border-bottom-color: var(--website-text);
  background: var(--website-surface);
}

.op-loop__step--approve .op-loop__name {
  color: var(--website-text);
  font-size: 1.05rem;
  letter-spacing: -0.022em;
}

@media (min-width: 768px) {
  .op-loop {
    flex-direction: row;
    align-items: stretch;
    border-top: 1px solid var(--website-border);
    border-bottom: 1px solid var(--website-border);
  }
  .op-loop__step {
    flex: 1 1 0;
    align-items: center;
    text-align: center;
    padding: 1.35rem 0.55rem 1.4rem;
    border-bottom: 0;
    position: relative;
  }
  .op-loop__step:first-child {
    border-top: 0;
  }
  .op-loop__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    right: 0;
    bottom: 28%;
    width: 1px;
    background: var(--website-border);
  }
  .op-loop__step--approve {
    flex: 1.28 1 0;
    margin: -1px 0;
    padding: 1.2rem 0.7rem 1.25rem;
    border: 1px solid var(--website-text);
    z-index: 1;
  }
  .op-loop__step--approve::after {
    display: none;
  }
}

/* =========================================================
   WebUI-2B — How you start + FAQ + light editorial
   ========================================================= */

.site-section--start {
  background: var(--website-surface);
  border-top: 1px solid var(--website-border);
  padding-top: 2.5rem;
  padding-bottom: 2.25rem;
}

.site-section--faq {
  background: var(--website-bg);
  border-top: 1px solid var(--website-border);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-section--start {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
  .site-section--faq {
    padding-top: 3.5rem;
    padding-bottom: 3.75rem;
  }
}

.site-section--start .eyebrow,
.site-section--faq .eyebrow {
  display: block;
  margin: 0 0 1.5rem;
}

.start-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.start-step + .start-step {
  border-top: 1px solid var(--website-border);
  padding-top: 1.35rem;
}

.start-step__num {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-text-muted);
}

.start-step__copy {
  margin: 0;
  color: var(--website-text);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.start-close {
  margin: 1.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text);
}

.start-note {
  margin: 0.65rem 0 0;
  color: var(--website-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.start-more {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}

.start-more a,
.site-section--faq .faq-more a {
  color: var(--website-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--website-border);
  padding-bottom: 0.12rem;
}

.start-more a:hover,
.site-section--faq .faq-more a:hover {
  color: var(--website-brand);
  border-bottom-color: var(--website-brand);
}

@media (min-width: 768px) {
  .start-steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 2.25rem;
  }
  .start-step + .start-step {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--website-border);
    padding-left: 2.25rem;
  }
}

.site-section--faq .faq-list {
  margin: 0;
  max-width: none;
}

.site-section--faq .faq-question {
  padding: 0.85rem 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.site-section--faq .faq-answer {
  padding: 0 0 0.95rem;
  font-size: 0.98rem;
}

.site-section--faq .faq-icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: none;
}

.site-section--faq .faq-item.is-open .faq-icon {
  transform: none;
}

.site-section--faq .faq-item.is-open .faq-icon__v {
  opacity: 0;
}

.site-section--faq .faq-more {
  margin: 1.25rem 0 0;
  text-align: left;
}

#how-you-start {
  --enter: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-cinema #how-you-start .eyebrow,
  html.js-cinema #how-you-start .start-step,
  html.js-cinema #how-you-start .start-close,
  html.js-cinema #how-you-start .start-note,
  html.js-cinema #how-you-start .start-more,
  html.js-cinema #faq .eyebrow {
    --lag: 0;
    --travel: 16px;
    --p: clamp(0, (var(--enter) - var(--lag)) / 0.82, 1);
    opacity: calc(0.16 + (var(--p) * 0.84));
    transform: translate3d(0, calc((1 - var(--p)) * var(--travel)), 0);
  }
}

/* =========================================================
   WebUI-2C — finale, footer, auth sheet, docs chrome
   ========================================================= */

.site-footer__quiet {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

@media (min-width: 768px) {
  .site-footer__quiet {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.site-footer__links a {
  font-size: 0.9rem;
}

.site-footer__bottom {
  margin-top: 1.75rem;
}

.site-section--finale {
  background: #101820;
  padding: 5.5rem 0;
}

.site-section--finale::before {
  inset: 0;
  background:
    radial-gradient(70% 80% at 88% 0%, rgba(0, 119, 237, 0.16), transparent 58%),
    radial-gradient(45% 50% at 8% 100%, rgba(255, 153, 0, 0.05), transparent 55%);
  animation: none;
  filter: none;
}

.cta-band--finale h2 {
  max-width: 18rem;
  color: #F5F7FA;
}

.cta-band--finale p {
  color: rgba(245, 247, 250, 0.72);
  max-width: 34rem;
}

.btn--on-dark {
  box-shadow: none;
}

.btn--ghost-on-dark {
  color: #F5F7FA;
  border-color: rgba(245, 247, 250, 0.28);
}

.btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}


.doc-article {
  max-width: none;
}

.doc-article h1,
.doc-intro,
.doc-article section {
  max-width: 72ch;
}

.doc-article p,
.doc-article li {
  line-height: 1.7;
}


/* =========================================================
   WebUI-3 — craft pass: mobile hero, type hierarchy, cinema, demo cue
   Desktop hero composition is unchanged. Cinema rule: full opacity.
   ========================================================= */

.living-demo__brand-demo {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.section-title {
  font-size: clamp(1.5rem, 2.05vw, 1.9rem);
}

.cta-band--finale h2 {
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

@media (min-width: 1024px) {
  .living-demo-section .living-demo__title,
  .living-demo__title {
    font-size: clamp(1.45rem, 2.05vw, 1.85rem);
    font-weight: 600;
  }
}

html.js-cinema #demo .living-demo__title,
html.js-cinema #demo .living-demo,
html.js-cinema #pricing .text-center,
html.js-cinema #pricing .price-card,
html.js-cinema #pricing .price-note,
html.js-cinema #faq .text-center,
html.js-cinema #faq .faq-item,
html.js-cinema #faq .faq-more,
html.js-cinema #faq .eyebrow,
html.js-cinema #get-started .cta-band--finale,
html.js-cinema #how-you-start .eyebrow,
html.js-cinema #how-you-start .start-step,
html.js-cinema #how-you-start .start-close,
html.js-cinema #how-you-start .start-note,
html.js-cinema #how-you-start .start-more {
  opacity: 1 !important;
  transform: none !important;
}

.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .living-demo__brand .living-demo__brand-name {
    display: none;
  }
  .living-demo__brand .living-demo__brand-demo {
    display: inline;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9CA3AF;
  }
}

@media (max-width: 767px) {
  .hero.hero--living.hero--slim {
    flex-direction: column;
    align-items: stretch;
    padding: 0.65rem 0 0.7rem;
  }

  .hero.hero--living.hero--slim .hero__trust {
    position: static;
    align-self: flex-start;
    width: auto;
    margin: 0.4rem 1rem 0;
    font-size: 0.62rem;
  }

  .hero-compose {
    gap: 0.55rem;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__eyebrow {
    margin: 0 0 0.3rem;
  }

  .hero.hero--living.hero--slim .hero-compose__main h1 {
    margin: 0 0 0.42rem;
  }

  .hero.hero--living.hero--slim h1,
  .hero--living h1,
  .hero--slim h1 {
    font-size: clamp(1.7rem, 7.2vw, 2.05rem);
    line-height: 1.05;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__support,
  .hero--living .hero__support,
  .hero--slim .hero__support {
    margin: 0 0 0.55rem;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__ctas,
  .hero--living .hero__ctas,
  .hero--slim .hero__ctas {
    margin: 0 0 0.55rem;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__ctas .btn {
    flex: 1 1 0;
    min-height: 40px;
    padding: 0.5rem 0.6rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__scale,
  .hero__scale {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.28;
  }

  .hero__trust {
    margin: 0.45rem auto 0;
  }

  .hero-spec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.75rem;
  }

  .hero-spec__block {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .hero-spec__block:nth-child(n + 3) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-spec__block:first-child {
    padding-top: 0.15rem;
  }

  .hero-spec__label,
  .hero-spec__climax {
    margin: 0 0 0.16rem;
    gap: 0.35rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    align-items: flex-start;
  }

  .hero-spec__icon {
    flex-basis: 16px;
    width: 16px;
    height: 16px;
    margin-top: 0.05rem;
  }

  .hero-spec__icon svg {
    width: 16px;
    height: 16px;
  }

  .hero-spec__value,
  .hero-spec__climax-support {
    padding-left: 0;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .hero-spec__climax-support {
    margin-top: 0.2rem;
  }

  .hero-spec__block:hover {
    transform: none;
  }
}

/* =========================================================
   WebUI-4 — Visual system correction (editorial, no glass cards)
   Content, IA, hero, demo, and pricing grid unchanged.
   ========================================================= */

.living-demo-section {
  border-bottom: 0;
}

/* ——— Canvas rhythm ——— */
.site-section--model {
  background: #F7FBFF;
  border-top: 0;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.site-section--start {
  background: #FFFFFF;
  border-top: 0;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#pricing {
  background: #FFFFFF;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-section--faq {
  background: var(--website-bg);
  border-top: 0;
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .site-section--model {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }
  .site-section--start {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  #pricing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .site-section--faq {
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
  }
}

#where-it-runs > .site-container,
#how-you-start > .site-container,
#pricing > .site-container,
#faq > .site-container {
  width: min(100% - 2rem, var(--website-max-wide));
  max-width: min(100% - 2rem, var(--website-max-wide));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  #where-it-runs > .site-container,
  #how-you-start > .site-container,
  #pricing > .site-container,
  #faq > .site-container {
    width: min(100% - 3rem, 1360px);
    max-width: min(100% - 3rem, 1360px);
  }
}

/* ——— Typography hierarchy ——— */
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.25rem);
  line-height: 1.12;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.5rem, 2vw, 1.625rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
}

#where-it-runs .eyebrow,
#how-you-start .eyebrow,
#faq .eyebrow {
  display: block;
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.024em;
  text-transform: none;
  color: var(--website-text);
  text-align: center;
}

#pricing .text-center .eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--website-brand-ink);
}

#pricing .section-title {
  margin-bottom: 0.85rem;
}

#pricing .section-lead {
  margin: 0 auto 1.75rem;
  text-align: center;
}

#how-you-start .start-close,
#how-you-start .start-note {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.run-model__title {
  font-size: clamp(1.25rem, 1.8vw, 1.375rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.run-model__copy,
.start-note,
.site-section--faq .faq-answer {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
}

.start-step__copy {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--website-text-secondary);
}

/* ——— Where it runs: editorial columns (no glass) ——— */
.run-model {
  gap: 2rem;
}

.run-model__col {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  transition: none;
}

.run-model__col:hover {
  background: transparent;
  border-color: transparent;
}

.run-model__col + .run-model__col {
  border-top: 1px solid var(--website-border);
  padding-top: 2rem;
}

.run-model__label {
  color: var(--website-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

@media (min-width: 768px) {
  .run-model {
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
    align-items: start;
  }
  .run-model__col + .run-model__col {
    border-top: 0;
    border-left: 1px solid var(--website-border);
    padding-top: 0;
    padding-left: 4rem;
  }
}

/* ——— Workflow strip: editorial instrument (no glass card) ——— */
.op-loop {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin-top: 2.5rem;
}

.op-loop__step {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--website-border);
}

.op-loop__step:first-child {
  border-top: 1px solid var(--website-border);
}

.op-loop__name {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--website-text-secondary);
}

.op-loop__note {
  color: var(--website-text-muted);
  font-size: 0.8125rem;
  letter-spacing: -0.01em;
}

.op-loop__step--approve {
  margin: 0.2rem 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--website-text);
  border-bottom-color: var(--website-text);
  background: var(--website-surface);
}

.op-loop__step--approve .op-loop__name {
  font-size: clamp(1.05rem, 1.15vw, 1.125rem);
  color: var(--website-text);
}

@media (min-width: 768px) {
  .op-loop {
    flex-direction: row;
    align-items: stretch;
    border-top: 1px solid var(--website-border);
    border-bottom: 1px solid var(--website-border);
  }
  .op-loop__step {
    flex: 1 1 0;
    align-items: center;
    text-align: center;
    padding: 1.35rem 0.55rem 1.4rem;
    border-bottom: 0;
    position: relative;
  }
  .op-loop__step:first-child {
    border-top: 0;
  }
  .op-loop__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 28%;
    right: 0;
    bottom: 28%;
    width: 1px;
    background: var(--website-border);
  }
  .op-loop__step--approve {
    flex: 1.28 1 0;
    margin: -1px 0;
    padding: 1.2rem 0.7rem 1.25rem;
    border: 1px solid var(--website-text);
    background: var(--website-surface);
  }
  .op-loop__step--approve::after {
    display: none;
  }
}

/* ——— How you start: editorial numbered sequence (no cards) ——— */
.start-steps {
  gap: 1.35rem;
}

.start-step {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  transition: none;
}

.start-step:hover {
  background: transparent;
  border-color: transparent;
}

.start-step + .start-step {
  border-top: 1px solid var(--website-border);
  padding-top: 1.35rem;
}

.start-step__num {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--website-text);
  line-height: 1.15;
}

.start-close {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  letter-spacing: -0.02em;
}

.start-note {
  max-width: 36rem;
  margin-top: 0.65rem;
}

@media (min-width: 768px) {
  .start-steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 2.25rem;
  }
  .start-step + .start-step {
    border-top: 0;
    border-left: 1px solid var(--website-border);
    padding-top: 0;
    padding-left: 2.25rem;
  }
}

/* ——— FAQ editorial ——— */
.site-section--faq .faq-list {
  max-width: 46rem;
}

.site-section--faq .faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-section--faq .faq-question {
  padding: 1.05rem 0;
  font-size: clamp(1.05rem, 1.15vw, 1.125rem);
  letter-spacing: -0.02em;
}

.site-section--faq .faq-answer {
  padding: 0 0 1.15rem;
  max-width: 46rem;
}

/* ——— Finale + footer ——— */
.site-section--finale {
  position: relative;
  overflow: hidden;
  background: var(--website-grad-finale);
  padding: 4.5rem 0;
}

.site-section--finale::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 80% at 88% 0%, rgba(0, 119, 237, 0.22), transparent 58%),
    radial-gradient(50% 55% at 6% 100%, rgba(255, 153, 0, 0.07), transparent 55%);
  pointer-events: none;
}

.site-section--finale .site-container {
  position: relative;
  z-index: 1;
}

.cta-band.cta-band--finale {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: center;
  color: #F5F7FA;
}

.cta-band--finale h2 {
  max-width: 18em;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.65rem, 2.35vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  color: #F5F7FA;
}

.cta-band--finale p {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: rgba(245, 247, 250, 0.68);
}

.cta-band--finale .cta-band__actions {
  justify-content: center;
}

.btn--on-dark {
  background: var(--website-brand);
  color: #fff;
  border-color: var(--website-brand);
}

.btn--on-dark:hover {
  background: var(--website-brand-hover);
  border-color: var(--website-brand-hover);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--website-border);
  background: var(--website-bg);
  padding: 3rem 0 2rem;
}

.site-footer__brand p,
.site-footer a,
.site-footer__bottom,
.site-footer .site-logo {
  color: var(--website-text-secondary);
}

.site-footer .site-logo span {
  color: var(--website-text);
}

.site-footer a:hover {
  color: var(--website-text);
}

.site-footer__bottom {
  border-top: 1px solid var(--website-border);
  color: var(--website-text-muted);
}

/* ——— Header nav readability ——— */
@media (min-width: 768px) {
  .site-nav a {
    font-size: 0.8125rem;
    padding: 0.35rem 0.65rem;
  }
}


/* =========================================================
   WebUI-4B — one-viewport section composition
   Section-level min-height only. No card stretch. Editorial preserved.
   Hero + Demo untouched.
   ========================================================= */

#where-it-runs,
#ask-approve-audit,
#how-you-start,
#pricing,
#faq,
#get-started {
  min-height: calc(100svh - var(--website-header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  scroll-margin-top: var(--website-header-h);
  padding-top: clamp(1.25rem, 2.5vh, 2rem);
  padding-bottom: clamp(1.25rem, 2.5vh, 2rem);
}

#where-it-runs > .site-container,
#ask-approve-audit > .site-container,
#how-you-start > .site-container,
#pricing > .site-container,
#faq > .site-container,
#get-started > .site-container {
  flex: 0 0 auto;
  width: 100%;
}

/* Workflow section canvas + boundary from Where it runs */
.site-section--loop {
  background: #FFFFFF;
  border-top: 1px solid var(--website-border);
}

#ask-approve-audit .op-loop {
  margin-top: 0;
}

/* Adjacent white surfaces: unmistakable boundary */
#pricing {
  border-top: 1px solid var(--website-border);
}

@media (min-width: 768px) {
  #where-it-runs,
  #ask-approve-audit,
  #how-you-start,
  #pricing,
  #faq,
  #get-started {
    padding-top: clamp(1.5rem, 3vh, 2.25rem);
    padding-bottom: clamp(1.5rem, 3vh, 2.25rem);
  }
}

@media (min-width: 1024px) {
  #where-it-runs,
  #ask-approve-audit,
  #how-you-start,
  #pricing,
  #faq,
  #get-started {
    padding-top: clamp(1.75rem, 3.5vh, 2.5rem);
    padding-bottom: clamp(1.75rem, 3.5vh, 2.5rem);
  }

  #where-it-runs .run-model {
    gap: 0 3rem;
  }

  #how-you-start .start-steps {
    gap: 0 1.75rem;
  }

  #pricing .section-lead {
    margin-bottom: 1.25rem;
  }

  #pricing .pricing-shell .price-grid {
    padding: 0.85rem;
    gap: 0.65rem;
  }

  #faq .faq-question {
    padding: 0.8rem 0;
  }

  #faq .faq-answer {
    padding: 0 0 0.8rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #where-it-runs .run-model {
    gap: 0 2.25rem;
  }

  #where-it-runs .run-model__col + .run-model__col {
    padding-left: 2.25rem;
  }

  #how-you-start .start-steps {
    gap: 0 1.5rem;
  }

  #how-you-start .start-step + .start-step {
    padding-left: 1.5rem;
  }

  #pricing .section-title {
    margin-bottom: 0.65rem;
  }

  #pricing .section-lead {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  #pricing .pricing-shell .price-grid {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  #pricing .price-card {
    padding: 1rem 0.85rem;
  }
}

@media (max-width: 767px) {
  #where-it-runs .run-model {
    gap: 1.5rem;
  }

  #where-it-runs .run-model__col + .run-model__col {
    padding-top: 1.5rem;
  }

  #how-you-start .start-steps {
    gap: 1.1rem;
  }

  #how-you-start .start-step + .start-step {
    padding-top: 1.1rem;
  }

  #pricing .section-lead {
    margin-bottom: 1.25rem;
  }

  #pricing .pricing-shell .price-grid {
    gap: 0.75rem;
  }

  #faq .faq-question {
    padding: 0.75rem 0;
    font-size: 1rem;
  }
}

/* =========================================================
   WebUI-4C — merge workflow into Where it runs
   One viewport for #where-it-runs. No separate workflow section.
   ========================================================= */

#where-it-runs > .site-container {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

#where-it-runs .run-model {
  flex: 0 0 auto;
}

#where-it-runs .op-loop,
#where-it-runs .op-loop--where {
  flex: 0 0 auto;
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
  width: min(100%, 52rem);
  margin-inline: auto;
}

@media (max-width: 767px) {
  #where-it-runs {
    padding-top: clamp(1rem, 2vh, 1.35rem);
    padding-bottom: clamp(1rem, 2vh, 1.35rem);
  }

  #where-it-runs .eyebrow {
    margin-bottom: 1.15rem;
  }

  #where-it-runs .run-model {
    gap: 1.15rem;
  }

  #where-it-runs .run-model__col + .run-model__col {
    padding-top: 1.15rem;
  }

  #where-it-runs .op-loop {
    margin-top: clamp(1.35rem, 3.5vh, 2rem);
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #where-it-runs .op-loop {
    margin-top: clamp(1.5rem, 4vh, 2.5rem);
    width: min(100%, 48rem);
  }
}

@media (min-width: 1024px) {
  #where-it-runs .op-loop {
    margin-top: clamp(2rem, 5vh, 3rem);
    width: min(100%, 56rem);
  }
}

/* =========================================================
   WebUI-4D — How You Start + FAQ visual polish
   Layout/composition only. Copy and editorial system unchanged.
   ========================================================= */

/* ——— How You Start ——— */
#how-you-start > .site-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

#how-you-start .eyebrow {
  margin-bottom: clamp(1.5rem, 3vh, 2.25rem);
}

#how-you-start .start-steps {
  width: 100%;
}

#how-you-start .start-step__num {
  margin-bottom: clamp(0.65rem, 1.2vh, 0.85rem);
}

#how-you-start .start-close {
  margin-top: clamp(1.85rem, 3.75vh, 2.65rem);
}

#how-you-start .start-note {
  margin-top: clamp(0.65rem, 1.25vh, 0.85rem);
  max-width: 40rem;
}

@media (min-width: 768px) {
  #how-you-start .start-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(2.25rem, 5vw, 4rem);
    align-items: start;
  }

  #how-you-start .start-step + .start-step {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--website-border);
    padding-left: clamp(2.25rem, 5vw, 4rem);
  }
}

@media (min-width: 1024px) {
  #how-you-start .start-steps {
    gap: 0 clamp(2.5rem, 4.5vw, 4.25rem);
  }

  #how-you-start .start-step + .start-step {
    padding-left: clamp(2.5rem, 4.5vw, 4.25rem);
  }
}

/* ——— FAQ ——— */
#faq .eyebrow {
  text-align: left;
  margin-bottom: clamp(1.25rem, 2.5vh, 1.75rem);
}

#faq .faq-list {
  width: 100%;
  max-width: none;
  margin-top: 0;
}

#faq .faq-item {
  width: 100%;
}

#faq .faq-question {
  width: 100%;
}

#faq .faq-answer {
  max-width: min(68ch, 100%);
}

/* =========================================================
   WebUI-4E — final spacing / composition (Where it runs + How You Start)
   Explicit vertical rhythm. No section-level justify-content:center.
   ========================================================= */

#where-it-runs,
#how-you-start {
  justify-content: flex-start;
  padding-top: clamp(2rem, 4.5vh, 3.25rem);
  padding-bottom: clamp(2rem, 4.5vh, 3.25rem);
}

/* ——— Where it runs: heading → columns → workflow ——— */
#where-it-runs > .site-container {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: calc(100svh - var(--website-header-h) - clamp(4rem, 9vh, 6.5rem));
  width: 100%;
}

#where-it-runs .eyebrow {
  flex: 0 0 auto;
  margin-bottom: clamp(1.75rem, 3.5vh, 2.75rem);
}

#where-it-runs .run-model {
  flex: 0 0 auto;
  margin-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
}

#where-it-runs .op-loop,
#where-it-runs .op-loop--where {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-top: auto;
  padding-top: clamp(2.25rem, 5.5vh, 4rem);
}

/* ——— How You Start: heading → steps → close → MSP ——— */
#how-you-start > .site-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  flex: 1 0 auto;
  min-height: calc(100svh - var(--website-header-h) - clamp(4rem, 9vh, 6.5rem));
  margin-block: 0;
}

#how-you-start .eyebrow {
  flex: 0 0 auto;
  margin-bottom: clamp(2rem, 4.5vh, 3.25rem);
}

#how-you-start .start-steps {
  flex: 0 0 auto;
  width: 100%;
}

#how-you-start .start-close {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: clamp(2rem, 4.5vh, 3rem);
}

#how-you-start .start-note {
  flex: 0 0 auto;
  margin-top: clamp(0.75rem, 1.5vh, 1rem);
}

@media (max-width: 767px) {
  #where-it-runs,
  #how-you-start {
    padding-top: clamp(1.5rem, 3.5vh, 2rem);
    padding-bottom: clamp(1.5rem, 3.5vh, 2rem);
  }

  #where-it-runs > .site-container {
    min-height: calc(100svh - var(--website-header-h) - clamp(3rem, 7vh, 4rem));
  }

  #where-it-runs .eyebrow {
    margin-bottom: clamp(1.35rem, 3vh, 1.85rem);
  }

  #where-it-runs .op-loop {
    padding-top: clamp(1.75rem, 4.5vh, 2.5rem);
  }

  #how-you-start .eyebrow {
    margin-bottom: clamp(1.5rem, 3.5vh, 2rem);
  }

  #how-you-start .start-close {
    padding-top: clamp(1.5rem, 3.5vh, 2rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #where-it-runs .eyebrow {
    margin-bottom: clamp(1.5rem, 3.25vh, 2.25rem);
  }

  #where-it-runs .op-loop {
    padding-top: clamp(2rem, 5vh, 3.25rem);
  }

  #how-you-start .eyebrow {
    margin-bottom: clamp(1.75rem, 4vh, 2.75rem);
  }

  #how-you-start .start-close {
    padding-top: clamp(1.75rem, 4vh, 2.5rem);
  }
}

@media (min-width: 1024px) {
  #where-it-runs .eyebrow {
    margin-bottom: clamp(2rem, 3.75vh, 2.85rem);
  }

  #where-it-runs .op-loop {
    padding-top: clamp(2.5rem, 6vh, 4.25rem);
  }

  #how-you-start .eyebrow {
    margin-bottom: clamp(2.25rem, 4.75vh, 3.35rem);
  }

  #how-you-start .start-close {
    padding-top: clamp(2.25rem, 5vh, 3.5rem);
  }
}

/* =========================================================
   WebUI-4F — centered content group (fix 4E viewport distribution)
   One vertically centered group per section. Compact fixed layer gaps.
   ========================================================= */

#where-it-runs,
#how-you-start {
  justify-content: center;
  padding-top: clamp(1.25rem, 2.5vh, 1.75rem);
  padding-bottom: clamp(1.25rem, 2.5vh, 1.75rem);
}

#where-it-runs > .site-container,
#how-you-start > .site-container {
  flex: 0 0 auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin-block: 0;
}

#where-it-runs .eyebrow,
#how-you-start .eyebrow {
  flex: 0 0 auto;
  margin-bottom: clamp(1.75rem, 2.25rem, 2.375rem);
}

#where-it-runs .run-model {
  flex: 0 0 auto;
  margin-bottom: clamp(2.5rem, 3.25rem, 3.75rem);
}

#where-it-runs .op-loop,
#where-it-runs .op-loop--where {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-top: 0;
  padding-top: 0;
}

#how-you-start .start-steps {
  flex: 0 0 auto;
  width: 100%;
}

#how-you-start .start-close {
  flex: 0 0 auto;
  margin-top: clamp(2.5rem, 3.25rem, 3.625rem);
  padding-top: 0;
}

#how-you-start .start-note {
  flex: 0 0 auto;
  margin-top: clamp(0.75rem, 0.875rem, 1rem);
}

@media (max-width: 767px) {
  #where-it-runs .eyebrow,
  #how-you-start .eyebrow {
    margin-bottom: clamp(1.35rem, 1.5rem, 1.65rem);
  }

  #where-it-runs .run-model {
    margin-bottom: clamp(1.75rem, 2rem, 2.25rem);
  }

  #how-you-start .start-close {
    margin-top: clamp(1.75rem, 2rem, 2.25rem);
  }

  #how-you-start .start-note {
    margin-top: clamp(0.65rem, 0.75rem, 0.875rem);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #where-it-runs .eyebrow,
  #how-you-start .eyebrow {
    margin-bottom: clamp(2rem, 2.25rem, 2.375rem);
  }

  #where-it-runs .run-model {
    margin-bottom: clamp(3rem, 3.5rem, 4rem);
  }

  #how-you-start .start-close {
    margin-top: clamp(3rem, 3.5rem, 4rem);
  }
}

@media (min-width: 1024px) {
  #where-it-runs .eyebrow,
  #how-you-start .eyebrow {
    margin-bottom: clamp(2.25rem, 2.5rem, 3rem);
  }

  #where-it-runs .run-model {
    margin-bottom: clamp(3.5rem, 4rem, 5rem);
  }

  #how-you-start .start-close {
    margin-top: clamp(3.5rem, 4rem, 4.5rem);
  }

  #how-you-start .start-note {
    margin-top: clamp(0.75rem, 1rem, 1.25rem);
  }
}

/* =========================================================
   K4-WEB-MOBILE-UX-1 — Whole-site mobile audit remediation
   Mobile-only overrides (max-width: 767px). Desktop frozen at 1024px+.
   ========================================================= */

@media (max-width: 767px) {
  :root {
    --website-mobile-gutter: 1.25rem;
  }

  .website-body {
    overflow-x: clip;
  }

  .site-container,
  .site-container--wide,
  .site-container--narrow,
  #where-it-runs > .site-container,
  #how-you-start > .site-container,
  #pricing > .site-container,
  #faq > .site-container,
  .living-demo-section .site-container--wide {
    width: min(100% - (var(--website-mobile-gutter) * 2), 100%);
    max-width: 100%;
  }

  /* ——— Hero: atmosphere + hierarchy ——— */
  .hero.hero--living.hero--slim {
    padding: 1.35rem 0 1.65rem;
    overflow-x: clip;
  }

  .hero.hero--living.hero--slim::before,
  .hero.hero--living.hero--slim::after {
    min-width: 0;
    min-height: 0;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
  }

  .hero.hero--living.hero--slim h1,
  .hero--living h1,
  .hero--slim h1 {
    font-size: clamp(1.65rem, 6.8vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__support,
  .hero--living .hero__support,
  .hero--slim .hero__support {
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: none;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__ctas,
  .hero--living .hero__ctas,
  .hero--slim .hero__ctas {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    width: 100%;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__ctas .btn,
  .hero--living .hero__ctas .btn,
  .hero--slim .hero__ctas .btn {
    flex: none;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    white-space: normal;
  }

  .hero.hero--living.hero--slim .hero-compose__main .hero__scale,
  .hero__scale {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    line-height: 1.45;
  }

  .hero-compose {
    gap: 0.85rem;
  }

  .hero-compose__aside {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
  }

  .hero-spec {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .hero-spec__block {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  }

  .hero-spec__block:nth-child(n + 3) {
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    padding-bottom: 0.65rem;
  }

  .hero-spec__block--last {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-spec__label,
  .hero-spec__climax {
    margin: 0 0 0.28rem;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
    align-items: flex-start;
  }

  .hero-spec__icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 0.05rem;
  }

  .hero-spec__icon svg {
    width: 20px;
    height: 20px;
  }

  .hero-spec__value,
  .hero-spec__climax-support {
    padding-left: 1.65rem;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .hero-spec__climax-support {
    margin-top: 0.25rem;
  }

  .hero.hero--living.hero--slim .hero__trust {
    margin: 0.85rem var(--website-mobile-gutter) 0;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  /* ——— Product demo: responsive frame ——— */
  .living-demo-section {
    overflow-x: clip;
    padding: 1.35rem 0 2rem;
  }

  .living-demo-wrap,
  .living-demo {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .living-demo {
    min-height: auto;
    overflow: hidden;
  }

  .living-demo__title {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
    margin-bottom: 0.75rem;
  }

  .living-demo__chrome {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.55rem 0.65rem;
    padding: 0.55rem 0.75rem;
  }

  .living-demo__brand {
    flex: 0 0 auto;
  }

  .living-demo__meta {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.65rem;
    width: 100%;
    min-width: 0;
  }

  .living-demo__meta div {
    min-width: 0;
  }

  .living-demo__meta dt {
    font-size: 0.5625rem;
    letter-spacing: 0.05em;
  }

  .living-demo__meta dd {
    font-size: 0.75rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
  }

  .living-demo__scenarios {
    overflow-x: clip;
    padding: 0.45rem 0.75rem 0.1rem;
  }

  .living-demo__pills {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .living-demo__stage {
    min-height: 14rem;
    max-height: none;
    overflow-x: auto;
    overflow-y: auto;
    padding: 0.2rem 0.75rem 0.65rem;
  }

  .living-demo__prompt-row {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .living-demo__demo-controls {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* ——— Sections, cards, finale CTA ——— */
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
  }

  .cta-band__actions .btn {
    width: 100%;
    min-height: 44px;
  }

  #pricing .pricing-shell {
    overflow: hidden;
  }

  #pricing .pricing-shell .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #pricing .price-card .btn {
    min-height: 44px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* =========================================================
   K4-WEB-MOBILE-UX-2 — Mobile hero density polish
   Compact 2x2 support grid; desktop copy preserved via spans.
   ========================================================= */

.hero-spec__text--mobile {
  display: none;
}

@media (max-width: 767px) {
  .hero-spec__text--desktop {
    display: none;
  }

  .hero-spec__text--mobile {
    display: inline;
  }

  .hero-compose__aside {
    margin-top: 0.45rem;
    padding-top: 0.7rem;
  }

  .hero-spec {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.125rem;
  }

  .hero-spec__block {
    padding: 0;
    border-bottom: 0;
    min-width: 0;
  }

  .hero-spec__block:nth-child(n + 3) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-spec__label,
  .hero-spec__climax {
    margin: 0 0 0.32rem;
    gap: 0.42rem;
    font-size: 0.6875rem;
    letter-spacing: 0.055em;
    line-height: 1.25;
    align-items: center;
  }

  .hero-spec__icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 0;
  }

  .hero-spec__icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-spec__value,
  .hero-spec__climax-support {
    padding-left: 0;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.42;
  }

  .hero-spec__block--last .hero-spec__climax {
    margin-bottom: 0.32rem;
  }

  .hero-spec__block--last .hero-spec__climax-support {
    margin-top: 0;
  }

  .hero.hero--living.hero--slim {
    padding-bottom: 1.15rem;
  }

  .hero.hero--living.hero--slim .hero__trust {
    margin-top: 0.7rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(17, 24, 39, 0.07);
    width: calc(100% - (var(--website-mobile-gutter) * 2));
  }

  .living-demo-section {
    padding-top: 1.1rem;
  }
}

