/* Self-hosted Inter Variable — marketing pages don't load styles.css, so the face
   is declared here too. CSP font-src 'self' allows it. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Values aligned to the app's canonical dark palette (0.54.6): mist surfaces,
     ice text, ignite accent. Namespace stays --marketing-* (dark-only site). */
  --marketing-bg: #0a0a0b;
  --marketing-surface: #0f1726;
  --marketing-surface-2: #151e2d;
  --marketing-line: #2a3442;
  --marketing-text: #e6eef8;
  --marketing-muted: #a7b2c1;
  --marketing-yellow: #f5c518;
  --marketing-teal: #4e97aa;
  --marketing-coral: #ff6b2c;
  --marketing-green: #55b57f;
  /* 1.0.2 parent-bar tokens. Marketing pages do not load styles.css. */
  --c88-catalyst: #f5c518;
  --c88-ignite: #ff6b2c;
  --c88-ink: #0a0a0b;
  --c88-mist: #0f1726;
  --c88-ice: #e6eef8;
  --c88-global-header-height: 64px;
  --sidebar-bg: #111722;
  --sidebar-muted: rgb(230 238 248 / 66%);
  --sidebar-line: rgb(230 238 248 / 10%);
  --radius-md: 6px;
  --z-sheet: 90;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--marketing-bg);
  scroll-behavior: smooth;
  scroll-padding-top: var(--c88-global-header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.marketing-menu-lock,
html.marketing-menu-lock body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--marketing-bg);
  color: var(--marketing-text);
  letter-spacing: 0;
  overflow-x: clip;
}

body.marketing-site,
body.c88-global-header-active {
  padding-top: var(--c88-global-header-height);
}

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

a {
  color: inherit;
}

/* Shared 64px Catalyst88 parent bar — same 1.0.2 chrome as /app and
   /community. Current is underline + color, not a gold chip that changes
   the FO / Community box. Marketing pages do not load styles.css. */
.c88-product-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}

.c88-product-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--c88-product-muted, var(--sidebar-muted));
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.c88-product-link:hover,
.c88-product-link:focus-visible {
  border-color: var(--c88-product-border, color-mix(in srgb, var(--c88-ice) 22%, transparent));
  background: var(--c88-product-hover, color-mix(in srgb, var(--c88-ice) 8%, transparent));
  color: var(--c88-product-ink, var(--c88-ice));
}

.c88-product-link.is-current {
  border-color: transparent;
  background: transparent;
  color: var(--c88-product-active-ink, var(--c88-ice));
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.c88-product-link:focus-visible {
  outline: 2px solid var(--c88-catalyst);
  outline-offset: 2px;
}

.c88-global-header {
  z-index: var(--z-sheet);
  display: flex;
  min-height: var(--c88-global-header-height);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--sidebar-line);
  background: var(--sidebar-bg);
  color: var(--c88-ice);
  box-shadow: 0 1px 0 rgb(0 0 0 / 18%);
  backdrop-filter: none;
  overflow: visible;
}

.c88-global-header.is-fixed {
  position: fixed;
  inset: 0 0 auto 0;
}

.c88-global-brand {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.c88-global-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--c88-catalyst);
}

.c88-global-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c88-catalyst) 18%, transparent));
}

.c88-global-mark ellipse {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  opacity: 0.9;
}

.c88-global-mark-core {
  fill: var(--c88-catalyst);
}

.c88-global-mark-spark {
  fill: var(--c88-ignite);
}

.c88-global-brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.1;
}

.c88-global-brand-copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.c88-global-brand-copy strong span {
  color: var(--c88-catalyst);
}

.c88-global-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.c88-product-switcher.c88-global-products,
.c88-global-products {
  display: grid;
  width: 240px;
  flex: 0 0 240px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
}

.c88-global-session-actions {
  display: grid;
  width: 168px;
  min-width: 168px;
  grid-template-columns: 44px 117px;
  align-items: center;
  gap: 7px;
}

@media (min-width: 1200px) {
  /* Mirrors styles.css's app/community breakpoint (APP-TRUNCATION-01): the
     promo header shares this component with Founder OS and the Clubhouse, so
     it needs the same wide-desktop width or header-unity.spec.ts's bounding
     boxes drift apart at >=1200px. */
  .c88-global-session-actions {
    width: 211px;
    min-width: 211px;
    grid-template-columns: 44px 160px;
  }
}

