:root {
  /* Layout */
  --launch-shell-width: 1280px;

  /* Colors */
  --launch-bg: #1C1F24;
  --launch-bg-elevated: rgba(255, 255, 255, 0.02);
  --launch-bg-panel: rgba(28, 31, 36, 0.84);
  --launch-bg-panel-strong: rgba(28, 31, 36, 0.98);
  --launch-surface: rgba(255, 255, 255, 0.02);
  --launch-surface-soft: rgba(255, 255, 255, 0.04);
  --launch-text: #F1F4FF;
  --launch-text-muted: #B8C4D0;
  --launch-text-soft: #858891;
  --launch-border: rgba(255, 255, 255, 0.05);
  --launch-border-strong: rgba(255, 255, 255, 0.1);
  --launch-accent: #4F46E5;
  --launch-accent-strong: #8DA4EF;
  --launch-accent-soft: rgba(255, 255, 255, 0.1);
  --launch-success: #5fe2b3;

  /* Spacing Scale (8px grid) */
  --launch-space-1: 4px;
  --launch-space-2: 8px;
  --launch-space-3: 12px;
  --launch-space-4: 16px;
  --launch-space-5: 20px;
  --launch-space-6: 24px;
  --launch-space-8: 32px;
  --launch-space-10: 40px;
  --launch-space-12: 48px;
  --launch-space-16: 64px;
  --launch-space-20: 80px;

  /* Semantic Spacing */
  --launch-gap-sm: var(--launch-space-2);
  --launch-gap-md: var(--launch-space-4);
  --launch-gap-lg: var(--launch-space-6);
  --launch-gap-xl: var(--launch-space-8);
  --launch-section-padding: var(--launch-space-16);
  --launch-hero-padding: var(--launch-space-20);
  --launch-card-padding: var(--launch-space-5);
  --launch-card-gap: var(--launch-space-3);

  /* Radius */
  --launch-radius-lg: 8px;
  --launch-radius-md: 6px;
  --launch-radius-sm: 4px;

  /* Typography */
  --launch-font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --launch-hero-heading-size: clamp(2rem, 3.5vw, 3.5rem);
  --launch-section-heading-size: clamp(1.2rem, 1.5vw, 1.8rem);
  --launch-card-heading-size: 1.1rem;
  --launch-preview-heading-size: clamp(1.1rem, 1.3vw, 1.4rem);
  --launch-line-height: 1.55;

  /* Effects */
  --launch-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  --launch-ease: cubic-bezier(0.2, 0.7, 0.22, 1);

  /* Color scheme - informs browser this is a dark-themed site */
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

::selection {
  background: var(--launch-text);
  color: var(--launch-bg);
  text-shadow: none;
}

body.launch-body {
  background: var(--launch-bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(67, 56, 202, 0.15), transparent);
  background-attachment: fixed;
  color: var(--launch-text);
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "cv02" 1; /* Tabular nums and slight legibility tweaks for Geist */
  letter-spacing: -0.01em; /* Dense, technical tracking for body text */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  margin: 0;
  min-height: 100vh;
}

.launch-body img {
  display: block;
  max-width: 100%;
}

main.launch-site {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

/* Override app-global main constraints for the launch layout */
.launch-main {
  max-width: none;
  padding: 0;
}

.launch-shell {
  margin: 0 auto;
  max-width: var(--launch-shell-width);
  width: min(calc(100% - var(--launch-space-16)), var(--launch-shell-width));
}

.launch-site section[id] {
  scroll-margin-top: var(--launch-space-12);
}

.launch-nav,
.launch-footer {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.launch-kicker,
.launch-card__eyebrow,
.launch-section-label {
  color: var(--launch-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0 0 var(--launch-space-4);
  text-transform: uppercase;
}

.launch-button {
  align-items: center;
  border-radius: var(--launch-radius-sm);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 500;
  justify-content: center;
  line-height: 1;
  min-height: var(--launch-space-12);
  padding: 0 var(--launch-space-5);
  text-decoration: none;
  white-space: nowrap;
  user-select: none; /* Rauno: disable text selection on interactive elements */
  transition:
    background 180ms var(--launch-ease),
    border-color 180ms var(--launch-ease),
    box-shadow 180ms var(--launch-ease),
    color 180ms var(--launch-ease),
    transform 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-button:hover {
    transform: translateY(-1px);
  }
}

.launch-button:active {
  transform: translateY(0);
  transition-duration: 50ms;
}

.launch-button:focus-visible,
.launch-workflow-tab:focus-visible,
.launch-nav a:focus-visible,
.launch-card a:focus-visible {
  outline: 2px solid var(--launch-text);
  outline-offset: 2px;
  box-shadow: none;
}

.launch-button--primary {
  background: #4F46E5;
  color: #ffffff;
  border: 1px solid rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 rgba(99, 102, 241, 0);
}

@media (hover: hover) {
  .launch-button--primary:hover {
    background: #5B5FF6;
    border-color: rgba(129, 140, 248, 0.65);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
  }
}

.launch-button--secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(67, 56, 202, 0.15);
  color: var(--launch-text);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

@media (hover: hover) {
  .launch-button--secondary:hover {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(129, 140, 248, 0.3);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    color: var(--launch-text);
  }
}

.launch-pill-row,
.launch-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--launch-gap-md);
  justify-content: center; /* Center them relative to hero copy */
}

.launch-pill-row {
  margin-top: var(--launch-space-3); /* Push away from the CTA buttons */
}

.launch-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(67, 56, 202, 0.15);
  border-radius: var(--launch-radius-sm);
  color: var(--launch-text);
  display: inline-flex;
  font-family: var(--launch-font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  gap: var(--launch-space-2);
  letter-spacing: 0.02em;
  min-height: 28px;
  margin: var(--launch-space-2) 0;
  padding: 0 var(--launch-space-3);
  text-transform: uppercase;
  user-select: none;
  transition: background 180ms var(--launch-ease), border-color 180ms var(--launch-ease);
}

@media (hover: hover) {
  a.launch-pill:hover,
  button.launch-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(79, 70, 229, 0.4);
  }
}

[data-launch-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 280ms var(--launch-ease), transform 280ms var(--launch-ease);
  will-change: opacity, transform;
}

[data-launch-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.launch-nav {
  contain: layout style;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(28, 31, 36, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 240ms var(--launch-ease), border-color 240ms var(--launch-ease);
}

.launch-nav.has-open-menu {
  background: var(--launch-bg);
}

.launch-nav__inner {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 72px;
}

.launch-nav__brand {
  align-items: center;
  color: var(--launch-text);
  display: inline-flex;
  flex-shrink: 0;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
  transition: opacity 180ms var(--launch-ease);
  z-index: 101;
}

@media (hover: hover) {
  .launch-nav__brand:hover,
  .launch-nav__brand:hover .launch-nav__brand-text,
  .launch-nav__brand:hover .launch-nav__brand-mark {
    color: var(--launch-text);
    opacity: 0.9;
  }
}

.launch-nav__brand-mark {
  height: 28px; /* Slightly scaled down to match text optical size */
  width: 35px; /* Explicit width required because SVG has preserveAspectRatio="none" */
}

.launch-nav__brand-text {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1; /* Fixes baseline rendering offset */
  transform: translateY(1px); /* Optically centers text against the logo mark */
}

.launch-nav__links {
  align-items: center;
  display: flex;
  gap: var(--launch-gap-sm);
  justify-content: center;
  justify-self: center;
  max-width: 980px;
  overflow-x: auto;
  padding-bottom: 0;
  scrollbar-width: none;
  width: auto;
}

.launch-nav__links::-webkit-scrollbar {
  display: none;
}

.launch-nav__links a {
  align-items: center;
  color: var(--launch-text-muted);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
  min-height: 34px;
  min-width: 44px;
  justify-content: center;
  padding: 0 var(--launch-space-3);
  position: relative;
  text-decoration: none;
  user-select: none;
  transition: color 180ms var(--launch-ease);
  touch-action: manipulation;
}

@media (hover: hover) {
  .launch-nav__links a:hover {
    color: var(--launch-text);
  }
}

.launch-nav__links a.is-active {
  color: var(--launch-text);
}

.launch-nav__links a.is-active::after {
  background: var(--launch-text);
  border-radius: 0;
  bottom: -7px;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.launch-nav__secondary-link {
  color: var(--launch-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-nav__secondary-link:hover {
    color: var(--launch-text);
  }
}

.launch-nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.launch-nav__cta {
  flex-shrink: 0;
  font-size: 0.85rem;
  min-height: 34px;
  padding: 0 16px;
}

.launch-nav__mobile-toggle {
  background: transparent;
  border: none;
  color: var(--launch-text);
  cursor: pointer;
  display: none;
  height: 48px;
  padding: 0 var(--launch-space-3);
  position: relative;
  width: 48px;
  z-index: 101;
  margin-right: -12px;
}

.launch-nav__mobile-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.launch-nav__mobile-toggle path {
  transition: opacity 240ms var(--launch-ease), transform 240ms var(--launch-ease);
  transform-origin: center;
}

.launch-nav__mobile-toggle[aria-expanded="true"] .launch-nav__icon-menu {
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
}

.launch-nav__mobile-toggle[aria-expanded="true"] .launch-nav__icon-close {
  opacity: 1 !important;
}

.launch-nav__mobile-menu {
  background: var(--launch-bg);
  bottom: 0;
  display: flex;
  flex-direction: column;
  left: 0;
  opacity: 0;
  padding: 12px 16px 24px;
  position: fixed;
  right: 0;
  top: 72px; /* Height of navbar */
  height: calc(100vh - 72px); /* Explicit height to prevent clipping */
  transform: translateY(-8px);
  transition: opacity 240ms var(--launch-ease), transform 240ms var(--launch-ease), visibility 240ms;
  visibility: hidden;
  z-index: 90;
  overflow-y: auto;
}

.launch-nav__mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.launch-nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.launch-nav__mobile-links a {
  border-radius: 8px;
  color: var(--launch-text-muted);
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 12px;
  text-decoration: none;
  transition: background 180ms var(--launch-ease), color 180ms var(--launch-ease);
}

.launch-nav__mobile-links a.is-active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--launch-text);
}

.launch-nav__mobile-footer {
  border-top: 1px solid var(--launch-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
}

.launch-nav__mobile-footer .launch-button {
  width: 100%;
}

.launch-nav__mobile-secondary {
  color: var(--launch-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  padding: 8px 0;
}

.launch-hero,
.launch-page-hero {
  padding: var(--launch-hero-padding) 0 var(--launch-space-16);
  position: relative;
}

.launch-hero::before,
.launch-page-hero::before {
  background-image: linear-gradient(to right, rgba(67, 56, 202, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(67, 56, 202, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  content: '';
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, transparent 80%);
  opacity: 1;
  pointer-events: none;
  position: absolute;
}

.launch-hero__inner,
.launch-page-hero__inner {
  align-items: start;
  display: grid;
  gap: 48px; /* Increased gap */
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.94fr);
  position: relative;
  z-index: 1;
}

.launch-hero__inner {
  gap: 48px; /* Increased gap */
  grid-template-columns: 1fr;
  justify-items: center;
}

.launch-hero h1,
.launch-page-hero h1 {
  font-size: var(--launch-hero-heading-size);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 25ch;
  text-wrap: balance;
  background: linear-gradient(180deg, #F1F4FF 0%, #B8C4D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.launch-hero__lede,
.launch-page-hero__lede,
.launch-section-heading p,
.launch-split__copy p,
.launch-cta-panel__copy p,
.launch-footer__summary p,
.launch-card p {
  color: var(--launch-text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.launch-hero__copy,
.launch-page-hero__copy {
  display: grid;
  gap: 28px; /* Increased to separate headline/text from buttons */
}

.launch-hero__copy {
  justify-items: center;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.launch-page-hero__copy--centered {
  justify-items: center;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}

.launch-hero__panel,
.launch-page-hero__media {
  background: var(--launch-bg-elevated);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-lg);
  overflow: hidden;
}

.launch-hero__panel {
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
}

.launch-page-hero__panel {
  margin: 32px auto 0;
  max-width: 1180px;
  width: 100%;
}

.launch-workflow-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 16px 16px 0;
  width: 100%;
}

.launch-workflow-tab {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--launch-radius-md);
  color: #8a8f98;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 38px;
  padding: 0 var(--launch-space-4);
  user-select: none;
  transition: background 180ms var(--launch-ease), border-color 180ms var(--launch-ease), color 180ms var(--launch-ease), transform 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-workflow-tab:hover:not(.is-active) {
    color: #e2e2e2;
    background: rgba(255, 255, 255, 0.02);
  }
}

.launch-workflow-tab.is-active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(141, 164, 239, 0.3);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.launch-workflow-preview {
  padding: var(--launch-space-5) var(--launch-space-5) var(--launch-space-6);
}

.launch-workflow-preview--single {
  padding: var(--launch-space-5);
}

.launch-workflow-preview__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.launch-workflow-preview__eyebrow,
.launch-workflow-preview__status,
.launch-media-stub__badge {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(28, 31, 36, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 28px;
  padding: 0 var(--launch-space-3);
}

.launch-workflow-preview__status {
  color: rgba(219, 227, 255, 0.8);
}

.launch-workflow-preview__copy {
  align-content: end;
  background: linear-gradient(90deg, rgba(28, 31, 36, 0.98) 0%, rgba(28, 31, 36, 0.85) 30%, rgba(28, 31, 36, 0) 100%);
  bottom: 0;
  display: grid;
  gap: var(--launch-gap-md);
  justify-items: start;
  left: 0;
  max-width: 640px;
  padding: 80px 48px 48px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  transition: opacity 240ms var(--launch-ease), transform 240ms var(--launch-ease);
}

.launch-workflow-preview__copy.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.launch-workflow-preview__media {
  align-self: stretch;
  max-width: none;
  position: relative;
  width: 100%;
}

.launch-workflow-preview__media::after {
  background: linear-gradient(180deg, rgba(28, 31, 36, 0.04) 0%, rgba(28, 31, 36, 0.18) 35%, rgba(28, 31, 36, 0.95) 100%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.launch-workflow-preview__media::before {
  background: radial-gradient(circle at top right, rgba(86, 116, 255, 0.18), transparent 38%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.launch-workflow-preview__media img {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  object-fit: cover;
  width: 100%;
  transition: opacity 240ms var(--launch-ease);
}

.launch-workflow-preview__media video {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  min-height: 0;
  object-fit: cover;
  width: 100%;
  transition: opacity 240ms var(--launch-ease);
}

.launch-workflow-preview__media img.is-fading {
  opacity: 0.4;
}

.launch-workflow-preview__media video.is-fading {
  opacity: 0.4;
}

.launch-workflow-preview__copy h2,
.launch-section-heading h2,
.launch-split__copy h2,
.launch-cta-panel__copy h2,
.launch-page-hero__copy h1,
.launch-footer__column h2 {
  font-weight: 500;
  margin: 0;
}

.launch-workflow-preview__copy h2 {
  font-size: var(--launch-preview-heading-size);
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.launch-workflow-preview__copy p {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.launch-section-heading h2,
.launch-split__copy h2,
.launch-cta-panel__copy h2 {
  font-size: var(--launch-section-heading-size);
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.launch-hero__panel .launch-workflow-preview__copy {
  text-align: left;
}

.launch-hero__panel .launch-section-label {
  margin-bottom: 10px;
}

.launch-hero__panel .launch-workflow-preview__copy h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  max-width: 22ch;
}

.launch-hero__panel .launch-workflow-preview__copy p:not(.launch-section-label) {
  margin: 0;
  max-width: 58ch;
}

.launch-hero__panel .launch-workflow-preview__copy .launch-button {
  margin-top: 4px;
}

.launch-media-frame {
  background: var(--launch-bg-elevated);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-md);
  overflow: hidden;
  position: relative;
}

/* ── Lightbox trigger (JS adds this class to frames with media) ── */
.launch-lightbox-trigger {
  cursor: zoom-in;
}

.launch-lightbox-trigger::after {
  background: rgba(0, 0, 0, 0);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background 180ms var(--launch-ease);
  z-index: 1;
}

@media (hover: hover) {
  .launch-lightbox-trigger:hover::after {
    background: rgba(0, 0, 0, 0.2);
  }

  .launch-lightbox-trigger:hover .launch-lightbox-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.launch-lightbox-icon {
  align-items: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  color: white;
  display: flex;
  height: 44px;
  justify-content: center;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 180ms var(--launch-ease), transform 180ms var(--launch-ease);
  width: 44px;
  z-index: 2;
}

/* ── Lightbox dialog ── */
.launch-lightbox {
  background: transparent;
  border: none;
  height: 100dvh;
  inset: 0;
  margin: 0;
  max-height: 100dvh;
  max-width: 100vw;
  padding: 0;
  width: 100vw;
}

.launch-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.launch-lightbox[open] {
  align-items: center;
  display: flex;
  justify-content: center;
}

.launch-lightbox__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  position: fixed;
  right: 20px;
  top: 20px;
  transition: background 150ms;
  width: 40px;
  z-index: 10;
}

.launch-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.launch-lightbox__media {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: calc(100dvh - 80px);
  max-width: min(calc(100vw - 48px), 1200px);
  width: 100%;
}

.launch-lightbox__media img,
.launch-lightbox__media video {
  border-radius: var(--launch-radius-md);
  height: auto;
  max-height: calc(100dvh - 80px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.launch-lightbox__media video {
  width: 100%;
}

.launch-media-frame img,
.launch-media-frame video {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  width: 100%;
  display: block;
}

.launch-media-frame figcaption {
  color: var(--launch-text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
  padding: 12px 16px 16px;
}

.launch-section {
  padding: var(--launch-section-padding) 0;
  contain: layout style;
}

.launch-section[id] {
  scroll-margin-top: 96px;
}

.launch-section--overview {
  padding-top: 24px;
  position: relative;
}

.launch-section--overview::before,
.launch-section--features::before,
.launch-section--proof::before {
  background: linear-gradient(90deg, transparent 0%, rgba(88, 112, 255, 0.16) 50%, transparent 100%);
  content: '';
  height: 1px;
  left: 50%;
  max-width: 1120px;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: calc(100% - 48px);
}

.launch-section--features .launch-section {
  padding: 0;
}

.launch-section-heading--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.launch-overflow-media {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -96px auto 40px;
  max-width: 1080px;
}

.launch-overflow-media__item {
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.launch-overflow-media__item:nth-child(1) {
  transform: rotate(-1.1deg);
}

.launch-overflow-media__item:nth-child(3) {
  transform: rotate(1.1deg);
}

.launch-media-stub {
  align-items: center;
  display: flex;
  justify-content: space-between;
  left: 20px;
  pointer-events: none;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2;
}

.launch-media-stub__play {
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.launch-media-stub__play::before {
  border-bottom: 7px solid transparent;
  border-left: 10px solid #ffffff;
  border-top: 7px solid transparent;
  content: '';
  margin-left: 3px;
}

.launch-media-stub__badge--floating {
  left: 18px;
  position: absolute;
  top: 18px;
  z-index: 2;
}

.launch-overflow-media__item img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.launch-overflow-media__item--raised {
  transform: translateY(20px);
}

.launch-logo-row--overview {
  margin-bottom: 48px;
  margin-top: 8px;
}

.launch-section-heading {
  margin-bottom: var(--launch-space-10); /* Push content down from headings */
  max-width: 760px;
}

.launch-section-heading p {
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

#workflow-overview .launch-section-heading {
  margin-bottom: var(--launch-space-10); /* Standardize with other headings */
}

.launch-card-grid {
  display: grid;
  gap: 20px;
}

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

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

.launch-card-grid--compact {
  gap: var(--launch-gap-md);
}

.launch-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.launch-bullet-list li {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.launch-bullet-list li::before {
  color: var(--launch-text-muted);
  content: "—";
  flex-shrink: 0;
}

.launch-card {
  background: rgba(30, 27, 74, 0.4);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--launch-radius-md);
  display: grid;
  gap: var(--launch-gap-sm);
  min-height: 100%;
  padding: var(--launch-card-padding);
  transition: border-color 180ms var(--launch-ease), background 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-card:hover {
    background: rgba(30, 27, 74, 0.6);
    border-color: rgba(79, 70, 229, 0.4);
  }
}

.launch-card h2,
.launch-card h3 {
  font-size: var(--launch-card-heading-size);
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.launch-card a {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 500;
  gap: 6px;
  text-decoration: none;
  user-select: none;
  transition: opacity 180ms var(--launch-ease), transform 180ms var(--launch-ease);
}

.launch-card a::after {
  content: '→';
  transition: transform 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-card a:hover {
    opacity: 0.7;
    text-decoration: none;
  }

  .launch-card a:hover::after {
    transform: translateX(4px);
  }
}

.launch-workflow-preview__copy .launch-button {
  margin-top: 8px;
}

.launch-card--trust {
  /* Inherits from .launch-card transparent surface */
}

.launch-card--iconic {
  gap: var(--launch-gap-md);
}

.launch-card__icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(28, 31, 36, 0.5));
  border: 1px solid rgba(67, 56, 202, 0.15);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 48px;
}

.launch-card__icon svg {
  display: block;
  flex-shrink: 0;
}

.launch-card--compact {
  padding: var(--launch-card-padding);
}

.launch-feature-tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--launch-gap-sm);
  justify-content: center;
  margin: 0 0 40px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.launch-feature-tab-chip {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--launch-border);
  border-radius: 999px;
  color: var(--launch-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 46px;
  padding: 11px 20px;
  text-decoration: none;
  transition: background 180ms var(--launch-ease), border-color 180ms var(--launch-ease), color 180ms var(--launch-ease);
}

.launch-feature-tab-chip.is-active,
.launch-feature-tab-chip:hover {
  background: rgba(67, 56, 202, 0.15);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--launch-text);
}

.launch-feature-stack {
  display: grid;
  gap: 48px;
}

.launch-feature-stack > .launch-section {
  border-top: 1px solid rgba(67, 56, 202, 0.15);
  padding-top: 32px;
}

.launch-split {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.launch-section--reverse .launch-split__copy {
  order: 2;
}

.launch-section--reverse .launch-split__media {
  order: 1;
}

.launch-feature-accordion {
  display: grid;
  gap: var(--launch-gap-sm);
}

.launch-feature-accordion__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  padding: 0 18px;
}

.launch-feature-accordion__item summary {
  color: var(--launch-text);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  list-style: none;
  padding: 16px 28px 16px 0;
  position: relative;
}

.launch-feature-accordion__item summary::-webkit-details-marker {
  display: none;
}

.launch-feature-accordion__item summary::after {
  color: var(--launch-text-soft);
  content: '+';
  font-size: 1.15rem;
  position: absolute;
  right: 0;
  top: 14px;
  transition: transform 180ms var(--launch-ease);
}

.launch-feature-accordion__item[open] summary::after {
  transform: rotate(45deg);
}

.launch-feature-accordion__item p {
  color: var(--launch-text-muted);
  line-height: 1.65;
  margin: 0;
  padding: 0 0 16px;
}

.launch-progress-list {
  counter-reset: launch-progress;
  display: grid;
  gap: 20px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.launch-progress-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  counter-increment: launch-progress;
  display: grid;
  gap: 8px;
  padding: 20px 20px 20px 72px;
  position: relative;
}

.launch-progress-list li:not(:last-child)::after {
  background: linear-gradient(180deg, rgba(98, 120, 255, 0.35) 0%, rgba(98, 120, 255, 0) 100%);
  bottom: -21px;
  content: '';
  left: 37px;
  position: absolute;
  top: 58px;
  width: 1px;
}

.launch-progress-list li::before {
  align-items: center;
  background: rgba(67, 56, 202, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--launch-text);
  content: counter(launch-progress);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  height: 36px;
  justify-content: center;
  left: 20px;
  position: absolute;
  top: 20px;
  width: 36px;
}

.launch-progress-list strong,
.launch-progress-list span {
  display: block;
}

.launch-progress-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.launch-progress-list span {
  color: var(--launch-text-muted);
  line-height: 1.6;
}

.launch-section--process .launch-split__media .launch-media-frame {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.launch-spotlight-frame {
  margin: 0 auto;
  max-width: 1040px;
}

.launch-spotlight-frame img,
.launch-proof-video-stub img,
.launch-split__media .launch-media-frame img {
  object-fit: cover;
}

.launch-proof-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.launch-case-study-card {
  background: var(--launch-bg-elevated);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-lg);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.launch-case-study-card .launch-media-frame {
  border: 0;
  border-bottom: 1px solid var(--launch-border);
  border-radius: 0;
}

.launch-case-study-card__copy {
  display: grid;
  gap: var(--launch-gap-md);
  padding: var(--launch-space-6);
}

.launch-case-study-card__copy h3,
.launch-proof-side__copy h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0;
}

.launch-case-study-card__copy p,
.launch-proof-side__copy p {
  margin: 0;
}

.launch-case-study-card__quote {
  color: var(--launch-text);
  font-size: 1.05rem;
}

.launch-impact-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.launch-impact-list li {
  color: var(--launch-text);
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}

.launch-impact-list li::before {
  color: #91a2ff;
  content: '✔';
  left: 0;
  position: absolute;
  top: 0;
}

.launch-proof-side {
  display: grid;
  gap: 20px;
}

.launch-proof-video-stub img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.launch-proof-side__copy {
  background: var(--launch-bg-elevated);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-lg);
  display: grid;
  gap: var(--launch-gap-md);
  min-height: 100%;
  padding: var(--launch-space-6);
}

.launch-logo-row {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: var(--launch-space-8);
}

.launch-logo-row img {
  filter: grayscale(1) brightness(0.98) contrast(1.05);
  margin: 0 auto;
  max-height: 38px;
  object-fit: contain;
  opacity: 0.5;
}

.launch-cta-panel {
  background: var(--launch-bg-elevated);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--launch-gap-xl);
  overflow: hidden;
  padding: var(--launch-space-10) var(--launch-space-8);
  position: relative;
}

.launch-cta-panel::before,
.launch-footer::before {
  background: linear-gradient(90deg, transparent 0%, rgba(88, 112, 255, 0.22) 50%, transparent 100%);
  content: '';
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.launch-cta-panel__copy {
  display: grid;
  gap: var(--launch-gap-md);
  max-width: 640px;
}

.launch-cta-panel__related {
  align-self: stretch;
}

.launch-split__copy--wide {
  margin: 0 auto;
  max-width: 880px;
}

/* Two-column text layout for TextOnly feature-page sections */
.launch-text-section {
  align-items: start;
  border-top: 1px solid var(--launch-border);
  display: grid;
  gap: 0 80px;
  grid-template-columns: 2fr 3fr;
  padding-top: 48px;
}

.launch-text-section__label {
  position: sticky;
  top: 96px;
}

.launch-text-section__label .launch-kicker {
  margin-bottom: 12px;
}

.launch-text-section__label h2 {
  font-size: var(--launch-section-heading-size);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  margin: 0;
  max-width: 18ch;
}

.launch-text-section__body > p {
  color: var(--launch-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin: 0 0 24px;
  max-width: 65ch;
}

.launch-text-section__body .launch-bullet-list {
  max-width: 65ch;
}

.launch-page-hero__highlights {
  margin-top: 64px;
}

.launch-page-hero__highlights .launch-card h2 {
  font-size: 1rem;
}

.launch-pricing-hero {
  padding-bottom: 64px;
  padding-top: 48px;
}

/* Price page overrides — hero copy is much smaller than feature heroes */
.launch-site--pricing h1 {
  font-size: 1.5rem !important;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  max-width: none;
}

.launch-site--pricing .launch-page-hero__lede {
  font-size: 0.88rem;
  max-width: 50ch;
  margin: 0 auto;
}

.launch-site--pricing .launch-page-hero__copy--centered {
  gap: 8px;
}

.launch-site--pricing .launch-kicker {
  margin-bottom: 4px;
}

/* Toggle */
.launch-pricing-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-md);
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  margin: 36px auto 0;
  padding: 4px;
}

.launch-pricing-toggle__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--launch-radius-sm);
  color: var(--launch-text-muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px;
  transition: background 160ms ease, color 160ms ease;
}

.launch-pricing-toggle__button span {
  color: var(--launch-accent-strong);
  font-size: 0.8rem;
  font-weight: 500;
}

.launch-pricing-toggle__button.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--launch-text);
}

/* Grid */
.launch-pricing-grid {
  align-items: stretch;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}

/* Card */
.launch-pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-lg);
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.launch-pricing-card--featured {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--launch-border-strong);
}

/* Header */
.launch-pricing-card__header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.launch-pricing-card__badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--launch-border);
  border-radius: var(--launch-radius-sm);
  color: var(--launch-text-muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  min-height: 22px;
  padding: 0 7px;
  width: fit-content;
}

.launch-pricing-card__badge--featured {
  background: rgba(86, 116, 255, 0.1);
  border-color: rgba(141, 164, 239, 0.25);
  color: var(--launch-accent-strong);
}

.launch-pricing-card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.launch-pricing-card__header p {
  color: var(--launch-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Price */
.launch-pricing-card__price-group--monthly {
  display: none;
}

[data-pricing-cycle='monthly'] .launch-pricing-card__price-group--annual {
  display: none;
}

[data-pricing-cycle='monthly'] .launch-pricing-card__price-group--monthly {
  display: block;
  margin-bottom: 16px;
}

[data-pricing-cycle='annual'] .launch-pricing-card__price-group--annual {
  display: block;
  margin-bottom: 16px;
}

.launch-pricing-card__price {
  align-items: baseline;
  color: var(--launch-text-muted);
  display: flex;
  font-size: 0.85rem;
  gap: 3px;
  line-height: 1;
  margin-bottom: 6px;
}

.launch-pricing-card__price span {
  color: var(--launch-text);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.launch-pricing-card__billing,
.launch-pricing-card__benchmark,
.launch-pricing-card__footnote {
  color: var(--launch-text-soft);
  font-size: 0.82rem;
  margin: 0;
}

.launch-pricing-card__benchmark {
  color: var(--launch-accent-strong);
  font-size: 0.82rem;
  margin-top: 4px;
}

/* CTA */
.launch-pricing-card__cta {
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

/* Features */
.launch-pricing-card__features {
  border-top: 1px solid var(--launch-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

.launch-pricing-card__features h3 {
  color: var(--launch-text-soft);
  font-size: 0.78rem;
  font-weight: 500;
  margin: 0;
}

.launch-pricing-card__features .launch-bullet-list {
  font-size: 0.88rem;
  gap: 9px;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.launch-pricing-card__footnote {
  color: var(--launch-text-soft);
  font-size: 0.8rem;
  margin-top: 8px;
}

.launch-pricing-summary-grid {
  align-self: stretch;
}

.launch-footer {
  background: var(--launch-bg);
  border-top: 1px solid var(--launch-border);
  color: var(--launch-text);
  display: block;
  margin-top: var(--launch-space-3);
  position: relative;
}

.launch-footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  padding: 48px 0;
}

.launch-footer__brand {
  align-items: center;
  color: var(--launch-text);
  display: inline-flex;
  font-size: 1.15rem;
  font-weight: 600;
  gap: 10px;
  margin-bottom: var(--launch-space-4);
  text-decoration: none;
}

.launch-footer__brand-mark {
  height: 24px; /* Scaled to match the new crisp header */
  width: 30px; /* Explicit width required */
  filter: brightness(0) invert(1); /* Forces it to pure white */
}

.launch-footer__summary {
  display: grid;
  gap: var(--launch-gap-md);
  max-width: 38ch;
}

.launch-footer__columns {
  display: grid;
  gap: var(--launch-gap-xl);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launch-footer__column h2 {
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: var(--launch-space-4);
}

.launch-footer__column ul {
  display: grid;
  gap: var(--launch-gap-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.launch-footer__column a,
.launch-footer__legal-links a {
  color: var(--launch-text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 180ms var(--launch-ease);
}

@media (hover: hover) {
  .launch-footer__column a:hover,
  .launch-footer__legal-links a:hover {
    color: var(--launch-text);
  }
}

.launch-footer__legal {
  background: var(--launch-bg);
  border-top: 1px solid var(--launch-border);
}

.launch-footer__legal-inner {
  align-items: center;
  color: var(--launch-text-soft);
  display: flex;
  font-size: 0.9rem;
  gap: var(--launch-gap-md);
  justify-content: space-between;
  padding: 20px 0 32px;
}

.launch-footer__legal-inner p {
  margin: 0;
}

.launch-footer__legal-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 1120px) {
  .launch-hero__inner,
  .launch-page-hero__inner,
  .launch-split,
  .launch-footer__inner,
  .launch-proof-grid {
    grid-template-columns: 1fr;
  }

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

  .launch-pricing-grid {
    grid-template-columns: 1fr;
  }

  .launch-workflow-preview {
    grid-template-columns: 1fr;
  }

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

  .launch-overflow-media {
    grid-template-columns: 1fr;
    margin-top: -56px;
  }

  .launch-overflow-media__item:nth-child(1),
  .launch-overflow-media__item:nth-child(3) {
    transform: none;
  }

  .launch-overflow-media__item--raised {
    transform: none;
  }

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

.launch-page-hero__inner {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* Nav collapses to hamburger at tablet width (covers 9 nav links cramping) */
@media (max-width: 1080px) {
  /* Nav adjustments for tablet/mobile */
  .launch-nav__inner {
    grid-template-columns: auto auto auto auto;
    gap: 12px;
    padding: 0;
  }

  .launch-nav__links {
    display: none;
  }

  .launch-nav__actions {
    gap: 10px;
  }

  .launch-nav__actions .launch-nav__secondary-link {
    font-size: 0.85rem;
    padding: 0 8px;
  }

  .launch-nav__actions .launch-nav__cta {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.85rem;
  }

  .launch-nav__mobile-toggle {
    display: block;
    justify-self: end;
  }
}

@media (max-width: 860px) {
  .launch-shell {
    width: min(calc(100% - 32px), 1240px);
  }

  .launch-card-grid--three,
  .launch-card-grid--four,
  .launch-footer__columns {
    grid-template-columns: 1fr;
  }

  .launch-feature-tabs {
    justify-content: center;
  }

  .launch-workflow-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .launch-pill-row {
    grid-template-columns: 1fr;
  }

  .launch-text-section {
    border-top: none;
    gap: 20px;
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .launch-text-section__label {
    position: static;
  }

  .launch-text-section__label h2 {
    max-width: none;
  }

  .launch-text-section__body > p,
  .launch-text-section__body .launch-bullet-list {
    max-width: none;
  }

  .launch-page-hero__copy .launch-card-grid {
    grid-template-columns: 1fr;
  }

  .launch-page-hero__copy--centered {
    max-width: none;
  }

  .launch-page-hero__copy .launch-card-grid .launch-card:last-child {
    grid-column: span 1;
  }

  .launch-hero,
  .launch-page-hero {
    padding-bottom: 64px;
    padding-top: 80px; /* Reduced from 120px to prevent huge gap on mobile */
  }

  .launch-section {
    padding-bottom: 64px;
    padding-top: 64px; /* Reduced from 80px */
  }

  .launch-hero h1,
  .launch-page-hero h1 {
    max-width: none;
  }

  .launch-workflow-preview__copy {
    background: linear-gradient(180deg, rgba(28, 31, 36, 0) 0%, rgba(28, 31, 36, 0.6) 25%, rgba(28, 31, 36, 0.98) 100%);
    max-width: none;
    padding: 48px 24px 24px;
  }

  .launch-footer__legal-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Mobile input size: ≥16px to prevent iOS Safari auto-zoom/pan on focus (Vercel Web Interface Guidelines) */
@media (max-width: 768px) {
  .launch-body input,
  .launch-body textarea,
  .launch-body .form-control {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .launch-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .launch-actions .launch-button {
    width: 100%;
    justify-content: center;
  }

  .launch-workflow-tabs,
  .launch-workflow-preview,
  .launch-cta-panel {
    padding: var(--launch-card-padding);
  }

  .launch-pricing-toggle {
    display: flex;
    width: 100%;
  }

  .launch-pricing-toggle__button {
    flex: 1;
    justify-content: center;
    padding: 0 12px;
  }

  .launch-pricing-card {
    padding: 22px;
  }

  .launch-pricing-card__price span {
    font-size: 2.4rem;
  }

  .launch-workflow-preview__copy {
    gap: 10px;
    padding: 36px 18px 18px;
  }

  .launch-media-stub {
    left: 14px;
    right: 14px;
    top: 14px;
  }

  .launch-card,
  .launch-card--compact {
    padding: var(--launch-card-padding);
  }

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

  .launch-proof-side__copy,
  .launch-case-study-card__copy,
  .launch-progress-list li {
    padding: 18px;
  }

  .launch-progress-list li {
    padding-left: 62px;
  }

  .launch-progress-list li::before {
    left: 16px;
    top: 16px;
  }
}

/* Skip link: visible on focus for keyboard navigation (WCAG 2.4.1 Bypass Blocks) */
a[href="#main-content"].visually-hidden {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--launch-bg-panel-strong);
  color: var(--launch-text);
  padding: var(--launch-space-3) var(--launch-space-5);
  border: 1px solid var(--launch-border-strong);
  border-radius: var(--launch-radius-md);
  text-decoration: none;
  font-weight: 500;
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
  margin: 0;
  transition: top 180ms var(--launch-ease);
}

a[href="#main-content"].visually-hidden:focus {
  top: var(--launch-space-4);
  outline: 2px solid var(--launch-text);
  outline-offset: 2px;
}

/* Respect user preference for reduced motion (WCAG 2.1 AA - Success Criterion 2.3.3) */
@media (prefers-reduced-motion: reduce) {
  .launch-button,
  .launch-nav a,
  .launch-card,
  .launch-card a,
  .launch-workflow-tab,
  .launch-cta-panel,
  .launch-proof-side,
  .launch-case-study-card,
  .launch-nav__menu,
  .launch-nav__cta,
  .launch-feature,
  .launch-feature__media,
  .launch-feature__icon,
  .launch-logo-row img {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* High contrast mode support (WCAG 2.1 AA - enhanced contrast for users who need it) */
@media (prefers-contrast: more) {
  :root {
    --launch-border: rgba(255, 255, 255, 0.2);
    --launch-border-strong: rgba(255, 255, 255, 0.4);
    --launch-text-soft: #B8C4D0;
    --launch-surface: rgba(255, 255, 255, 0.06);
    --launch-surface-soft: rgba(255, 255, 255, 0.1);
  }

  .launch-button:focus-visible,
  .launch-workflow-tab:focus-visible,
  .launch-nav a:focus-visible,
  .launch-card a:focus-visible,
  .launch-input:focus {
    outline: 3px solid var(--launch-text);
    outline-offset: 3px;
  }

  .launch-border-light,
  .launch-border-light-animated {
    border-color: rgba(255, 255, 255, 0.3);
  }
}

/* Print styles (WCAG 1.3.2 Meaningful Sequence - ensure content is accessible when printed) */
@media print {
  .launch-body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }

  .launch-nav,
  .launch-hero-visual,
  .launch-logo-row,
  .launch-feature__media video,
  .launch-video-container,
  .launch-cta-image,
  .launch-footer__visual {
    display: none !important;
  }

  .launch-hero-content,
  .launch-section,
  .launch-card,
  .launch-case-study-card {
    background: white !important;
    color: black !important;
    border: 1px solid #ccc !important;
  }

  .launch-hero-content h1,
  .launch-hero-content p,
  .launch-section h2,
  .launch-section p,
  .launch-card h3,
  .launch-card p {
    color: black !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }

  .launch-button {
    border: 2px solid black !important;
    background: white !important;
    color: black !important;
  }
}
