/* Creator Studio marketing - doomersion.com/studio */

:root {
  --bg: #ffffff;
  --bg-deep: #fafafa;
  --panel: rgba(10, 10, 11, 0.03);
  --panel-hover: rgba(10, 10, 11, 0.05);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(10, 10, 11, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.95);
  --text: #0a0a0b;
  --muted: rgba(10, 10, 11, 0.62);
  --muted-dim: rgba(10, 10, 11, 0.4);
  --line: rgba(10, 10, 11, 0.1);
  --line-strong: rgba(10, 10, 11, 0.16);
  --cyan: #0891b2;
  --cyan-dim: rgba(8, 145, 178, 0.14);
  --label-blue: #6BA8E8;
  --orange: #ff7a2f;
  --orange-dim: rgba(255, 122, 47, 0.16);
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --green: #16a34a;
  --red: #dc2626;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  /* Wire-frame grid (ElevenLabs-style: dots at line intersections only) */
  --sm-wire: rgba(10, 10, 11, 0.12);
  --sm-node: #0a0a0b;
  --sm-dot: radial-gradient(circle, var(--sm-node) 2px, transparent 2.15px);
  --sm-dot-size: 5px 5px;
  --sm-line-inset: 6px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --surface: #f3f3f4;
  --surface-deep: #ececee;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: #ffffff;
  color: #0a0a0b;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: clip;
  max-width: 100%;
}

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

a { color: inherit; text-decoration: none; }

.sm-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.sm-gradient {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue-bright) 48%, #0a0a0b 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sm-zone--dark .sm-gradient {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue-bright) 42%, #ffffff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Page zones (white → black → white) ---- */
.sm-zone--light {
  background: #ffffff;
  color: var(--text);
  --grid-line: rgba(10, 10, 11, 0.1);
  position: relative;
  z-index: 2;
}

.sm-zone--scroll {
  position: relative;
}

/* Light scroll zone: features, insight, proof, API, pricing */
.sm-zone--light .sm-feature {
  border-color: rgba(10, 10, 11, 0.1);
  background: #ffffff;
}

.sm-zone--light .sm-feature:hover {
  border-color: rgba(8, 145, 178, 0.22);
  box-shadow: 0 16px 48px rgba(10, 10, 11, 0.08);
}

.sm-zone--light .sm-feature-body {
  color: rgba(10, 10, 11, 0.82);
}

.sm-wire-cells.sm-features .sm-feature-body {
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.5;
}

.sm-wire-cells.sm-features .sm-feature-img {
  border-bottom: 1px solid rgba(10, 10, 11, 0.06);
  background: #ffffff;
}

.sm-zone--light .sm-cap-card {
  border-color: rgba(10, 10, 11, 0.08);
  background: #ffffff;
}

.sm-zone--light .sm-grid-frame__inner .sm-cap-grid {
  border: none;
  gap: 16px;
  background: transparent;
}

.sm-zone--light .sm-grid-frame__inner .sm-cap-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
}

.sm-zone--light .sm-step:hover {
  background: rgba(10, 10, 11, 0.02);
}

.sm-zone--light .sm-api-list li {
  color: rgba(10, 10, 11, 0.82);
}

.sm-zone--light .sm-api-list strong {
  color: #0a0a0b;
}

.sm-zone--light .sm-showcase-frame {
  background: linear-gradient(145deg, rgba(8, 145, 178, 0.06), rgba(37, 99, 235, 0.04));
  border-color: rgba(10, 10, 11, 0.08);
  box-shadow: 0 32px 80px rgba(10, 10, 11, 0.08);
}

.sm-zone--light .sm-section h2,
.sm-zone--light .sm-showcase-copy h2 {
  color: #0a0a0b;
}

.sm-zone--light .sm-stat-num {
  color: #0a0a0b;
}

.sm-zone--light .sm-caption {
  color: var(--muted-dim);
}

.sm-zone--light .sm-section-label {
  color: var(--label-blue);
}

.sm-zone--light .sm-section--pricing {
  padding-top: 72px;
}

.sm-zone--pricing {
  background: #ffffff;
  padding-top: 0;
  margin-top: -1px;
}

.sm-zone--pricing .sm-section--pricing {
  padding-top: 72px;
}

.sm-zone--dark {
  --bg: #050508;
  --bg-deep: #020408;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-hover: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --muted-dim: rgba(255, 255, 255, 0.34);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --grid-line: rgba(255, 255, 255, 0.14);
  --cyan: #7ff3fe;
  --cyan-dim: rgba(127, 243, 254, 0.18);
  --blue-bright: #7eb8ff;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-deep: rgba(255, 255, 255, 0.04);
  background: #050508;
  color: var(--text);
  position: relative;
  isolation: isolate;
}

/* Editorial grid frame - side rails + section dividers (post-hero features) */
.sm-grid-frame {
  --grid-reveal: 0;
  --grid-content-reveal: 0;
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
}

.sm-grid-frame__inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  border: none;
  background: transparent;
}

/* Outer wire: lines stop at corner nodes (ElevenLabs-style) */
.sm-grid-frame__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat;
}

.sm-grid-frame__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot);
  background-size: var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
  background-position: left top, right top, left bottom, right bottom;
  background-repeat: no-repeat;
}

.sm-grid-frame__inner > .sm-showcase,
.sm-grid-frame__inner > .sm-section {
  padding-left: clamp(24px, 4vw, 40px);
  padding-right: clamp(24px, 4vw, 40px);
  opacity: var(--grid-content-reveal);
  transform: translateY(calc((1 - var(--grid-content-reveal)) * 28px));
  will-change: opacity, transform;
}

/* Light scroll zone: never hide sections (grid reveal targets hero bridge only) */
.sm-zone--light .sm-grid-frame {
  --grid-reveal: 1;
  --grid-content-reveal: 1;
}

.sm-zone--light .sm-grid-frame__inner > .sm-showcase,
.sm-zone--light .sm-grid-frame__inner > .sm-section {
  opacity: 1;
  transform: none;
}

/* Compatible platforms - integration card (inside grid frame at zone edge) */
.sm-compatible {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) clamp(28px, 4vw, 40px);
  border-bottom: 1px solid rgba(10, 10, 11, 0.06);
}

.sm-grid-frame__inner > .sm-compatible .sm-wrap {
  width: 100%;
  margin: 0;
}

.sm-compatible-card {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 3vw, 24px) clamp(20px, 4vw, 28px);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: calc(var(--radius-xl) + 2px);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
  animation: sm-compat-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sm-compatible-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 4px;
}

.sm-compatible-node {
  position: relative;
  width: 52px;
  height: 52px;
  margin-left: -14px;
  flex-shrink: 0;
}

.sm-compatible-node:first-child {
  margin-left: 0;
}

.sm-compatible-node--tiktok {
  z-index: 2;
}

.sm-compatible-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: center;
}

.sm-compatible-node--tiktok .sm-compatible-ring {
  /* static - spin is driven by dashoffset only */
}

.sm-compatible-ring-track {
  fill: none;
  stroke: rgba(10, 10, 11, 0.06);
  stroke-width: 1.75;
}

.sm-compatible-ring-spin {
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 24 76;
  stroke-dashoffset: 0;
  animation: sm-compat-spin 2.6s linear infinite;
}

.sm-compatible-node--tiktok .sm-compatible-ring-spin {
  stroke: #0891b2;
  animation-duration: 3s;
  animation-direction: reverse;
}

@keyframes sm-compat-spin {
  to {
    stroke-dashoffset: -100;
  }
}

.sm-compatible-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 10, 11, 0.06);
  box-shadow: 0 4px 14px rgba(10, 10, 11, 0.08);
  margin: 6px;
}

.sm-compatible-icon svg {
  display: block;
}

.sm-compatible-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.sm-compatible-kicker {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.38);
  margin-bottom: 6px;
}

.sm-compatible-title {
  font-size: clamp(17px, 2.2vw, 19px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #0a0a0b;
  margin-bottom: 4px;
}

.sm-compatible-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(10, 10, 11, 0.55);
  max-width: 42ch;
}

.sm-compatible-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes sm-compat-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .sm-compatible-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .sm-compatible-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-compatible-card {
    animation: none;
  }

  .sm-compatible-ring-spin {
    animation: none;
    stroke-dasharray: 24 76;
    stroke-dashoffset: -38;
    opacity: 0.75;
  }
}

.sm-grid-frame.is-revealed > .sm-grid-frame__inner > .sm-showcase,
.sm-grid-frame.is-revealed > .sm-grid-frame__inner > .sm-section {
  will-change: auto;
}

.sm-grid-frame__inner > .sm-section {
  position: relative;
  border-top: none;
  z-index: 2;
}

.sm-grid-frame__inner > .sm-section::before {
  content: "";
  position: absolute;
  left: var(--sm-line-inset);
  right: var(--sm-line-inset);
  top: 0;
  height: 1px;
  background: var(--sm-wire);
  pointer-events: none;
}

.sm-grid-frame__inner > .sm-section::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  right: 0;
  height: var(--sm-dot-size);
  pointer-events: none;
  background-image: var(--sm-dot), var(--sm-dot);
  background-size: var(--sm-dot-size), var(--sm-dot-size);
  background-position: left top, right top;
  background-repeat: no-repeat;
}

.sm-grid-frame__inner > .sm-showcase {
  border-bottom: none;
  position: relative;
  z-index: 2;
}

.sm-grid-frame__inner > .sm-showcase::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2.5px;
  height: var(--sm-dot-size);
  pointer-events: none;
  z-index: 1;
  background-image: var(--sm-dot), var(--sm-dot);
  background-size: var(--sm-dot-size), var(--sm-dot-size);
  background-position: left top, right top;
  background-repeat: no-repeat;
}

.sm-grid-frame__inner > .sm-showcase::after {
  content: "";
  position: absolute;
  left: var(--sm-line-inset);
  right: var(--sm-line-inset);
  bottom: 0;
  height: 1px;
  background: var(--sm-wire);
  pointer-events: none;
}

.sm-grid-frame__inner .sm-showcase-row + .sm-showcase-row {
  border-top: none;
  position: relative;
}

.sm-grid-frame__inner .sm-showcase-row + .sm-showcase-row::before {
  content: "";
  position: absolute;
  left: var(--sm-line-inset);
  right: var(--sm-line-inset);
  top: 0;
  height: 1px;
  background: var(--sm-wire);
}