.c88-global-session-slot {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.c88-global-products {
  --c88-product-muted: var(--sidebar-muted);
  --c88-product-ink: var(--c88-ice);
  --c88-product-border: color-mix(in srgb, var(--c88-ice) 22%, transparent);
  --c88-product-hover: color-mix(in srgb, var(--c88-ice) 8%, transparent);
  --c88-product-active-bg: color-mix(in srgb, var(--c88-catalyst) 14%, transparent);
  --c88-product-active-border: var(--c88-catalyst);
  --c88-product-active-ink: var(--c88-ice);
}

.c88-global-products .c88-product-link {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  justify-content: center;
  overflow: hidden;
}

.c88-global-products .c88-product-link-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c88-global-products .c88-product-link.is-current {
  border-color: transparent;
  background: transparent;
  color: var(--c88-ice);
  text-decoration-color: var(--c88-catalyst);
}

.c88-global-icon-button {
  display: inline-flex;
  width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--c88-ice) 20%, transparent);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--sidebar-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.c88-global-icon-button:hover,
.c88-global-icon-button:focus-visible {
  border-color: var(--c88-catalyst);
  background: color-mix(in srgb, var(--c88-ice) 8%, transparent);
  color: var(--c88-ice);
}

.c88-global-identity {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  padding-inline: 4px;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--c88-catalyst);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

a.c88-global-identity:hover,
a.c88-global-identity:focus-visible {
  color: var(--c88-catalyst);
}

.c88-global-brand:focus-visible,
.c88-global-icon-button:focus-visible,
.c88-global-identity:focus-visible {
  outline: 2px solid var(--c88-catalyst);
  outline-offset: 2px;
}

:root[data-theme="light"] .c88-theme-icon-sun,
:root:not([data-theme="light"]) .c88-theme-icon-moon {
  display: none;
}

@media (max-width: 900px) {
  :root {
    --c88-global-header-height: 64px;
  }

  .c88-global-header {
    gap: 3px;
    padding: 7px 8px;
  }

  .c88-global-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .c88-global-brand {
    min-width: 44px;
    justify-content: center;
  }

  .c88-global-brand-copy,
  .c88-global-products .c88-product-link-label {
    display: none;
  }

  .c88-global-actions {
    gap: 1px;
  }

  .c88-global-products {
    width: 89px;
    min-width: 89px;
    flex-basis: 89px;
    gap: 1px;
  }

  .c88-global-session-actions {
    width: 117px;
    min-width: 117px;
    flex: 0 0 117px;
    grid-template-columns: 44px 72px;
    gap: 1px;
  }

  .c88-global-session-slot[data-session-slot="theme"] {
    width: 44px;
    min-width: 44px;
  }

  .c88-global-session-slot[data-session-slot="identity"] {
    width: 72px;
    min-width: 72px;
  }

  .c88-global-products .c88-product-link,
  .c88-global-icon-button {
    width: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 340px) {
  .c88-global-header {
    gap: 1px;
    padding-inline: 2px;
  }
}

.marketing-header {
  --header-inline: max(16px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), calc((100vw - 1180px) / 2));
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--header-inline);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 11, 0.96);
}

.marketing-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--marketing-text);
  text-decoration: none;
}

.marketing-brand > span:last-child {
  display: grid;
}

.marketing-brand strong {
  font-size: 14px;
}

