/* ==========================================================================
   demoOS Landing — Pure CSS port of landing-codex.html
   Section order: reset, font-face, base, layout primitives,
   then per-section blocks in source order.
   ========================================================================== */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: hsl(220, 20%, 12%);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
img, svg { display: block; max-width: 100%; }
ol, ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Font face ---------- */
@font-face {
  font-family: 'CameraPlainVariable';
  src: url('/landing-assets/CameraPlainVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid hsl(220, 13%, 91%);
  background: hsla(220, 14%, 96%, 0.5);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.brand-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #f59e0b;
}
.brand-pill__label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: hsl(220, 20%, 12%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f97015;
}

.section-heading {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: hsl(220, 20%, 12%);
}
.section-subhead {
  font-size: 0.875rem;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 640px) {
  .section-heading { font-size: 2.25rem; }
  .section-subhead { font-size: 1rem; }
}

.section-intro {
  max-width: 42rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  border-radius: 9999px;
  transition: background-color .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn:focus-visible { outline: 2px solid #f97015; outline-offset: 2px; }
.btn--primary {
  background: hsl(220, 20%, 12%);
  color: #ffffff;
  height: 2.5rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
}
.btn--primary:hover { background: hsla(220, 20%, 12%, 0.9); }
.btn--primary-sm {
  background: hsl(220, 20%, 12%);
  color: #ffffff;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.btn--primary-sm:hover { background: hsla(220, 20%, 12%, 0.9); }
.btn--primary-lg {
  background: hsl(220, 20%, 12%);
  color: #ffffff;
  height: 2.5rem;
  padding: 0 2rem;
  font-size: 0.875rem;
}
.btn--primary-lg:hover { background: hsla(220, 20%, 12%, 0.9); }
.btn--outline {
  background: #ffffff;
  color: hsl(220, 20%, 12%);
  border: 1px solid hsl(220, 13%, 91%);
  height: 2.5rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
}
.btn--outline:hover { background: hsl(220, 14%, 96%); }

.text-gradient {
  background: linear-gradient(135deg, #f97015, #fa9f38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shadow-soft {
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
}
.shadow-hero {
  box-shadow: 0 20px 60px -15px rgba(249,112,21,0.15), 0 8px 32px -8px rgba(24,29,37,0.08);
}

.icon-tile {
  display: inline-flex;
  border-radius: 0.75rem;
  padding: 0.625rem;
}
.icon-tile svg { width: 16px; height: 16px; }
.icon-tile--lg svg { width: 18px; height: 18px; }
.icon-tile--xl svg { width: 22px; height: 22px; }

/* tonal palettes for icon tiles + cards */
.tone-amber  { background: rgba(245,158,11,0.10); color: #d97706; }
.tone-rose   { background: rgba(244,63,94,0.10);  color: #e11d48; }
.tone-sky    { background: rgba(14,165,233,0.10); color: #0284c7; }
.tone-indigo { background: rgba(99,102,241,0.10); color: #4f46e5; }
.tone-emerald{ background: rgba(16,185,129,0.10); color: #059669; }
.tone-violet { background: rgba(139,92,246,0.10); color: #7c3aed; }
.tone-teal   { background: rgba(20,184,166,0.10); color: #0d9488; }
.tone-primary{ background: rgba(249,112,21,0.10); color: #f97015; }
.tone-destructive { background: rgba(220,38,38,0.10); color: #dc2626; }

/* ---------- Site nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.site-nav__brand {
  display: inline-flex;
  align-items: baseline;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: hsl(220, 20%, 12%);
}
.site-nav__brand-light { font-weight: 300; }
.site-nav__brand-bold  { font-weight: 600; }

.site-nav__links { display: none; }
.site-nav__link {
  font-size: 0.875rem;
  color: hsl(220, 10%, 46%);
  transition: color .2s;
}
.site-nav__link:hover { color: hsl(220, 20%, 12%); }
.site-nav__toggle {
  color: hsl(220, 20%, 12%);
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.site-nav__toggle svg { width: 20px; height: 20px; }

/* Mobile open state: drop-down panel under the nav bar */
.site-nav.is-open .site-nav__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  position: absolute;
  top: 3.5rem;
  left: 0;
  right: 0;
  padding: 0.75rem 1.5rem 1.25rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.site-nav.is-open .site-nav__links .site-nav__link {
  padding: 0.75rem 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.site-nav.is-open .site-nav__links .btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .site-nav__links { display: inline-flex; align-items: center; gap: 1.75rem; }
  .site-nav__toggle { display: none; }
  /* Reset mobile-open overrides on desktop */
  .site-nav.is-open .site-nav__links {
    position: static;
    flex-direction: row;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
  }
  .site-nav.is-open .site-nav__links .site-nav__link {
    padding: 0;
    font-size: 0.875rem;
    border-bottom: 1px solid transparent;
  }
  .site-nav.is-open .site-nav__links .btn {
    margin-top: 0;
    width: auto;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 9rem;
  padding-bottom: 0;
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, hsl(220,13%,91%) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.30;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero__pill { margin-bottom: 2rem; }
.hero__title {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: hsl(220, 20%, 12%);
}
.hero__title strong { font-weight: 600; }
.hero__lede {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero__media {
  margin-top: 4rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}
.hero__media-inner {
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  border: 1px solid hsl(220, 13%, 91%);
  border-bottom: 0;
  box-shadow: 0 20px 60px -15px rgba(249,112,21,0.15), 0 8px 32px -8px rgba(24,29,37,0.08);
}
.hero__media-inner img { width: 100%; }
@media (min-width: 640px) {
  .hero__title { font-size: 3rem; }
  .hero__cta { flex-direction: row; justify-content: center; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 3.75rem; }
}

/* ---------- Common section padding ---------- */
.section { padding: 6rem 0; }
@media (min-width: 1024px) { .section { padding: 8rem 0; } }
.section--secondary { background: hsl(220, 20%, 97%); }

/* ---------- Problem section ---------- */
.problem__grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.problem__card {
  border-radius: 1rem;
  border: 1px solid hsl(220, 13%, 91%);
  background: #ffffff;
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.problem__card:hover {
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
  transform: translateY(-2px);
}
.problem__card--wide {
  padding: 2rem;
  border-color: rgba(220,38,38,0.20);
  background: rgba(220,38,38,0.03);
}
.problem__card-title {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(220, 20%, 12%);
}
.problem__card--wide .problem__card-title { font-size: 1rem; }
.problem__card-body {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
.problem__card--wide .problem__card-body { font-size: 0.875rem; }
.problem__icon { margin-bottom: 1rem; }

@media (min-width: 640px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); }
  .problem__card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .problem__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Why section ---------- */
.why__grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.why__card {
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
  transition: box-shadow .2s, transform .2s;
  border: 1px solid;
}
.why__card:hover { transform: translateY(-2px); }
.why__card--amber   { border-color: rgba(245,158,11,0.20); background: rgba(245,158,11,0.04); }
.why__card--rose    { border-color: rgba(244,63,94,0.20);  background: rgba(244,63,94,0.04); }
.why__card--sky     { border-color: rgba(14,165,233,0.20); background: rgba(14,165,233,0.04); }
.why__card--indigo  { border-color: rgba(99,102,241,0.20); background: rgba(99,102,241,0.04); }
.why__card--emerald { border-color: rgba(16,185,129,0.20); background: rgba(16,185,129,0.04); }
.why__icon { margin-bottom: 1rem; }
.why__title {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.why__body { font-size: 0.875rem; line-height: 1.6; color: hsl(220, 10%, 46%); }
.why__kicker {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(24,29,37,0.80);
}
@media (min-width: 640px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .why__card--wide { grid-column: span 2; }
}

/* ---------- Layers (alternating feature) section ---------- */
.layers__list {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.layers__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.layers__copy { flex-shrink: 0; }
.layers__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(220, 20%, 12%);
}
.layers__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
.layers__media { flex: 1; min-width: 0; cursor: zoom-in; }
.layers__media-frame {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsl(220, 13%, 91%);
  padding: 0.375rem;
  box-shadow: 0 20px 60px -15px rgba(249,112,21,0.15), 0 8px 32px -8px rgba(24,29,37,0.08);
  transition: transform .2s;
}
.layers__media-frame:hover { transform: scale(1.02); }
.layers__media-frame img { width: 100%; border-radius: 0.75rem; }
.layers__media-frame--violet  { background: linear-gradient(135deg, rgba(139,92,246,0.20), rgba(168,85,247,0.10), #ffffff); }
.layers__media-frame--sky     { background: linear-gradient(135deg, rgba(14,165,233,0.20), rgba(96,165,250,0.10), #ffffff); }
.layers__media-frame--emerald { background: linear-gradient(135deg, rgba(16,185,129,0.20), rgba(74,222,128,0.10), #ffffff); }
.layers__media-frame--teal    { background: linear-gradient(135deg, rgba(20,184,166,0.20), rgba(34,211,238,0.10), #ffffff); }
.layers__media-frame--indigo  { background: linear-gradient(135deg, rgba(99,102,241,0.20), rgba(96,165,250,0.10), #ffffff); }
.layers__media-frame--amber   { background: linear-gradient(135deg, rgba(245,158,11,0.20), rgba(251,146,60,0.10), #ffffff); }
.layers__media-frame--rose    { background: linear-gradient(135deg, rgba(244,63,94,0.20), rgba(244,114,182,0.10), #ffffff); }

@media (min-width: 1024px) {
  .layers__item { flex-direction: row; gap: 4rem; }
  .layers__item--reverse { flex-direction: row-reverse; }
  .layers__copy { width: 340px; }
}

/* ---------- Reinforcement / loop sub-section ---------- */
.loop {
  max-width: 72rem;
  margin: 8rem auto 0;
}
.loop__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.loop__head-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: hsl(220, 20%, 12%);
}
.loop__head-body {
  font-size: 0.875rem;
  color: hsl(220, 10%, 46%);
}
.loop__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.loop__card {
  border-radius: 1rem;
  border: 1px solid rgba(249,112,21,0.15);
  background: rgba(249,112,21,0.03);
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.loop__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
}
.loop__card-icon { margin-bottom: 1rem; }
.loop__card-title {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.loop__card-body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
.loop__card-img {
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid hsl(220, 13%, 91%);
  cursor: zoom-in;
  transition: transform .2s;
}
.loop__card-img:hover { transform: scale(1.02); }
.loop__card-img img { width: 100%; }

@media (min-width: 640px) {
  .loop__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Audience section ---------- */
.audience__grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.audience__card {
  border-radius: 1rem;
  border: 1px solid;
  padding: 1.75rem;
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
  transition: box-shadow .2s, transform .2s;
}
.audience__card:hover { transform: translateY(-2px); }
.audience__card--violet  { border-color: rgba(139,92,246,0.20); background: rgba(139,92,246,0.04); }
.audience__card--sky     { border-color: rgba(14,165,233,0.20); background: rgba(14,165,233,0.04); }
.audience__card--emerald { border-color: rgba(16,185,129,0.20); background: rgba(16,185,129,0.04); }
.audience__icon {
  margin-bottom: 1.25rem;
  display: inline-flex;
  border-radius: 0.75rem;
  padding: 0.75rem;
}
.audience__icon svg { width: 22px; height: 22px; }
.audience__title {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.audience__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 640px) {
  .audience__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- How it works (continuous loop steps) ---------- */
.steps {
  max-width: 56rem;
  margin: 0 auto;
}
.steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.steps__line {
  display: none;
}
.steps__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
}
.steps__icon-wrap { position: relative; margin-bottom: 1.5rem; }
.steps__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  border-radius: 1rem;
  box-shadow: 0 0 0 4px hsl(220, 20%, 97%);
}
.steps__icon svg { width: 28px; height: 28px; }
.steps__num {
  position: absolute;
  right: -0.5rem;
  top: -0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 9999px;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid hsl(220, 13%, 91%);
}
.steps__title {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.steps__body {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 640px) {
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .steps__grid { grid-template-columns: repeat(5, 1fr); }
  .steps__line {
    display: block;
    position: absolute;
    left: 2rem;
    top: 3rem;
    height: 2px;
    width: calc(100% - 4rem);
    background: linear-gradient(to right, rgba(245,158,11,0.30), rgba(139,92,246,0.30), rgba(16,185,129,0.30));
  }
}

/* ---------- Frameworks section ---------- */
.frameworks__grid {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.frameworks__card {
  border-radius: 1rem;
  border: 1px solid hsl(220, 13%, 91%);
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
  transition: box-shadow .2s, transform .2s;
}
.frameworks__card:hover { transform: translateY(-2px); }
.frameworks__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.frameworks__head svg { width: 16px; height: 16px; color: #f97015; }
.frameworks__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.frameworks__body {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
.frameworks__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.frameworks__tag {
  border-radius: 9999px;
  background: rgba(249,112,21,0.08);
  padding: 0.125rem 0.625rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  color: #f97015;
}
@media (min-width: 640px) {
  .frameworks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .frameworks__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Integrations grid ---------- */
.integrations__grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.integrations__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 1rem;
  border: 1px solid hsl(220, 13%, 91%);
  background: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 4px 24px -4px rgba(24,29,37,0.08), 0 1px 4px rgba(24,29,37,0.04);
  transition: box-shadow .2s, transform .2s;
}
.integrations__card:hover { transform: translateY(-2px); }
.integrations__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.75rem;
  background: hsl(220, 14%, 96%);
  margin-bottom: 1rem;
  transition: background .2s;
}
.integrations__card:hover .integrations__logo { background: rgba(249,112,21,0.05); }
.integrations__logo svg { width: 32px; height: 32px; }
.integrations__name {
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(220, 20%, 12%);
}
.integrations__body {
  font-size: 0.75rem;
  line-height: 1.6;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 640px) {
  .integrations__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Stats / Results ---------- */
.stats__grid {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid hsl(220, 13%, 91%);
  background: hsl(220, 13%, 91%);
}
.stats__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  padding: 2rem;
}
.stats__value {
  margin-bottom: 0.375rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 1.875rem;
  font-weight: 600;
  background: linear-gradient(135deg, #f97015, #fa9f38);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__label {
  font-size: 0.75rem;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stats__value { font-size: 2.25rem; }
}

/* ---------- Final CTA ---------- */
.final-cta__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.final-cta__title {
  margin-bottom: 1.25rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(220, 20%, 12%);
  line-height: 1.15;
}
.final-cta__lede {
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: hsl(220, 10%, 46%);
}
.final-cta__note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: hsl(220, 10%, 46%);
}
@media (min-width: 640px) {
  .final-cta__title { font-size: 2.25rem; }
  .final-cta__lede { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .final-cta__title { font-size: 3rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid hsl(220, 13%, 91%);
  padding: 4rem 0;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.site-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.site-footer__legal-text,
.site-footer__legal-link {
  font-size: 0.75rem;
  color: hsl(220, 10%, 46%);
}
.site-footer__legal-link { cursor: pointer; }
.site-footer__legal-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.site-footer__sep { font-size: 0.75rem; color: rgba(160, 167, 178, 0.4); }

/* ========== Waitlist modal ========== */
.waitlist-modal[hidden] { display: none; }
.waitlist-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.waitlist-modal__backdrop {
  position: absolute; inset: 0; background: rgba(15, 18, 30, 0.55);
  backdrop-filter: blur(2px);
}
.waitlist-modal__panel {
  position: relative; z-index: 1;
  background: #fdfaf3; color: #111;
  border-radius: 16px; padding: 2rem 1.75rem;
  max-width: 480px; width: 100%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  max-height: 90vh; overflow-y: auto;
}
.waitlist-modal__close {
  position: absolute; top: 0.5rem; right: 0.75rem;
  background: transparent; border: 0; font-size: 1.75rem; line-height: 1;
  cursor: pointer; color: #6b7280;
}
.waitlist-modal__close:hover { color: #111; }
.waitlist-modal__title { font-size: 1.5rem; margin: 0 0 0.5rem; font-weight: 700; }
.waitlist-modal__lede { color: #4b5563; font-size: 0.9rem; margin: 0 0 1.25rem; }
.waitlist-modal__message {
  padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  font-size: 0.9rem;
}
.waitlist-modal__message--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.waitlist-modal__message--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

.waitlist-form { display: flex; flex-direction: column; gap: 0.875rem; }
.waitlist-form__field { display: flex; flex-direction: column; gap: 0.375rem; }
.waitlist-form__label { font-size: 0.85rem; font-weight: 600; color: #374151; }
.waitlist-form__input {
  width: 100%; padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db; border-radius: 8px;
  font-size: 0.95rem; background: #fff;
  box-sizing: border-box;
}
.waitlist-form__input:focus { outline: 2px solid #4F46E5; outline-offset: 1px; border-color: #4F46E5; }
.waitlist-form__check {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9rem; color: #374151; cursor: pointer;
}
.waitlist-form__check input { margin-top: 0.2rem; }
.waitlist-form__turnstile { min-height: 65px; }
.waitlist-form__submit {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: #4F46E5; color: #fff; border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
}
.waitlist-form__submit:hover { background: #4338CA; }
.waitlist-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.waitlist-form__fineprint { font-size: 0.75rem; color: #6b7280; margin: 0; text-align: center; }
.waitlist-form__fineprint a { color: #4F46E5; text-decoration: underline; }

.final-cta__actions {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.5rem;
}