.sm-grid-frame__inner .sm-showcase-row + .sm-showcase-row::after {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  right: 0;
  height: var(--sm-dot-size);
  pointer-events: none;
  background-image: var(--sm-dot), var(--sm-dot);
  background-size: var(--sm-dot-size), var(--sm-dot-size);
  background-position: left top, right top;
  background-repeat: no-repeat;
}

.sm-grid-frame__inner .sm-features,
.sm-grid-frame__inner .sm-steps,
.sm-grid-frame__inner .sm-cap-grid,
.sm-grid-frame__inner .sm-engine-grid {
  border: none;
  gap: 0;
  background: transparent;
}

.sm-grid-frame__inner .sm-feature,
.sm-grid-frame__inner .sm-step,
.sm-grid-frame__inner .sm-cap-card,
.sm-grid-frame__inner .sm-engine-card {
  border: none;
  border-radius: 0;
  background: #ffffff;
}

.sm-grid-frame__inner .sm-api-grid {
  border: none;
}

.sm-grid-frame__inner .sm-api-panel,
.sm-grid-frame__inner .sm-api-copy {
  border-color: transparent;
}

.sm-zone-edge {
  pointer-events: none;
  position: relative;
  z-index: 2;
}

/* Long smooth bridges between white and black zones */
.sm-zone-bridge {
  pointer-events: none;
  position: relative;
  z-index: 2;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.sm-zone-bridge--to-dark {
  height: clamp(300px, 52vh, 620px);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 8%,
    #f0f0f1 16%,
    #e2e2e5 24%,
    #d0d0d5 32%,
    #b8b8bf 40%,
    #9a9aa3 48%,
    #7a7a85 56%,
    #5c5c66 64%,
    #42424a 72%,
    #2e2e34 80%,
    #1c1c21 88%,
    #101014 94%,
    #08080b 98%,
    #050508 100%
  );
}

.sm-zone-bridge--to-dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(5, 5, 8, 0.35) 45%,
    rgba(5, 5, 8, 0.85) 78%,
    #050508 100%
  );
  pointer-events: none;
}

.sm-zone-bridge--to-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 55%,
    rgba(5, 5, 8, 0.08) 100%
  );
  pointer-events: none;
}

.sm-zone-bridge--to-light {
  height: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.sm-zone-bridge--to-light::before {
  content: none;
}

.sm-zone--light.sm-zone--scroll {
  background: #ffffff;
}

.sm-zone-edge--top {
  height: clamp(260px, 42vh, 520px);
  margin-top: -1px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f6f6f6 5%,
    #ececec 10%,
    #d2d2d2 20%,
    #9a9a9a 35%,
    #585858 50%,
    #252525 65%,
    #0c0c0c 82%,
    #050508 100%
  );
}

.sm-zone-edge--bottom {
  height: clamp(260px, 42vh, 520px);
  background: linear-gradient(
    180deg,
    #050508 0%,
    #0c0c0c 18%,
    #252525 38%,
    #585858 55%,
    #9a9a9a 70%,
    #d2d2d2 85%,
    #ececec 94%,
    #ffffff 100%
  );
}

/* ---- Aurora background (dark zone only) ---- */
.sm-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.sm-aurora-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  animation: sm-drift 18s ease-in-out infinite alternate;
}

.sm-aurora-glow--cyan {
  width: min(70vw, 680px);
  height: min(70vw, 680px);
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(127, 243, 254, 0.55) 0%, rgba(127, 243, 254, 0.08) 55%, transparent 72%);
}

.sm-aurora-glow--orange {
  width: min(45vw, 420px);
  height: min(45vw, 420px);
  top: 8%;
  right: -5%;
  background: radial-gradient(circle, rgba(255, 122, 47, 0.35) 0%, transparent 68%);
  animation-delay: -6s;
}

.sm-aurora-glow--blue {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  top: 18%;
  left: -8%;
  background: radial-gradient(circle, rgba(77, 159, 255, 0.32) 0%, transparent 68%);
  animation-delay: -12s;
}

.sm-aurora-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(127, 243, 254, 0.15) 20%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(127, 243, 254, 0.15) 80%,
    transparent 100%
  );
  opacity: 0.6;
}

@keyframes sm-drift {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-48%) translateY(-24px) scale(1.06); }
}

/* ---- Liquid glass nav ---- */
.sm-nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 18px 20px 0;
  pointer-events: none;
}

.sm-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(920px, 100%);
  max-width: 100%;
  min-width: 0;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  overflow: visible;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.sm-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 48%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Nav: liquid-glass shell - brighter over dark hero, softer over light sections */
.sm-nav.sm-glass {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.22) 42%,
    rgba(255, 255, 255, 0.32) 100%
  );
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sm-nav.is-theme-dark.sm-glass {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    rgba(255, 255, 255, 0.02) 62%,
    rgba(255, 255, 255, 0.08) 100%
  );
  backdrop-filter: blur(48px) saturate(200%) brightness(1.12);
  -webkit-backdrop-filter: blur(48px) saturate(200%) brightness(1.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(255, 255, 255, 0.08),
    inset 1px 0 0 rgba(255, 255, 255, 0.1),
    inset -1px 0 0 rgba(255, 255, 255, 0.1);
}

.sm-nav.is-scrolled {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.34) 42%,
    rgba(255, 255, 255, 0.46) 100%
  );
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.sm-nav.is-theme-dark.is-scrolled {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.04) 62%,
    rgba(255, 255, 255, 0.1) 100%
  );
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    inset 1px 0 0 rgba(255, 255, 255, 0.12),
    inset -1px 0 0 rgba(255, 255, 255, 0.12);
}

/* Zone theme: text + CTA only (glass stays the same) */
.sm-nav.is-theme-light .sm-brand,
.sm-nav.is-theme-light .sm-nav-link {
  color: rgba(10, 10, 11, 0.72);
}

.sm-nav.is-theme-light .sm-brand:hover,
.sm-nav.is-theme-light .sm-nav-link:hover:not(.sm-nav-cta) {
  color: #0a0a0b;
  background: rgba(10, 10, 11, 0.06);
}

.sm-nav.is-theme-light .sm-nav-cta {
  background: linear-gradient(135deg, #6ba8f5 0%, #3b82f6 55%, #3478ef 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sm-nav.is-theme-light .sm-nav-cta:hover {
  background: linear-gradient(135deg, #5b9aef 0%, #3478ef 55%, #2f6fe8 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.sm-nav.is-theme-dark .sm-brand,
.sm-nav.is-theme-dark .sm-nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.sm-nav.is-theme-dark .sm-brand:hover,
.sm-nav.is-theme-dark .sm-nav-link:hover:not(.sm-nav-cta) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.sm-nav.is-theme-dark .sm-nav-cta {
  background: linear-gradient(135deg, #6ba8f5 0%, #3b82f6 55%, #3478ef 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sm-nav.is-theme-dark .sm-nav-cta:hover {
  background: linear-gradient(135deg, #5b9aef 0%, #3478ef 55%, #2f6fe8 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.sm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  min-width: 0;
  flex-shrink: 1;
}

.sm-brand-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.sm-nav .sm-brand-logo--light,
.sm-nav .sm-brand-logo--dark {
  display: none;
}

.sm-nav.is-theme-dark .sm-brand-logo--light {
  display: block;
}

.sm-nav.is-theme-light .sm-brand-logo--dark {
  display: block;
}

.sm-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 0;
}

.sm-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(10, 10, 11, 0.72);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.sm-nav-link:hover:not(.sm-nav-cta) {
  color: #0a0a0b;
  background: rgba(10, 10, 11, 0.06);
}

.sm-nav-cta {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  margin-left: 2px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

/* ---- Hero ---- */
.sm-hero {
  padding-top: 88px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sm-hero--center {
  justify-content: center;
  text-align: center;
  min-height: 92vh;
  padding-bottom: 0;
}

.sm-hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 28px;
}

.sm-hero-inner:has(.sm-confirm.is-visible) .sm-hero-cta,
.sm-hero-inner:has(.sm-confirm.is-visible) .sm-hero-note {
  display: none;
}

.sm-h1--center { max-width: none; }

.sm-hero-sub--center {
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.sm-hero-cta {
  width: min(720px, 100%);
  margin: 36px auto 0;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.sm-tabs--inline {
  border-bottom: none;
  margin-bottom: 0;
  gap: 18px;
  flex-shrink: 0;
}

.sm-inline-form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 280px);
}

.sm-inline-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sm-inline-field:focus-within {
  border-color: rgba(127, 243, 254, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 243, 254, 0.1);
}

.sm-inline-field .sm-handle-input {
  padding: 13px 0;
}

.sm-btn-primary--inline {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 13px 22px;
  flex-shrink: 0;
}

.sm-hero-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-dim);
}

.sm-error--center { text-align: center; width: 100%; }

.sm-confirm--center {
  width: min(480px, 100%);
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.sm-zone--light .sm-hero-cta {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(250, 250, 250, 0.92) 100%
  );
  border-color: rgba(10, 10, 11, 0.12);
  box-shadow:
    0 16px 48px rgba(10, 10, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.sm-zone--light .sm-tab {
  color: var(--muted-dim);
}

.sm-zone--light .sm-tab.is-active {
  color: var(--text);
}

.sm-zone--light .sm-tab.is-active::after {
  background: #0a0a0b;
}

.sm-zone--light .sm-inline-field {
  background: rgba(10, 10, 11, 0.04);
  border-color: rgba(10, 10, 11, 0.12);
}

.sm-zone--light .sm-inline-field:focus-within {
  border-color: rgba(8, 145, 178, 0.45);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.sm-zone--light .sm-handle-input,
.sm-zone--light .sm-field-input {
  color: var(--text);
}

.sm-zone--light .sm-handle-input::placeholder,
.sm-zone--light .sm-field-input::placeholder {
  color: rgba(10, 10, 11, 0.32);
}

.sm-zone--light .sm-confirm--center {
  border-color: rgba(10, 10, 11, 0.1);
  background: rgba(10, 10, 11, 0.02);
}

.sm-zone--light .sm-input-wrap {
  border-color: rgba(10, 10, 11, 0.12);
  background: rgba(10, 10, 11, 0.03);
}

.sm-zone--light .sm-label {
  color: rgba(10, 10, 11, 0.82);
}

/* Legacy split hero (unused) */
.sm-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  flex: 1;
  min-height: calc(100vh - 88px);
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  gap: 24px;
  align-items: center;
}

.sm-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 48px 8px;
}

.sm-kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--label-blue);
  margin-bottom: 28px;
  opacity: 0.95;
  text-shadow: 0 0 24px rgba(107, 168, 232, 0.35);
}

.sm-h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 13ch;
}

.sm-zone--light .sm-h1 {
  color: #0a0a0b;
  text-shadow: none;
}

.sm-zone--light .sm-gradient {
  background: linear-gradient(100deg, #0891b2 0%, #2563eb 48%, #0a0a0b 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sm-zone--light .sm-kicker {
  color: var(--label-blue);
  text-shadow: none;
}

.sm-hero-sub {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.sm-hero-body {
  font-size: 15px;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.65;
}

.sm-hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 48px;
}

.sm-form-card {
  width: min(420px, 100%);
  padding: 32px 32px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.07) 100%
  );
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.sm-form-title {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  margin-bottom: 28px;
  line-height: 1.1;
}

.sm-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.sm-tabs--compact {
  margin-bottom: 20px;
}

.sm-tab {
  border: none;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 0 0 12px;
  cursor: pointer;
  position: relative;
  margin-bottom: -1px;
}

.sm-tab.is-active {
  color: var(--text);
}

.sm-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
}