.marketing-brand small {
  color: var(--marketing-muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.marketing-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 5px;
  background: var(--marketing-yellow);
  color: #111315;
  font-size: 13px;
  font-weight: 900;
}

.marketing-actions,
.marketing-hero-actions,
.marketing-proof,
.marketing-footer nav {
  display: flex;
  align-items: center;
}

/*
  Header layout (single source of truth):
  Desktop (≥1080):  brand | nav links (center) | Sign in + Join free
  Compact (<1080):  brand | spacer | Sign in + Join free + ☰
  Open menu:        product links drop under the bar — never duplicate CTAs
*/
.marketing-nav {
  display: none;
  min-width: 0;
}

.marketing-nav a,
.marketing-link {
  color: var(--marketing-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.marketing-nav a:hover,
.marketing-nav a:focus-visible,
.marketing-link:hover,
.marketing-link:focus-visible,
.marketing-footer a:hover,
.marketing-footer a:focus-visible {
  color: var(--marketing-yellow);
}

.marketing-nav a:focus-visible,
.marketing-link:focus-visible,
.marketing-button:focus-visible,
.marketing-secondary:focus-visible,
.marketing-menu-toggle:focus-visible {
  outline: 2px solid var(--marketing-yellow);
  outline-offset: 2px;
}

.marketing-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Outline Sign in next to solid Join free — always readable */
.marketing-actions .marketing-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: var(--marketing-text);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.marketing-actions .marketing-link:hover,
.marketing-actions .marketing-link:focus-visible {
  border-color: var(--marketing-text);
  background: rgba(255, 255, 255, 0.08);
  color: var(--marketing-text);
}

.marketing-actions .marketing-button {
  min-height: 40px;
  padding-inline: 14px;
  white-space: nowrap;
}

.marketing-menu-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--marketing-text);
  cursor: pointer;
  place-items: center;
  flex-shrink: 0;
}

/* Compact: menu panel under header when open */
.marketing-header.is-menu-open .marketing-nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  max-height: min(70vh, 480px);
  padding: 12px var(--header-inline) 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 12, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.marketing-header.is-menu-open .marketing-nav a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--marketing-text);
  font-size: 15px;
  font-weight: 750;
}

.marketing-header.is-menu-open .marketing-nav a:hover,
.marketing-header.is-menu-open .marketing-nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--marketing-yellow);
}

/* Desktop: inline product nav, no hamburger, no panel */
@media (min-width: 1080px) {
  .marketing-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
  }

  .marketing-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px 18px;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .marketing-nav a {
    display: inline-flex;
    min-height: 0;
    padding: 8px 2px;
    border: 0;
    border-radius: 4px;
    color: var(--marketing-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    background: transparent;
  }

  .marketing-nav a:hover,
  .marketing-nav a:focus-visible {
    border: 0;
    background: transparent;
    color: var(--marketing-yellow);
  }

  .marketing-menu-toggle {
    display: none !important;
  }

  .marketing-header.is-menu-open .marketing-nav {
    /* Stay desktop-inline even if a stale is-menu-open class remains */
    display: flex;
    position: static;
    flex-direction: row;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .marketing-actions {
    margin-left: 0;
    gap: 10px;
  }
}

.marketing-menu-icon,
.marketing-menu-icon::before,
.marketing-menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.marketing-menu-icon {
  position: relative;
}

.marketing-menu-icon::before,
.marketing-menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.marketing-menu-icon::before {
  top: -6px;
}

.marketing-menu-icon::after {
  top: 6px;
}

.marketing-header.is-menu-open .marketing-menu-icon {
  background: transparent;
}

.marketing-header.is-menu-open .marketing-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.marketing-header.is-menu-open .marketing-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.marketing-button,
.marketing-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--marketing-yellow);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.marketing-button {
  background: var(--marketing-yellow);
  color: #111315;
}

.marketing-button:hover,
.marketing-button:focus-visible {
  background: #ffe05c;
}

.marketing-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--marketing-text);
}

.marketing-secondary:hover,
.marketing-secondary:focus-visible {
  border-color: var(--marketing-text);
  background: rgba(255, 255, 255, 0.08);
}

.marketing-button-large {
  min-height: 50px;
  padding-inline: 24px;
  font-size: 14px;
}

.marketing-hero,
.feature-hero {
  position: relative;
  display: flex;
  min-height: min(650px, calc(100vh - 118px));
  align-items: center;
  overflow: hidden;
  background-color: #12161b;
  background-image: url("/assets/catalyst88-workspace-preview-og.png");
  background-position: center;
  background-size: cover;
}

.marketing-hero::before,
.feature-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(6, 8, 11, 0.94) 0%, rgba(6, 8, 11, 0.82) 48%, rgba(6, 8, 11, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 8, 11, 0.55) 0%, rgba(6, 8, 11, 0.88) 100%);
  content: "";
}

