body.theme-saas {
  --saas-topbar-height: 96px;
  --saas-topbar-offset: calc(var(--saas-topbar-height) + env(safe-area-inset-top, 0px));
  --saas-bg: #f6f8fc;
  --saas-bg-secondary: #eef2f8;
  --saas-surface: rgba(255, 255, 255, 0.78);
  --saas-surface-strong: #ffffff;
  --saas-surface-muted: rgba(247, 249, 252, 0.94);
  --saas-panel: #0d1324;
  --saas-panel-muted: rgba(15, 23, 42, 0.72);
  --saas-line: rgba(15, 23, 42, 0.08);
  --saas-line-strong: rgba(15, 23, 42, 0.16);
  --saas-text: #0f172a;
  --saas-muted: #5a6578;
  --saas-muted-strong: #3a4658;
  --saas-accent: #3767ff;
  --saas-accent-strong: #2345b7;
  --saas-accent-soft: rgba(55, 103, 255, 0.12);
  --saas-cyan: #63d8ff;
  --saas-green: #0f9f7a;
  --saas-shadow: 0 24px 72px rgba(15, 23, 42, 0.08);
  --saas-shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.06);
  --saas-radius-xl: 32px;
  --saas-radius-lg: 24px;
  --saas-radius-md: 18px;
  --saas-radius-sm: 14px;
  min-height: 100vh;
  color: var(--saas-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(99, 216, 255, 0.16), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(55, 103, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, var(--saas-bg) 28%, var(--saas-bg-secondary) 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.theme-saas::before {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.84), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(55, 103, 255, 0.08), transparent 22%),
    radial-gradient(circle at 20% 74%, rgba(99, 216, 255, 0.08), transparent 18%);
  opacity: 1;
}

body.theme-saas.has-detached-topbar::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--saas-topbar-offset) + 24px);
  z-index: 118;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 250, 253, 1) 0%, rgba(246, 248, 252, 0.98) 74%, rgba(246, 248, 252, 0) 100%);
}

body.theme-saas.has-tech-background .site-tech-background {
  display: none !important;
}

body.theme-saas .shell {
  padding: calc(var(--saas-topbar-offset) + 28px) 20px 56px;
}

body.theme-saas .container {
  width: min(100%, 1240px);
  max-width: 1240px;
}

body.theme-saas .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  width: 100%;
  margin-bottom: 0;
  padding:
    calc(env(safe-area-inset-top, 0px) + 14px)
    max(20px, calc((100vw - 1240px) / 2 + 20px))
    14px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.99), rgba(247, 249, 252, 0.99));
  box-shadow:
    0 16px 36px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
  backdrop-filter: none;
  overflow: hidden;
  transform: none !important;
}

body.theme-saas .saas-hero,
body.theme-saas .saas-section,
body.theme-saas .cta-band,
body.theme-saas .page-hero,
body.theme-saas .page-stack > section {
  scroll-margin-top: calc(var(--saas-topbar-offset) + 24px);
}

body.theme-saas .brand {
  gap: 12px;
  text-decoration: none;
}

body.theme-saas .brand-mark {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(55, 103, 255, 0.12), rgba(99, 216, 255, 0.08));
  box-shadow: 0 10px 28px rgba(55, 103, 255, 0.12);
}

body.theme-saas .brand-copy strong {
  color: var(--saas-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.94rem;
  letter-spacing: -0.03em;
}

body.theme-saas .brand-copy span,
body.theme-saas .topnav a,
body.theme-saas .lang-link {
  color: var(--saas-muted);
}

body.theme-saas .topnav {
  gap: 16px;
}

body.theme-saas .topnav a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

body.theme-saas .topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--saas-accent), var(--saas-cyan));
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

body.theme-saas .topnav a:hover::after,
body.theme-saas .topnav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

body.theme-saas .topnav a:hover,
body.theme-saas .topnav a:focus-visible,
body.theme-saas .lang-link:hover,
body.theme-saas .lang-link:focus-visible {
  color: var(--saas-text);
}

body.theme-saas .lang-switch {
  border-color: var(--saas-line);
  background: rgba(247, 249, 252, 0.9);
}

body.theme-saas .lang-link.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--saas-accent) 0%, var(--saas-accent-strong) 100%);
  box-shadow: 0 12px 24px rgba(55, 103, 255, 0.18);
}

body.theme-saas h1,
body.theme-saas h2,
body.theme-saas h3,
body.theme-saas h4 {
  color: var(--saas-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

body.theme-saas p,
body.theme-saas li {
  color: var(--saas-muted);
}

body.theme-saas .button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--saas-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--saas-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
}

body.theme-saas .button:hover,
body.theme-saas .button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--saas-line-strong);
  background: rgba(255, 255, 255, 0.96);
}