.sm-tab:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.sm-tab-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-dim);
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sm-field {
  display: block;
  margin-bottom: 18px;
}

.sm-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
}

.sm-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  padding: 0 14px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.sm-input-wrap:focus-within {
  border-color: rgba(127, 243, 254, 0.45);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 0 3px rgba(127, 243, 254, 0.1);
}

.sm-input-prefix {
  font-family: var(--mono);
  color: var(--muted-dim);
  font-size: 15px;
  margin-right: 4px;
}

.sm-handle-input,
.sm-field-input {
  flex: 1;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  padding: 14px 0;
  outline: none;
  min-width: 0;
}

.sm-handle-input::placeholder,
.sm-field-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.sm-handle-form {
  display: block;
}

.sm-btn-primary {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #0a0a0b;
  color: #ffffff;
  margin-top: 6px;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.06);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.sm-btn-primary:hover:not(:disabled) {
  background: #1a1a1c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.14);
}

.sm-btn-primary:disabled { opacity: 0.55; cursor: wait; }

.sm-form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-dim);
  line-height: 1.5;
}

.sm-error {
  font-size: 13px;
  color: var(--red);
  min-height: 18px;
  margin-top: 8px;
}

.sm-confirm {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sm-confirm.is-visible { display: block; }

.sm-confirm h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.sm-confirm p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.55;
}

.sm-email-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-email-field .sm-input-wrap { margin-bottom: 0; }

/* Status strip */
.sm-status-strip {
  padding: 16px 48px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.sm-zone--light .sm-status-strip {
  color: rgba(8, 145, 178, 0.85);
  background: rgba(10, 10, 11, 0.03);
}

.sm-zone--dark .sm-status-strip {
  color: rgba(127, 243, 254, 0.7);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

/* Preview band */
.sm-preview-band {
  padding: 64px 0 48px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  position: relative;
}

.sm-terminal {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(12px);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(127, 243, 254, 0.06) inset;
}

.sm-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
}

.sm-terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.sm-terminal-dot.is-blue {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(127, 243, 254, 0.55);
}

.sm-terminal-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

/* ---- Feature showcase rows ---- */
.sm-showcase {
  padding: 48px 0 80px;
  background: transparent;
  border-top: none;
  position: relative;
  z-index: 1;
}

.sm-zone--dark .sm-section {
  background: transparent;
  position: relative;
  z-index: 1;
}

.sm-zone--dark .sm-section:first-of-type {
  border-top: none;
}

.sm-showcase-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.sm-showcase-row + .sm-showcase-row {
  border-top: 1px solid var(--line);
}

.sm-showcase-row--reverse .sm-showcase-visual { order: 2; }
.sm-showcase-row--reverse .sm-showcase-copy { order: 1; }

.sm-showcase-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(127, 243, 254, 0.08), rgba(77, 159, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.sm-showcase-frame--light {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.sm-showcase-frame img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-xl) - 8px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.sm-showcase-copy h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 32px;
  max-width: none;
}

.sm-stat-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.sm-stat-row {
  display: grid;
  grid-template-columns: minmax(104px, auto) 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.sm-stat-num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  white-space: nowrap;
}

.sm-stat-row strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.sm-stat-row p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- Sections ---- */
.sm-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
  position: relative;
  background: var(--bg);
}

.sm-section--dark {
  background: transparent;
}

.sm-section--pricing {
  background: #ffffff;
  border-top: none;
  color: #0a0a0b;
  --pricing-accent: #1d4ed8;
  --pricing-accent-dim: rgba(29, 78, 216, 0.42);
  --pricing-accent-soft: rgba(29, 78, 216, 0.08);
  --pricing-accent-glow: rgba(29, 78, 216, 0.28);
}

.sm-section--pricing h2,
.sm-section--pricing .sm-plan-name,
.sm-section--pricing .sm-plan-price {
  color: #0a0a0b;
}

.sm-section--pricing .sm-pricing-lead,
.sm-section--pricing .sm-plan-desc,
.sm-section--pricing .sm-plan-period,
.sm-section--pricing .sm-plan-note {
  color: var(--muted);
}

.sm-zone--light .sm-section {
  background: #ffffff;
}

.sm-zone--light .sm-section--pricing .sm-plan {
  background: #ffffff;
}

.sm-zone--light .sm-section--pricing .sm-plan--enterprise {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--pricing-accent-soft), transparent 55%),
    #fafafa;
}

.sm-zone--light .sm-plan-features li {
  color: rgba(10, 10, 11, 0.82);
}

.sm-zone--light .sm-btn-secondary {
  border-color: rgba(10, 10, 11, 0.18);
  color: #0a0a0b;
  background: rgba(10, 10, 11, 0.03);
}

.sm-zone--light .sm-btn-secondary:hover {
  background: rgba(10, 10, 11, 0.06);
  border-color: rgba(8, 145, 178, 0.4);
}

.sm-zone--light .sm-compare {
  background: #fafafa;
}

.sm-zone--light .sm-compare-row--head {
  background: rgba(10, 10, 11, 0.03);
}

.sm-zone--light .sm-compare-feature {
  color: rgba(10, 10, 11, 0.88);
}

.sm-zone--light .sm-section--pricing .sm-compare-yes {
  color: var(--pricing-accent);
}

.sm-zone--light .sm-faq-q {
  color: #0a0a0b;
}

.sm-section--pricing .sm-faq-a a {
  color: var(--pricing-accent);
}

.sm-zone--light .sm-hero {
  background: #ffffff;
}

.sm-zone--landing {
  min-height: auto;
  display: block;
  padding-bottom: clamp(24px, 4vw, 48px);
  z-index: 2;
}

.sm-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.035) 1px, transparent 0) 0 0 / 24px 24px,
    oklch(0.07 0.01 264);
}

.sm-hero-bg__glow {
  position: absolute;
  left: 58%;
  top: 42%;
  width: min(72vw, 640px);
  height: min(48vw, 400px);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(127, 243, 254, 0.1) 0%, rgba(8, 145, 178, 0.04) 45%, transparent 72%);
  filter: blur(48px);
}

.sm-zone--dark .sm-hero--modern {
  flex: none;
  min-height: auto;
  padding-bottom: 0;
}

.sm-hero-tray {
  padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
  background: #ffffff;
}

.sm-zone--dark .sm-handle-input,
.sm-zone--dark .sm-field-input {
  color: #ffffff;
}

.sm-zone--dark .sm-handle-input::placeholder,
.sm-zone--dark .sm-field-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.sm-zone--dark .sm-input-prefix {
  color: rgba(255, 255, 255, 0.5);
}

.sm-zone--light .sm-section-label {
  color: var(--label-blue);
}

.sm-section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label-blue);
  margin-bottom: 16px;
}

.sm-section h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  letter-spacing: -0.035em;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.06;
  max-width: 20ch;
}

.sm-section-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 52ch;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Insight demo - structured card inside wire frame */
.sm-wire-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: #ffffff;
}

.sm-wire-split::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 50% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat;
}

.sm-wire-split::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    var(--sm-dot), var(--sm-dot), var(--sm-dot),
    var(--sm-dot), var(--sm-dot), var(--sm-dot);
  background-size:
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size),
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
  background-position:
    left top, center top, right top,
    left bottom, center bottom, right bottom;
  background-repeat: no-repeat;
}

.sm-wire-split__cell {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: 32px 28px 36px;
}

.sm-wire-split .sm-api-copy {
  padding: 0;
}

.sm-wire-cells {
  position: relative;
  display: grid;
  gap: 0;
  background: #ffffff;
}

.sm-wire-cells--3 {
  grid-template-columns: repeat(3, 1fr);
}

.sm-wire-cells--3.sm-steps::before,
.sm-wire-cells--3.sm-cap-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 33.333% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 66.666% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat;
}

.sm-wire-cells--3.sm-steps::after,
.sm-wire-cells--3.sm-cap-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot),
    var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot);
  background-size:
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size),
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
  background-position:
    left top, 33.333% top, 66.666% top, right top,
    left bottom, 33.333% bottom, 66.666% bottom, right bottom;
  background-repeat: no-repeat;
}

.sm-wire-cells--3.sm-features::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 50% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 33.333% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
    linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 66.666% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat;
}

.sm-wire-cells--3.sm-features::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot),
    var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot),
    var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot);
  background-size:
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size),
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size),
    var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
  background-position:
    left top, 33.333% top, 66.666% top, right top,
    left center, 33.333% center, 66.666% center, right center,
    left bottom, 33.333% bottom, 66.666% bottom, right bottom;
  background-repeat: no-repeat;
}

.sm-wire-cells > * {
  position: relative;
  z-index: 3;
}

.sm-insight-card {
  padding: 0;
}

.sm-insight-card__head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(10, 10, 11, 0.08);
}

.sm-insight-card__eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.42);
  margin: 0 0 8px;
}

.sm-insight-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0a0a0b;
  margin: 0;
}

.sm-insight-stack {
  display: grid;
  gap: 0;
}

.sm-insight-row {
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 10, 11, 0.06);
}