.marketing-hero-content,
.feature-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.marketing-hero-content {
  max-width: 1180px;
  padding: clamp(48px, 8vw, 72px) 0 clamp(56px, 9vw, 88px);
}

.marketing-hero-content > * {
  max-width: 720px;
}

.marketing-kicker {
  margin: 0 0 14px;
  color: var(--marketing-yellow);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketing-hero h1,
.feature-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.15rem, 4.2vw + 1rem, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.marketing-hero-copy,
.feature-hero-copy {
  margin: 24px 0 0;
  color: #d7dde3;
  font-size: clamp(1rem, 0.4vw + 0.92rem, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.marketing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

/* Keep primary + secondary the same height when a large CTA is present. */
.marketing-hero-actions:has(.marketing-button-large) .marketing-secondary {
  min-height: 50px;
  padding-inline: 24px;
  font-size: 14px;
}

.marketing-proof {
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  color: #d7dde3;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.marketing-proof li::before {
  margin-right: 8px;
  color: var(--marketing-green);
  content: "\2713";
}

.marketing-band,
.marketing-final-cta,
.marketing-footer,
.feature-content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.marketing-band {
  padding: 88px 0;
  border-bottom: 1px solid var(--marketing-line);
}

.marketing-section-heading {
  max-width: 720px;
}

.marketing-section-heading h2,
.marketing-final-cta h2,
.feature-section h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2vw + 1rem, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.marketing-section-heading > p:last-child,
.feature-section > p {
  margin: 18px 0 0;
  color: var(--marketing-muted);
  font-size: 16px;
  line-height: 1.65;
}

.marketing-signals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 50px 0 0;
  border-block: 1px solid var(--marketing-line);
}

.marketing-signals div {
  padding: 22px;
  border-right: 1px solid var(--marketing-line);
}

.marketing-signals div:last-child {
  border-right: 0;
}

.marketing-signals dt {
  color: var(--marketing-yellow);
  font-size: 19px;
  font-weight: 850;
}

.marketing-signals dd {
  margin: 6px 0 0;
  color: var(--marketing-muted);
  font-size: 12px;
}

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

.marketing-module {
  display: grid;
  min-height: 250px;
  grid-template-rows: auto auto 1fr auto;
  padding: 24px;
  border: 1px solid var(--marketing-line);
  border-radius: 6px;
  background: var(--marketing-surface);
  text-decoration: none;
}

.marketing-module:hover,
.marketing-module:focus-visible {
  border-color: var(--marketing-yellow);
  background: var(--marketing-surface-2);
}

.marketing-module > span {
  color: var(--marketing-coral);
  font-size: 11px;
  font-weight: 850;
}

.marketing-module h3 {
  margin: 20px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.marketing-module p {
  margin: 12px 0 20px;
  color: var(--marketing-muted);
  font-size: 13px;
  line-height: 1.55;
}

.marketing-module strong {
  align-self: end;
  color: var(--marketing-yellow);
  font-size: 11px;
}

/* Product showcase — screenshot cards */
.marketing-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.marketing-showcase {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--marketing-line);
  border-radius: 10px;
  background: var(--marketing-surface);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.marketing-showcase:hover,
.marketing-showcase:focus-visible {
  border-color: var(--marketing-yellow);
  background: var(--marketing-surface-2);
  transform: translateY(-2px);
}

.marketing-showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--marketing-line);
  background: #0c1014;
}

.marketing-showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.marketing-showcase-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--marketing-yellow);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marketing-showcase-badge.free {
  color: var(--marketing-green);
  border-color: rgba(75, 183, 131, 0.45);
}

.marketing-showcase-body {
  display: grid;
  gap: 10px;
  padding: 22px 22px 20px;
}

.marketing-showcase-body h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.marketing-showcase-body p {
  margin: 0;
  color: var(--marketing-muted);
  font-size: 13px;
  line-height: 1.55;
}

.marketing-showcase-body strong {
  color: var(--marketing-yellow);
  font-size: 11px;
  font-weight: 850;
}

.marketing-showcase.featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: auto;
}

.marketing-showcase.featured .marketing-showcase-media {
  aspect-ratio: auto;
  min-height: 320px;
  border-bottom: 0;
  border-right: 1px solid var(--marketing-line);
}