body.theme-saas .button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--saas-accent) 0%, var(--saas-accent-strong) 72%, #172554 100%);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(55, 103, 255, 0.24);
}

body.theme-saas .button.secondary {
  background: rgba(255, 255, 255, 0.56);
}

body.theme-saas .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--saas-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.theme-saas .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--saas-accent), transparent);
}

body.theme-saas .micro-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

body.theme-saas .micro-pill,
body.theme-saas .hero-proofline span,
body.theme-saas .saas-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--saas-muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

body.theme-saas .lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
}

body.theme-saas .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

body.theme-saas .section-copy {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.72;
}

body.theme-saas .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

body.theme-saas .section-head h2 {
  max-width: 15ch;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.02;
}

body.theme-saas .saas-section {
  margin-top: 88px;
}

body.theme-saas .saas-card,
body.theme-saas .surface {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--saas-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74)),
    linear-gradient(180deg, rgba(55, 103, 255, 0.04), transparent);
  box-shadow: var(--saas-shadow-soft);
  backdrop-filter: blur(16px);
}

body.theme-saas .saas-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  gap: 28px;
  align-items: stretch;
}

body.theme-saas .saas-hero-copy {
  padding: 36px 0 18px;
}

body.theme-saas .saas-title {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 5.6vw, 4.8rem);
  line-height: 0.94;
}

body.theme-saas .saas-title span {
  display: block;
}

body.theme-saas .saas-title-accent {
  color: #2b4bc7;
}

body.theme-saas .saas-title + .lead {
  margin-top: 18px;
}

body.theme-saas .hero-proofline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.theme-saas .hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

body.theme-saas .hero-metric-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--saas-radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--saas-shadow-soft);
}

body.theme-saas .hero-metric-card strong {
  display: block;
  color: var(--saas-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 0.94;
}

body.theme-saas .hero-metric-card span {
  display: block;
  margin-top: 10px;
  color: var(--saas-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-saas .hero-surface {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  max-width: 468px;
  margin-left: auto;
  padding: 16px;
  overflow: hidden;
}

body.theme-saas .hero-surface::before {
  content: "";
  position: absolute;
  inset: -30% auto auto 40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 216, 255, 0.24), transparent 70%);
  filter: blur(12px);
}

body.theme-saas .hero-surface::after {
  content: "";
  position: absolute;
  inset: auto auto 0 -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 103, 255, 0.16), transparent 72%);
  filter: blur(18px);
}

body.theme-saas .hero-art {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: center;
  max-width: 468px;
  min-height: 100%;
  margin-left: auto;
  padding: 12px 0;
}

body.theme-saas .hero-art-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  pointer-events: none;
}

body.theme-saas .hero-art-glow--one {
  inset: 8% auto auto 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(99, 216, 255, 0.28), transparent 72%);
}

body.theme-saas .hero-art-glow--two {
  inset: auto 6% 6% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(55, 103, 255, 0.2), transparent 72%);
}

body.theme-saas .hero-art-shell {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 390px;
}

body.theme-saas .hero-art-poster {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.98));
  box-shadow:
    0 28px 64px rgba(7, 14, 28, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.94) inset;
  animation: heroCardFloat 7.2s ease-in-out infinite;
  overflow: hidden;
}

body.theme-saas .hero-art-poster::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border-radius: 18px;
  background:
    linear-gradient(115deg, transparent 16%, rgba(255, 255, 255, 0.76) 38%, transparent 58%),
    radial-gradient(circle at 22% 24%, rgba(99, 216, 255, 0.16), transparent 32%),
    radial-gradient(circle at 62% 76%, rgba(15, 159, 122, 0.12), transparent 34%);
  opacity: 0;
  mix-blend-mode: screen;
  transform: translateX(-70%);
  animation: heroPosterContainedSheen 6.8s ease-in-out infinite;
  pointer-events: none;
}

body.theme-saas .hero-art-poster img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #ffffff;
  animation: heroPosterImageTone 9s ease-in-out infinite;
}

body.theme-saas .hero-surface-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.theme-saas .hero-surface-kicker,
body.theme-saas .hero-surface-status {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-saas .hero-surface-kicker {
  color: var(--saas-text);
}

body.theme-saas .hero-surface-status {
  color: var(--saas-green);
}

body.theme-saas .hero-stage {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.84));
  box-shadow: 0 34px 64px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