.sm-insight-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sm-insight-row__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sm-insight-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.sm-insight-row--win { color: #15803d; }
.sm-insight-row--loss { color: #dc2626; }
.sm-insight-row--diff { color: #0891b2; }
.sm-insight-row--fix { color: #c2410c; }

.sm-insight-row__quote,
.sm-insight-row__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(10, 10, 11, 0.88);
}

.sm-insight-row__quote,
.sm-insight-row__body {
  font-style: normal;
  padding-left: 14px;
  border-left: 2px solid rgba(10, 10, 11, 0.08);
}

.sm-insight-row--win .sm-insight-row__quote { border-left-color: rgba(21, 128, 61, 0.35); }
.sm-insight-row--loss .sm-insight-row__quote { border-left-color: rgba(220, 38, 38, 0.35); }
.sm-insight-row--diff .sm-insight-row__body { border-left-color: rgba(8, 145, 178, 0.35); }
.sm-insight-row--fix .sm-insight-row__quote { border-left-color: rgba(194, 65, 12, 0.35); }

.sm-insight-row__meta {
  margin: 8px 0 0;
  padding-left: 14px;
  font-size: 12px;
  color: rgba(10, 10, 11, 0.48);
}

.sm-insight-row__meta strong {
  color: rgba(10, 10, 11, 0.78);
  font-weight: 700;
}

.sm-caption {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted-dim);
}

/* How it works - interactive funnel */
.sm-funnel {
  margin-top: 8px;
  --funnel-step-ms: 6500ms;
}

.sm-funnel-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: 20px;
  border: 1px solid rgba(10, 10, 11, 0.08);
  background:
    radial-gradient(circle at 1px 1px, rgba(10, 10, 11, 0.05) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #f7f7f8 0%, #f2f2f4 100%);
  overflow: hidden;
}

.sm-funnel-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 4px;
}

.sm-funnel-spine {
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(10, 10, 11, 0.12);
  pointer-events: none;
  z-index: 0;
}

.sm-funnel-spine__fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--cyan) 0%, #16a34a 100%);
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sm-funnel-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  width: 100%;
  margin: 0;
  padding: 12px 14px 16px 0;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.sm-funnel-node:not(.is-active):not(.is-done) {
  opacity: 0.72;
}

.sm-funnel-node:hover {
  background: rgba(255, 255, 255, 0.55);
}

.sm-funnel-node.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 10, 11, 0.08);
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.06);
  transform: translateX(2px);
}

.sm-funnel-node.is-done .sm-funnel-node__dot {
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.35);
}

.sm-funnel-node__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(10, 10, 11, 0.12);
  background: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.sm-funnel-node.is-active .sm-funnel-node__dot {
  background: #0a0a0b;
  border-color: #0a0a0b;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 10, 11, 0.06);
}

.sm-funnel-node__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
}

.sm-funnel-node__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0b;
}

.sm-funnel-node__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  background: #ffffff;
  font-size: 12px;
  color: rgba(10, 10, 11, 0.62);
  line-height: 1.3;
}

.sm-funnel-node__at {
  font-family: var(--mono);
  font-weight: 600;
  color: rgba(10, 10, 11, 0.38);
}

.sm-funnel-node__handle {
  font-family: var(--mono);
  font-weight: 600;
  color: #0a0a0b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-funnel-node__chip--studio {
  gap: 8px;
}

.sm-funnel-node__mini-bar {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #16a34a);
  flex-shrink: 0;
}

.sm-funnel-node__progress {
  position: absolute;
  left: 54px;
  right: 14px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.06);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sm-funnel-node.is-active .sm-funnel-node__progress {
  opacity: 1;
}

.sm-funnel-node__progress > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--label-blue), #16a34a);
  transform-origin: left center;
}

.sm-funnel-node.is-progressing .sm-funnel-node__progress > span {
  animation: sm-funnel-progress var(--funnel-step-ms) linear forwards;
}

.sm-funnel-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 2px 54px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 500;
  color: rgba(10, 10, 11, 0.58);
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sm-funnel-pill.is-lit {
  color: #0a0a0b;
  border-color: rgba(22, 163, 74, 0.22);
  transform: scale(1.02);
  animation: sm-funnel-pill-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sm-funnel-pill__icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.06);
  position: relative;
  flex-shrink: 0;
}

.sm-funnel-pill__icon--ok::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 4px;
  height: 7px;
  border-right: 1.5px solid #16a34a;
  border-bottom: 1.5px solid #16a34a;
  transform: rotate(45deg);
}

.sm-funnel-pill.is-lit .sm-funnel-pill__icon {
  background: rgba(22, 163, 74, 0.12);
}

.sm-funnel-panel {
  position: relative;
  min-height: 380px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 16px;
  border: 1px solid rgba(10, 10, 11, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(10, 10, 11, 0.05);
}

.sm-funnel-panel__stage {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: 320px;
}

.sm-funnel-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.55s;
}

.sm-funnel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 2;
}

.sm-funnel-slide.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
  z-index: 1;
}

.sm-funnel-slide__head h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  margin-top: 6px;
}

.sm-funnel-slide__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.42);
}

.sm-funnel-slide__copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

.sm-funnel-mock {
  border-radius: 14px;
  border: 1px solid rgba(10, 10, 11, 0.08);
  background: #fafafa;
  padding: 18px;
}

.sm-funnel-mock--handle {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sm-funnel-mock__tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.05);
  width: fit-content;
}

.sm-funnel-mock__tab {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(10, 10, 11, 0.45);
}

.sm-funnel-mock__tab.is-on {
  background: #ffffff;
  color: #0a0a0b;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.08);
}

.sm-funnel-mock__field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  background: #ffffff;
  font-family: var(--mono);
  font-size: 15px;
}

.sm-funnel-mock__prefix {
  color: rgba(10, 10, 11, 0.35);
}

.sm-funnel-mock__value {
  color: #0a0a0b;
  font-weight: 600;
}

.sm-funnel-mock__cursor {
  width: 2px;
  height: 18px;
  margin-left: 2px;
  background: var(--cyan);
  animation: sm-funnel-blink 1.1s step-end infinite;
}

.sm-funnel-mock__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--muted);
}

.sm-funnel-mock__stats strong {
  color: #0a0a0b;
  font-weight: 700;
}

.sm-funnel-mock--studio {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0a0a0b;
}

.sm-funnel-mock__shot {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.96;
}

.sm-funnel-mock__float {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-funnel-mock__float-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 600;
  color: #0a0a0b;
  backdrop-filter: blur(8px);
}

.sm-funnel-mock__float-pill--up {
  color: #15803d;
}

.sm-funnel-mock--plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
}

.sm-funnel-mock__plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sm-funnel-mock__plan-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.42);
}

.sm-funnel-mock__plan-score {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
}

.sm-funnel-mock__plan-quote {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid rgba(194, 65, 12, 0.35);
  font-size: 15px;
  line-height: 1.55;
  color: #0a0a0b;
  font-weight: 500;
}

.sm-funnel-mock__plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-funnel-mock__plan-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  font-size: 11px;
  color: rgba(10, 10, 11, 0.58);
  background: #fafafa;
}

@keyframes sm-funnel-progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes sm-funnel-pill-in {
  from {
    opacity: 0.55;
    transform: translateX(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1.02);
  }
}

@keyframes sm-funnel-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-funnel-slide {
    transition: none;
  }

  .sm-funnel-node.is-progressing .sm-funnel-node__progress > span {
    animation: none;
    width: 100%;
  }

  .sm-funnel-pill.is-lit {
    animation: none;
  }

  .sm-funnel-mock__cursor {
    animation: none;
  }

  .sm-funnel-spine__fill {
    transition: none;
  }
}

/* Legacy step grid (unused on marketing page) */
.sm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.sm-step {
  padding: 32px 28px;
  background: #ffffff;
  transition: background 0.2s;
}

.sm-wire-cells.sm-steps .sm-step:hover {
  background: rgba(10, 10, 11, 0.02);
}

.sm-step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.sm-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.sm-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Features */
.sm-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sm-wire-cells.sm-features {
  gap: 0;
}

.sm-feature {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s;
}

.sm-wire-cells.sm-features .sm-feature {
  border: none;
  border-radius: 0;
  background: #ffffff;
  overflow: hidden;
}

.sm-wire-cells.sm-features .sm-feature:hover {
  background: rgba(10, 10, 11, 0.02);
  transform: none;
  box-shadow: none;
}