.marketing-showcase.featured .marketing-showcase-body {
  align-content: center;
  padding: 36px;
}

.marketing-showcase.featured .marketing-showcase-body h3 {
  font-size: 28px;
}

.marketing-showcase.featured .marketing-showcase-body p {
  font-size: 15px;
  line-height: 1.6;
}

.marketing-tier-label {
  margin: 52px 0 0;
  color: var(--marketing-muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marketing-tier-label + .marketing-showcase-grid,
.marketing-tier-label + .marketing-module-grid {
  margin-top: 18px;
}

/* Feature page product shot */
.feature-shot {
  margin: 36px 0 0;
  overflow: hidden;
  border: 1px solid var(--marketing-line);
  border-radius: 10px;
  background: #0c1014;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.feature-shot figcaption {
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--marketing-line);
  color: var(--marketing-muted);
  font-size: 12px;
  line-height: 1.45;
}

.marketing-steps {
  display: grid;
  gap: 0;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.marketing-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--marketing-line);
}

.marketing-steps li:last-child {
  border-bottom: 1px solid var(--marketing-line);
}

.marketing-steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--marketing-teal);
  border-radius: 50%;
  color: var(--marketing-teal);
  font-size: 12px;
  font-weight: 900;
}

.marketing-steps h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.marketing-steps p {
  margin: 8px 0 0;
  color: var(--marketing-muted);
  font-size: 14px;
  line-height: 1.6;
}

.marketing-final-cta {
  padding: 96px 0;
  text-align: center;
}

.marketing-final-cta h2 {
  max-width: 800px;
  margin-inline: auto;
}

/* Space the whole button row evenly — never only the primary (that misaligned the pair). */
.marketing-final-cta .marketing-hero-actions {
  justify-content: center;
  margin-top: 30px;
}

.marketing-final-cta .marketing-button,
.marketing-final-cta .marketing-secondary {
  min-height: 50px;
  padding-inline: 24px;
  font-size: 14px;
}

.marketing-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 36px;
  padding: 40px 0;
  border-top: 1px solid var(--marketing-line);
  color: var(--marketing-muted);
  font-size: 11px;
}

/* Slim family footer on the .app promo door — same slots as Founder OS
   and Community: brand + Founder OS + Community + SemVer. */
.c88-family-footer {
  --c88-family-footer-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  min-height: var(--c88-family-footer-height);
  padding: 8px 16px;
  border-top: 1px solid var(--marketing-line);
  color: var(--marketing-muted);
  font-size: 12px;
  font-weight: 650;
}

.c88-family-footer-brand {
  color: var(--c88-ice, #e6eef8);
  font-weight: 800;
  text-decoration: none;
}

.c88-family-footer-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 220px;
}

.c88-family-footer-products a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.c88-family-footer-brand:hover,
.c88-family-footer-brand:focus-visible,
.c88-family-footer-products a:hover,
.c88-family-footer-products a:focus-visible {
  color: var(--c88-ice, #e6eef8);
  text-decoration: underline;
  text-decoration-color: var(--c88-catalyst);
  text-underline-offset: 4px;
}

.c88-family-footer-version {
  margin-left: auto;
  color: var(--c88-ice, #e6eef8);
  font-weight: 800;
}

.c88-family-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
  font-size: 12px;
}

.c88-family-footer-legal a {
  color: inherit;
  text-decoration: none;
}

.c88-family-footer-legal a:hover,
.c88-family-footer-legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* "Also on catalyst88.com" cross-link row — same slim treatment as the
   legal nav, one row down, pointing at the sister marketing site's own
   pricing/start/community pages. */
.c88-family-footer-crosslinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
  font-size: 12px;
}

.c88-family-footer-crosslinks span {
  color: var(--marketing-muted);
}

.c88-family-footer-crosslinks a {
  color: inherit;
  text-decoration: none;
}

.c88-family-footer-crosslinks a:hover,
.c88-family-footer-crosslinks a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.marketing-footer > div > p {
  margin: 12px 0 0;
}

.marketing-footer nav {
  flex-wrap: wrap;
  gap: 16px;
}

.marketing-footer nav a {
  text-decoration: none;
}

.marketing-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.marketing-footer-meta nav {
  justify-content: flex-end;
}