body.theme-saas .hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.16), transparent 24%),
    radial-gradient(circle at bottom left, rgba(55, 103, 255, 0.12), transparent 32%);
}

body.theme-saas .hero-window {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
  z-index: 1;
}

body.theme-saas .hero-window-toolbar {
  display: flex;
  gap: 8px;
  padding: 2px 4px 4px;
}

body.theme-saas .hero-window-toolbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
}

body.theme-saas .hero-preview-shell {
  position: relative;
  z-index: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.86));
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

body.theme-saas .hero-preview-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.14), transparent 26%);
}

body.theme-saas .hero-preview-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 2px 4px 0;
}

body.theme-saas .hero-preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--saas-green);
  box-shadow: 0 0 0 6px rgba(15, 159, 122, 0.14);
}

body.theme-saas .hero-preview-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
}

body.theme-saas .hero-device {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

body.theme-saas .hero-device img {
  display: block;
  width: 100%;
  height: auto;
}

body.theme-saas .hero-device--single {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  border-radius: 22px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.98));
  box-shadow:
    0 24px 54px rgba(7, 14, 28, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  animation: heroCardFloat 7.2s ease-in-out infinite;
}

body.theme-saas .hero-device--single::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.84) 42%, transparent 66%);
  transform: translateX(-130%);
  animation: heroCardSheen 5.8s ease-in-out infinite;
  pointer-events: none;
}

body.theme-saas .hero-device--single img {
  border-radius: 18px;
  background: #ffffff;
}

body.theme-saas .hero-store-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

body.theme-saas .store-button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 255, 0.88));
  color: var(--saas-text);
  text-align: left;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  cursor: default;
}

body.theme-saas .store-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(55, 103, 255, 0.1);
  color: var(--saas-accent-strong);
  flex-shrink: 0;
}

body.theme-saas .store-button-icon svg {
  width: 18px;
  height: 18px;
}