.sm-feature:hover {
  border-color: rgba(127, 243, 254, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.sm-feature-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.sm-feature-body {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.01em;
}

/* Proof / engine */
.sm-proof-stats {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 20px;
  background: var(--panel);
}

.sm-engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.sm-engine-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  background: var(--panel);
  transition: border-color 0.2s, background 0.2s;
}

.sm-engine-card:hover {
  border-color: var(--line-strong);
  background: var(--panel-hover);
}

.sm-engine-stat {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.sm-engine-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.sm-engine-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.sm-engine-grid--compact {
  margin-bottom: 0;
  margin-top: 16px;
}

/* YC proof card — compact Backed by Y Combinator badge */
.sm-engine-card--yc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.sm-engine-card--yc .sm-yc-badge {
  margin-bottom: 10px;
}

.sm-engine-card--yc > p {
  margin-top: 0;
}

.sm-yc-badge {
  display: inline-flex;
  padding: 6px 10px 7px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(10, 10, 11, 0.04);
}

.sm-yc-badge__row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.sm-yc-badge__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #ff6600;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sm-yc-badge__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sm-yc-badge__backed {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

.sm-yc-badge__name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.sm-wire-cells.sm-cap-grid {
  gap: 0;
}

.sm-wire-cells.sm-cap-grid .sm-cap-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sm-wire-cells.sm-cap-grid .sm-cap-card:hover {
  transform: none;
  box-shadow: none;
  background: rgba(10, 10, 11, 0.02);
}

/* Capability cards - clean light UI */
.sm-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.sm-cap-card {
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px 24px 26px;
  background: #ffffff;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.sm-cap-card:hover {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 12px 40px rgba(10, 10, 11, 0.06);
  transform: translateY(-2px);
}

.sm-cap-viz {
  /* Fixed slot so every card's h3/body start on the same baseline. */
  height: 176px;
  min-height: 176px;
  flex: 0 0 176px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Depth meter */
.sm-cap-viz--depth {
  padding: 8px 12px 0;
}

.sm-cap-meter {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 220px;
}

.sm-cap-meter__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sm-cap-meter__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  text-align: center;
  line-height: 1.35;
  max-width: 88px;
}

.sm-cap-meter__track {
  width: 100%;
  max-width: 56px;
  height: 88px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid rgba(10, 10, 11, 0.1);
}

.sm-cap-meter__metric {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #60a5fa;
}

.sm-cap-meter__col--generic .sm-cap-meter__metric {
  color: rgba(10, 10, 11, 0.42);
}

.sm-cap-meter__fill {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom center;
  animation: sm-cap-meter-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sm-cap-meter__unit {
  font-size: 10px;
  color: var(--muted-dim);
  text-align: center;
  line-height: 1.3;
  max-width: 72px;
}

.sm-cap-meter__fill--you {
  height: 100%;
  background: linear-gradient(180deg, #60a5fa 0%, #dbeafe 100%);
  box-shadow: 0 8px 24px rgba(96, 165, 250, 0.3);
  animation-delay: 0.15s;
}

.sm-cap-meter__fill--generic {
  height: 15%;
  background: rgba(10, 10, 11, 0.12);
  animation-delay: 0.35s;
}

@keyframes sm-cap-meter-rise {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Shield / lock */
.sm-cap-shield {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
}

.sm-cap-shield__ring {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.35);
  animation: sm-cap-ring 3s ease-in-out infinite;
}

.sm-cap-shield__ring--outer {
  inset: 0;
  opacity: 0.45;
  animation-delay: 0.6s;
}

.sm-cap-shield__icon {
  width: 32px;
  height: 32px;
  color: #60a5fa;
  position: relative;
  z-index: 1;
  animation: sm-cap-lock-float 4s ease-in-out infinite;
}

@keyframes sm-cap-ring {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}

@keyframes sm-cap-lock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Studio workflow - plan → score → hook */
.sm-cap-viz--workflow {
  align-items: center;
  padding: 0 8px;
}

.sm-cap-flow {
  width: 100%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 100%;
}

.sm-cap-flow__step {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0 12px;
  position: relative;
  padding-bottom: 12px;
  opacity: 0.38;
  animation: sm-cap-flow-step 9s ease-in-out infinite;
}

.sm-cap-flow__step--1 { animation-delay: 0s; }
.sm-cap-flow__step--2 { animation-delay: 3s; }
.sm-cap-flow__step--3 { animation-delay: 6s; padding-bottom: 0; }

.sm-cap-flow__rail {
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 0;
  width: 1px;
  background: rgba(10, 10, 11, 0.1);
}

.sm-cap-flow__dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  margin-left: 5px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 10, 11, 0.18);
  background: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
  animation: sm-cap-flow-dot 9s ease-in-out infinite;
}

.sm-cap-flow__step--1 .sm-cap-flow__dot { animation-delay: 0s; }
.sm-cap-flow__step--2 .sm-cap-flow__dot { animation-delay: 3s; }
.sm-cap-flow__step--3 .sm-cap-flow__dot { animation-delay: 6s; }

.sm-cap-flow__body {
  min-width: 0;
}

.sm-cap-flow__tag {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 10, 11, 0.42);
  margin-bottom: 8px;
}

.sm-cap-flow__chips {
  display: flex;
  gap: 6px;
}

.sm-cap-flow__chips span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(10, 10, 11, 0.05);
  border: 1px solid rgba(10, 10, 11, 0.08);
  color: rgba(10, 10, 11, 0.45);
}

.sm-cap-flow__chips .is-lit {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.4);
  color: #3b82f6;
  animation: sm-cap-flow-chip 9s ease-in-out infinite;
}

.sm-cap-flow__score {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sm-cap-flow__meter {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.08);
  overflow: hidden;
}

.sm-cap-flow__meter-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #dbeafe);
  animation: sm-cap-flow-meter 9s ease-in-out infinite 3s;
}

.sm-cap-flow__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  min-width: 22px;
  opacity: 0.35;
  animation: sm-cap-flow-num 9s ease-in-out infinite 3s;
}

.sm-cap-flow__hook {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.sm-cap-flow__hook-from {
  color: rgba(10, 10, 11, 0.38);
  text-decoration: line-through;
  text-decoration-color: rgba(10, 10, 11, 0.22);
}

.sm-cap-flow__hook-arrow {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(10, 10, 11, 0.28);
}

.sm-cap-flow__hook-to {
  color: rgba(10, 10, 11, 0.72);
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  animation: sm-cap-flow-hook 9s ease-in-out infinite 6s;
}

@keyframes sm-cap-flow-step {
  0%, 4%, 30%, 100% { opacity: 0.38; }
  8%, 24% { opacity: 1; }
}

@keyframes sm-cap-flow-dot {
  0%, 4%, 30%, 100% {
    border-color: rgba(10, 10, 11, 0.18);
    background: #fff;
    box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
  }
  8%, 24% {
    border-color: #60a5fa;
    background: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.22);
  }
}

@keyframes sm-cap-flow-chip {
  0%, 4%, 30%, 100% {
    background: rgba(10, 10, 11, 0.05);
    border-color: rgba(10, 10, 11, 0.08);
    color: rgba(10, 10, 11, 0.45);
  }
  8%, 24% {
    background: rgba(96, 165, 250, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
    color: #3b82f6;
  }
}

@keyframes sm-cap-flow-meter {
  0%, 33%, 63%, 100% { width: 0%; }
  38%, 58% { width: 87%; }
}

@keyframes sm-cap-flow-num {
  0%, 33%, 63%, 100% { opacity: 0.35; }
  38%, 58% { opacity: 1; }
}

@keyframes sm-cap-flow-hook {
  0%, 66%, 96%, 100% {
    opacity: 0;
    transform: translateX(-4px);
  }
  70%, 92% {
    opacity: 1;
    transform: translateX(0);
  }
}

.sm-cap-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #0a0a0b;
  min-height: 2.6em; /* two-line titles keep body copy aligned across cards */
}

.sm-cap-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .sm-cap-meter__fill,
  .sm-cap-shield__ring,
  .sm-cap-shield__icon,
  .sm-cap-flow__step,
  .sm-cap-flow__dot,
  .sm-cap-flow__chips .is-lit,
  .sm-cap-flow__meter-fill,
  .sm-cap-flow__num,
  .sm-cap-flow__hook-to {
    animation: none;
  }

  .sm-cap-meter__fill {
    transform: none;
    opacity: 1;
  }

  .sm-cap-flow__step--3,
  .sm-cap-flow__step--3 .sm-cap-flow__dot {
    opacity: 1;
  }

  .sm-cap-flow__step--3 .sm-cap-flow__dot {
    border-color: #60a5fa;
    background: #60a5fa;
  }

  .sm-cap-flow__meter-fill {
    width: 87%;
  }

  .sm-cap-flow__num {
    opacity: 1;
  }

  .sm-cap-flow__hook-to {
    opacity: 1;
    transform: none;
  }
}

.sm-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sm-quote {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  background: var(--panel);
}

.sm-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted-dim);
}

/* Apollo-style pricing */
.sm-pricing-topbar {
  margin-bottom: 48px;
}

.sm-pricing-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 4px;
}

.sm-pricing-head h2 {
  max-width: none;
  margin-bottom: 12px;
}

.sm-pricing-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.sm-billing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sm-plan-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  min-height: 88px;
  margin-bottom: 12px;
  padding-top: 8px;
}

.sm-billing-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.sm-billing-label {
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.15s;
}

.sm-billing-label.is-active {
  color: var(--text);
  font-weight: 600;
}

.sm-billing-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  border: 2px solid var(--cyan);
  border-radius: 999px;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.15s;
}

.sm-billing-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  transition: transform 0.2s ease;
}

.sm-billing-switch.is-yearly .sm-billing-switch__thumb {
  transform: translateX(22px);
}

.sm-billing-save {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.sm-billing-save.is-hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.sm-plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: visible;
  margin-bottom: 48px;
  position: relative;
}

.sm-plan {
  padding: 40px 36px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
}

.sm-plan--creator {
  position: relative;
  border-right: 1px solid var(--line);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  padding: 48px 44px 52px;
}

.sm-plan--featured {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(8, 145, 178, 0.42);
  z-index: 1;
}

.sm-section--pricing .sm-plan--featured {
  box-shadow: inset 0 0 0 2px var(--pricing-accent-dim);
}

.sm-plan-popular {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 4;
  margin: 0;
  display: inline-block;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #ffffff;
  background: var(--cyan);
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.28);
}

.sm-section--pricing .sm-plan-popular {
  background: var(--pricing-accent);
  box-shadow: 0 2px 8px var(--pricing-accent-glow);
}

.sm-section--pricing .sm-billing-switch {
  border-color: var(--pricing-accent);
}

.sm-section--pricing .sm-billing-switch__thumb {
  background: var(--pricing-accent);
}

.sm-section--pricing .sm-billing-save {
  color: var(--pricing-accent);
}

.sm-plan-price-block {
  margin-bottom: 4px;
}

.sm-plan-equiv {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  min-height: 1.25em;
  transition: opacity 0.2s;
}

.sm-plan-equiv.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.sm-section--pricing .sm-plan-top {
  min-height: 0;
}

.sm-plan--enterprise {
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(8, 145, 178, 0.08), transparent 55%),
    var(--bg);
}

.sm-section--pricing .sm-plan--enterprise {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, var(--pricing-accent-soft), transparent 55%),
    var(--bg);
}