.legal-doc {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 88px;
}

.legal-doc h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2vw + 1rem, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.legal-updated {
  margin: 16px 0 0;
  color: var(--marketing-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-lede,
.legal-section p {
  margin: 18px 0 0;
  color: var(--marketing-muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-section {
  margin-top: 40px;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.legal-doc a {
  color: var(--marketing-yellow);
}

.feature-hero {
  min-height: 520px;
}

.feature-hero-content {
  padding: 64px 0;
}

.feature-hero-content > * {
  max-width: 820px;
}

.feature-hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem);
}

.feature-content {
  padding: 82px 0;
}

.feature-section {
  padding: 0 0 72px;
  border-bottom: 1px solid var(--marketing-line);
}

.feature-section + .feature-section {
  padding-top: 72px;
}

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

.feature-outcomes article {
  padding: 22px;
  border-left: 3px solid var(--marketing-teal);
  background: var(--marketing-surface);
}

.feature-outcomes article:nth-child(2) {
  border-color: var(--marketing-coral);
}

.feature-outcomes article:nth-child(3) {
  border-color: var(--marketing-yellow);
}

.feature-outcomes h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: 0;
}

.feature-outcomes p {
  margin: 10px 0 0;
  color: var(--marketing-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* —— Tablet layout polish (header handled above via 1080 breakpoint) —— */
@media (max-width: 1079px) {
  .marketing-signals,
  .marketing-module-grid,
  .marketing-showcase-grid,
  .feature-outcomes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-showcase.featured {
    grid-template-columns: 1fr;
  }

  .marketing-showcase.featured .marketing-showcase-media {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--marketing-line);
  }

  .marketing-showcase.featured .marketing-showcase-body {
    padding: 22px;
  }

  .marketing-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .marketing-footer-meta {
    align-items: flex-start;
  }

  .marketing-footer-meta nav {
    justify-content: flex-start;
  }

  .marketing-hero-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .marketing-brand small {
    display: none;
  }

  .marketing-hero,
  .feature-hero {
    min-height: min(620px, calc(100svh - 72px));
    background-position: 42% center;
  }

  .marketing-hero-content,
  .feature-hero-content,
  .marketing-band,
  .marketing-final-cta,
  .marketing-footer,
  .feature-content,
  .legal-doc {
    width: min(100% - 32px, 1180px);
  }

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

  .marketing-hero-actions .marketing-button,
  .marketing-hero-actions .marketing-secondary {
    width: 100%;
  }

  .marketing-band {
    padding: clamp(48px, 10vw, 64px) 0;
  }

  .marketing-signals,
  .marketing-module-grid,
  .marketing-showcase-grid,
  .feature-outcomes {
    grid-template-columns: 1fr;
  }

  .marketing-showcase.featured .marketing-showcase-body h3 {
    font-size: 1.35rem;
  }

  .marketing-signals {
    border-block: 1px solid var(--marketing-line);
  }

  .marketing-signals div {
    border-right: 0;
    border-bottom: 1px solid var(--marketing-line);
  }

  .marketing-signals div:last-child {
    border-bottom: 0;
  }

  .marketing-module {
    min-height: 0;
  }

  .marketing-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .feature-content {
    padding: 56px 0;
  }

  .feature-section {
    padding-bottom: 48px;
  }

  .feature-section + .feature-section {
    padding-top: 48px;
  }

  .feature-shot {
    margin-top: 24px;
    border-radius: 8px;
  }

  .feature-shot img {
    max-height: 280px;
  }

  .marketing-final-cta {
    padding: 72px 0;
  }

  .marketing-final-cta .marketing-hero-actions {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .marketing-header {
    min-height: 60px;
    padding-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px));
  }

  .marketing-mark {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .marketing-brand strong {
    font-size: 13px;
  }

  .marketing-actions .marketing-button {
    padding-inline: 12px;
  }

  /* On very small screens keep Join free + menu; Sign in stays in the bar too */
  .marketing-actions .marketing-link {
    min-height: 38px;
    padding-inline: 10px;
  }
}

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

  .marketing-menu-icon,
  .marketing-menu-icon::before,
  .marketing-menu-icon::after,
  .marketing-showcase {
    transition: none;
  }
}