body.theme-saas .store-button-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.theme-saas .store-button-kicker {
  color: var(--saas-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-saas .store-button strong {
  display: block;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.9rem;
  line-height: 1.15;
}

body.theme-saas .hero-signal-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

body.theme-saas .hero-signal-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

body.theme-saas .hero-signal-row span {
  display: block;
  color: var(--saas-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-saas .hero-signal-row strong {
  display: block;
  color: var(--saas-text);
  font-size: 0.86rem;
  line-height: 1.32;
}

body.theme-saas .hero-device--primary {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  align-self: end;
  width: min(72%, 320px);
  margin-top: 16px;
  transform: rotate(-8deg);
  z-index: 1;
}

body.theme-saas .hero-device--secondary {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: start;
  width: min(64%, 286px);
  margin-top: 28px;
  z-index: 2;
}

body.theme-saas .hero-note-stack {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  padding-bottom: 4px;
}

body.theme-saas .hero-note {
  padding: 14px 16px;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

body.theme-saas .hero-note span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-saas .hero-note strong {
  display: block;
  margin-top: 6px;
  color: #f8fbff;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.theme-saas .hero-detail-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

body.theme-saas .hero-detail-card {
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

body.theme-saas .hero-detail-card span {
  display: block;
  color: var(--saas-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-saas .hero-detail-card strong {
  display: block;
  margin-top: 6px;
  color: var(--saas-text);
  font-size: 0.84rem;
  line-height: 1.28;
}

@keyframes heroCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroCardSheen {
  0%,
  18% {
    transform: translateX(-130%);
    opacity: 0;
  }

  30% {
    opacity: 0.95;
  }

  58% {
    transform: translateX(130%);
    opacity: 0.3;
  }

  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes heroPosterInternalGlow {
  0%,
  100% {
    opacity: 0.34;
    filter: saturate(1);
  }

  38% {
    opacity: 0.58;
    filter: saturate(1.18);
  }

  68% {
    opacity: 0.42;
    filter: saturate(1.08);
  }
}

@keyframes heroPosterContainedSheen {
  0%,
  20% {
    opacity: 0;
    transform: translateX(-70%);
  }

  38% {
    opacity: 0.72;
  }

  62% {
    opacity: 0.22;
    transform: translateX(70%);
  }

  100% {
    opacity: 0;
    transform: translateX(70%);
  }
}

@keyframes heroPosterImageTone {
  0%,
  100% {
    filter: saturate(1) contrast(1);
  }

  50% {
    filter: saturate(1.04) contrast(1.015);
  }
}

body.theme-saas .proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .proof-card {
  padding: 22px;
}

body.theme-saas .proof-value {
  display: block;
  color: var(--saas-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 0.94;
}

body.theme-saas .proof-card h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  line-height: 1.1;
}

body.theme-saas .proof-card p {
  margin: 12px 0 0;
  line-height: 1.7;
}

body.theme-saas .proof-card--quote {
  grid-column: span 2;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(17, 24, 39, 0.88)),
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.16), transparent 24%);
}

body.theme-saas .proof-card--quote h3,
body.theme-saas .proof-card--quote p,
body.theme-saas .proof-card--quote strong,
body.theme-saas .proof-card--quote span {
  color: #f8fbff;
}

body.theme-saas .proof-quote {
  font-size: 1.06rem;
  line-height: 1.8;
}

body.theme-saas .proof-quote-footer {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

body.theme-saas .proof-quote-footer strong {
  font-size: 0.9rem;
}

body.theme-saas .proof-quote-footer span {
  color: rgba(248, 251, 255, 0.66);
  font-size: 0.76rem;
}

body.theme-saas .experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 16px;
}

body.theme-saas .experience-copy {
  padding: 26px;
}

body.theme-saas .experience-copy > .eyebrow {
  gap: 6px;
  margin-bottom: 10px;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

body.theme-saas .experience-copy > .eyebrow::before {
  width: 16px;
}

body.theme-saas .experience-copy h3 {
  max-width: 14ch;
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.06;
}

body.theme-saas .experience-copy p {
  margin: 16px 0 0;
  font-size: 0.95rem;
  line-height: 1.78;
}

body.theme-saas .experience-showcase {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  padding: 16px;
}

body.theme-saas .experience-window {
  position: relative;
  min-height: 430px;
  padding: 0;
  border-radius: var(--saas-radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(18, 29, 56, 0.92));
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
}

body.theme-saas .experience-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.16), transparent 26%),
    radial-gradient(circle at bottom left, rgba(55, 103, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

body.theme-saas .experience-window::after {
  content: "";
  position: absolute;
  inset: -32%;
  z-index: 12;
  background: linear-gradient(112deg, transparent 34%, rgba(255, 255, 255, 0.22) 46%, transparent 58%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-38%) rotate(9deg);
  animation: experienceWindowSweep 8.5s ease-in-out infinite;
  pointer-events: none;
}

body.theme-saas .experience-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-style: preserve-3d;
}

body.theme-saas .experience-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(43%, 222px);
  max-width: calc(100% - 56px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%) rotate(-2deg) scale(1);
  transform-origin: center;
  will-change: transform, opacity, filter;
  animation: experienceDeckCycle 24s cubic-bezier(0.72, 0, 0.18, 1) infinite;
}

body.theme-saas .experience-preview img {
  display: block;
  width: 100%;
  height: auto;
}

body.theme-saas .experience-preview--one {
  z-index: 6;
  opacity: 1;
  animation-delay: 0s;
}

body.theme-saas .experience-preview--two {
  z-index: 5;
  opacity: 0.82;
  transform: translate(-14%, -54%) rotate(5deg) scale(0.82);
  animation-delay: -4s;
}

body.theme-saas .experience-preview--three {
  z-index: 3;
  opacity: 0.48;
  transform: translate(-2%, -48%) rotate(9deg) scale(0.68);
  animation-delay: -8s;
}

body.theme-saas .experience-preview--four {
  z-index: 1;
  opacity: 0.28;
  transform: translate(-50%, -45%) rotate(0deg) scale(0.6);
  animation-delay: -12s;
}

body.theme-saas .experience-preview--five {
  z-index: 2;
  opacity: 0.48;
  transform: translate(-98%, -48%) rotate(-9deg) scale(0.68);
  animation-delay: -16s;
}

body.theme-saas .experience-preview--six {
  z-index: 4;
  opacity: 0.82;
  transform: translate(-86%, -54%) rotate(-5deg) scale(0.82);
  animation-delay: -20s;
}

@keyframes experienceDeckCycle {
  0%,
  10% {
    z-index: 6;
    opacity: 1;
    filter: saturate(1.05) contrast(1.02);
    transform: translate(-50%, -50%) translateZ(110px) rotate(-2deg) scale(1);
  }

  16%,
  27% {
    z-index: 5;
    opacity: 0.82;
    filter: saturate(0.96) contrast(0.98);
    transform: translate(-14%, -54%) translateZ(40px) rotate(5deg) scale(0.82);
  }

  33%,
  44% {
    z-index: 3;
    opacity: 0.48;
    filter: saturate(0.8) contrast(0.9);
    transform: translate(-2%, -48%) translateZ(-100px) rotate(9deg) scale(0.68);
  }

  50%,
  60% {
    z-index: 1;
    opacity: 0.28;
    filter: saturate(0.72) contrast(0.86);
    transform: translate(-50%, -45%) translateZ(-180px) rotate(0deg) scale(0.6);
  }

  66%,
  77% {
    z-index: 2;
    opacity: 0.48;
    filter: saturate(0.8) contrast(0.9);
    transform: translate(-98%, -48%) translateZ(-100px) rotate(-9deg) scale(0.68);
  }

  83%,
  94% {
    z-index: 4;
    opacity: 0.82;
    filter: saturate(0.96) contrast(0.98);
    transform: translate(-86%, -54%) translateZ(40px) rotate(-5deg) scale(0.82);
  }

  100% {
    z-index: 6;
    opacity: 1;
    filter: saturate(1.05) contrast(1.02);
    transform: translate(-50%, -50%) translateZ(110px) rotate(-2deg) scale(1);
  }
}

@keyframes experienceWindowSweep {
  0%,
  22% {
    opacity: 0;
    transform: translateX(-38%) rotate(9deg);
  }

  44% {
    opacity: 0.72;
  }

  68% {
    opacity: 0.08;
    transform: translateX(38%) rotate(9deg);
  }

  100% {
    opacity: 0;
    transform: translateX(38%) rotate(9deg);
  }
}

body.theme-saas .feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .feature-card {
  padding: 22px;
}

body.theme-saas .feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--saas-accent-soft);
  color: var(--saas-accent);
  box-shadow: inset 0 0 0 1px rgba(55, 103, 255, 0.1);
}

body.theme-saas .feature-icon svg {
  width: 22px;
  height: 22px;
}

body.theme-saas .feature-card h3 {
  margin-top: 18px;
  font-size: 1.08rem;
}

body.theme-saas .site-link-card h3 {
  margin-top: 0;
}

body.theme-saas .site-link-card h3 a {
  color: inherit;
  text-decoration: none;
}

body.theme-saas .site-link-card h3 a:hover,
body.theme-saas .site-link-card h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.theme-saas .feature-card p {
  margin: 12px 0 0;
  line-height: 1.72;
}

body.theme-saas .workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .workflow-card {
  padding: 22px;
}

body.theme-saas .workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--saas-accent), var(--saas-accent-strong));
  color: #ffffff;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
}

body.theme-saas .workflow-card h3 {
  margin-top: 18px;
  font-size: 1.04rem;
}

body.theme-saas .workflow-card p {
  margin: 12px 0 0;
  line-height: 1.72;
}

body.theme-saas .compare-shell {
  padding: 24px;
}

body.theme-saas .compare-table {
  overflow: hidden;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius-md);
  background: rgba(255, 255, 255, 0.56);
}