.sm-zone--dark .sm-plan--enterprise {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(127, 243, 254, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.sm-plan-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.sm-section--pricing .sm-plan-badge {
  color: var(--pricing-accent);
}

.sm-plan-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.sm-plan-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 36ch;
}

.sm-plan-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.sm-plan-was {
  font-size: 20px;
  font-weight: 600;
  color: var(--muted-dim);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.sm-plan-off {
  align-self: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pricing-accent, #2563eb);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.28);
  white-space: nowrap;
}

.sm-plan-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.sm-plan-price--custom {
  font-size: clamp(28px, 3vw, 36px);
}

.sm-plan-period {
  font-size: 14px;
  color: var(--muted);
}

.sm-plan-note {
  font-size: 12px;
  color: var(--muted-dim);
  margin-bottom: 4px;
}

.sm-plan-fineprint {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  margin: 10px 0 0;
  color: var(--muted-dim);
  background-image: linear-gradient(
    100deg,
    var(--muted-dim) 0%,
    var(--muted-dim) 40%,
    rgba(233, 236, 241, 0.95) 50%,
    var(--muted-dim) 60%,
    var(--muted-dim) 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sm-plan-fineprint-shimmer 4.5s linear infinite;
}

@keyframes sm-plan-fineprint-shimmer {
  to {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-plan-fineprint {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}

.sm-plan-features {
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 11px;
  align-content: start;
  min-height: 0;
}

.sm-plan-features li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
  color: rgba(10, 10, 11, 0.82);
  line-height: 1.4;
}

.sm-zone--dark .sm-plan-features li {
  color: rgba(255, 255, 255, 0.85);
}

.sm-plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

.sm-section--pricing .sm-plan-features li::before {
  color: var(--pricing-accent);
}

.sm-plan-form { margin-top: 0; }

.sm-plan-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sm-plan-actions .sm-btn-secondary {
  margin-top: 0;
}

.sm-plan-actions__docs.sm-btn-outline {
  width: 100%;
  border-radius: var(--radius);
  padding: 15px 24px;
  font-size: 14px;
}

.sm-zone--light .sm-plan-actions__docs.sm-btn-outline {
  background: #ffffff;
  color: #0a0a0b;
  border: 1px solid rgba(10, 10, 11, 0.18);
}

.sm-zone--light .sm-plan-actions__docs.sm-btn-outline:hover {
  background: rgba(10, 10, 11, 0.03);
  border-color: rgba(8, 145, 178, 0.4);
}

.sm-plan-trust {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 721px) {
  .sm-plan-actions {
    flex-direction: row;
    align-items: stretch;
  }

  .sm-plan-actions > a {
    flex: 1;
    min-width: 0;
  }
}

.sm-plan .sm-btn-secondary {
  margin-top: 0;
}

.sm-btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(10, 10, 11, 0.18);
  border-radius: var(--radius);
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 10, 11, 0.03);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.sm-btn-secondary:hover {
  background: rgba(10, 10, 11, 0.06);
  border-color: rgba(8, 145, 178, 0.4);
  transform: translateY(-1px);
}

.sm-zone--dark .sm-btn-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.sm-zone--dark .sm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(127, 243, 254, 0.35);
}

.sm-compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fafafa;
}

.sm-zone--dark .sm-compare {
  background: rgba(255, 255, 255, 0.02);
}

.sm-compare-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.sm-compare-table { display: grid; }

.sm-compare-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 12px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 14px;
}

.sm-compare-row:last-child { border-bottom: none; }

.sm-compare-row--head {
  background: rgba(10, 10, 11, 0.03);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sm-zone--dark .sm-compare-row--head {
  background: rgba(255, 255, 255, 0.03);
}

.sm-compare-feature { color: rgba(10, 10, 11, 0.88); }

.sm-zone--dark .sm-compare-feature { color: rgba(255, 255, 255, 0.88); }

.sm-compare-col {
  text-align: center;
  font-weight: 600;
}

.sm-compare-yes {
  color: var(--cyan);
  font-size: 16px;
}

.sm-section--pricing .sm-compare-yes {
  color: var(--pricing-accent);
}

.sm-compare-no {
  color: var(--muted-dim);
}

/* Legacy pricing split (unused) */
.sm-pricing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 540px;
}

.sm-pricing-left {
  padding: 52px 48px;
  background:
    radial-gradient(ellipse 75% 60% at 100% 50%, rgba(127, 243, 254, 0.14), transparent 62%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(255, 122, 47, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.sm-pricing-left h2 {
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: none;
}

.sm-pricing-left h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue-bright) 55%, #ffffff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sm-pricing-left .sm-anchor {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.sm-pricing-right {
  padding: 52px 48px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sm-pricing-card { max-width: none; }

.sm-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.sm-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.sm-price-alt {
  font-size: 14px;
  color: var(--muted);
}

.sm-price-list {
  list-style: none;
  margin: 24px 0 28px;
  display: grid;
  gap: 10px;
}

.sm-price-list li {
  font-size: 14px;
  padding-left: 18px;
  position: relative;
  color: rgba(255, 255, 255, 0.82);
}

.sm-price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(127, 243, 254, 0.45);
}

.sm-trial-note {
  font-size: 12px;
  color: var(--muted-dim);
  margin-top: 12px;
}

.sm-anchor {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* FAQ */
.sm-faq {
  max-width: 640px;
  margin: 56px auto 0;
}

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

.sm-faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 20px 28px 20px 0;
  cursor: pointer;
  position: relative;
  letter-spacing: -0.01em;
}

.sm-faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  color: var(--muted);
  font-size: 16px;
}

.sm-faq-item.is-open .sm-faq-q::after { content: "−"; }

.sm-faq-a {
  display: none;
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

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

.sm-faq-a a { color: var(--cyan); text-decoration: underline; }

/* Footer */
.sm-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted-dim);
  font-size: 13px;
  line-height: 2;
  background: #ffffff;
}

.sm-footer a {
  color: var(--muted-dim);
  transition: color 0.12s;
}

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

.sm-footer .sep { margin: 0 6px; opacity: 0.4; }

.sm-footer-company {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(10, 10, 11, 0.38);
}

.sm-demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--blue);
  color: #000;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px;
}

/* ---- ElevenLabs-inspired editorial UI ---- */
.sm-btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #ffffff;
  color: #0a0a0b;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.sm-btn-solid:hover {
  background: #f0f0f1;
  transform: translateY(-1px);
}

.sm-zone--light .sm-btn-solid {
  background: #0a0a0b;
  color: #ffffff;
}

.sm-zone--light .sm-btn-solid:hover {
  background: #1a1a1c;
}

.sm-btn-solid--sm {
  padding: 11px 18px;
  font-size: 13px;
}