body.theme-saas .compare-header,
body.theme-saas .compare-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
}

body.theme-saas .compare-header {
  background: rgba(15, 23, 42, 0.03);
}

body.theme-saas .compare-header span,
body.theme-saas .compare-row span {
  padding: 18px 20px;
  border-right: 1px solid var(--saas-line);
}

body.theme-saas .compare-header span:last-child,
body.theme-saas .compare-row span:last-child {
  border-right: 0;
}

body.theme-saas .compare-header span {
  color: var(--saas-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-saas .compare-row {
  border-top: 1px solid var(--saas-line);
}

body.theme-saas .compare-row span {
  color: var(--saas-muted-strong);
  font-size: 0.84rem;
  line-height: 1.72;
}

body.theme-saas .compare-row strong {
  color: var(--saas-text);
}

body.theme-saas .compare-row--highlight {
  background: linear-gradient(90deg, rgba(55, 103, 255, 0.05), rgba(99, 216, 255, 0.06));
}

body.theme-saas .cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  margin-top: 96px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--saas-radius-xl);
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.96), rgba(11, 17, 32, 0.88)),
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.18), transparent 24%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

body.theme-saas .cta-band .eyebrow,
body.theme-saas .cta-band h2,
body.theme-saas .cta-band p,
body.theme-saas .cta-band strong,
body.theme-saas .cta-band span {
  color: #f8fbff;
}

body.theme-saas .cta-band .eyebrow::before {
  background: linear-gradient(90deg, rgba(99, 216, 255, 0.86), transparent);
}

body.theme-saas .cta-band h2 {
  max-width: 13ch;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.02;
}

body.theme-saas .cta-band p {
  max-width: 56ch;
  margin: 16px 0 0;
  color: rgba(248, 251, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.78;
}

body.theme-saas .cta-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-content: center;
  align-items: center;
  margin: 0;
}

body.theme-saas .cta-meta-item {
  display: grid;
  gap: 5px;
  min-width: 132px;
}

body.theme-saas .cta-meta dt,
body.theme-saas .cta-meta dd {
  margin: 0;
}

body.theme-saas .cta-meta dt {
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.theme-saas .cta-meta strong,
body.theme-saas .cta-meta a {
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

body.theme-saas .cta-meta-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.theme-saas .cta-meta-flag img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.24);
}

body.theme-saas .product-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

body.theme-saas .product-proof-card {
  padding: 18px;
}

body.theme-saas .product-proof-card strong {
  display: block;
  color: var(--saas-text);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.18rem;
}

body.theme-saas .product-proof-card span {
  display: block;
  margin-top: 8px;
  color: var(--saas-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

body.theme-saas .story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .story-card {
  padding: 18px;
}

body.theme-saas .story-visual {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 19, 36, 0.98), rgba(13, 19, 36, 0.82));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.theme-saas .story-visual img {
  width: 100%;
  height: auto;
}

body.theme-saas .story-card h3 {
  margin-top: 16px;
  font-size: 1rem;
}

body.theme-saas .story-card p {
  margin: 10px 0 0;
  line-height: 1.72;
}

body.theme-saas .story-list {
  display: grid;
  gap: 10px;
}

body.theme-saas .story-list-item {
  padding: 14px 16px;
  border: 1px solid var(--saas-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

body.theme-saas .story-list-item strong {
  display: block;
  color: var(--saas-text);
  font-size: 0.9rem;
}

body.theme-saas .story-list-item span {
  display: block;
  margin-top: 4px;
  color: var(--saas-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

body.theme-saas .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .faq-card {
  padding: 22px;
}

body.theme-saas .faq-card h3 {
  font-size: 1rem;
}

body.theme-saas .faq-card p {
  margin: 12px 0 0;
  line-height: 1.72;
}

body.theme-saas .link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.theme-saas .link-card {
  display: block;
  padding: 20px;
  text-decoration: none;
}

body.theme-saas .link-card:hover,
body.theme-saas .link-card:focus-visible {
  transform: translateY(-2px);
}

body.theme-saas .link-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--saas-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.theme-saas .link-card h3 {
  margin-top: 14px;
  font-size: 1rem;
}

body.theme-saas .link-card p {
  margin: 10px 0 0;
  line-height: 1.72;
}

body.theme-saas .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--saas-muted);
}

body.theme-saas .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

body.theme-saas .footer-links a {
  color: var(--saas-muted);
  text-decoration: none;
}

body.theme-saas .footer-links a:hover,
body.theme-saas .footer-links a:focus-visible {
  color: var(--saas-text);
}

body.theme-saas.theme-legal .page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 16px;
}

body.theme-saas.theme-legal .page-copy,
body.theme-saas.theme-legal .page-aside,
body.theme-saas.theme-legal .support-form-surface,
body.theme-saas.theme-legal .prose {
  padding: 24px;
}

body.theme-saas.theme-legal .page-copy h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
}

body.theme-saas.theme-legal .page-aside {
  background:
    linear-gradient(180deg, rgba(13, 19, 36, 0.98), rgba(13, 19, 36, 0.9)),
    radial-gradient(circle at top right, rgba(99, 216, 255, 0.14), transparent 24%);
}

body.theme-saas.theme-legal .page-aside,
body.theme-saas.theme-legal .page-aside h3,
body.theme-saas.theme-legal .page-aside p,
body.theme-saas.theme-legal .page-aside strong,
body.theme-saas.theme-legal .page-aside span {
  color: #f8fbff;
}

body.theme-saas.theme-legal .page-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

body.theme-saas.theme-legal .support-form-head h2,
body.theme-saas.theme-legal .prose h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

body.theme-saas.theme-legal .meta-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

body.theme-saas.theme-legal .meta-row,
body.theme-saas.theme-legal .country-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--saas-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

body.theme-saas.theme-legal .page-aside .meta-row,
body.theme-saas.theme-legal .page-aside .country-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body.theme-saas.theme-legal .support-form,
body.theme-saas.theme-legal .field-grid {
  display: grid;
  gap: 14px;
}

body.theme-saas.theme-legal .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.theme-saas.theme-legal .field {
  display: grid;
  gap: 8px;
}

body.theme-saas.theme-legal .field span {
  color: var(--saas-muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
}

body.theme-saas.theme-legal .field--full {
  grid-column: 1 / -1;
}

body.theme-saas.theme-legal .field input,
body.theme-saas.theme-legal .field select,
body.theme-saas.theme-legal .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--saas-line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--saas-text);
  font: inherit;
}