/* CTA light sweep: a glowing line flashes across the button */
.sm-btn-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
  background: linear-gradient(135deg, #6ba8f5 0%, #3b82f6 55%, #3478ef 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sm-btn-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: 0;
  width: 28%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 25%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(191, 219, 254, 0.75) 55%,
    rgba(255, 255, 255, 0) 75%,
    transparent 100%
  );
  transform: translateX(-180%) skewX(-20deg);
  animation: sm-btn-glow-shine 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.sm-btn-glow:hover {
  background: linear-gradient(135deg, #5b9aef 0%, #3478ef 55%, #2f6fe8 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.sm-zone--light .sm-btn-glow {
  background: linear-gradient(135deg, #6ba8f5 0%, #3b82f6 55%, #3478ef 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sm-zone--light .sm-btn-glow:hover {
  background: linear-gradient(135deg, #5b9aef 0%, #3478ef 55%, #2f6fe8 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

@keyframes sm-btn-glow-shine {
  0%, 8% { transform: translateX(-180%) skewX(-20deg); }
  42% { transform: translateX(420%) skewX(-20deg); }
  100% { transform: translateX(420%) skewX(-20deg); }
}

@media (prefers-reduced-motion: reduce) {
  .sm-btn-glow::before {
    animation: none;
    opacity: 0;
  }
}

.sm-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}

.sm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.sm-zone--light .sm-btn-outline {
  background: #ffffff;
  color: #0a0a0b;
  border: 1px solid rgba(10, 10, 11, 0.14);
}

.sm-zone--light .sm-btn-outline:hover {
  background: #fafafa;
  border-color: rgba(10, 10, 11, 0.22);
}

.sm-btn-outline--sm {
  padding: 10px 16px;
  font-size: 13px;
}

.sm-pill-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.06);
  max-width: 100%;
  flex-wrap: wrap;
}

.sm-zone--dark .sm-pill-tabs {
  background: rgba(255, 255, 255, 0.08);
}

.sm-pill-tabs--compact {
  margin-bottom: 12px;
}

.sm-pill-tabs--center {
  margin-top: 24px;
}

.sm-pill-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.sm-pill-tab.is-active {
  background: #ffffff;
  color: #0a0a0b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sm-zone--dark .sm-pill-tab.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: none;
}

.sm-zone--dark .sm-pill-tab:not(.is-active) {
  color: rgba(255, 255, 255, 0.52);
}

.sm-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sm-pill-dot--cyan { background: linear-gradient(135deg, #7ff3fe, #0891b2); }
.sm-pill-dot--orange { background: linear-gradient(135deg, #ffb347, #ff7a2f); }
.sm-pill-dot--blue { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.sm-pill-dot--green { background: linear-gradient(135deg, #86efac, #16a34a); }

/* Modern landing hero */
.sm-hero--modern {
  position: relative;
  z-index: 1;
  padding: 108px 0 clamp(56px, 9vw, 88px);
  background: transparent;
}

.sm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.sm-hero-copy {
  grid-column: 1;
  align-self: start;
}

.sm-hero-preview {
  grid-column: 2;
  min-width: 0;
}

.sm-hero--modern .sm-h1 {
  max-width: 12ch;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  background-image: linear-gradient(
    100deg,
    rgba(196, 201, 212, 0.92) 0%,
    rgba(196, 201, 212, 0.92) 38%,
    rgba(255, 255, 255, 1) 50%,
    rgba(196, 201, 212, 0.92) 62%,
    rgba(196, 201, 212, 0.92) 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Softer, gentler glow sweep: easeInOutSine + longer cycle so the highlight
     eases across instead of a constant linear pass. */
  animation: sm-plan-fineprint-shimmer 6.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .sm-hero--modern .sm-h1 {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
  }
}

.sm-hero-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.58);
  max-width: 46ch;
  margin-bottom: 24px;
}

.sm-hero-card {
  background: rgba(8, 8, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.24),
    0 24px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  max-width: 420px;
}

.sm-hero-card .sm-pill-tabs {
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 12px;
}

.sm-hero-card .sm-pill-tab.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
}

.sm-hero-card .sm-pill-tab:not(.is-active) {
  color: rgba(255, 255, 255, 0.48);
}

.sm-hero-card .sm-signup-field {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sm-hero-card .sm-signup-field:focus-within {
  border-color: rgba(127, 243, 254, 0.4);
  box-shadow: 0 0 0 3px rgba(127, 243, 254, 0.08);
}

.sm-hero-card .sm-handle-input,
.sm-hero-card .sm-field-input {
  color: #ffffff;
}

.sm-hero-card .sm-handle-input::placeholder,
.sm-hero-card .sm-field-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.sm-hero-card .sm-input-prefix {
  color: rgba(255, 255, 255, 0.38);
}

.sm-hero-card .sm-hero-note {
  color: rgba(255, 255, 255, 0.42);
  margin-top: 12px;
}

.sm-hero-card .sm-hero-note__link {
  color: rgba(107, 168, 232, 0.92);
}

.sm-hero-card .sm-hero-note__link:hover {
  color: #6ba8e8;
}

.sm-hero-card .sm-label {
  color: rgba(255, 255, 255, 0.56);
}

.sm-hero-card .sm-confirm {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.sm-hero-card .sm-confirm h3 {
  color: #ffffff;
}

.sm-hero-card .sm-confirm p {
  color: rgba(255, 255, 255, 0.58);
}

.sm-hero-card .sm-input-wrap {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sm-hero-note__link {
  color: rgba(107, 168, 232, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.sm-hero-note__link:hover {
  color: #6ba8e8;
  text-decoration: underline;
}

.sm-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

.sm-hero-stats strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-right: 4px;
}

.sm-hero-preview__frame {
  --sm-wire-hero: rgba(255, 255, 255, 0.14);
  position: relative;
  padding: 6px;
}

.sm-hero-preview__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(var(--sm-wire-hero), var(--sm-wire-hero)) 6px 0 / calc(100% - 12px) 1px no-repeat,
    linear-gradient(var(--sm-wire-hero), var(--sm-wire-hero)) 6px 100% / calc(100% - 12px) 1px no-repeat,
    linear-gradient(90deg, var(--sm-wire-hero), var(--sm-wire-hero)) 0 6px / 1px calc(100% - 12px) no-repeat,
    linear-gradient(90deg, var(--sm-wire-hero), var(--sm-wire-hero)) 100% 6px / 1px calc(100% - 12px) no-repeat;
}

.sm-hero-preview__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 2px, transparent 2.15px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 2px, transparent 2.15px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 2px, transparent 2.15px),
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 2px, transparent 2.15px);
  background-size: 5px 5px, 5px 5px, 5px 5px, 5px 5px;
  background-position: left top, right top, left bottom, right bottom;
  background-repeat: no-repeat;
}

.sm-product-tray--hero {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.36);
}

.sm-product-tray--hero .sm-tray-tabs {
  margin-bottom: 14px;
}

.sm-product-tray--hero .sm-tray-stage {
  min-height: min(34vw, 320px);
}

.sm-product-tray--hero .sm-tray-window {
  background: #fafafa;
  border: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow: 0 16px 48px rgba(10, 10, 11, 0.1);
}

.sm-product-tray--hero .sm-tray-window--front {
  width: 100%;
}

.sm-product-tray--hero .sm-tray-window--back {
  width: 86%;
  opacity: 0.32;
  transform: translate(6%, 5%) scale(0.97);
}

.sm-product-tray--hero .sm-tray-caption {
  margin-top: 12px;
  text-align: left;
  font-size: 13px;
  color: rgba(10, 10, 11, 0.5);
}

.sm-hero--editorial {
  padding-top: 96px;
  padding-bottom: 48px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.sm-hero--editorial .sm-h1 {
  max-width: 14ch;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.sm-zone--dark .sm-hero--editorial .sm-h1 {
  color: #ffffff;
}

.sm-hero-top {
  padding-bottom: 48px;
}

.sm-hero--editorial .sm-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.sm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.sm-hero-aside {
  padding-top: 36px;
}

.sm-hero-aside p {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}

.sm-hero-signup,
.sm-hero-card {
  max-width: 420px;
}

.sm-hero-signup:has(.sm-confirm.is-visible) .sm-pill-tabs,
.sm-hero-signup:has(.sm-confirm.is-visible) .sm-signup-row,
.sm-hero-signup:has(.sm-confirm.is-visible) .sm-hero-note,
.sm-hero-card:has(.sm-confirm.is-visible) .sm-pill-tabs,
.sm-hero-card:has(.sm-confirm.is-visible) .sm-signup-row,
.sm-hero-card:has(.sm-confirm.is-visible) .sm-hero-note {
  display: none;
}

.sm-signup-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.sm-signup-field {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sm-zone--light .sm-signup-field {
  border: 1px solid rgba(10, 10, 11, 0.12);
  background: #ffffff;
}

.sm-signup-field:focus-within {
  border-color: rgba(127, 243, 254, 0.45);
  box-shadow: 0 0 0 3px rgba(127, 243, 254, 0.1);
}

.sm-zone--light .sm-signup-field:focus-within {
  border-color: rgba(10, 10, 11, 0.28);
  box-shadow: 0 0 0 3px rgba(10, 10, 11, 0.06);
}

.sm-signup-field .sm-handle-input {
  padding: 12px 0;
}

.sm-zone--dark .sm-hero:not(.sm-hero--landing) {
  min-height: auto;
  padding-bottom: 32px;
}

.sm-zone--dark .sm-hero--editorial {
  background: transparent;
}

.sm-zone--dark .sm-product-tray {
  background: rgba(6, 6, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sm-product-tray {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 28px;
  padding: 20px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.sm-zone--light .sm-product-tray {
  background: var(--surface);
  border: 1px solid rgba(10, 10, 11, 0.06);
  backdrop-filter: none;
}

.sm-tray-tabs {
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sm-tray-stage {
  position: relative;
  min-height: min(52vw, 420px);
  display: grid;
  place-items: center;
}

.sm-zone--dark .sm-tray-window {
  background: #050508;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.sm-tray-window {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.sm-tray-window img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.sm-tray-window--front {
  position: relative;
  z-index: 2;
  width: min(92%, 920px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sm-tray-window--back {
  position: absolute;
  z-index: 1;
  width: min(78%, 760px);
  opacity: 0.45;
  transform: translate(8%, 6%) scale(0.96);
  filter: blur(0.3px);
}

.sm-zone--dark .sm-tray-caption {
  color: rgba(255, 255, 255, 0.42);
}

.sm-tray-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.sm-api-block .sm-api-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.sm-api-block .sm-api-head h2 {
  max-width: none;
  margin-bottom: 0;
}

.sm-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.sm-api-grid.sm-wire-split {
  gap: 0;
}

.sm-wire-split .sm-api-copy {
  padding: 0;
}

.sm-wire-split .sm-api-panel {
  padding: 0;
}

.sm-api-copy h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.sm-api-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.sm-api-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.sm-api-list li {
  font-size: 14px;
  color: rgba(10, 10, 11, 0.72);
  padding-left: 0;
}

.sm-zone--dark .sm-api-list li {
  color: rgba(255, 255, 255, 0.82);
}

.sm-api-list strong {
  font-weight: 700;
  color: #0a0a0b;
}

.sm-zone--dark .sm-api-list strong {
  color: #fff;
}

.sm-api-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.sm-section-intro {
  margin-bottom: 36px;
}

.sm-section-intro--center {
  text-align: center;
}

.sm-section-intro--center h2 {
  max-width: none;
  margin-bottom: 0;
}

.sm-feature.is-filtered-out {
  display: none;
}

.sm-plan-grid {
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

.sm-plan {
  padding: 44px 40px;
}

/* ---- Developer API product card (ElevenLabs-style) ---- */
.sm-dev-api {
  padding: 72px 0 48px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.sm-dev-api-shell {
  --dev-grid: 18px;
  --dev-grid-major: 90px;
  padding: 40px 36px 44px;
  border-radius: var(--radius-xl);
  background-color: #ececee;
  background-image:
    radial-gradient(circle, rgba(10, 10, 11, 0.11) 0.85px, transparent 0.95px),
    radial-gradient(circle, rgba(10, 10, 11, 0.2) 1.2px, transparent 1.35px),
    linear-gradient(rgba(10, 10, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 11, 0.035) 1px, transparent 1px);
  background-size:
    var(--dev-grid) var(--dev-grid),
    var(--dev-grid-major) var(--dev-grid-major),
    var(--dev-grid) var(--dev-grid),
    var(--dev-grid) var(--dev-grid);
  max-width: 100%;
  min-width: 0;
}

.sm-dev-api-card {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius-xl) - 4px);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(10, 10, 11, 0.04);
  max-width: 100%;
  min-width: 0;
}

.sm-dev-api-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px 24px;
  border-bottom: 1px solid var(--line);
}

.sm-dev-api-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 6px;
}

.sm-dev-api-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  transition: background 0.15s, border-color 0.15s;
}

.sm-dev-api-cta:hover {
  background: var(--surface);
  border-color: rgba(10, 10, 11, 0.22);
}

.sm-dev-api-demo {
  padding: 30px 36px 36px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.sm-dev-api-demo-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label-blue);
  margin-bottom: 22px;
}

.sm-dev-api-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px 36px 40px;
  min-width: 0;
}

.sm-dev-api-row + .sm-dev-api-row {
  border-top: 1px solid var(--line);
}

.sm-dev-api-copy {
  min-width: 0;
}

.sm-dev-api-copy h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.sm-dev-api-copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 18px;
}

.sm-dev-api-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-dim);
}

.sm-dev-api-visual {
  min-height: 200px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-dev-api-visual--stack {
  position: relative;
  overflow: hidden;
}

.sm-dev-api-pill {
  position: absolute;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 11, 0.03);
  color: var(--muted);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(10, 10, 11, 0.06);
}

.sm-dev-api-pill.is-primary {
  z-index: 3;
  background: #0a0a0b;
  color: #ffffff;
  border-color: #0a0a0b;
  transform: rotate(-5deg);
  box-shadow: 0 20px 48px rgba(10, 10, 11, 0.18);
}

.sm-dev-api-pill:nth-child(2) {
  z-index: 2;
  transform: translate(36px, -28px) rotate(7deg);
}

.sm-dev-api-pill:nth-child(3) {
  z-index: 1;
  transform: translate(-24px, 32px) rotate(-9deg);
  opacity: 0.75;
}

.sm-dev-api-code {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafafa;
  overflow: hidden;
}

.sm-dev-api-copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
  border: 1px solid rgba(10, 10, 11, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(10, 10, 11, 0.55);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.sm-dev-api-copy-btn .sm-copy-icon {
  display: block;
}

.sm-dev-api-copy-btn:hover {
  color: #0a0a0b;
  border-color: rgba(10, 10, 11, 0.16);
  background: #ffffff;
}

.sm-dev-api-copy-btn.is-copied {
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.25);
}

.sm-dev-api-code pre {
  margin: 0;
  padding: 20px 48px 20px 22px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.65;
  color: #24292f;
  tab-size: 2;
}

.sm-dev-api-code code {
  display: block;
  max-width: 100%;
}

.sm-dev-api-code .tok-k { color: #cf222e; }
.sm-dev-api-code .tok-s { color: #0a3069; }

.sm-dev-api-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 36px 18px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}

.sm-dev-api-foot > span:first-child {
  min-width: 0;
  flex: 1;
}

.sm-dev-api-foot:hover {
  background: var(--surface-deep);
}

.sm-dev-api-arrow {
  font-size: 18px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .sm-nav-wrap { padding: 12px 12px 0; }

  .sm-nav {
    padding: 6px 6px 6px 12px;
    gap: 8px;
  }

  .sm-brand span {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sm-nav-cta {
    padding: 9px 14px;
    font-size: 12px;
  }

  .sm-hero {
    padding-top: 80px;
    min-height: auto;
  }

  .sm-hero--modern {
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .sm-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    position: relative;
  }

  .sm-hero-copy,
  .sm-hero-preview {
    grid-column: 1;
  }

  .sm-hero-copy {
    padding-right: 0;
  }

  .sm-hero-preview {
    order: 2;
  }

  .sm-hero--modern .sm-h1 {
    max-width: none;
  }

  .sm-hero-card {
    max-width: none;
  }

  .sm-product-tray--hero .sm-tray-stage {
    min-height: 220px;
  }

  .sm-hero--editorial .sm-hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sm-hero-aside {
    padding-top: 0;
  }

  .sm-hero-aside p {
    max-width: none;
  }

  .sm-signup-row {
    flex-direction: column;
  }

  .sm-signup-row .sm-btn-solid {
    width: 100%;
  }

  .sm-tray-window--back {
    display: none;
  }

  .sm-tray-window--front {
    width: 100%;
  }

  .sm-api-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sm-api-grid,
  .sm-api-grid.sm-wire-split {
    grid-template-columns: 1fr;
  }

  .sm-wire-split::before {
    background:
      linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
      linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
      linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
      linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
      linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 50% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat;
  }

  .sm-wire-split::after {
    background-image:
      var(--sm-dot), var(--sm-dot), var(--sm-dot),
      var(--sm-dot), var(--sm-dot), var(--sm-dot);
    background-size:
      var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size),
      var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
    background-position:
      left top, right top, left center,
      right center, left bottom, right bottom;
    background-repeat: no-repeat;
  }

  .sm-wire-cells--3 {
    grid-template-columns: 1fr;
  }

  .sm-wire-cells--3.sm-features::before,
  .sm-wire-cells--3.sm-steps::before,
  .sm-wire-cells--3.sm-cap-grid::before {
    background:
      linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 0 / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
      linear-gradient(var(--sm-wire), var(--sm-wire)) var(--sm-line-inset) 100% / calc(100% - var(--sm-line-inset) * 2) 1px no-repeat,
      linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 0 var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat,
      linear-gradient(90deg, var(--sm-wire), var(--sm-wire)) 100% var(--sm-line-inset) / 1px calc(100% - var(--sm-line-inset) * 2) no-repeat;
  }

  .sm-wire-cells--3.sm-features::after,
  .sm-wire-cells--3.sm-steps::after,
  .sm-wire-cells--3.sm-cap-grid::after {
    background-image: var(--sm-dot), var(--sm-dot), var(--sm-dot), var(--sm-dot);
    background-size: var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size), var(--sm-dot-size);
    background-position: left top, right top, left bottom, right bottom;
    background-repeat: no-repeat;
  }

  .sm-dev-api {
    padding: 48px 0 28px;
  }

  .sm-dev-api-shell {
    padding: 16px 12px 20px;
    border-radius: 18px;
  }

  .sm-dev-api-card {
    border-radius: 14px;
  }

  .sm-dev-api-card-head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 16px 16px;
  }

  .sm-dev-api-cta {
    width: 100%;
    justify-content: center;
  }

  .sm-dev-api-demo {
    padding: 20px 16px 24px;
  }

  .sm-dev-api-demo-label {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .sm-dev-api-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 16px 24px;
  }

  .sm-dev-api-copy p {
    max-width: none;
    font-size: 14px;
  }

  .sm-dev-api-visual {
    min-height: 0;
    width: 100%;
  }

  .sm-dev-api-visual--stack {
    min-height: 140px;
  }

  .sm-dev-api-pill {
    font-size: 11px;
    padding: 10px 14px;
  }

  .sm-dev-api-pill:nth-child(2) {
    transform: translate(18px, -18px) rotate(6deg);
  }

  .sm-dev-api-pill:nth-child(3) {
    transform: translate(-12px, 24px) rotate(-7deg);
  }

  .sm-dev-api-code {
    border-radius: 12px;
  }

  .sm-dev-api-code pre {
    padding: 14px 42px 14px 14px;
    font-size: 11px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    overflow-x: hidden;
  }

  .sm-dev-api-foot {
    align-items: flex-start;
    padding: 14px 16px 16px;
    font-size: 13px;
    line-height: 1.45;
  }

  .sm-product-tray--hero .sm-tray-tabs {
    width: 100%;
  }

  .sm-product-tray--hero .sm-pill-tab {
    padding: 8px 12px;
    font-size: 12px;
  }

  .sm-hero--modern .sm-h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .sm-hero-cta {
    flex-direction: column;
    border-radius: var(--radius-xl);
    padding: 20px;
    align-items: stretch;
  }

  .sm-tabs--inline {
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
  }

  .sm-inline-form {
    flex-direction: column;
    width: 100%;
  }

  .sm-inline-field { width: 100%; border-radius: var(--radius); }

  .sm-btn-primary--inline {
    width: 100%;
    border-radius: var(--radius);
  }

  .sm-hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }

  .sm-showcase-row,
  .sm-showcase-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0;
  }

  .sm-showcase-row--reverse .sm-showcase-visual,
  .sm-showcase-row--reverse .sm-showcase-copy {
    order: unset;
  }

  .sm-hero-copy {
    padding: 32px 0 28px;
    order: 1;
  }

  .sm-h1 { max-width: none; }

  .sm-hero-panel {
    padding: 0 0 40px;
    order: 2;
  }

  .sm-form-card { width: 100%; }

  .sm-status-strip { padding: 14px 24px; }

  .sm-funnel-shell {
    grid-template-columns: 1fr;
  }

  .sm-funnel-panel {
    min-height: 0;
  }

  .sm-funnel-pill {
    margin-left: 48px;
  }

  .sm-steps,
  .sm-features,
  .sm-engine-grid,
  .sm-cap-grid,
  .sm-plan-grid { grid-template-columns: 1fr; }

  .sm-plan-head {
    min-height: 80px;
    margin-bottom: 8px;
  }

  .sm-plan--creator {
    padding: 44px 28px 40px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .sm-compare {
    overflow: hidden;
  }

  .sm-compare-row {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    gap: 12px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .sm-compare-row--head {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .sm-compare-col {
    white-space: nowrap;
    padding-inline: 2px;
  }

  .sm-compare-feature {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .sm-compare-title {
    padding: 20px 16px;
  }

  .sm-steps { gap: 0; }

  .sm-quotes { grid-template-columns: 1fr; }

  .sm-pricing-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sm-pricing-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 40px 28px;
  }

  .sm-pricing-right { padding: 40px 28px; }

  .sm-section h2 { max-width: none; }
}

@media (max-width: 520px) {
  .sm-wrap { width: calc(100% - 32px); }
  .sm-grid-frame__inner { width: calc(100% - 32px); }
  .sm-grid-frame__inner > .sm-showcase,
  .sm-grid-frame__inner > .sm-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .sm-hero-split { width: calc(100% - 32px); }
  .sm-nav-link:not(.sm-nav-cta):not(.sm-nav-link--mobile) { display: none; }
  .sm-nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
  .sm-nav-wrap { padding: 10px 10px 0; }
  .sm-nav {
    padding: 5px 5px 5px 10px;
  }
  .sm-section { padding: 72px 0; }
  .sm-form-card { padding: 24px 20px; }

  .sm-dev-api-shell {
    padding: 10px 8px 14px;
  }

  .sm-dev-api-card-head,
  .sm-dev-api-demo,
  .sm-dev-api-row,
  .sm-dev-api-foot {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sm-dev-api-code pre {
    font-size: 10.5px;
    padding: 12px 38px 12px 12px;
  }

  .sm-plan--creator,
  .sm-plan--enterprise {
    padding-left: 20px;
    padding-right: 20px;
  }

  .sm-plan--enterprise {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  }

  .sm-compare-row {
    grid-template-columns: minmax(0, 1fr) max-content max-content;
    gap: 10px;
    padding: 12px 12px;
    font-size: 12px;
  }

  .sm-compare-row--head {
    font-size: 10px;
    letter-spacing: 0.03em;
  }

  .sm-compare-col {
    min-width: 4.75rem;
  }

  .sm-compare-row--head .sm-compare-col:last-child {
    min-width: 5.75rem;
  }

  .sm-signup-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .sm-signup-modal__card {
    padding: 24px 18px;
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  .sm-product-tray--hero {
    padding: 10px 10px 12px;
  }

  .sm-product-tray--hero .sm-tray-stage {
    min-height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-aurora-glow { animation: none; }
  .sm-grid-frame {
    --grid-reveal: 1;
    --grid-content-reveal: 1;
    margin-top: 0;
    padding-top: 0;
  }
  .sm-grid-frame__inner > .sm-showcase,
  .sm-grid-frame__inner > .sm-section {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

/* ---- Signup success modal (one-time password reveal) ---- */

body.sm-modal-open { overflow: hidden; }

.sm-signup-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sm-signup-modal[hidden] { display: none; }

.sm-signup-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(6px);
}

.sm-signup-modal__card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 32px 28px;
  border-radius: var(--radius-xl, 20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #101114;
  color: #ffffff;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.sm-signup-modal__card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 10px;
}

.sm-signup-modal__lead {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 20px;
}

.sm-signup-modal__lead--tight {
  margin-top: -12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.sm-signup-modal__mail {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sm-signup-modal__mail:hover {
  opacity: 0.88;
}

.sm-signup-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 4px;
}

.sm-btn-ghost.sm-signup-modal__dismiss {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sm-btn-ghost.sm-signup-modal__dismiss:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sm-signup-modal__foot {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.sm-invite-request {
  margin: 0 0 20px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sm-invite-request__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sm-invite-request__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.sm-signup-cred {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.sm-signup-cred__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sm-signup-cred__label {
  flex: 0 0 72px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.sm-signup-cred__row code {
  flex: 1;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 13px;
  color: #7dd3fc;
  overflow-wrap: anywhere;
  user-select: all;
}

.sm-signup-copy {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.sm-signup-copy:hover { background: rgba(255, 255, 255, 0.12); }

.sm-signup-modal__warn {
  font-size: 12.5px;
  color: #fbbf24;
  margin: 14px 0 20px;
}

.sm-signup-modal__email { margin-bottom: 18px; }

.sm-signup-modal__email .sm-label { color: rgba(255, 255, 255, 0.6); }

.sm-signup-modal__email .sm-input-wrap {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.sm-signup-modal__email .sm-field-input { color: #ffffff; }

.sm-signup-modal__open {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