body.theme-saas.theme-legal .field textarea {
  min-height: 168px;
  padding: 14px;
  resize: vertical;
}

body.theme-saas.theme-legal .field input:focus,
body.theme-saas.theme-legal .field select:focus,
body.theme-saas.theme-legal .field textarea:focus {
  border-color: rgba(55, 103, 255, 0.38);
  outline: none;
  box-shadow: 0 0 0 4px rgba(55, 103, 255, 0.12);
}

body.theme-saas.theme-legal .support-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.theme-saas.theme-legal .form-note,
body.theme-saas.theme-legal .form-status {
  margin: 0;
}

body.theme-saas.theme-legal .prose ul,
body.theme-saas.theme-legal .prose ol {
  margin-top: 16px;
}

body.theme-saas.theme-legal .prose li + li {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  body.theme-saas .saas-hero,
  body.theme-saas .experience-grid,
  body.theme-saas .cta-band,
  body.theme-saas.theme-legal .page-hero {
    grid-template-columns: 1fr;
  }

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

  body.theme-saas .proof-card--quote {
    grid-column: span 2;
  }

  body.theme-saas .feature-grid,
  body.theme-saas .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-saas .story-grid,
  body.theme-saas .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body.theme-saas {
    --saas-topbar-height: 150px;
  }

  body.theme-saas .topbar {
    padding: 14px;
    padding:
      calc(env(safe-area-inset-top, 0px) + 14px)
      14px
      14px;
    border-radius: 0 0 24px 24px;
  }

  body.theme-saas .topbar,
  body.theme-saas .topbar-actions,
  body.theme-saas .topnav {
    align-items: flex-start;
  }

  body.theme-saas .topbar,
  body.theme-saas .topbar-actions {
    flex-direction: column;
  }

  body.theme-saas .hero-art {
    max-width: none;
    margin-left: 0;
  }

  body.theme-saas .hero-art-shell {
    min-height: 360px;
  }

  body.theme-saas .hero-window {
    gap: 12px;
  }

  body.theme-saas .hero-note-stack {
    max-width: 236px;
  }

  body.theme-saas .compare-header,
  body.theme-saas .compare-row {
    grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  body.theme-saas .product-proof-grid,
  body.theme-saas .faq-grid,
  body.theme-saas.theme-legal .field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body.theme-saas .shell {
    padding: calc(var(--saas-topbar-offset) + 14px) 14px 48px;
  }

  body.theme-saas .topbar {
    top: 0;
    width: 100%;
    border-radius: 0 0 20px 20px;
  }

  body.theme-saas .topnav {
    gap: 12px;
  }

  body.theme-saas .saas-section {
    margin-top: 64px;
  }

  body.theme-saas .saas-title {
    font-size: clamp(2rem, 10.5vw, 3.2rem);
  }

  body.theme-saas .section-head h2,
  body.theme-saas .cta-band h2,
  body.theme-saas.theme-legal .page-copy h1 {
    max-width: none;
    font-size: clamp(1.5rem, 7vw, 2.3rem);
  }

  body.theme-saas .hero-metrics,
  body.theme-saas .hero-detail-grid,
  body.theme-saas .proof-grid,
  body.theme-saas .feature-grid,
  body.theme-saas .workflow-grid,
  body.theme-saas .story-grid,
  body.theme-saas .link-grid {
    grid-template-columns: 1fr;
  }

  body.theme-saas .proof-card--quote {
    grid-column: span 1;
  }

  body.theme-saas .hero-art-shell {
    min-height: auto;
  }

  body.theme-saas .hero-art-poster {
    width: min(100%, 320px);
  }

  body.theme-saas .hero-stage {
    min-height: 0;
  }

  body.theme-saas .hero-window {
    gap: 12px;
  }

  body.theme-saas .hero-device--single {
    width: min(100%, 360px);
  }

  body.theme-saas .hero-store-links {
    grid-template-columns: 1fr;
  }

  body.theme-saas .hero-device--primary {
    width: min(76%, 248px);
    margin-top: 0;
  }

  body.theme-saas .hero-device--secondary {
    width: min(72%, 226px);
    margin-top: 20px;
  }

  body.theme-saas .hero-note-stack {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    margin-top: 10px;
  }

  body.theme-saas .hero-detail-grid {
    margin-top: 14px;
  }

  body.theme-saas .experience-window {
    min-height: clamp(380px, 72vw, 460px);
  }

  body.theme-saas .experience-preview {
    width: min(52vw, 50%, 188px);
    max-width: calc(100% - 48px);
  }

  body.theme-saas .compare-shell {
    padding: 18px;
    overflow-x: auto;
  }

  body.theme-saas .compare-table {
    min-width: 640px;
  }

  body.theme-saas .cta-band,
  body.theme-saas.theme-legal .page-copy,
  body.theme-saas.theme-legal .page-aside,
  body.theme-saas.theme-legal .support-form-surface,
  body.theme-saas.theme-legal .prose {
    padding: 20px;
  }
}

@media (max-width: 560px) {
  body.theme-saas {
    --saas-topbar-height: 138px;
  }

  body.theme-saas .experience-showcase {
    padding: 12px;
  }

  body.theme-saas .experience-window {
    min-height: clamp(360px, 118vw, 440px);
    border-radius: 24px;
  }

  body.theme-saas .experience-preview {
    width: min(48vw, 50%, 168px);
    border-radius: 20px;
  }
}

@media not all {
  body.theme-saas {
    --saas-bg: #080c16;
    --saas-bg-secondary: #0d1220;
    --saas-surface: rgba(13, 19, 36, 0.78);
    --saas-surface-strong: rgba(13, 19, 36, 0.94);
    --saas-surface-muted: rgba(17, 24, 39, 0.94);
    --saas-panel: #060914;
    --saas-line: rgba(148, 163, 184, 0.16);
    --saas-line-strong: rgba(148, 163, 184, 0.28);
    --saas-text: #f8fbff;
    --saas-muted: #a5b0c1;
    --saas-muted-strong: #d0d8e6;
    --saas-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
    --saas-shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.22);
    background:
      radial-gradient(circle at 0% 0%, rgba(99, 216, 255, 0.16), transparent 24%),
      radial-gradient(circle at 100% 0%, rgba(55, 103, 255, 0.22), transparent 24%),
      linear-gradient(180deg, #060915 0%, #0a0f1a 28%, #10172a 100%);
  }

  body.theme-saas::before {
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 30%),
      radial-gradient(circle at 82% 16%, rgba(55, 103, 255, 0.18), transparent 22%),
      radial-gradient(circle at 20% 74%, rgba(99, 216, 255, 0.12), transparent 18%);
  }

  body.theme-saas.has-detached-topbar::after {
    background: linear-gradient(180deg, rgba(8, 12, 22, 1) 0%, rgba(10, 15, 26, 0.98) 74%, rgba(10, 15, 26, 0) 100%);
  }

  body.theme-saas .topbar {
    border-color: rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(8, 12, 22, 0.99), rgba(12, 18, 31, 0.99));
  }

  body.theme-saas .lang-switch,
  body.theme-saas .micro-pill,
  body.theme-saas .hero-proofline span,
  body.theme-saas .saas-tag,
  body.theme-saas .hero-metric-card,
  body.theme-saas .hero-detail-card,
  body.theme-saas .compare-table,
  body.theme-saas.theme-legal .meta-row,
  body.theme-saas.theme-legal .country-chip,
  body.theme-saas.theme-legal .field input,
  body.theme-saas.theme-legal .field select,
  body.theme-saas.theme-legal .field textarea {
    background: rgba(13, 19, 36, 0.72);
    border-color: rgba(148, 163, 184, 0.16);
  }

  body.theme-saas .button {
    background: rgba(13, 19, 36, 0.74);
    border-color: rgba(148, 163, 184, 0.18);
    color: var(--saas-text);
  }

  body.theme-saas .button.secondary {
    background: rgba(13, 19, 36, 0.6);
  }

  body.theme-saas .button:hover,
  body.theme-saas .button:focus-visible {
    background: rgba(13, 19, 36, 0.92);
  }

  body.theme-saas .saas-card,
  body.theme-saas .surface,
  body.theme-saas .proof-card,
  body.theme-saas .hero-metric-card,
  body.theme-saas .hero-detail-card,
  body.theme-saas .feature-card,
  body.theme-saas .workflow-card,
  body.theme-saas .story-card,
  body.theme-saas .link-card,
  body.theme-saas .faq-card {
    border-color: rgba(148, 163, 184, 0.16);
    background:
      linear-gradient(180deg, rgba(13, 19, 36, 0.84), rgba(13, 19, 36, 0.72)),
      linear-gradient(180deg, rgba(55, 103, 255, 0.08), transparent);
  }

  body.theme-saas .feature-icon {
    background: rgba(55, 103, 255, 0.16);
  }

  body.theme-saas .site-footer {
    border-top-color: rgba(148, 163, 184, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-saas *,
  body.theme-saas *::before,
  body.theme-saas *::after {
    animation: none !important;
    transition: none !important;
  }
}
