:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #e8e8e8;
  --card: #fafafa;
  --radius: 18px;
  interpolate-size: allow-keywords;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.idea-ticker {
  display: block;
  position: sticky;
  top: 0;
  z-index: 30;
  background: #111111;
  color: #ffffff;
  border-bottom: 1px solid #2a2a2a;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.idea-ticker:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -3px;
}

.idea-ticker-track {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  padding: 0 20px;
  animation: ticker-scroll 48s linear infinite;
}

.idea-ticker-track span {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 92%);
}

.topbar {
  position: sticky;
  top: 36px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo {
  color: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-mark {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: invert(1);
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #3d3d3d;
  text-decoration: none;
  font-size: 0.95rem;
}

.live-scan-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #dddddd;
  background: #f8f8f8;
  color: #222222;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.profile-link.active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #21c45a;
  box-shadow: 0 0 0 3px rgba(33, 196, 90, 0.18);
  animation: live-dot-pulse 1.6s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.8;
  }
}

@keyframes hero-bg-slow-spin {
  from {
    transform: translateY(-50%) rotate(-5deg);
  }
  to {
    transform: translateY(-50%) rotate(355deg);
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
  background-color: #f7f9f7;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
    128deg,
    rgba(33, 196, 90, 0.2) 0%,
    rgba(166, 234, 223, 0.19) 42%,
    rgba(255, 213, 143, 0.21) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(-320px, -13vw, -140px);
  width: clamp(380px, 44vw, 620px);
  aspect-ratio: 1;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/logo-line.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.54;
  transform: translateY(-50%) rotate(-5deg);
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero::after {
    animation: hero-bg-slow-spin 180s linear infinite;
  }
}

.hero-content {
  display: block;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 620px;
}

.hero-board {
  width: min(100%, 530px);
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 213, 143, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(166, 234, 223, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
  position: relative;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 24%);
  pointer-events: none;
}

.hero-board-head,
.hero-board-radar,
.hero-board-lanes,
.hero-board-footer {
  position: relative;
  z-index: 1;
}

.hero-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hero-board-kicker {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8f98;
}

.hero-board-head h3 {
  margin: 0;
  max-width: 320px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #111111;
}

.hero-board-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(45, 181, 147, 0.18);
  background: rgba(214, 245, 237, 0.9);
  color: #227a64;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-board-radar {
  position: relative;
  min-height: 220px;
  margin-top: 18px;
  border-radius: 26px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background:
    radial-gradient(circle at center, rgba(111, 207, 186, 0.18), transparent 28%),
    linear-gradient(180deg, #9198a3 0%, #818a96 100%);
  overflow: hidden;
}

.hero-board-radar-grid,
.hero-board-radar-beam {
  position: absolute;
  inset: 0;
}

.hero-board-radar-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 42%, transparent 100%);
}

.hero-board-radar-beam {
  background: conic-gradient(from 205deg at 48% 52%, rgba(111, 207, 186, 0) 0deg, rgba(187, 255, 238, 0.24) 34deg, rgba(111, 207, 186, 0) 68deg);
  filter: blur(1px);
}

.hero-signal-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.12);
}

.hero-signal-pill--reddit {
  top: 22px;
  left: 18px;
}

.hero-signal-pill--search {
  top: 96px;
  right: 22px;
}

.hero-signal-pill--payments {
  bottom: 20px;
  left: 94px;
}

.hero-signal-dot {
  position: absolute;
  border-radius: 50%;
  background: #d7fff5;
  box-shadow:
    0 0 0 7px rgba(215, 255, 245, 0.14),
    0 0 28px rgba(215, 255, 245, 0.5);
}

.hero-signal-dot--one {
  top: 56px;
  left: 56%;
  width: 12px;
  height: 12px;
}

.hero-signal-dot--two {
  right: 24%;
  bottom: 62px;
  width: 10px;
  height: 10px;
  background: #ffcf7c;
  box-shadow:
    0 0 0 7px rgba(255, 207, 124, 0.14),
    0 0 24px rgba(255, 207, 124, 0.32);
}

.hero-signal-dot--three {
  left: 28%;
  bottom: 28px;
  width: 9px;
  height: 9px;
}

.hero-board-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hero-lane,
.hero-conviction-card,
.hero-trajectory-card {
  border-radius: 22px;
  border: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-lane {
  padding: 16px 14px 15px;
}

.hero-lane-label,
.hero-conviction-label {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9aa0aa;
}

.hero-lane strong,
.hero-trajectory-copy strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
  color: #111111;
}

.hero-lane span,
.hero-trajectory-copy span {
  display: block;
  margin-top: 8px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: #6f7682;
}

.hero-lane--discover {
  background: linear-gradient(180deg, rgba(232, 241, 253, 0.95), rgba(255, 255, 255, 0.95));
}

.hero-lane--validate {
  background: linear-gradient(180deg, rgba(233, 249, 245, 0.95), rgba(255, 255, 255, 0.95));
}

.hero-lane--launch {
  background: linear-gradient(180deg, rgba(255, 245, 231, 0.96), rgba(255, 255, 255, 0.95));
}

.hero-board-footer {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero-conviction-card {
  padding: 16px;
}

.hero-conviction-ring {
  width: 104px;
  height: 104px;
  margin: 6px auto 0;
  padding: 12px;
  border-radius: 50%;
  background: conic-gradient(#8de4d1 0deg 310deg, rgba(17, 17, 17, 0.08) 310deg 360deg);
}

.hero-conviction-core {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #626973;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hero-conviction-core strong {
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f8fafc;
}

.hero-conviction-core span {
  margin-top: 6px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero-trajectory-card {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 18px 18px 16px;
}

.hero-trajectory-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 92px;
}

.hero-trajectory-bars span {
  flex: 1;
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, rgba(187, 241, 230, 0.95) 0%, rgba(187, 241, 230, 0.42) 100%);
  box-shadow: 0 16px 24px rgba(130, 188, 175, 0.14);
}

.hero-trajectory-bars span:nth-child(1) {
  height: 26px;
  opacity: 0.38;
}

.hero-trajectory-bars span:nth-child(2) {
  height: 44px;
  opacity: 0.56;
}

.hero-trajectory-bars span:nth-child(3) {
  height: 68px;
  opacity: 0.8;
}

.hero-trajectory-bars span:nth-child(4) {
  height: 88px;
}

@media (max-width: 960px) {
  .hero-copy {
    max-width: none;
  }
}

.vibe-success-intro {
  padding: 56px 0 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.vibe-success-intro h2 {
  margin: 0;
}

#vibe-success-heading {
  scroll-margin-top: 104px;
}

.vibe-success-intro-lead {
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  max-width: 36ch;
}

.vibe-success-showcase {
  padding: 40px 0 64px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 55%);
  border-bottom: 1px solid var(--line);
}

.vibe-success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 16px;
}

.vibe-success-card[hidden] {
  display: none !important;
}

.vibe-success-card {
  margin: 0;
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.vibe-success-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.vibe-success-handle {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.vibe-success-metric {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2744;
}

.vibe-success-blurb {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.vibe-success-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a4d8c;
  text-decoration: none;
}

.vibe-success-link:hover {
  text-decoration: underline;
}

.vibe-success-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.vibe-success-toggle {
  min-width: 148px;
}

.quote-spotlight {
  padding: 44px 0 28px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #0e1013 0%, #171a1f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-spotlight-shell {
  width: min(1100px, 92%);
}

.quote-spotlight-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.quote-spotlight-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.66);
}

.quote-spotlight-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.quote-spotlight-grid {
  margin: 34px auto 0;
  display: grid;
  gap: 18px;
}

.quote-card {
  margin: 0;
  padding: 26px 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.quote-card-secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.quote-card p,
.quote-card-text {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.quote-source {
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-tagline h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-tagline-mark {
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(
    to bottom,
    transparent 58%,
    rgba(17, 17, 17, 0.09) 58%,
    rgba(17, 17, 17, 0.09) 88%,
    transparent 88%
  );
  padding: 0 0.04em;
  margin: 0 -0.04em;
  border-radius: 0.06em;
}

.subtitle {
  margin: 18px 0 0;
  color: #303030;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7d7d7d;
  margin-bottom: 10px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-light {
  background: #f3f3f3;
  color: #111;
  border-color: #e1e1e1;
}

.section {
  padding: 72px 0;
}

.live-scan {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.live-scan h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.live-data-sources {
  margin: 28px 0 28px;
  padding: 22px 24px 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
  border-color: #e4e7f0;
  box-shadow: 0 1px 0 rgba(76, 88, 255, 0.06);
}

.live-data-sources-head {
  margin-bottom: 18px;
  max-width: 52ch;
}

.live-data-sources-head :is(h2, h3) {
  margin: 0 0 6px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.live-data-sources-head p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.live-data-sources-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 12px;
}

.live-data-source {
  position: relative;
  margin: 0;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eceef4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.live-data-source::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--src-accent, #4c58ff);
}

.live-data-source:hover {
  border-color: #d8dcff;
  box-shadow: 0 8px 24px rgba(76, 88, 255, 0.08);
  transform: translateY(-1px);
}

.live-data-source-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.live-data-source-icon {
  display: block;
  height: 26px;
  width: 26px;
  max-width: 100%;
}

.live-data-source-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.live-scan-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.live-metric {
  padding: 18px 22px;
}

.metric-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.metric-value {
  margin: 6px 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-value--live {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.live-trending-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.live-trending {
  margin-bottom: 0;
}

.live-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-trending ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-problems-list,
.live-solutions-list {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-gutter: stable;
}

.live-trending li {
  padding: 8px 0;
  border-top: 1px dashed #dddddd;
}

.live-trending li:first-child {
  border-top: 0;
  padding-top: 0;
}

.trending-problems-list .trending-problem-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 4px 10px 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.trending-problems-list .trending-problem-trigger:hover {
  background: rgba(76, 88, 255, 0.06);
}

.trending-problems-list .trending-problem-trigger:focus-visible {
  outline: 2px solid #4c58ff;
  outline-offset: 2px;
}

.trending-problem-growth {
  flex-shrink: 0;
  min-width: 3.2rem;
  font-variant-numeric: tabular-nums;
}

.trending-problem-growth strong {
  color: #1a7f37;
  font-weight: 800;
}

.trending-problem-phrase {
  flex: 1;
  line-height: 1.4;
}

.trending-problem-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  opacity: 0.65;
}

.problem-insights-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  margin: auto;
  padding: 0;
  border: 1px solid #e4e7f0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.18);
}

.problem-insights-dialog::backdrop {
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
}

.problem-insights-panel {
  position: relative;
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  background: #fff;
  border-radius: inherit;
}

.problem-insights-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.problem-insights-toolbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.problem-insights-bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.problem-insights-bookmark:hover {
  background: #ececec;
  color: var(--text);
}

.start-choice-dialog {
  width: min(620px, calc(100vw - 32px));
  margin: auto;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.18);
}

.start-choice-dialog::backdrop {
  background: rgba(17, 17, 17, 0.42);
  backdrop-filter: blur(6px);
}

.start-choice-panel {
  padding: clamp(22px, 4vw, 30px);
  border-radius: inherit;
  background: #ffffff;
}

.start-choice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.start-choice-kicker {
  margin: 0 0 8px;
  color: #6e6e73;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.start-choice-head h2 {
  max-width: 12ch;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  line-height: 1.02;
}

.start-choice-close {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f7f7;
  color: #111111;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.start-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.start-choice-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: #f7f7f7;
  color: #111111;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.start-choice-card:hover {
  border-color: rgba(17, 17, 17, 0.24);
  background: #ffffff;
  transform: translateY(-2px);
}

.start-choice-card:focus-visible,
.start-choice-close:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.start-choice-card span {
  color: #6e6e73;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.start-choice-card strong {
  max-width: 15ch;
  font-size: 1.25rem;
  line-height: 1.12;
}

.start-choice-card small {
  color: #666666;
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .start-choice-grid {
    grid-template-columns: 1fr;
  }

  .start-choice-card {
    min-height: 150px;
  }
}

.problem-insights-bookmark.is-saved {
  color: #0a5c36;
  background: #e8f5ee;
  border-color: #b8dcc8;
}

.problem-insights-bookmark.is-saved:hover {
  color: #084a2c;
  background: #dff0e6;
}

.problem-insights-bookmark-icon {
  width: 20px;
  height: 20px;
}

.problem-insights-bookmark.is-saved .problem-insights-bookmark-icon path {
  fill: currentColor;
  stroke: none;
}

.problem-insights-close {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.problem-insights-close:hover {
  background: #ececec;
  color: var(--text);
}

.problem-insights-heading {
  margin: 0;
  min-width: 0;
  flex: 1;
  font-size: clamp(1.25rem, 3vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.problem-insights-block {
  margin-bottom: 18px;
}

.problem-insights-block:last-of-type {
  margin-bottom: 0;
}

.problem-insights-label {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.problem-insights-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.problem-insights-text--preline {
  white-space: pre-line;
}

.problem-insights-demand {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.problem-insights-demand li {
  padding: 2px 0;
}

.problem-insights-score-row {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8f9fc 0%, #f3f4f8 100%);
  border: 1px solid #eceef4;
  border-radius: 14px;
}

.problem-insights-score-row .problem-insights-label {
  margin-bottom: 4px;
}

.problem-insights-score {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.problem-insights-actions {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.problem-insights-validate {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  box-sizing: border-box;
}

.live-list-unlock {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #dddddd;
}

.btn-unlock {
  width: 100%;
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.btn-unlock:hover {
  background: #f7f7f7;
  border-color: #dcdcdc;
}

.btn-unlock:active {
  background: #f0f0f0;
}

.btn-unlock:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-unlock:disabled:hover,
.btn-unlock:disabled:active {
  background: #ffffff;
  border-color: var(--line);
}

.solution-score {
  flex: 0 0 auto;
  min-width: 3.25rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1.45;
}

.solution-body {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  letter-spacing: -0.02em;
}

.section-lead {
  margin-top: 10px;
  color: var(--muted);
}

.grid {
  margin-top: 30px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 901px) {
  .grid {
    margin-right: clamp(168px, 17vw, 220px);
  }
}

.stage-timeline {
  position: fixed;
  top: 120px;
  right: clamp(14px, 2.6vw, 32px);
  z-index: 30;
  width: min(220px, calc(100vw - 48px));
  margin-top: 0;
  padding: 14px 14px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(18px, 0, 0) scale(0.97);
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    visibility 0s linear 220ms;
}

.stage-timeline.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 220ms ease,
    transform 260ms ease,
    visibility 0s linear 0s;
}

.stage-timeline-head {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.stage-timeline-kicker,
.stage-timeline-caption {
  margin: 0;
}

.stage-timeline-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e6e73;
}

.stage-timeline-caption {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111111;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 7px 0 11px;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.timeline-step:focus {
  outline: none;
}

.timeline-step:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.timeline-step:last-child {
  padding-bottom: 2px;
}

.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 33px;
  width: 2px;
  height: calc(100% - 14px);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.05) 100%);
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #444444;
  background: #f3f3f3;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.1);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.timeline-step:hover {
  background: rgba(17, 17, 17, 0.03);
}

.timeline-step.is-open .timeline-dot {
  color: #ffffff;
  background: #111111;
}

.timeline-step.is-active .timeline-dot {
  box-shadow: inset 0 0 0 2px rgba(17, 17, 17, 0.18);
  transform: none;
}

.timeline-copy h3 {
  margin: 1px 0 2px;
  font-size: 0.88rem;
  line-height: 1.2;
  color: #111111;
  transition: color 180ms ease;
}

.timeline-coming-soon {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 6px;
  border: 1px solid rgba(170, 160, 250, 0.36);
  border-radius: 8px;
  color: #5145aa;
  background: linear-gradient(135deg, rgba(227, 148, 220, 0.18), rgba(135, 195, 255, 0.2));
  font-size: 0.58rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.timeline-copy p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #6e6e73;
  transition: color 180ms ease, opacity 180ms ease;
}

.timeline-step.is-open .timeline-copy h3,
.timeline-step.is-open .timeline-copy p {
  color: #111111;
  opacity: 1;
}

.timeline-step.is-active {
  background: rgba(17, 17, 17, 0.05);
}

.timeline-step.is-active:not(.is-open) .timeline-dot {
  color: #444444;
  background: #f3f3f3;
}

.timeline-step.is-active:not(.is-open) .timeline-copy h3 {
  color: #111111;
}

.timeline-step.is-active:not(.is-open) .timeline-copy p {
  color: #4b4b4f;
}

.timeline-step:not(.is-active):not(.is-open) .timeline-copy p {
  opacity: 0.72;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 4px 0 8px;
  font-size: 1.25rem;
}

.stage-item {
  padding: 0;
  overflow: hidden;
}

.stage-item::details-content {
  overflow: hidden;
  height: 0;
  transition:
    height 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    content-visibility 0.45s allow-discrete;
}

.stage-item[open]::details-content {
  height: auto;
}

#stages.is-stage-jumping .stage-item::details-content {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .stage-item::details-content {
    transition: none;
  }

  .stage-item > summary,
  .stage-item > summary::after {
    transition: none;
  }
}

.stage-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition:
    background 0.35s ease,
    border-left-color 0.35s ease,
    padding-left 0.35s ease;
}

.stage-item > summary::-webkit-details-marker {
  display: none;
}

.stage-item > summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #5e5e5e;
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.stage-item[open] > summary::after {
  content: "-";
  border-color: #cfcfcf;
  color: #111111;
  background: #f3f3f3;
}

.stage-item[open] > summary {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-left: 3px solid #111111;
  padding-left: 21px;
}

.stage-item[open] .stage {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
  box-shadow: none;
}

.stage-body {
  padding: 0 24px 22px;
  border-top: 1px solid #e8e8e8;
}

.discovery-stage-body,
.validate-stage-body {
  padding-top: 20px;
}

.discovery-stage-hero,
.validate-stage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.discovery-stage-copy,
.discovery-stage-signal,
.validate-stage-copy,
.validate-stage-signal,
.discovery-stage-prompt-shell,
.validate-stage-shell {
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #ffffff;
}

.discovery-stage-copy,
.validate-stage-copy {
  padding: 28px;
}

.discovery-stage-kicker,
.discovery-stage-signal-label,
.discovery-stage-prompt-kicker,
.validate-stage-kicker,
.validate-stage-signal-label,
.validate-stage-input-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6e73;
}

.discovery-stage-copy h3,
.validate-stage-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.validate-stage-lead {
  max-width: 60ch;
  margin: 0;
  color: #4b4b4f;
  font-size: 1rem;
  line-height: 1.65;
}

.discovery-stage-signal,
.validate-stage-signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.discovery-stage-signal strong,
.validate-stage-signal strong {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.discovery-stage-signal p,
.validate-stage-signal p {
  margin: 0;
  color: #5c5c60;
  line-height: 1.55;
}

.discovery-stage-prompt-shell,
.validate-stage-shell {
  margin-top: 18px;
  padding: 22px;
}

.discovery-stage-prompt-head,
.validate-stage-input-head {
  margin-bottom: 14px;
}

.discovery-stage-prompt-head h4,
.validate-stage-input-head h4 {
  margin: 8px 0 0;
  font-size: 1.3rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.business-advice-stage-body {
  padding-top: 20px;
}

.build-stage-body {
  padding-top: 20px;
}

.build-stage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.build-stage-copy,
.build-stage-signal,
.build-stage-panel,
.build-stage-metric {
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #ffffff;
}

.build-stage-copy {
  padding: 28px;
}

.build-stage-kicker,
.build-stage-label,
.build-stage-signal-label,
.build-stage-metric span {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6e73;
}

.build-stage-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.build-stage-lead {
  max-width: 60ch;
  margin: 0;
  color: #4b4b4f;
  font-size: 1rem;
  line-height: 1.65;
}

.build-stage-signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.build-stage-signal strong {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.build-stage-signal p {
  margin: 0;
  color: #5c5c60;
  line-height: 1.55;
}

.build-stage-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.build-stage-metric {
  padding: 18px 20px;
}

.build-stage-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.build-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.build-stage-panel {
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.build-stage-panel--wide {
  grid-column: span 2;
}

.build-stage-panel--dark {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.build-stage-panel--dark .build-stage-label,
.build-stage-panel--dark p,
.build-stage-panel--dark .build-stage-list li {
  color: rgba(255, 255, 255, 0.78);
}

.build-stage-panel h4 {
  margin: 10px 0 12px;
  font-size: 1.4rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.build-stage-panel p {
  margin: 0;
  color: #55565a;
  line-height: 1.6;
}

.build-stage-actions {
  margin-top: 10px;
}

.build-stage-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.build-stage-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.6;
}

.build-stage-list li + li {
  margin-top: 10px;
}

.build-stage-list span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  flex: 0 0 28px;
}

.business-advice-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(240px, 0.9fr);
  gap: 18px;
  margin-bottom: 18px;
}

.business-advice-copy,
.business-advice-signal,
.business-advice-panel,
.business-advice-metric {
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  background: #ffffff;
}

.business-advice-copy {
  padding: 28px;
}

.business-advice-kicker,
.business-advice-label,
.business-advice-signal-label,
.business-advice-metric span {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.business-advice-kicker,
.business-advice-label,
.business-advice-signal-label {
  color: #6e6e73;
}

.business-advice-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.business-advice-lead {
  max-width: 60ch;
  margin: 0;
  color: #4b4b4f;
  font-size: 1rem;
  line-height: 1.65;
}

.business-advice-signal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.business-advice-signal strong {
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.business-advice-signal p {
  margin: 0;
  color: #5c5c60;
  line-height: 1.55;
}

.business-advice-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.business-advice-metric {
  padding: 18px 20px;
}

.business-advice-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.business-advice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.business-advice-panel {
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.business-advice-panel--wide {
  grid-column: span 2;
}

.business-advice-panel--dark {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.business-advice-panel--dark .business-advice-label,
.business-advice-panel--dark p,
.business-advice-panel--dark .business-advice-quote span {
  color: rgba(255, 255, 255, 0.72);
}

.business-advice-panel h4 {
  margin: 10px 0 12px;
  font-size: 1.4rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.business-advice-panel p {
  margin: 0;
  color: #55565a;
  line-height: 1.6;
}

.business-advice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-advice-list li {
  position: relative;
  padding-left: 18px;
  color: #2b2b2f;
  line-height: 1.65;
}

.business-advice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111111;
}

.business-advice-list li + li {
  margin-top: 8px;
}

.business-advice-quote {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.business-advice-quote:first-of-type {
  margin-top: 4px;
}

.business-advice-quote strong {
  color: #ffffff;
}

@media (max-width: 900px) {
  .business-advice-hero,
  .business-advice-grid,
  .business-advice-metrics {
    grid-template-columns: 1fr;
  }

  .business-advice-panel--wide {
    grid-column: auto;
  }
}

.discovery-stage-body .discovery-intro {
  margin: 0;
  max-width: 60ch;
  color: #4b4b4f;
  font-size: 1rem;
  line-height: 1.65;
}

.discovery-prompt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.discovery-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discovery-suggestion {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #dddddd;
  border-radius: 999px;
  background: #f7f7f7;
  color: #222222;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.discovery-suggestion:hover {
  border-color: #c7c7c7;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.discovery-suggestion:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.discovery-prompt[hidden] {
  display: none;
}

.stage-one-pipeline-preview {
  margin-top: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 248, 248, 0.92) 100%);
}

.stage-one-pipeline-preview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stage-one-pipeline-preview-kicker,
.stage-one-pipeline-preview-tier {
  margin: 0;
}

.stage-one-pipeline-preview-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.7);
}

.stage-one-pipeline-preview-tier {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.46);
}

.stage-one-pipeline-preview-list {
  margin-top: 0;
}

.discovery-inline-runner {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.discovery-inline-runner[hidden] {
  display: none !important;
}

.discovery-inline-pipeline {
  margin-top: 0;
}

.discovery-inline-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 -2px;
}

.discovery-inline-divider-line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.14), rgba(17, 17, 17, 0.06));
}

.discovery-inline-divider-label {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b8b8b;
}

.discovery-inline-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pipeline-report-dialog {
  width: min(860px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #182033;
}

.pipeline-report-dialog::backdrop {
  background: rgba(14, 18, 30, 0.48);
  backdrop-filter: blur(8px);
}

.pipeline-report-panel {
  display: flex;
  flex-direction: column;
  max-height: min(760px, calc(100vh - 28px));
  overflow: hidden;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(17, 24, 39, 0.26);
}

.pipeline-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8ebf1;
}

.pipeline-report-kicker {
  margin: 0 0 5px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6c83;
}

.pipeline-report-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
  max-width: min(680px, calc(100vw - 120px));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pipeline-report-close {
  width: 34px;
  height: 34px;
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #182033;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pipeline-report-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 22px;
  overflow: auto;
  min-width: 0;
}

.pipeline-report-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #d9deea;
  border-radius: 8px;
  background: #fbfcff;
  color: #4b5567;
  font-size: 0.86rem;
}

.pipeline-report-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pipeline-report-output-steps,
.pipeline-report-step-details {
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.pipeline-report-output-steps-summary,
.pipeline-report-step-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 800;
}

.pipeline-report-output-steps-summary::-webkit-details-marker,
.pipeline-report-step-summary::-webkit-details-marker {
  display: none;
}

.pipeline-report-output-steps-summary::before,
.pipeline-report-step-summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-right: 2px solid #5a6375;
  border-bottom: 2px solid #5a6375;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
}

.pipeline-report-output-steps[open] > .pipeline-report-output-steps-summary::before,
.pipeline-report-step-details[open] > .pipeline-report-step-summary::before {
  transform: rotate(45deg);
}

.pipeline-report-output-steps > .pipeline-report-steps {
  padding: 0 16px 16px;
}

.pipeline-report-step-details > .pipeline-report-section-key,
.pipeline-report-step-details > .ide-readable-output,
.pipeline-report-step-details > .ide-readable-empty {
  margin-left: 16px;
  margin-right: 16px;
}

.pipeline-report-step-details > .ide-readable-output,
.pipeline-report-step-details > .ide-readable-empty {
  margin-bottom: 16px;
}

.pipeline-report-section {
  padding: 14px 16px;
  border: 1px solid #e4e8f0;
  border-radius: 8px;
  background: #ffffff;
  min-width: 0;
  overflow-wrap: anywhere;
}

.pipeline-report-section--final {
  border-color: #c9d2ff;
  background: #fbfcff;
}

.pipeline-report-section-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  line-height: 1.25;
}

.pipeline-report-section-key {
  margin: 0 0 10px;
  font-size: 0.78rem;
}

.solution-chat-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: min(390px, calc(100vw - 28px));
  max-height: min(560px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 90px rgba(17, 24, 39, 0.22);
  backdrop-filter: blur(18px);
}

.solution-chat-popup[hidden] {
  display: none !important;
}

.solution-chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 79;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: #171a20;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22);
  cursor: pointer;
}

.solution-chat-launcher[hidden] {
  display: none !important;
}

.hub-launcher {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 79;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.18);
  cursor: pointer;
}

.hub-launcher:hover,
.hub-launcher:focus-visible {
  outline: none;
  border-color: #171a20;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.2), 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.hub-launcher-icon {
  position: absolute;
  inset: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.hub-launcher-icon span {
  display: block;
  border: 2px solid #171a20;
  border-radius: 5px;
}

.hub-popup {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 81;
  width: min(760px, calc(100vw - 44px));
  max-height: min(760px, calc(100vh - 118px));
  overflow: hidden;
}

.hub-popup[hidden] {
  display: none !important;
}

.hub-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.22);
  backdrop-filter: blur(20px);
  animation: solution-chat-in 0.22s ease both;
}

.hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #ffffff;
  background: #171a20;
}

.hub-kicker {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-head h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hub-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.hub-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
}

.hub-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.hub-tab:hover,
.hub-tab:focus-visible {
  outline: none;
  border-color: rgba(17, 24, 39, 0.14);
  color: #171a20;
}

.hub-tab.is-active {
  background: #171a20;
  color: #ffffff;
}

.hub-body {
  max-height: min(560px, calc(100vh - 264px));
  overflow: auto;
  padding: 20px;
  background: #ffffff;
}

.hub-panel-page[hidden] {
  display: none !important;
}

.hub-explore-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: start;
}

.hub-hero-card {
  position: sticky;
  top: 0;
  min-height: 310px;
  padding: 18px;
  border-radius: 8px;
  background: #171a20;
  color: #ffffff;
}

.hub-card-label,
.hub-feed-label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-hero-card h4 {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.hub-hero-card p:last-child {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.48;
}

.hub-feed {
  display: grid;
  gap: 10px;
}

.hub-feed-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f7f7f7;
  color: #171a20;
}

.hub-feed-card.is-dark {
  background: #171a20;
  color: #ffffff;
}

.hub-feed-card.is-dark .hub-feed-label,
.hub-feed-card.is-dark p,
.hub-feed-card.is-dark small {
  color: rgba(255, 255, 255, 0.72);
}

.hub-feed-card h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hub-feed-card p {
  margin: 0;
  color: #555555;
  font-size: 0.85rem;
  line-height: 1.45;
}

.hub-feed-card .hub-feed-label {
  margin: 0 0 2px;
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-feed-card small {
  color: #666666;
  font-size: 0.75rem;
  font-weight: 800;
}

.hub-section + .hub-section,
.hub-section + .hub-proof,
.hub-proof + .hub-section {
  margin-top: 18px;
}

.hub-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hub-section-label {
  margin: 0;
  color: #171a20;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 8px;
  background: #171a20;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
}

.hub-pill-light {
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: #f4f4f4;
  color: #171a20;
}

.hub-idea-list {
  display: grid;
  gap: 8px;
}

.hub-idea {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f7f7f7;
  color: #171a20;
  text-align: left;
}

.hub-idea strong {
  font-size: 0.93rem;
  line-height: 1.25;
}

.hub-idea span {
  color: #666666;
  font-size: 0.78rem;
  font-weight: 700;
}

.hub-idea small {
  grid-column: 1 / -1;
  color: #555555;
  font-size: 0.8rem;
  line-height: 1.45;
}

.hub-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hub-proof article {
  min-width: 0;
  padding: 16px 14px;
  border-radius: 8px;
  background: #171a20;
  color: #ffffff;
}

.hub-proof strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hub-proof span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

.hub-lessons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hub-lesson {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: #171a20;
  text-align: left;
}

.hub-lesson span {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.hub-lesson small {
  display: block;
  margin-top: 5px;
  color: #666666;
  font-size: 0.78rem;
  line-height: 1.4;
}

.hub-idea:hover,
.hub-idea:focus-visible,
.hub-lesson:hover {
  outline: none;
  border-color: #171a20;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.hub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 18px 18px;
  background: #ffffff;
}

.hub-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hub-action-light {
  background: #f4f4f4;
  color: #171a20;
}

.hub-action-dark {
  background: #171a20;
  color: #ffffff;
}

.hub-review-list,
.hub-progress-list,
.hub-work-list,
.hub-trend-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.hub-review,
.hub-progress-card,
.hub-work-list article,
.hub-trend-list article {
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f7f7f7;
}

.hub-review strong,
.hub-progress-card strong,
.hub-work-list strong,
.hub-trend-list strong {
  display: block;
  color: #171a20;
  font-size: 0.96rem;
  line-height: 1.28;
}

.hub-review span,
.hub-progress-card span,
.hub-work-list span,
.hub-trend-list span {
  display: block;
  margin-top: 5px;
  color: #666666;
  font-size: 0.76rem;
  font-weight: 800;
}

.hub-review p,
.hub-trend-list small {
  display: block;
  margin: 8px 0 0;
  color: #555555;
  font-size: 0.82rem;
  line-height: 1.45;
}

.hub-progress-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.hub-progress-bar {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: #e6e6e6;
}

.hub-progress-bar span {
  display: block;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: #171a20;
}

.hub-work-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-trend-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.hub-trend-list article span {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #171a20;
  color: #ffffff;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .hub-launcher {
    right: 16px;
    bottom: 82px;
  }

  .hub-popup {
    right: 14px;
    bottom: 144px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 162px);
  }

  .hub-body {
    max-height: calc(100vh - 286px);
  }

  .hub-explore-grid,
  .hub-proof,
  .hub-lessons,
  .hub-progress-list,
  .hub-work-list,
  .hub-trend-list {
    grid-template-columns: 1fr;
  }

  .hub-hero-card {
    position: static;
    min-height: 0;
  }
}

.solution-chat-launcher-icon {
  position: absolute;
  left: 14px;
  top: 15px;
  width: 23px;
  height: 17px;
  border: 2px solid #ffffff;
  border-radius: 8px;
}

.solution-chat-launcher-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  background: #171a20;
}

.solution-chat-launcher-dot {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #24c26a;
  box-shadow: 0 0 0 4px rgba(36, 194, 106, 0.16);
}

.validation-chat-launcher .solution-chat-launcher-dot,
.validation-chat-popup .solution-chat-kicker::before {
  background: #e24b4b;
  box-shadow: 0 0 0 5px rgba(226, 75, 75, 0.12);
}

.improve-chat-launcher .solution-chat-launcher-dot,
.improve-chat-popup .solution-chat-kicker::before {
  background: #171a20;
  box-shadow: 0 0 0 5px rgba(17, 24, 39, 0.1);
}

.hesitation-chat-popup .solution-chat-kicker::before {
  background: #24c26a;
  box-shadow: 0 0 0 5px rgba(36, 194, 106, 0.14);
}

.hesitation-chat-popup .solution-chat-bubble {
  width: fit-content;
  max-width: 88%;
  white-space: pre-line;
}

.solution-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 15px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.solution-chat-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.solution-chat-kicker {
  margin: 0 0 7px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.solution-chat-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #171a20;
  box-shadow: 0 0 0 5px rgba(23, 26, 32, 0.08);
  animation: live-dot-pulse 1.6s ease-in-out infinite;
}

.solution-chat-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  color: #171a20;
}

.solution-chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: #f4f4f4;
  color: #171a20;
  line-height: 1;
  cursor: pointer;
}

.solution-chat-close {
  font-size: 1.1rem;
}

.solution-chat-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  overflow: auto;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.solution-chat-bubble {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f4f4f4;
  color: #171a20;
  font-size: 0.91rem;
  line-height: 1.5;
  box-shadow: none;
  animation: solution-chat-in 0.24s ease both;
}

.solution-chat-bubble--answer {
  align-self: flex-end;
  width: fit-content;
  max-width: 88%;
  background: #171a20;
  color: #ffffff;
}

.solution-chat-bubble--question {
  background: #ffffff;
  color: #171a20;
  border: 1px solid rgba(17, 24, 39, 0.1);
}

.solution-chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px 18px;
  background: #fafafa;
  flex: 0 0 auto;
  scroll-margin-bottom: 18px;
}

.solution-chat-options[hidden] {
  display: none !important;
}

.solution-chat-option {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #171a20;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

a.solution-chat-option {
  display: block;
  text-decoration: none;
}

.solution-chat-pricing {
  background: #171a20;
  color: #ffffff;
}

.solution-chat-option:hover,
.solution-chat-option:focus-visible {
  border-color: #171a20;
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

@keyframes solution-chat-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.validation-improve-inline {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e6e9ef;
}

.validation-improve-inline[hidden] {
  display: none !important;
}

.discovery-stage-body .discovery-trending-problems {
  margin: 0 0 16px;
}

.discovery-marquee {
  overflow: hidden;
  margin: 0 -24px 8px;
  padding: 4px 0 4px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.discovery-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 0 24px;
  animation: discovery-marquee-scroll 42s linear infinite;
}

.discovery-idea {
  flex: 0 0 auto;
  width: min(272px, 78vw);
  border-radius: 24px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

button.discovery-idea {
  display: block;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

button.discovery-idea:hover {
  border-color: #c8c8c8;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
}

button.discovery-idea:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.discovery-idea-kind {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1.2;
}

.discovery-idea-kind--problem {
  color: #111111;
  background: #f4f4f4;
  border: 1px solid #dddddd;
}

.discovery-idea-kind--solution {
  color: #111111;
  background: #f4f4f4;
  border: 1px solid #dddddd;
}

.discovery-idea-kind--buildbet {
  color: #111111;
  background: #f4f4f4;
  border: 1px solid #dddddd;
}

.discovery-insights-head-text {
  flex: 1;
  min-width: 0;
}

.discovery-insights-badge {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.discovery-insights-badge--problem {
  color: #8b2c2c;
}

.discovery-insights-badge--solution {
  color: #1a5d7a;
}

.discovery-insights-badge--buildbet {
  color: #3d2d8a;
}

.discovery-idea-title {
  display: block;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.discovery-idea-desc {
  display: block;
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: #555;
  line-height: 1.45;
}

.discovery-idea-score {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

.discovery-idea-score span {
  font-weight: 600;
  font-size: 0.82em;
  color: #888;
}

@keyframes discovery-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-marquee-track {
    animation: none;
  }

  .live-data-source:hover {
    transform: none;
  }
}

.discovery-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.discovery-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.validate-stage-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.validate-idea-input,
.discovery-input {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #111;
  border: 1px solid #a8adb5;
  border-radius: 14px;
  background: #eceff3;
  resize: vertical;
  min-height: 7.5rem;
}

.discovery-input {
  border-color: #9ca3ad;
  background: #e7ebf0;
  box-shadow: none;
}

.validate-idea-input::placeholder,
.discovery-input::placeholder {
  color: #888;
}

.discovery-input::placeholder {
  color: #667085;
}

.validate-idea-input:focus,
.discovery-input:focus {
  outline: none;
  border-color: #111;
  background: #f8f9fb;
}

.discovery-input:focus {
  border-color: #111111;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.discovery-discover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#discovery-submit {
  display: none !important;
}

.discovery-discover-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.validate-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.validate-breakdown {
  margin-top: 4px;
  border: 1px solid #e4e4e4;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}

.validate-breakdown > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px 14px 44px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
}

.validate-breakdown > summary::-webkit-details-marker {
  display: none;
}

.validate-breakdown > summary::before {
  content: "+";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #5e5e5e;
  font-weight: 700;
  font-size: 0.85rem;
  background: #fafafa;
}

.validate-breakdown[open] > summary::before {
  content: "-";
  border-color: #cfcfcf;
  color: #111111;
  background: #f3f3f3;
}

.validate-breakdown-title {
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.validate-breakdown-hint {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.validate-breakdown-body {
  padding: 0 16px 16px;
  border-top: 1px solid #efefef;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.validate-criterion-group {
  margin: 0;
}

.validate-criterion-group:first-child {
  padding-top: 16px;
}

.validate-criterion-group-title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6e6e73;
}

.validate-criteria-grid {
  display: grid;
  gap: 10px;
}

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

.validate-criterion {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  background: #fafafa;
}

@media (max-width: 900px) {
  .discovery-stage-hero,
  .validate-stage-hero,
  .build-stage-hero,
  .build-stage-grid,
  .build-stage-metrics {
    grid-template-columns: 1fr;
  }

  .build-stage-panel--wide {
    grid-column: auto;
  }
}

.validate-criterion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.validate-criterion-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1.35;
}

.validate-criterion-score {
  margin: 0;
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

.validate-criterion-score span {
  font-weight: 600;
  font-size: 0.82em;
  color: #888;
}

.validate-criterion-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #555;
}

.stage {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111111;
  margin: 0 0 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.stage-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-right: 38px;
}

.stage-title-row .stage {
  margin-bottom: 0;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(170, 160, 250, 0.36);
  border-radius: 8px;
  color: #5145aa;
  background: linear-gradient(135deg, rgba(227, 148, 220, 0.18), rgba(135, 195, 255, 0.2));
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-short {
  color: #4e4e4e;
  font-size: 0.98rem;
  max-width: 90%;
}

.swipe-deck-wrap {
  padding-top: 10px;
}

.swipe-deck {
  position: relative;
  height: 410px;
  perspective: 1300px;
  user-select: none;
}

.idea-card {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08), 0 8px 18px rgba(0, 0, 0, 0.05);
  background-image: linear-gradient(165deg, #ffffff 0%, #f9f9f9 100%);
  transform-origin: 50% 120%;
  transition: transform 260ms ease, opacity 220ms ease, box-shadow 260ms ease;
  touch-action: none;
  cursor: grab;
}

.idea-card.is-top {
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.13), 0 10px 20px rgba(0, 0, 0, 0.06);
}

.idea-card.is-dragging {
  cursor: grabbing;
  transition: none;
}

.idea-card h3 {
  margin-top: 0;
}

.score-list.compact {
  margin-bottom: 8px;
}

.swipe-hint {
  margin: 12px 4px 0;
  font-size: 0.9rem;
}

.chips {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips span {
  border: 1px solid #dbdbdb;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  background: #fff;
}

.score-list,
.target-list,
.timeline {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.score-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed #ddd;
}

.confidence {
  margin: 10px 0 0;
}

.summary {
  color: #242424;
  font-weight: 500;
}

.muted {
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 8px 8px 8px 0;
  border-bottom: 1px solid #e3e3e3;
}

.stacked-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0;
}

.timeline li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 6px 0;
}

.timeline span {
  font-weight: 700;
  min-width: 52px;
}

.target-list li {
  margin: 8px 0;
}

.target-list.live-solutions-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 10px 0;
}

.target-list.live-solutions-list li:first-child {
  margin-top: 0;
}

.live-trending .target-list.live-solutions-list li {
  margin-top: 0;
  margin-bottom: 0;
}

.solution-insight-trigger {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 4px 4px 4px 0;
  text-align: left;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.solution-insight-trigger:hover {
  background: rgba(76, 88, 255, 0.06);
}

.solution-insight-trigger:focus-visible {
  outline: 2px solid #4c58ff;
  outline-offset: 2px;
}

.solution-insight-trigger .trending-problem-chevron {
  margin-top: 6px;
}

.solution-insight-trigger--title-only {
  align-items: center;
  gap: 10px;
}

.solution-insight-trigger--title-only .trending-problem-chevron {
  margin-top: 0;
  flex-shrink: 0;
}

.solution-list-title {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.community-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ececec;
}

.identity-shift {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, #fff, #f9f9f9);
}

.identity-shift .subtitle {
  margin-bottom: 26px;
}

.pricing {
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 55%, #fafafa 100%);
}

.pricing s {
  color: var(--muted);
}

.pricing-container {
  width: min(1120px, 92%);
}

.pricing-header {
  max-width: 520px;
  margin: 0 auto 32px;
}

.pricing-header h2 {
  margin: 0 0 10px;
}

.pricing-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.pricing-tiers {
  display: grid;
  gap: 20px;
  text-align: left;
  align-items: stretch;
}

@media (min-width: 980px) {
  .pricing-tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.pricing-below {
  margin: 40px 0 0;
  display: flex;
  justify-content: center;
  text-align: center;
}

.pricing-below-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-below-guarantee {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(100%, 720px);
  padding: 18px 34px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  background: #2f2f2f;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  color: #fff;
  line-height: 1.35;
}

.pricing-below-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #2f2f2f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pricing-below-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #f6f6f6;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.16);
}

.pricing-below-guarantee strong {
  max-width: 620px;
  font-size: 1.12rem;
  font-weight: 700;
}

.pricing-below-guarantee > span:not(.pricing-below-label) {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-tier {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.pricing-tier--featured {
  border-color: #d0d0d0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.pricing-tier--soon {
  border-color: #e6e6e6;
  background: #f7f7f7;
  box-shadow: none;
  color: #8a8a8a;
}

.pricing-tier--soon .pricing-tier-head {
  border-bottom-color: #e6e6e6;
  background: linear-gradient(180deg, #efefef 0%, #f7f7f7 100%);
}

.pricing-tier--soon .pricing-tier-badge {
  background: #b5b5b5;
  color: #ffffff;
}

.pricing-tier--soon .pricing-tier-title {
  color: #7a7a7a;
}

.pricing-tier--soon .pricing-tier-price-stack {
  background: #eeeeee;
  border-color: #e0e0e0;
}

.pricing-tier--soon .pricing-tier-amount,
.pricing-tier--soon .pricing-tier-period {
  color: #888888;
}

.pricing-tier--soon .pricing-tier-tagline,
.pricing-tier--soon .pricing-tier-includes {
  color: #949494;
}

.pricing-tier--soon .pricing-tier-list {
  color: #888888;
}

.pricing-tier--soon .pricing-tier-list li::before {
  background: #b0b0b0;
  opacity: 1;
}

.pricing-tier--soon .pricing-tier-cta:disabled {
  opacity: 1;
  cursor: not-allowed;
  color: #777777;
  background: #e4e4e4;
  border-color: #d8d8d8;
}

.pricing-tier-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fcfcfc 0%, #ffffff 100%);
}

.pricing-tier-badge {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #111111;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-tier--featured .pricing-tier-badge {
  background: linear-gradient(145deg, #2a2a2a 0%, #111111 100%);
}

.pricing-tier-head-text {
  min-width: 0;
  padding-top: 2px;
}

.pricing-tier-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-tier-title--with-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.pricing-tier-title--with-pill > span:first-child {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 8px;
  color: #5145aa;
  background: rgba(170, 160, 250, 0.18);
}

.pricing-tier-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: #111111;
  border: 1px solid #2a2a2a;
}

.pricing-tier-model {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-tier-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 22px;
}

.pricing-tier-price-stack {
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
}

.pricing-tier-current {
  margin: 0;
}

.pricing-tier-compare {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.pricing-tier-compare-period {
  font-weight: 700;
}

.pricing-tier-early {
  flex-basis: 100%;
  margin-top: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}

@media (min-width: 400px) {
  .pricing-tier-early {
    flex-basis: auto;
    margin-top: 0;
  }
}

.pricing-tier-amount-row {
  margin: 0 0 6px;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 8px;
}

.pricing-tier-amount {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.pricing-tier-period {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.02em;
}

.pricing-tier-tagline {
  margin: 0 0 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
}

.pricing-tier-includes {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pricing-tier-list {
  flex: 1 1 auto;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.5;
}

.pricing-tier-list li {
  position: relative;
  padding-left: 1.35rem;
}

.pricing-tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.85;
}

.pricing-tier-list li + li {
  margin-top: 10px;
}

.pricing-tier-cta {
  margin-top: auto;
  align-self: center;
  width: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  padding-left: 22px;
  padding-right: 22px;
  font: inherit;
}

.pricing-offer-dialog {
  width: min(500px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}

.pricing-offer-dialog::backdrop {
  background: rgba(12, 12, 12, 0.54);
  backdrop-filter: blur(7px);
}

.pricing-offer-card {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.pricing-offer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f6f6f6;
  color: #171a20;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pricing-offer-eyebrow {
  margin: 0 0 14px;
  color: #5f6673;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-offer-card h2 {
  margin: 0 40px 14px 0;
  font-size: clamp(1.8rem, 6vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.pricing-offer-copy {
  margin: 0;
  color: #454b55;
  font-size: 1.02rem;
  line-height: 1.55;
}

.pricing-offer-copy + .pricing-offer-copy {
  margin-top: 10px;
}

.pricing-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof blockquote {
  margin: 8px 0 0;
  font-size: 1.08rem;
  line-height: 1.6;
}

.section-how {
  position: relative;
  padding: 76px 0 82px;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #eef2f6 0%, #f7f8fb 48%, #ffffff 100%);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.section-how > .container.narrow {
  width: min(1160px, 92%);
}

.section-how::before,
.section-how::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
}

.section-how::before {
  top: 68px;
  left: 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 72%);
}

.section-how::after {
  right: 10%;
  bottom: 72px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(225, 232, 240, 0.85) 0%, rgba(225, 232, 240, 0) 72%);
}

.how-shell {
  position: relative;
  width: min(1160px, 94vw);
  margin: 0 auto;
}

.how-intro {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-how-eyebrow {
  text-align: center;
  margin: 0 0 14px;
}

.section-how h2 {
  text-align: center;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}

.section-how-lead {
  text-align: center;
  max-width: 44ch;
  margin: 14px auto 0;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.55;
  color: #4b5563;
}

.how-intro-note {
  margin: 18px auto 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #6b7280;
}

.how-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 8px;
  margin: 18px auto 0;
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 40px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.how-flow-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #111827;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.how-flow-arrow {
  color: #9ca3af;
  font-size: 0.84rem;
  font-weight: 700;
  user-select: none;
}

.how-cinematic-panel {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 32px;
  margin: 0 auto 22px;
  border-radius: 32px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(87, 98, 119, 0.32) 0%, rgba(15, 23, 42, 0) 48%),
    linear-gradient(145deg, #111827 0%, #0b1120 52%, #020617 100%);
  color: #f8fafc;
  box-shadow:
    0 30px 70px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.how-cinematic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 38%);
  pointer-events: none;
}

.how-cinematic-copy,
.how-cinematic-screen {
  position: relative;
  z-index: 1;
}

.how-cinematic-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.how-cinematic-copy h3 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.how-cinematic-copy p:last-child,
.how-cinematic-copy > p:not(.how-cinematic-kicker) {
  margin: 18px 0 0;
  max-width: 45ch;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

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

.how-hero-metric {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.how-hero-metric-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.how-hero-metric strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.04em;
}

.how-cinematic-screen {
  align-self: stretch;
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(2, 6, 23, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.2);
}

.how-screen-status,
.how-screen-row,
.how-screen-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.how-screen-status {
  margin-bottom: 24px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-screen-dot {
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.7);
}

.how-screen-status span:last-child {
  margin-left: auto;
}

.how-screen-score {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.how-screen-score-label {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.how-screen-score strong {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.how-screen-rows {
  display: grid;
  gap: 10px;
}

.how-screen-row {
  padding: 10px 0;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.how-screen-row span:last-child {
  color: #f8fafc;
  font-weight: 700;
}

.how-screen-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 122px;
  margin-top: 24px;
}

.how-screen-bars span {
  display: block;
  height: var(--bar);
  min-height: 34px;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #94a3b8 100%);
  opacity: 0.96;
}

.how-layout {
  display: grid;
  gap: 20px;
  max-width: 1120px;
  margin: 28px auto 0;
  text-align: left;
}

.how-panel,
.how-sources-embed.live-data-sources {
  position: relative;
  padding: 20px 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 40px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.how-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #111827 0%, #475569 100%);
  opacity: 0.95;
}

.how-panel--mission {
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(226, 232, 240, 0.72) 0%, rgba(255, 255, 255, 0) 56%),
    rgba(255, 255, 255, 0.78);
}

.how-panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.how-panel-top h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
}

.how-index {
  display: inline-grid;
  place-items: center;
  min-width: 2.85rem;
  height: 2.85rem;
  padding: 0 10px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.how-index--outline {
  background: #ffffff;
  color: #111827;
  box-shadow: inset 0 0 0 2px #111827;
}

.how-index--soft {
  background: linear-gradient(145deg, #eef2f7 0%, #dce4ee 100%);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.how-index--patterns {
  background: linear-gradient(145deg, #0f172a 0%, #334155 100%);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.how-panel-body p {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.58;
}

.how-panel-body p + p {
  margin-top: 12px;
}

.how-demand-pattern-lead {
  margin: 0 0 18px;
  padding: 15px 17px 15px 18px;
  font-size: 0.96rem;
  line-height: 1.58;
  font-weight: 500;
  color: #0f172a;
  background: linear-gradient(120deg, rgba(226, 232, 240, 0.78) 0%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 16px;
  border-left: 3px solid #111827;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.how-demand-pattern-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.how-demand-pattern-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 13px 14px;
  font-size: 0.94rem;
  line-height: 1.48;
  font-weight: 500;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.how-demand-pattern-list li::before {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.08em;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
  background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.how-patterns-analyze {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(203, 213, 225, 0.55) 0%, rgba(255, 255, 255, 0) 56%),
    rgba(255, 255, 255, 0.76);
}

.how-patterns-analyze::before {
  width: 5px;
}

.how-patterns-analyze-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.how-patterns-analyze-tags li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 10px 15px 10px 13px;
  font-size: 0.89rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset;
}

.how-patterns-analyze-tags li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111827 0%, #64748b 100%);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.16);
}

.how-sources-embed.live-data-sources {
  margin: 0;
}

.how-sources-embed.live-data-sources .how-sources-embed-body {
  margin-bottom: 18px;
}

.how-highlight {
  color: #0f172a;
  font-weight: 700;
}

.how-highlight.is-urgent {
  color: #92400e;
}

#how-it-works .section-lead {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 720px) {
  .how-cinematic-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: stretch;
  }

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

  .how-demand-pattern-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-layout .live-data-sources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .how-layout .live-data-sources-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .section-how {
    padding: 64px 0 70px;
  }

  .section-how > .container.narrow {
    width: min(1120px, 94%);
  }

  .how-flow {
    border-radius: 28px;
    width: 100%;
  }

  .how-flow-item {
    min-width: 96px;
  }

  .how-cinematic-panel,
  .how-panel,
  .how-sources-embed.live-data-sources {
    padding: 18px 18px 20px;
    border-radius: 20px;
  }

  .how-hero-metrics {
    grid-template-columns: 1fr;
  }

  .how-screen-bars {
    gap: 8px;
  }
}

.section-iterations {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #111214 0%, #1b1d21 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f4f5f7;
}

#first-try-myth .narrow,
.section-iterations-shell {
  width: min(1080px, 92%);
}

.section-iterations-eyebrow {
  text-align: center;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
}

.section-iterations h2 {
  text-align: center;
  max-width: 12em;
  margin: 0 auto;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.iterations-proof,
.section-iterations-copy {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.iterations-proof {
  padding: 28px 24px;
  text-align: center;
  display: grid;
  align-content: center;
  gap: 10px;
}

.iterations-proof-value {
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
  color: #ffffff;
}

.iterations-proof-label {
  margin: 0 auto;
  max-width: 18ch;
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
}

.section-iterations-copy {
  max-width: none;
  margin: 0;
  padding: 28px 24px;
  text-align: left;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.section-iterations-copy p {
  margin: 0;
}

.section-iterations-copy p + p {
  margin-top: 1rem;
}

.section-iterations-copy strong {
  color: #ffffff;
  font-weight: 700;
}

.section-trust {
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at top center, rgba(0, 0, 0, 0.04), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.section-trust-shell,
.section-trust-inner {
  width: min(1100px, 92%);
}

.section-trust-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section-trust-eyebrow {
  margin: 0 0 12px;
}

.section-trust h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.section-trust-lead {
  margin: 16px auto 0;
  max-width: 44ch;
  line-height: 1.66;
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  color: #4e5563;
}

.trust-pillars {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  text-align: left;
}

.trust-pillar {
  margin: 0;
  padding: 26px 24px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.trust-pillar-index {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8e95a3;
}

.trust-pillar .trust-pillar-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #101215;
}

.trust-pillar-copy {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: #4e5563;
}

.section-trust-foot {
  margin: 24px auto 0;
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 48ch;
}

.section-trust-foot-actions {
  margin-top: 40px;
  text-align: center;
}

.section-trust-foot-actions .btn {
  min-width: 180px;
  padding: 16px 28px;
  font-size: 0.98rem;
  border-radius: 999px;
}

.section-trust-foot a {
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-trust-foot a:hover {
  text-decoration-thickness: 2px;
}

.section-trust-foot a.trust-foot-community-btn {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: #111;
  vertical-align: baseline;
}

.section-trust-foot a.trust-foot-community-btn:hover {
  background: none;
  text-decoration: underline;
}

.legal-footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.legal-footer-button {
  appearance: none;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: #2d333d;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.legal-footer-button:hover,
.legal-footer-button:focus-visible {
  background: #ffffff;
  border-color: rgba(17, 17, 17, 0.28);
  color: #111111;
}

.terms-dialog {
  width: min(820px, calc(100vw - 32px));
  max-height: min(86vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}

.terms-dialog::backdrop {
  background: rgba(12, 12, 12, 0.58);
  backdrop-filter: blur(7px);
}

.terms-panel {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.terms-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: #ffffff;
}

.terms-eyebrow {
  margin: 0 0 8px;
  color: #5f6673;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.terms-updated {
  margin: 10px 0 0;
  color: #5c6370;
  font-size: 0.92rem;
}

.terms-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #f6f6f6;
  color: #171a20;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}

.terms-content {
  max-height: calc(min(86vh, 820px) - 132px);
  overflow: auto;
  padding: 8px 30px 32px;
}

.terms-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.terms-section:last-child {
  border-bottom: 0;
}

.terms-section h3 {
  margin: 0 0 12px;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.terms-section h4 {
  margin: 18px 0 10px;
  font-size: 0.94rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.terms-section h4:first-child {
  margin-top: 0;
}

.terms-section.terms-intro {
  padding-top: 18px;
}

.terms-section p {
  margin: 0;
  color: #394150;
  font-size: 0.96rem;
  line-height: 1.65;
}

.terms-section p + p,
.terms-section ul + p {
  margin-top: 12px;
}

.terms-section ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #394150;
}

.terms-section li {
  margin: 6px 0;
  line-height: 1.55;
}

.terms-section a {
  color: #111111;
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .terms-dialog {
    width: calc(100vw - 20px);
    max-height: 88vh;
  }

  .terms-header {
    padding: 22px 18px 18px;
  }

  .terms-content {
    max-height: calc(88vh - 122px);
    padding: 4px 18px 24px;
  }

  .terms-section {
    padding: 18px 0;
  }
}

.section-algorithm {
  padding: 92px 0 96px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(180deg, #070809 0%, #121417 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7f7f8;
}

#scoring-engine .narrow,
#scoring-engine .section-algorithm-shell {
  width: min(1120px, 92%);
  text-align: center;
}

.section-algorithm-eyebrow {
  text-align: center;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
}

.section-algorithm h2 {
  text-align: center;
  max-width: 12em;
  margin: 0 auto;
  letter-spacing: -0.05em;
  line-height: 1.02;
  color: #ffffff;
}

.section-algorithm-lead {
  text-align: center;
  max-width: 48ch;
  margin: 16px auto 0;
  line-height: 1.7;
  font-size: clamp(1rem, 1.45vw, 1.08rem);
  color: rgba(255, 255, 255, 0.72);
}

.algorithm-highlight {
  margin: 38px auto 0;
  max-width: 760px;
  padding: 26px 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.algorithm-stat {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.algorithm-stat-value {
  font-size: clamp(3.4rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.9;
  color: #ffffff;
}

.algorithm-stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.algorithm-stat-copy {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.algorithm-metric-rail {
  margin: 18px auto 0;
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.algorithm-metric {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.algorithm-metric-value {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
}

.algorithm-metric-label {
  font-size: 0.96rem;
  font-weight: 500;
  color: #ffffff;
}

.algorithm-formula-wrap {
  margin: 18px auto 0;
  max-width: 760px;
  padding: 20px 16px 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.algorithm-formula-note {
  margin: 0 0 10px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.56);
}

.algorithm-formula-caption {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.algorithm-formula-katex .katex-display {
  margin: 0;
}

.algorithm-formula-katex {
  font-size: clamp(0.58rem, 2.4vw, 0.82rem);
  color: #ffffff;
}

@media (min-width: 720px) {
  .quote-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #first-try-myth .narrow,
  .section-iterations-shell {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 18px;
    align-items: stretch;
  }

  .section-iterations-eyebrow,
  .section-iterations h2 {
    grid-column: 1 / -1;
  }

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

@media (min-width: 640px) {
  .algorithm-highlight {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    text-align: left;
  }

  .algorithm-stat {
    align-items: flex-start;
    flex-shrink: 0;
  }

  .algorithm-stat-copy {
    text-align: left;
  }

  .algorithm-metric {
    padding: 18px 22px;
  }
}

@media (min-width: 760px) {
  .live-trending-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.profile-topbar {
  top: 0;
}

.profile-page {
  height: auto;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 20px;
  overflow: visible;
}

.profile-layout {
  width: min(1120px, 92%);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  height: auto;
}

.profile-main {
  min-width: 0;
}

.profile-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.profile-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  letter-spacing: -0.03em;
}

.profile-stats-card {
  position: sticky;
  top: 88px;
  background: #ffffff;
}

.profile-stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.profile-stat-value {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-stat-label--spaced {
  margin-top: 20px;
}

.profile-action-meter {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
}

.profile-action-meter__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-action-meter__head span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-action-meter__head strong {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
}

.profile-action-meter__track {
  width: 100%;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}

.profile-action-meter__track span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: inherit;
  transition: width 0.24s ease, background-color 0.24s ease;
}

.profile-action-meter--high .profile-action-meter__track span {
  background: #20b26b;
}

.profile-action-meter--medium .profile-action-meter__track span {
  background: #d6a21e;
}

.profile-action-meter--low .profile-action-meter__track span {
  background: #e04f45;
}

.profile-action-meter--loading .profile-action-meter__track span {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.36));
  background-size: 180% 100%;
  animation: profile-meter-loading 1s ease-in-out infinite;
}

@keyframes profile-meter-loading {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: 0 0;
  }
}

.profile-action-meter__refresh {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.profile-manage-plan-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.profile-idea-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 4px;
  margin-top: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f4f4f4;
  width: fit-content;
  max-width: 100%;
}

.profile-idea-tab {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-idea-tab:hover {
  color: var(--text);
}

.profile-idea-tab[aria-selected="true"] {
  background: #111111;
  color: #ffffff;
}

.profile-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.profile-new-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.profile-project-switch {
  margin-top: 0;
  padding: 4px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 238, 238, 0.92)),
    #f4f4f4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 16px 32px rgba(17, 17, 17, 0.08);
}

.profile-project-switch__option {
  min-width: 138px;
  padding: 11px 20px;
  letter-spacing: 0.01em;
}

.profile-project-switch__option[aria-selected="true"] {
  background: linear-gradient(180deg, #1b1b1b, #050505);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 8px 16px rgba(17, 17, 17, 0.22);
}

.profile-ideas-panel {
  min-height: 0;
}

.profile-idea-copy {
  min-width: 0;
}

.profile-idea-copy[role="button"] {
  cursor: pointer;
  border-radius: 10px;
  padding: 2px 4px;
  margin: -2px -4px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.profile-idea-copy[role="button"]:hover {
  background: rgba(17, 17, 17, 0.04);
}

.profile-idea-copy[role="button"]:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.profile-idea-actions {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.profile-idea-action {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #d0d0d0;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
}

.profile-idea-action:hover {
  border-color: #111111;
  background: #fafafa;
}

.profile-idea-action--danger {
  color: #8a2c2c;
  border-color: #e8c8c8;
}

.profile-idea-action--danger:hover {
  border-color: #c45c5c;
  background: #fff8f8;
}

.profile-ideas-card {
  margin-top: 24px;
  background: #ffffff;
}

.profile-bookmark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}

.profile-bookmark-button:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 17, 17, 0.28);
  background: #f7f7f7;
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.12);
}

.profile-bookmark-button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.profile-bookmark-button__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.profile-bookmark-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.profile-bookmark-button[data-bookmark-variant="outline"] {
  background: transparent;
  color: #6e6e73;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.02);
}

.profile-bookmark-button[data-bookmark-variant="outline"]:hover {
  color: #111111;
  background: #f7f7f7;
}

.profile-bookmark-button[data-bookmark-variant="solid"] {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
}

.profile-bookmark-button[data-bookmark-variant="solid"]:hover {
  background: #222222;
  border-color: #222222;
}

.profile-project-remove-button {
  min-width: 86px;
  margin-top: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .profile-list-toolbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }

  .profile-project-switch {
    width: 100%;
  }

  .profile-project-switch__option {
    flex: 1 1 0;
    min-width: 0;
  }
}

.profile-ideas-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  scrollbar-gutter: auto;
}

.profile-idea-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fafafa;
}

.profile-idea-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.profile-idea-item .profile-idea-copy p {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.profile-idea-date {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
}

.profile-idea-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-idea-kind-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.profile-idea-kind-badge--discovered {
  background: #eef6ff;
  color: #1f5fbf;
}

.profile-idea-kind-badge--created {
  background: #f4f0ff;
  color: #6d3fd6;
}

.profile-idea-kind-badge--validated {
  background: #edf9f1;
  color: #177a43;
}

.profile-solution-links {
  display: grid;
  gap: 10px;
}

.profile-solution-detail-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px;
  border: 1px solid #e4e7f0;
  border-radius: 999px;
  background: #f7f8fc;
}

.profile-solution-detail-tab {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: #5d6474;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.profile-solution-detail-tab[aria-selected="true"] {
  background: #ffffff;
  color: #121726;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.08);
}

.profile-solution-detail-tab:focus-visible {
  outline: 2px solid #121726;
  outline-offset: 2px;
}

.profile-problem-detail-sections[hidden] {
  display: none !important;
}

.profile-empty-state {
  margin: 0;
  padding: 8px 0;
}

.profile-template-idea-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  margin-top: 20px;
  padding: 16px 18px;
  text-align: left;
  font: inherit;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.profile-template-idea-btn:hover {
  border-color: #111111;
  background: #fafafa;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.06);
}

.profile-template-idea-btn:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.profile-template-idea-btn-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.profile-template-idea-btn-hint {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

.profile-idea-template-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(90vh, 760px);
  margin: auto;
  padding: 0;
  border: 1px solid #e4e7f0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.18);
}

#solution-detail-dialog {
  width: min(720px, calc(100vw - 32px));
}

.profile-idea-template-dialog::backdrop {
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
}

.profile-idea-template-panel {
  max-height: min(90vh, 760px);
  overflow-y: auto;
  padding: 24px 24px 20px;
  background: #fff;
  border-radius: inherit;
}

.profile-idea-template-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-right: 4px;
}

.profile-idea-template-eyebrow {
  margin: 0 0 6px;
}

.profile-idea-template-heading {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.profile-idea-template-lead {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.profile-idea-template-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  background: #f5f5f5;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-idea-template-close:hover {
  background: #ececec;
  color: var(--text);
}

.profile-idea-template-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-idea-template-section {
  padding: 14px 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fafafa;
}

.profile-idea-template-section-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.profile-idea-template-section-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.profile-problem-detail-sections {
  display: grid;
  gap: 14px;
}

.profile-problem-score-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-problem-score-sections {
  display: grid;
  gap: 12px;
}

.profile-problem-score-section {
  padding: 12px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
}

.profile-problem-score-section-title {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-problem-score-item + .profile-problem-score-item {
  margin-top: 10px;
}

.profile-problem-score-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.profile-problem-score-item-name {
  font-size: 0.85rem;
  font-weight: 700;
}

.profile-problem-score-item-value {
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-problem-score-item-expl {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.profile-stage-one-final-card {
  box-shadow: none;
}

.profile-stage-one-final-card .stage-one-final-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .profile-stage-one-final-card .stage-one-final-metrics {
    grid-template-columns: 1fr;
  }
}

.profile-problem-empty {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 62px;
  }

  .hero::after {
    right: -185px;
    width: 330px;
    background-position: center;
    background-size: contain;
  }

  .hero-content {
    max-width: none;
  }

  .hero-board {
    padding: 18px;
    border-radius: 24px;
  }

  .hero-board-head {
    display: grid;
  }

  .hero-board-lanes,
  .hero-board-footer {
    grid-template-columns: 1fr;
  }

  .hero-board-radar {
    min-height: 200px;
  }

  .hero-signal-pill--search {
    top: auto;
    right: 14px;
    bottom: 72px;
  }

  .hero-signal-pill--payments {
    left: 18px;
    bottom: 16px;
  }

  .hero-conviction-ring {
    width: 92px;
    height: 92px;
  }

  .quote-spotlight {
    padding: 26px 0 16px;
  }

  .quote-card {
    padding: 20px 18px 22px;
    border-radius: 22px;
  }

  .quote-card p,
  .quote-card-text {
    font-size: clamp(1.05rem, 4.8vw, 1.3rem);
    line-height: 1.32;
  }

  .quote-source {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  nav {
    display: none;
  }

  .swipe-deck {
    height: 430px;
  }

  .idea-card {
    padding: 16px;
  }

  .live-scan-top,
  .live-trending-layout {
    grid-template-columns: 1fr;
  }

  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-page-header {
    flex-direction: column;
  }

  .profile-page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .profile-stats-card {
    position: static;
  }

  .stage-timeline {
    right: 16px;
    width: min(220px, calc(100vw - 32px));
    padding: 13px 12px 11px;
  }

  .timeline-step {
    grid-template-columns: 28px 1fr;
    gap: 8px;
  }

  .timeline-step:not(:last-child)::after {
    left: 13px;
  }

  .timeline-copy p {
    display: none;
  }
}

@media (max-width: 900px) {
  .stage-timeline {
    display: none;
  }
}

@media (max-width: 640px) {
  .stage-timeline {
    display: none;
  }
}

/* My Profile — dark theme (my-profile.html) */
body.profile-dark {
  color-scheme: dark;
  --dashboard-bg: #0b0b0b;
  --dashboard-ink: #f4f4f4;
  --dashboard-muted: #a8a8a8;
  --dashboard-line: rgba(255, 255, 255, 0.13);
  --dashboard-line-strong: rgba(255, 255, 255, 0.24);
  --dashboard-accent: #f5f5f5;
  --dashboard-accent-ink: #111111;
  --bg: #0b0b0b;
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.13);
  --card: #171717;
  background: var(--bg);
  color: var(--text);
}

body.profile-dark .topbar {
  background: rgba(13, 15, 18, 0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px);
}

body.profile-dark .profile-page {
  padding-top: 96px;
}

body.profile-dark nav a {
  color: #b5b5b5;
}

body.profile-dark nav a:hover {
  color: var(--text);
}

body.profile-dark .logo {
  color: var(--text);
}

body.profile-dark .logo-mark {
  filter: none;
}

body.profile-dark .profile-link {
  border-color: rgba(255, 255, 255, 0.16);
  background: #242424;
  color: #eaeaea;
}

body.profile-dark .profile-link.active {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #111111;
}

body.profile-dark .eyebrow {
  color: var(--muted);
}

body.profile-dark .btn-dark {
  background: #f5f5f5;
  color: #111111;
  border-color: #f5f5f5;
}

body.profile-dark .btn-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

body.profile-dark .btn-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

body.profile-dark .card {
  background: var(--card);
  border-color: var(--line);
}

body.profile-dark .profile-stats-card,
body.profile-dark .profile-ideas-card {
  background: var(--card);
}

body.profile-dark .profile-action-meter {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

body.profile-dark .profile-action-meter__track {
  background: rgba(255, 255, 255, 0.12);
}

body.profile-dark .profile-idea-tabs {
  border-color: var(--line);
  background: #1f1f1f;
}

body.profile-dark .profile-idea-tab:hover {
  color: var(--text);
}

body.profile-dark .profile-idea-tab[aria-selected="true"] {
  background: #f5f5f5;
  color: #111111;
}

body.profile-dark .profile-project-switch {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(40, 40, 40, 0.95), rgba(24, 24, 24, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 32px rgba(0, 0, 0, 0.35);
}

body.profile-dark .profile-project-switch__option[aria-selected="true"] {
  background: linear-gradient(180deg, #f2f2f2, #dcdcdc);
  color: #111111;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.28);
}

body.profile-dark .profile-idea-copy[role="button"]:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.profile-dark .profile-idea-copy[role="button"]:focus-visible {
  outline-color: #f5f5f5;
}

body.profile-dark .profile-idea-action {
  border-color: rgba(255, 255, 255, 0.2);
  background: #222222;
  color: var(--text);
}

body.profile-dark .profile-idea-action:hover {
  border-color: #f5f5f5;
  background: #2a2a2a;
}

body.profile-dark .profile-idea-action--danger {
  color: #f0a8a8;
  border-color: rgba(240, 112, 112, 0.35);
}

body.profile-dark .profile-idea-action--danger:hover {
  border-color: #e07070;
  background: rgba(72, 28, 28, 0.45);
}

body.profile-dark .profile-bookmark-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: #222222;
  color: #f0f0f0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

body.profile-dark .profile-bookmark-button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: #2c2c2c;
}

body.profile-dark .profile-bookmark-button[data-bookmark-variant="outline"] {
  color: #b0b0b0;
}

body.profile-dark .profile-bookmark-button[data-bookmark-variant="outline"]:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

body.profile-dark .profile-bookmark-button[data-bookmark-variant="solid"] {
  background: #f5f5f5;
  color: #111111;
  border-color: #f5f5f5;
}

body.profile-dark .profile-idea-item {
  border-color: var(--line);
  background: #141414;
}

body.profile-dark .profile-idea-date {
  color: #909090;
}

body.profile-dark .profile-idea-kind-badge--discovered {
  background: rgba(60, 130, 215, 0.28);
  color: #a8ccff;
}

body.profile-dark .profile-idea-kind-badge--created {
  background: rgba(130, 100, 220, 0.25);
  color: #d8c8ff;
}

body.profile-dark .profile-idea-kind-badge--validated {
  background: rgba(55, 170, 110, 0.26);
  color: #8ee4b8;
}

/* My Profile — delete confirmation modal */
.profile-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.profile-delete-modal[hidden] {
  display: none !important;
}

.profile-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.profile-delete-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.65);
}

.profile-delete-modal__title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.profile-delete-modal__lead {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--muted);
}

.profile-delete-modal__name {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-delete-modal__warn {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.profile-delete-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

body.profile-dark .profile-delete-modal__confirm.btn-dark {
  background: #c53030;
  border-color: #c53030;
  color: #ffffff;
}

body.profile-dark .profile-delete-modal__confirm.btn-dark:hover {
  background: #9b2c2c;
  border-color: #9b2c2c;
}

body.profile-delete-modal-open {
  overflow: hidden;
}

/* Project page */
.project-page {
  min-height: 100vh;
  background: #ffffff;
}

.project-page .topbar {
  top: 0;
}

.project-page nav a[aria-current="page"] {
  color: #111111;
  font-weight: 700;
}

.project-shell {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  border-top: 1px solid var(--line);
}

.project-shell > * {
  min-width: 0;
}

.project-map {
  min-height: calc(100vh - 73px);
  padding: clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--line);
  background: #ffffff;
}

.project-map-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 240px;
}

.project-stage-timeline {
  position: static;
  top: auto;
  right: auto;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 8px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.project-map-overview-link {
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #faf9f4 100%);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
}

.project-map-overview-link::after {
  display: none;
}

.project-map-overview-link .timeline-dot {
  color: #ffffff;
  background: #111111;
  box-shadow: none;
}

.project-map-overview-link .timeline-copy p {
  opacity: 1;
}

.project-stage-timeline > .timeline-step--overview {
  display: none;
}

.project-stage-timeline .timeline-step {
  cursor: pointer;
}

.project-stage-timeline .timeline-step:hover {
  background: rgba(17, 17, 17, 0.03);
}

.project-map-extra-actions {
  display: grid;
  gap: 10px;
}

.project-map-extra-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.project-map-extra-button svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-map-extra-button:hover,
.project-map-extra-button:focus-visible,
.project-map-extra-button.is-active {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.22);
}

.project-map-extra-button.is-active {
  background: #111111;
  color: #ffffff;
}

.project-map-extra-button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.project-map-extra-button:active {
  transform: translateY(1px);
}

.project-support-page {
  background: #ffffff;
  color: #111111;
}

.project-support-shell {
  min-height: calc(100vh - 73px);
  padding: clamp(28px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.project-support-wrap {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.project-support-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.project-support-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-support-head h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.95;
}

.project-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-support-card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.project-support-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.project-support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-support-empty {
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed rgba(17, 17, 17, 0.2);
  border-radius: 8px;
  color: var(--muted);
  background: #fafafa;
}

.project-evidence-ledger {
  display: grid;
  gap: 14px;
  border-style: solid;
  color: var(--ink);
  background: #ffffff;
}

.project-evidence-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-evidence-summary div {
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #f6f7f8;
}

.project-evidence-summary span,
.project-evidence-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.project-evidence-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
}

.project-evidence-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.project-evidence-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: capitalize;
  color: #374151;
  background: #f3f4f6;
}

.project-evidence-label--strong {
  border-color: rgba(22, 163, 74, 0.24);
  color: #166534;
  background: #dcfce7;
}

.project-evidence-label--medium {
  border-color: rgba(217, 119, 6, 0.24);
  color: #92400e;
  background: #fef3c7;
}

.project-evidence-label--weak {
  border-color: rgba(220, 38, 38, 0.2);
  color: #991b1b;
  background: #fee2e2;
}

.project-evidence-label--source {
  border-color: rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
  background: #dbeafe;
}

.project-evidence-section {
  display: grid;
  gap: 8px;
}

.project-evidence-section h2 {
  margin: 0;
  font-size: 1rem;
}

.project-evidence-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-evidence-list li {
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #fbfbfa;
}

.project-evidence-list strong,
.project-evidence-list a {
  display: block;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.project-evidence-list p,
.project-evidence-empty {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.project-evidence-output {
  display: grid;
  gap: 14px;
  width: 100%;
}

.project-evidence-output-hero {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.project-evidence-output-hero span,
.project-evidence-output-section h5 {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-evidence-output-hero h4 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.project-evidence-output-hero p,
.project-evidence-output-row p,
.project-evidence-output-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.project-evidence-output-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.project-evidence-output-grid div,
.project-evidence-output-section,
.project-evidence-output-row {
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  background: #ffffff;
}

.project-evidence-output-grid div {
  padding: 12px;
}

.project-evidence-output-grid strong {
  display: block;
  font-size: 1.35rem;
}

.project-evidence-output-grid span,
.project-evidence-output-row span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.project-evidence-output-section {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.project-evidence-output-row {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fbfbfa;
}

.project-evidence-output-row strong,
.project-evidence-output-row a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.project-blank {
  min-width: 0;
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 6vw, 72px);
  background: #ffffff;
  overflow-x: hidden;
}

.project-demand-panel {
  min-width: 0;
  width: min(1020px, 100%);
}

.project-overview-panel {
  display: grid;
  gap: 24px;
}

.project-demand-panel[hidden] {
  display: none;
}

.project-demand-panel > .project-demand-kicker,
.project-demand-panel > h1,
.project-demand-panel > .project-demand-form,
.project-demand-panel > .project-stage-copy,
.project-demand-panel > .project-demand-actions {
  max-width: 720px;
}

.project-demand-kicker {
  margin: 0 0 10px;
  color: #6e6e73;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-demand-panel h1 {
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.project-stage-copy {
  max-width: 58ch;
  margin: 0 0 16px;
  color: #5f5f63;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.project-stage-copy + .project-demand-actions {
  margin-top: 8px;
}

.project-build-debug-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(720px, 100%);
  margin: 20px 0 4px;
  padding: 14px;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #fff4c2;
}

.project-build-debug-bar .btn {
  min-height: 44px;
  border-radius: 8px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.project-brief-shell {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(8px, 2vw, 14px);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(244, 244, 246, 0.65) 42%, rgba(235, 235, 237, 0.4) 100%);
  font-family: "Bahnschrift", "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}

.project-brief-surface,
.project-brief-section {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 245, 247, 0.95) 100%);
  box-shadow:
    0 18px 50px rgba(17, 17, 17, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.project-brief-surface--hero {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #060606 0%, #171717 48%, #2b2b2d 100%);
  color: #ffffff;
}

.project-brief-surface--locked {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 34%),
    linear-gradient(135deg, #111111 0%, #232323 58%, #3a3a32 100%);
}

.project-brief-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding: clamp(24px, 3vw, 38px);
  align-items: stretch;
}

.project-brief-hero-copy {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 860px;
}

.project-brief-eyebrow,
.project-brief-section-kicker,
.project-brief-fact-card > span,
.project-brief-stack-card > span,
.project-brief-list-card > span,
.project-brief-risk-card > span {
  margin: 0;
  color: #8a8a93;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-brief-surface--hero .project-brief-eyebrow,
.project-brief-surface--hero .project-brief-section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.project-brief-hero-copy h2 {
  margin: 0;
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.project-brief-hero-promise {
  max-width: 68ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 500;
}

.project-brief-next-move {
  display: grid;
  align-content: start;
  gap: 12px;
  width: min(680px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  max-width: 680px;
}

.project-brief-next-move h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.project-brief-next-move p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.project-brief-next-move .btn-dark {
  background: #ffffff;
  color: #111111;
  border-color: rgba(255, 255, 255, 0.2);
}

.project-brief-meta-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 14px;
  width: auto;
  max-width: none;
}

.project-brief-meta-card {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.project-brief-meta-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-brief-meta-card strong {
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.project-brief-section {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 2.6vw, 30px);
}

.project-brief-section-head {
  display: grid;
  gap: 8px;
}

.project-brief-section-head h3 {
  margin: 0;
  color: #111111;
  max-width: 22ch;
  font-size: clamp(1.36rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.project-brief-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-brief-facts-grid,
.project-brief-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-brief-focus-grid {
  grid-template-columns: 1fr;
}

.project-brief-fact-card,
.project-brief-stack-card,
.project-brief-list-card,
.project-brief-risk-card,
.project-brief-focus-card,
.project-brief-summary-card {
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 244, 246, 0.92));
}

.project-brief-fact-card {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}

.project-brief-fact-card p,
.project-brief-stack-card p,
.project-brief-list-card p,
.project-brief-risk-card p,
.project-brief-summary-card p {
  margin: 0;
  color: #2d2d31;
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 550;
}

.project-brief-fact-card--highlight {
  background:
    radial-gradient(circle at top right, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0) 38%),
    linear-gradient(180deg, #f7f7f8 0%, #ececef 100%);
}

.project-brief-focus-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.project-brief-focus-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.project-brief-focus-card h4 {
  margin: 0;
  color: #111111;
  font-size: 1.14rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.project-brief-focus-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.project-brief-focus-card dl div {
  display: grid;
  gap: 5px;
}

.project-brief-focus-card dt {
  color: #76767d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-brief-focus-card dd {
  margin: 0;
  color: #2d2d31;
  line-height: 1.72;
  font-weight: 550;
}

.project-brief-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.project-brief-list-item {
  color: #242428;
  line-height: 1.78;
  font-weight: 550;
}

.project-brief-checklist {
  gap: 10px;
  padding: 0;
  list-style: none;
}

.project-brief-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: #242428;
  line-height: 1.68;
  font-weight: 550;
}

.project-brief-checkmark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(17, 17, 17, 0.28);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff, #f1f1f3);
}

.project-brief-stack,
.project-brief-risk-list {
  display: grid;
  gap: 12px;
}

.project-brief-stack-card,
.project-brief-list-card,
.project-brief-risk-card,
.project-brief-summary-card {
  display: grid;
  gap: 10px;
  padding: 20px 22px;
}

.project-brief-stack-card--dark {
  background: linear-gradient(135deg, #111111, #26262b);
}

.project-brief-stack-card--dark span,
.project-brief-stack-card--dark p {
  color: #ffffff;
}

.project-brief-dual-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.project-brief-dual-list--triple {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-brief-list-card--message {
  background: linear-gradient(180deg, #f7f7f8 0%, #ececef 100%);
}

.project-brief-missing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.project-brief-missing-card {
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 244, 246, 0.92));
}

.project-brief-missing-card span {
  color: #111111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.project-brief-missing-card p {
  margin: 0;
  color: #54545c;
  font-size: 0.94rem;
  font-weight: 550;
  line-height: 1.58;
}

.project-brief-missing-card .btn {
  width: fit-content;
}

.project-brief-risk-card strong {
  color: #111111;
  font-size: 1rem;
  line-height: 1.2;
}

.project-stage-note {
  max-width: 760px;
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 18px 20px;
}

.project-stage-note--warn {
  background: linear-gradient(180deg, #fff9ea 0%, #fffdf6 100%);
  border-color: rgba(191, 135, 0, 0.18);
}

.timeline-step--overview .timeline-dot {
  font-size: 1.2rem;
  line-height: 1;
}

.project-demand-form {
  display: grid;
  gap: 14px;
}

.project-demand-input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  background: #f7f7f7;
  color: #111111;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
}

.project-demand-input::placeholder {
  color: #8b8b90;
}

.project-demand-input:focus {
  outline: 2px solid #111111;
  outline-offset: 3px;
  background: #ffffff;
}

.project-demand-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-demand-actions .btn {
  min-width: 132px;
  justify-content: center;
}

.project-discovery-output {
  margin-top: 34px;
}

.project-discovery-output-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-discovery-output-head h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 800;
}

.project-discovery-final-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-discovery-final-list .stage-one-final-card {
  position: relative;
  color: #f3f3f3;
  background: linear-gradient(180deg, #1f201f 0%, #121312 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-discovery-final-list .stage-one-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

.project-discovery-final-list .stage-one-final-topline {
  position: relative;
  z-index: 1;
  padding: 22px 32px 10px;
  color: #8c8d8c;
  letter-spacing: 0.12em;
}

.project-discovery-final-list .stage-one-final-topline::after {
  background: rgba(255, 255, 255, 0.14);
}

.project-discovery-card-logo {
  position: absolute;
  top: 20px;
  right: 32px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.project-discovery-card-logo::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 999px;
  background: #32c891;
  vertical-align: 1px;
}

.project-discovery-final-list .stage-one-final-inner {
  position: relative;
  z-index: 1;
  padding: 14px 32px 24px;
}

.project-discovery-final-list .stage-one-final-tags .stage-one-final-pill,
.project-discovery-final-list .stage-one-final-pill {
  min-height: 26px;
  border-color: rgba(255, 255, 255, 0.14);
  background: #2b2c2b;
  color: #e4e4e4;
  box-shadow: none;
}

.project-discovery-final-list .stage-one-final-tags .stage-one-final-pill:nth-child(1) {
  background: #f3f3f3;
  border-color: #f3f3f3;
  color: #111111;
}

.project-discovery-final-list .stage-one-final-tags .stage-one-final-pill:nth-child(2) {
  background: #303230;
  border-color: #484a48;
  color: #e7e7e7;
}

.project-discovery-final-list .stage-one-final-tags .stage-one-final-pill:nth-child(3) {
  background: #163f32;
  border-color: #23664e;
  color: #d7f3e7;
}

.project-discovery-final-list .stage-one-final-title {
  max-width: 880px;
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.8vw, 4.45rem);
  line-height: 0.98;
  font-weight: 800;
}

.project-discovery-final-list .stage-one-final-subtitle {
  max-width: 780px;
  margin-top: 14px;
  color: #b5b6b5;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 650;
}

.project-discovery-final-list .stage-one-final-metrics {
  gap: 16px;
  margin-top: 28px;
}

.project-discovery-final-list .stage-one-final-metric {
  min-height: 128px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.project-discovery-final-list .stage-one-final-label {
  color: #a5aaa7;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.project-discovery-final-list .stage-one-final-cell .stage-one-final-label,
.project-discovery-final-list .stage-one-final-band .stage-one-final-label {
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.25;
}

.project-discovery-final-list .stage-one-final-metric strong {
  color: #ffffff;
  font-size: 1.62rem;
}

.project-discovery-final-list .stage-one-final-metric span:last-child {
  color: #8f9491;
}

.project-discovery-final-list .stage-one-final-stars {
  color: #32c891;
}

.project-discovery-final-list .stage-one-final-signal {
  margin: 26px -32px 0;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #dddddd;
  background: rgba(255, 255, 255, 0.04);
}

.project-discovery-final-list .stage-one-final-dot {
  width: 8px;
  height: 8px;
  background: #1f8d66;
}

.project-discovery-final-list .stage-one-final-actions {
  grid-template-columns: auto auto;
  justify-content: start;
  margin: 0 -32px -24px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
}

.project-discovery-final-list .stage-one-final-actions .btn {
  border-radius: 999px;
  min-height: 42px;
  padding-inline: 22px;
}

.project-discovery-final-list .stage-one-final-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-discovery-final-list .stage-one-final-actions .stage-one-final-toggle {
  grid-column: 3;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #f3f3f3;
}

.project-discovery-final-list .stage-one-final-grid {
  margin: 0 -32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-discovery-final-list .stage-one-final-cell {
  min-height: 118px;
  padding: 18px 32px;
  border-color: rgba(255, 255, 255, 0.14);
}

.project-discovery-final-list .stage-one-final-cell p,
.project-discovery-final-list .stage-one-final-band p {
  color: #c9cbc9;
  font-weight: 700;
}

.project-discovery-final-list .stage-one-final-band:last-child .stage-one-final-label {
  color: #ffffff;
}

.project-discovery-final-list .stage-one-final-band:last-child p {
  color: #aeb2af;
}

.project-discovery-final-list .stage-one-final-band {
  margin: 0 -32px;
  padding: 18px 32px;
  border-color: rgba(255, 255, 255, 0.14);
}

.project-discovery-final-list .stage-one-final-pill--assumption {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.project-discovery-preview-output {
  margin-top: 34px;
}

.project-discovery-solution-preview-head {
  margin-top: 28px;
}

.project-discovery-signal-list {
  display: grid;
  gap: 18px;
}

.project-discovery-signal-card {
  position: relative;
  overflow: hidden;
  color: #f3f3f3;
  background: linear-gradient(180deg, #1f201f 0%, #121312 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.project-discovery-signal-card.is-top-pick {
  border-color: rgba(50, 200, 145, 0.74);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(50, 200, 145, 0.18);
}

.project-discovery-signal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

@media (max-width: 980px) {
  .project-brief-hero-grid,
  .project-brief-section-grid,
  .project-brief-facts-grid,
  .project-brief-focus-grid {
    grid-template-columns: 1fr;
  }

  .project-brief-hero-copy h2 {
    max-width: none;
  }

  .project-brief-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    width: 100%;
  }

  .project-brief-dual-list,
  .project-brief-dual-list--triple {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 640px) {
  .project-brief-shell {
    padding: 0;
    background: transparent;
  }

  .project-brief-section,
  .project-brief-surface--hero {
    border-radius: 20px;
  }

  .project-brief-meta-grid {
    grid-template-columns: 1fr;
  }

  .project-brief-dual-list,
  .project-brief-dual-list--triple {
    grid-template-columns: 1fr;
  }

  .project-brief-list {
    gap: 12px;
  }
}

.project-discovery-signal-card header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 32px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-discovery-signal-card header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-discovery-signal-card header span {
  color: #8c8d8c;
  font-size: 0.82rem;
  font-weight: 900;
}

.project-discovery-signal-card header .project-discovery-card-logo {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.project-discovery-signal-card header strong {
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #dff8ee;
  color: #12764f;
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 900;
}

.project-discovery-signal-card:not(.is-top-pick) header strong {
  background: #eeeaf8;
  color: #584d72;
}

.project-discovery-bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f3f3f3;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.project-discovery-bookmark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.project-discovery-bookmark svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.project-discovery-signal-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 26px 32px 18px;
  color: #ffffff;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 850;
}

.project-discovery-signal-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0 32px 18px;
  padding: 18px 20px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #d0d2d0;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.45;
  font-style: italic;
  font-weight: 800;
}

.project-discovery-signal-card cite {
  display: block;
  margin-top: 10px;
  color: #8f9491;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.project-discovery-signal-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 32px 18px;
}

.project-discovery-signal-metrics span {
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #8f9491;
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 800;
}

.project-discovery-signal-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 900;
}

.project-discovery-signal-metrics span:nth-child(2) strong,
.project-discovery-signal-metrics span:nth-child(3) strong {
  color: #32c891;
}

.project-discovery-signal-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c9cbc9;
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 800;
}

.project-discovery-signal-card > p strong {
  display: inline-flex;
  min-height: 24px;
  margin-right: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #dff8ee;
  color: #12764f;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 900;
}

.project-discovery-signal-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 32px 20px;
}

.project-discovery-signal-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9cbc9;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 800;
}

.project-discovery-signal-tags span:last-child {
  background: #f4ead5;
  border-color: #f4ead5;
  color: #6d4208;
}

.project-discovery-signal-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-discovery-signal-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 900;
}

.project-discovery-signal-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-discovery-signal-actions .btn-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #f3f3f3;
}

.project-page .project-discovery-pipeline {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid #dedede;
}

.project-page .project-discovery-pipeline-head {
  margin-bottom: 20px;
}

.project-page #discovery-submit {
  display: inline-flex !important;
}

.project-page .project-inline-runner {
  margin-top: 0;
  padding: 0;
  background: transparent;
}

.project-page .project-inline-runner[hidden] {
  display: none !important;
}

.project-page .discovery-inline-content {
  display: grid;
  gap: 22px;
}

.project-page .discovery-inline-content > .ide-output-heading {
  margin: 0;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-page .ide-status {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 16px 18px 16px 44px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.project-page .ide-status::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28px;
  background: #111111;
}

.project-page .ide-status::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
}

.project-page .ide-status--busy::before {
  background: #111111;
}

.project-page .ide-status--busy::after {
  animation: project-status-pulse 1s ease-in-out infinite;
}

.project-page .ide-status--ok::before,
.project-page .ide-status--ok::after {
  background: #1f8d66;
}

.project-page .ide-status--ok::after {
  box-shadow: 0 0 0 4px rgba(31, 141, 102, 0.16);
}

.project-page .ide-status--error::before,
.project-page .ide-status--error::after {
  background: #c83d3d;
}

.project-page .ide-status-process {
  margin: 0 0 4px;
  color: #6b6b6b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-page .ide-status-line {
  margin: 0;
  color: #111111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.ide-status-copy {
  min-width: 0;
}

.ide-stop-run {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 12px;
}

.ide-stop-run[hidden] {
  display: none !important;
}

.project-page .discovery-inline-divider {
  margin: 6px 0 0;
}

.project-page .discovery-inline-divider-label {
  color: #777777;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-page .discovery-inline-divider-line {
  background: #d8d8d8;
}

.project-page .discovery-inline-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #ffffff;
}

.project-page .ide-step-wrap {
  min-width: 0;
  max-width: none;
}

.project-page .ide-pipeline-arrow {
  display: none;
}

.project-page .ide-step {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 82px;
  padding: 18px;
  border: 0;
  border-right: 1px solid #e5e5e5;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}

.project-page .ide-step::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  height: 3px;
  border-radius: 8px;
  background: #e2e2e2;
}

.project-page .ide-step--active {
  background: #f7f7f7;
}

.project-page .ide-step--active::before {
  background: #111111;
}

.project-page .ide-step--done::before {
  background: #1f8d66;
}

.project-page .ide-step--error::before {
  background: #c83d3d;
}

.project-page .ide-step-title {
  color: #111111;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.project-page .ide-step-spinner {
  width: 12px;
  height: 12px;
  border-color: rgba(17, 17, 17, 0.15);
  border-top-color: #111111;
}

.project-page .ide-output-card,
.project-page .ide-output-steps-details,
.project-page .ide-step-output-details {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.project-page .ide-output-card {
  padding: 24px;
}

.project-page .project-inline-output-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -6px 0 16px;
  color: #8c8d8c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-page .project-inline-output-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #dedede;
}

.project-page .project-inline-output-topline .project-discovery-card-logo {
  margin-left: auto;
}

.project-page .ide-output-card > .ide-output-heading {
  margin: 0 0 16px;
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-page .ide-output-empty {
  color: #666666;
}

.discovered-demand-item {
  list-style: none;
}

.discovered-demand-card {
  overflow: hidden;
  color: #d8d8d8;
  background: #262827;
  border: 1px solid #3d4140;
  border-radius: 8px;
  box-shadow: none;
}

.discovered-demand-item:first-child .discovered-demand-card {
  border-color: #168a68;
  box-shadow: 0 0 0 1px rgba(22, 138, 104, 0.5);
}

.discovered-demand-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  padding: 8px 16px;
  border-bottom: 1px solid #3b3e3d;
}

.discovered-demand-rankline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.discovered-demand-rank {
  color: #969997;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.discovered-demand-badge {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 9px;
  border-radius: 8px;
  background: #e1f4ed;
  color: #155d48;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.discovered-demand-item:nth-child(n + 2) .discovered-demand-badge {
  background: #ece9ff;
  color: #4c3d84;
}

.discovered-demand-signal {
  color: #eeeeee;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.discovered-demand-title {
  margin: 0;
  padding: 18px 16px 10px;
  color: #f0f0f0;
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.discovered-demand-quote {
  margin: 0 16px 12px;
  padding: 14px 14px 10px;
  border-radius: 8px;
  background: #1d1f1e;
}

.discovered-demand-quote blockquote {
  margin: 0;
  color: #bfc1c0;
  font-size: 0.92rem;
  font-style: italic;
  font-weight: 850;
  line-height: 1.45;
}

.discovered-demand-quote figcaption {
  margin-top: 8px;
  color: #8b8e8d;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.3;
}

.discovered-demand-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 12px;
}

.discovered-demand-metric {
  min-height: 42px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #1f2120;
}

.discovered-demand-metric strong,
.discovered-demand-metric span {
  display: block;
  line-height: 1.15;
}

.discovered-demand-metric strong {
  color: #f1f1f1;
  font-size: 0.94rem;
  font-weight: 950;
}

.discovered-demand-metric span {
  margin-top: 4px;
  color: #8d918f;
  font-size: 0.68rem;
  font-weight: 850;
}

.discovered-demand-metric.is-positive strong {
  color: #17a676;
}

.discovered-demand-metric.is-dot strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #17a676;
  vertical-align: 1px;
}

.discovered-demand-gap {
  margin: 0;
  padding: 0 16px 14px;
  color: #c4c6c5;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 800;
}

.discovered-demand-gap span {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  margin-right: 6px;
  padding: 1px 7px;
  border-radius: 8px;
  background: #dbf1ea;
  color: #155d48;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
}

.discovered-demand-sources {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 16px 12px;
}

.discovered-demand-sources span,
.discovered-demand-sources strong {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 2px 9px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.discovered-demand-sources span {
  border: 1px solid #454847;
  background: #202221;
  color: #c4c6c5;
}

.discovered-demand-sources strong {
  background: #f3dfbd;
  color: #735124;
}

.discovered-demand-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid #3b3e3d;
}

.discovered-demand-actions .btn {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.discovered-demand-actions .btn-dark {
  background: transparent;
  border-color: #5f6361;
  color: #f2f2f2;
}

.discovered-demand-actions .btn-light {
  background: transparent;
  border-color: #5f6361;
  color: #d6d7d6;
}

.project-page .ide-opp {
  border: 0;
  border-top: 1px solid #e2e2e2;
  border-radius: 0;
  box-shadow: none;
}

.project-page .ide-opp:first-child {
  border-top: 0;
}

.project-page .ide-opp-rank {
  background: #111111;
  color: #ffffff;
}

.project-page .ide-opp-title {
  color: #111111;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.project-page .ide-chip {
  border-color: #d8d8d8;
  border-radius: 8px;
  background: #f5f5f5;
  color: #111111;
}

.project-page .ide-output-steps-summary,
.project-page .ide-step-output-summary {
  min-height: 58px;
  padding: 18px 20px;
}

.project-page .ide-output-steps-summary::before,
.project-page .ide-step-output-summary::before {
  border-color: #111111;
}

.project-page .ide-output-steps-summary::after,
.project-page .ide-step-output-summary::after,
.project-page .ide-outputs-section-lead {
  color: #777777;
}

.project-page .ide-step-output-details > .ide-readable-output {
  max-height: none;
}

.project-page .ide-current-step-status {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #f7f7f7;
  box-shadow: none;
}

.project-page .ide-current-step-status::before {
  background: #111111;
}

.project-page .discovery-inline-actions .btn,
.project-page .project-demand-actions .btn {
  border-radius: 8px;
}

@keyframes project-status-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(-50%) scale(0.88);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.project-validation-output {
  margin-top: 34px;
}

.project-validation-final-card {
  position: relative;
  overflow: hidden;
  color: #f3f3f3;
  background: linear-gradient(180deg, #1f201f 0%, #121312 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-validation-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

.project-validation-card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 32px 10px;
  color: #8c8d8c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-validation-card-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.14);
}

.project-validation-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 32px 22px;
}

.project-validation-signal-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #32c891;
}

.project-validation-hero h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
}

.project-validation-hero p {
  margin: 8px 0 0;
  color: #b5b6b5;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.35;
  font-weight: 700;
}

.project-validation-go {
  min-width: 54px;
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #edf6e8;
  color: #1c2b17;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.project-validation-checklist {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-validation-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-validation-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1;
}

.project-validation-check-icon.is-confirmed {
  background: #dff8ee;
  color: #12764f;
}

.project-validation-check-icon.is-open {
  background: #fff4df;
  color: #6f4a07;
}

.project-validation-check h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.03rem, 1.8vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 850;
}

.project-validation-check p {
  margin: 7px 0 0;
  color: #b5b6b5;
  font-size: clamp(0.92rem, 1.45vw, 1.05rem);
  line-height: 1.45;
  font-weight: 700;
}

.project-validation-risk {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 32px;
  background: #f4ead5;
  color: #6d4208;
}

.project-validation-risk strong {
  font-size: 0.94rem;
  line-height: 1.4;
  font-weight: 900;
}

.project-validation-risk p {
  margin: 0;
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  line-height: 1.55;
  font-weight: 650;
}

.project-validation-questions {
  position: relative;
  z-index: 1;
  padding: 20px 32px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-validation-questions > span {
  display: block;
  margin-bottom: 10px;
  color: #a5aaa7;
  font-size: 0.9rem;
  font-weight: 800;
}

.project-validation-questions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-validation-questions div span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9cbc9;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 800;
}

.project-validation-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 32px;
}

.project-validation-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 900;
}

.project-validation-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-validation-actions .btn-light {
  grid-column: 4;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #f3f3f3;
}

.project-refine-output {
  margin-top: 34px;
}

.project-refine-final-card {
  position: relative;
  overflow: hidden;
  color: #f3f3f3;
  background: linear-gradient(180deg, #1f201f 0%, #121312 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-refine-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

.project-refine-card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 32px 10px;
  color: #8c8d8c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-refine-card-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.14);
}

.project-refine-hero {
  position: relative;
  z-index: 1;
  padding: 18px 32px 28px;
}

.project-refine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-refine-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #111111;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 900;
}

.project-refine-tags span:first-child {
  background: #dff8ee;
  color: #12764f;
}

.project-refine-hero h3 {
  max-width: 880px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.85rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 850;
}

.project-refine-hero p {
  max-width: 820px;
  margin: 14px 0 0;
  color: #b5b6b5;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 650;
}

.project-refine-profile-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-profile-row .project-refine-band {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
}

.project-refine-profile-row .project-refine-metrics {
  border: 0;
  grid-template-columns: 1fr;
}

.project-refine-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-metrics div {
  min-height: 96px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.project-refine-metrics div:last-child {
  border-right: 0;
}

.project-refine-profile-row .project-refine-metrics div {
  min-height: 0;
  padding: 17px 24px;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-profile-row .project-refine-metrics div:last-child {
  border-bottom: 0;
}

.project-refine-metrics strong {
  color: #ffffff;
  max-width: 100%;
  font-size: clamp(1.02rem, 1.55vw, 1.28rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.project-refine-metrics span {
  order: -1;
  color: #a8aca8;
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-refine-band {
  position: relative;
  z-index: 1;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-story-grid .project-refine-band {
  min-height: 152px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-story-grid .project-refine-band:nth-child(2n) {
  border-right: 0;
}

.project-refine-story-grid .project-refine-band:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.project-refine-band > span,
.project-refine-grid span,
.project-refine-hidden-questions-head span,
.project-refine-tools > span {
  display: block;
  margin-bottom: 8px;
  color: #a5aaa7;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-refine-band > span,
.project-refine-grid span,
.project-refine-hidden-questions-head span,
.project-refine-tools > span,
.project-business-table h4,
.project-business-gap strong,
.project-business-pricing > span,
.project-business-quotes > span,
.project-build-sequence > span,
.project-build-core > span,
.project-build-security > span,
.project-build-distribution > span,
.project-refine-metrics span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.project-v2-section-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.78);
}

.project-v2-section-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.project-v2-section-label-text {
  min-width: 0;
}

.project-business-gap .project-v2-section-icon {
  color: #15563e;
}

.project-refine-band p,
.project-refine-grid p {
  margin: 0;
  color: #f0f0f0;
  font-size: clamp(0.98rem, 1.55vw, 1.1rem);
  line-height: 1.45;
  font-weight: 800;
}

.project-refine-band--lead p {
  max-width: 720px;
  font-size: clamp(1.1rem, 1.9vw, 1.34rem);
  line-height: 1.42;
}

.project-refine-band small {
  display: block;
  margin-top: 10px;
  color: #9da19e;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 750;
}

.project-refine-band--quiet p {
  color: #c9cbc9;
}

.project-refine-band--language {
  background: rgba(255, 255, 255, 0.035);
}

.project-refine-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 900;
}

.project-refine-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-refine-actions .btn-light {
  grid-column: 3;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: #f3f3f3;
}

.project-refine-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-grid div {
  min-height: 132px;
  padding: 22px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-grid div:nth-child(2n) {
  border-right: 0;
}

.project-refine-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.project-refine-hidden-questions {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-hidden-questions-head {
  padding: 22px 32px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-hidden-questions-head p {
  max-width: 760px;
  margin: 0;
  color: #b8bbb8;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 700;
}

.project-refine-question-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.project-refine-question-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.project-refine-question-table th,
.project-refine-question-table td {
  width: 33.333%;
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-refine-question-table th:last-child,
.project-refine-question-table td:last-child {
  border-right: 0;
}

.project-refine-question-table tbody tr:last-child td {
  border-bottom: 0;
}

.project-refine-question-table th {
  color: #a5aaa7;
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.project-refine-question-table td {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 750;
}

.project-refine-question-table td:nth-child(2) {
  color: #d1d4d1;
}

.project-refine-question-table td:nth-child(3) {
  color: #ffffff;
}

.project-refine-tools {
  position: relative;
  z-index: 1;
  padding: 20px 32px 22px;
}

.project-refine-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-refine-tools div span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #c9cbc9;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 800;
}

.project-refine-final-card.is-collapsed .project-refine-expanded {
  display: none;
}

.project-stage-card-output {
  min-width: 0;
  max-width: 100%;
  margin-top: 34px;
}

.project-later-card {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  color: #f3f3f3;
  background: linear-gradient(180deg, #1f201f 0%, #121312 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.project-reach-card {
  margin-top: 86px;
  overflow: visible;
}

.reach-console {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.reach-console-head,
.reach-console-toolbar,
.reach-card header,
.reach-card-actions,
.reach-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reach-console-head h2,
.reach-empty h3,
.reach-card h3,
.reach-modal-panel h2,
.reach-detail-block h3 {
  margin: 0;
  color: #111111;
  font-weight: 900;
}

.reach-console-head p,
.reach-empty p,
.reach-card p,
.reach-detail-block p,
.reach-detail-block dd {
  line-height: 1.55;
}

.reach-console-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr) minmax(180px, 0.45fr);
  gap: 14px;
  padding: 18px;
}

.reach-console-controls label {
  display: grid;
  gap: 8px;
  color: #313131;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reach-console-controls textarea,
.reach-console-controls input,
.reach-console-controls select,
.reach-train-item textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: #ffffff;
  color: #111111;
}

.reach-console-add {
  display: flex;
  gap: 8px;
}

.reach-console-actions,
.reach-console-subs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reach-sub,
.reach-sub-lock,
.reach-filter {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  padding: 8px 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.reach-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reach-sub span {
  color: #707070;
  font-size: 0.78rem;
}

.reach-sub.is-selected,
.reach-filter.is-active {
  background: #111111;
  color: #ffffff;
}

.reach-sub.is-selected span {
  color: #d8d8d8;
}

.reach-sub.is-locked {
  border-color: #32c891;
}

.reach-sub-lock {
  padding-inline: 10px;
  color: #0b6b4a;
}

.reach-empty-small {
  margin: 0;
  color: #777777;
  font-weight: 750;
}

.reach-inbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.reach-debug {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 20px;
  background: #ffffff;
  padding: 14px 16px;
}

.reach-debug summary {
  cursor: pointer;
  color: #111111;
  font-weight: 950;
}

.reach-debug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.reach-debug-grid span,
.reach-debug-list p {
  border-radius: 14px;
  background: #f7f7f3;
  padding: 10px;
}

.reach-debug-grid strong {
  display: block;
  font-size: 1.25rem;
}

.reach-debug-list h4 {
  margin: 14px 0 8px;
  color: #111111;
}

.reach-debug-list p {
  margin: 8px 0 0;
  line-height: 1.45;
}

.reach-debug-list code {
  display: inline-block;
  max-width: 100%;
  margin-top: 4px;
  color: #555555;
  white-space: normal;
  word-break: break-word;
}

.reach-card,
.reach-empty {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 20, 20, 0.07);
}

.reach-card--high {
  border-color: rgba(50, 200, 145, 0.72);
  box-shadow: 0 24px 50px rgba(50, 200, 145, 0.16);
}

.reach-card--opened,
.reach-card--hook_copied,
.reach-card--reddit_opened {
  opacity: 0.78;
}

.reach-card--responded {
  background: linear-gradient(180deg, #f3fff9 0%, #ffffff 100%);
}

.reach-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reach-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f0ef;
  color: #333333;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: capitalize;
}

.reach-badge--high {
  background: #dff9ee;
  color: #0b6b4a;
}

.reach-badge--medium {
  background: #fff3cc;
  color: #775a00;
}

.reach-card small,
.reach-console-toolbar span {
  color: #777777;
  font-weight: 800;
}

.reach-card em {
  display: block;
  margin-bottom: 12px;
  color: #0b6b4a;
  font-style: normal;
  font-weight: 850;
}

.reach-card-actions {
  justify-content: flex-start;
}

.reach-card-actions .btn,
.reach-modal-actions .btn {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
}

.reach-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

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

.reach-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.58);
}

.reach-modal-panel {
  position: relative;
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  border-radius: 28px;
  background: #fffdf6;
  padding: 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.reach-modal-close {
  position: sticky;
  top: 0;
  float: right;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 9px 13px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.reach-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  clear: both;
}

.reach-detail-block,
.reach-train-item {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background: #ffffff;
  padding: 18px;
}

.reach-detail-block dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.reach-detail-block dt {
  color: #111111;
  font-weight: 950;
}

.reach-detail-block dd {
  margin: 0 0 8px;
  color: #444444;
}

.reach-reply {
  padding: 14px;
  border-radius: 16px;
  background: #f7f7f3;
}

.reach-modal-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.reach-train-panel {
  width: min(860px, calc(100vw - 28px));
}

.reach-train-item {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.reach-train-item.is-saved {
  border-color: rgba(50, 200, 145, 0.72);
  background: #f3fff9;
}

.project-reach-card.is-title-condensed .project-later-hero h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-later-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 42%);
}

.project-later-card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 32px 10px;
  color: #8c8d8c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-later-card-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: rgba(255, 255, 255, 0.14);
}

.project-later-hero {
  position: relative;
  z-index: 1;
  padding: 18px 32px 26px;
}

.project-later-hero h3 {
  max-width: 880px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.6vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 850;
}

.project-build-card .project-later-hero {
  padding-top: 26px;
  padding-bottom: 24px;
}

.project-build-card .project-later-hero h3 {
  max-width: 760px;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 1.06;
}

.project-build-card .project-later-hero p {
  max-width: 720px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.project-later-hero p {
  max-width: 780px;
  margin: 14px 0 0;
  color: #b5b6b5;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 650;
}

.project-later-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-later-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 900;
}

.project-later-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-business-table,
.project-business-matrix,
.project-business-priority-table,
.project-reach-reddit,
.project-reach-communities,
.project-reach-searches,
.project-reach-scripts,
.project-build-sequence,
.project-build-core,
.project-build-security,
.project-build-distribution {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-business-table h4,
.project-business-matrix h4,
.project-business-priority-table h4,
.project-reach-reddit > span,
.project-reach-communities > span,
.project-reach-searches > span,
.project-build-sequence > span,
.project-build-core > span,
.project-build-security > span,
.project-build-distribution > span {
  display: block;
  margin: 0;
  padding: 16px 32px 10px;
  color: #a5aaa7;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-business-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-business-row strong,
.project-business-row b {
  color: #ffffff;
  font-weight: 900;
}

.project-business-row p {
  margin: 0;
  color: #c9cbc9;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 700;
}

.project-business-row p span {
  color: #b78335;
}

.project-business-matrix,
.project-business-priority-table {
  margin: 18px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
}

.project-business-matrix-head,
.project-business-matrix-row,
.project-business-priority-head,
.project-business-priority-row {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 14px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-business-matrix-head,
.project-business-matrix-row {
  min-width: 1040px;
  grid-template-columns: minmax(120px, 0.8fr) repeat(4, minmax(140px, 1fr));
}

.project-business-priority-head,
.project-business-priority-row {
  min-width: 720px;
  grid-template-columns: 110px minmax(170px, 0.8fr) minmax(220px, 1.2fr);
}

.project-business-matrix-head,
.project-business-priority-head {
  color: #a5aaa7;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-business-matrix-row strong,
.project-business-priority-row strong {
  color: #ffffff;
  font-weight: 900;
}

.project-business-matrix-row p,
.project-business-priority-row p {
  margin: 0;
  color: #c9cbc9;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
}

.project-business-matrix-row p:last-child,
.project-business-priority-row p:last-child {
  color: #32c891;
}

.project-business-gap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 32px;
  background: #dff8ee;
  color: #15563e;
}

.project-business-gap strong,
.project-business-gap p {
  margin: 0;
  font-weight: 850;
  line-height: 1.45;
}

.project-business-pricing {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.project-business-pricing > span,
.project-business-quotes > span {
  display: block;
  padding: 16px 32px 8px;
  color: #a5aaa7;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-business-pricing div {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  padding: 14px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c9cbc9;
  font-weight: 800;
}

.project-business-pricing strong {
  color: #32c891;
}

.project-business-quotes {
  position: relative;
  z-index: 1;
  padding-bottom: 10px;
}

.project-business-quotes p {
  margin: 0;
  padding: 8px 32px;
  color: #d6d7d6;
  font-size: 1rem;
  line-height: 1.45;
  font-style: italic;
  font-weight: 800;
}

.project-reach-tabs {
  position: static;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-reach-tab-list {
  position: absolute;
  left: 0;
  top: -82px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: #050505;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.project-reach-tab {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f3f3f3;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.project-reach-tab.is-active {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 7px 18px rgba(255, 255, 255, 0.16);
}

.project-reach-tab-panel:not(.is-active) {
  display: none;
}

.project-reach-tab-actions {
  padding: 18px 32px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-reach-tab-actions .btn {
  min-height: 42px;
  border-radius: 999px;
  padding-inline: 20px;
  font-weight: 900;
}

.project-reach-tab-actions .btn-dark {
  background: #ffffff;
  border-color: #ffffff;
  color: #111111;
}

.project-reach-reddit article {
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-reach-reddit header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.project-reach-reddit strong,
.project-reach-reddit h4 {
  color: #ffffff;
  font-weight: 900;
}

.project-reach-reddit small {
  display: block;
  margin-top: 4px;
  color: #a5aaa7;
  font-weight: 800;
}

.project-reach-reddit nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-reach-reddit a {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #f3f3f3;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.project-reach-reddit h4,
.project-reach-reddit p,
.project-reach-reddit blockquote {
  margin: 0 0 10px;
}

.project-reach-reddit p,
.project-reach-reddit blockquote {
  color: #d6d7d6;
  line-height: 1.5;
  font-weight: 750;
}

.project-reach-reddit blockquote {
  padding: 14px 16px;
  border-left: 3px solid #32c891;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.project-reach-reddit em {
  display: inline-block;
  color: #8f9491;
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 850;
}

.project-reach-communities article {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 14px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-reach-communities .btn {
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.project-reach-communities strong,
.project-reach-communities b,
.project-reach-scripts strong,
.project-build-sequence h4,
.project-build-core h4 {
  color: #ffffff;
  font-weight: 900;
}

.project-reach-communities p {
  margin: 6px 0 0;
  color: #c9cbc9;
  font-weight: 700;
  line-height: 1.45;
}

.project-reach-communities em,
.project-build-sequence em,
.project-build-distribution em {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #dff8ee;
  color: #12764f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.project-reach-searches div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 10px 32px;
}

.project-reach-searches code {
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f1f1f1;
  font-family: inherit;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: anywhere;
}

.project-reach-searches small {
  color: #a5aaa7;
  font-weight: 800;
}

.project-reach-scripts article {
  padding: 18px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-reach-scripts header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: #a5aaa7;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-reach-scripts button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #f3f3f3;
  font: inherit;
  font-weight: 900;
}

.project-reach-scripts p {
  margin: 0;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f1f1f1;
  line-height: 1.55;
  font-weight: 750;
}

.project-reach-scripts small {
  display: block;
  margin-top: 10px;
  color: #8f9491;
  font-weight: 800;
}

.project-build-sequence article,
.project-build-core article,
.project-build-security article,
.project-build-distribution article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.project-build-sequence article > b,
.project-build-core article > b,
.project-build-security article > b,
.project-build-distribution article > b {
  color: #a5aaa7;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-build-sequence h4,
.project-build-core h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.project-build-sequence p,
.project-build-core p,
.project-build-security p,
.project-build-distribution p {
  margin: 0;
  color: #c9cbc9;
  line-height: 1.5;
  font-weight: 750;
}

.project-build-sequence em {
  grid-column: auto;
  margin-top: 10px;
}

.project-build-security strong,
.project-build-distribution strong {
  color: #ffffff;
}

@media (max-width: 900px) {
  .project-shell {
    grid-template-columns: 1fr;
  }

  .project-map {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-map-nav {
    position: static;
    max-width: none;
  }

  .project-stage-timeline {
    display: block;
    position: static;
    max-width: none;
  }

  .project-support-head {
    display: block;
  }

  .project-support-actions {
    margin-top: 18px;
  }

  .project-support-grid {
    grid-template-columns: 1fr;
  }

  .project-support-card {
    min-height: 0;
  }

  .project-evidence-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-evidence-output-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-blank {
    min-height: 52vh;
  }
}

@media (max-width: 760px) {
  .project-discovery-output-head {
    display: block;
  }

  .project-discovery-final-list .stage-one-final-topline {
    padding-inline: 18px;
  }

  .project-discovery-final-list .stage-one-final-inner {
    padding-inline: 18px;
  }

  .project-discovery-final-list .stage-one-final-signal,
  .project-discovery-final-list .stage-one-final-actions,
  .project-discovery-final-list .stage-one-final-grid,
  .project-discovery-final-list .stage-one-final-band {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .project-discovery-final-list .stage-one-final-actions {
    grid-template-columns: 1fr;
  }

  .project-discovery-final-list .stage-one-final-actions .stage-one-final-toggle {
    grid-column: auto;
  }

  .project-validation-card-topline,
  .project-validation-hero,
  .project-validation-check,
  .project-validation-risk,
  .project-validation-questions,
  .project-validation-actions {
    padding-inline: 18px;
  }

  .project-validation-hero,
  .project-validation-risk {
    grid-template-columns: 1fr;
  }

  .project-validation-actions {
    grid-template-columns: 1fr;
  }

  .project-validation-actions .btn-light {
    grid-column: auto;
  }

  .project-refine-card-topline,
  .project-refine-hero,
  .project-refine-band,
  .project-refine-actions,
  .project-refine-hidden-questions-head,
  .project-refine-tools {
    padding-inline: 18px;
  }

  .project-refine-profile-row,
  .project-refine-story-grid {
    grid-template-columns: 1fr;
  }

  .project-refine-profile-row .project-refine-band,
  .project-refine-story-grid .project-refine-band,
  .project-refine-story-grid .project-refine-band:nth-child(2n),
  .project-refine-story-grid .project-refine-band:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .project-refine-story-grid .project-refine-band:last-child {
    border-bottom: 0;
  }

  .project-refine-profile-row .project-refine-metrics {
    border-bottom: 0;
  }

  .project-refine-metrics,
  .project-refine-grid {
    grid-template-columns: 1fr;
  }

  .project-refine-metrics div,
  .project-refine-grid div,
  .project-refine-grid div:nth-child(2n),
  .project-refine-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .project-refine-metrics div:last-child,
  .project-refine-grid div:last-child {
    border-bottom: 0;
  }

  .project-refine-grid div {
    padding-inline: 18px;
  }

  .project-refine-question-table {
    min-width: 680px;
  }

  .project-refine-question-table th,
  .project-refine-question-table td {
    padding: 14px 16px;
  }

  .project-refine-actions {
    grid-template-columns: 1fr;
  }

  .project-refine-actions .btn-light {
    grid-column: auto;
  }

  .project-business-matrix,
  .project-business-priority-table {
    margin-inline: 14px;
  }

  .project-later-card-topline,
  .project-later-hero,
  .project-business-row,
  .project-business-matrix-head,
  .project-business-matrix-row,
  .project-business-priority-head,
  .project-business-priority-row,
  .project-business-gap,
  .project-business-pricing > span,
  .project-business-pricing div,
  .project-business-quotes > span,
  .project-business-quotes p,
  .project-reach-tab-actions,
  .project-reach-reddit > span,
  .project-reach-reddit article,
  .project-reach-communities > span,
  .project-reach-communities article,
  .project-reach-searches > span,
  .project-reach-searches div,
  .project-reach-scripts article,
  .project-build-sequence > span,
  .project-build-sequence article,
  .project-build-core > span,
  .project-build-core article,
  .project-build-security > span,
  .project-build-security article,
  .project-build-distribution > span,
  .project-build-distribution article,
  .project-later-actions {
    padding-inline: 18px;
  }

  .project-business-row,
  .project-business-matrix-head,
  .project-business-matrix-row,
  .project-business-priority-head,
  .project-business-priority-row,
  .project-business-gap,
  .project-business-pricing div,
  .project-reach-reddit header,
  .project-reach-communities article,
  .project-reach-searches div,
  .project-discovery-signal-card header,
  .project-discovery-signal-metrics,
  .project-build-sequence article,
  .project-build-core article,
  .project-build-security article,
  .project-build-distribution article {
    grid-template-columns: 1fr;
  }

  .project-discovery-signal-card header,
  .project-discovery-signal-card h3,
  .project-discovery-signal-card > p,
  .project-discovery-signal-tags,
  .project-discovery-signal-actions {
    padding-inline: 18px;
  }

  .project-discovery-signal-card blockquote {
    margin-inline: 18px;
  }

  .project-discovery-signal-metrics {
    padding-inline: 18px;
  }

  .discovered-demand-topline,
  .discovered-demand-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discovered-demand-topline {
    display: grid;
  }

  .discovered-demand-signal {
    white-space: normal;
  }

  .project-reach-tab-list {
    width: 100%;
  }

  .project-reach-tab {
    flex: 1 1 0;
    padding-inline: 12px;
  }
}

/* Community page */
.community-page {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.community-panel {
  position: relative;
  display: grid;
  align-content: center;
  min-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  padding: 96px 0;
}

.community-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(180, 187, 178, 0.16));
  pointer-events: none;
}

.community-panel > .container {
  position: relative;
  z-index: 1;
}

.community-page + .community-page {
  border-top: none;
}

.community-page h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6.8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.community-page .btn {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.community-page .btn:not(:disabled):hover {
  transform: translateY(-2px);
}

.community-page .btn:not(:disabled):active {
  transform: translateY(0);
}

.community-page .btn-unlock:not(:disabled):hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.community-page .btn-light:not(:disabled):hover,
.community-page .btn-dark:not(:disabled):hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.community-unlock-card {
  margin: 34px auto 0;
  padding: 0;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.community-unlock-title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.community-unlock-copy {
  margin: 18px auto 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.55;
}

.marketplace-poster {
  padding: 0;
}

.marketplace-poster-head {
  max-width: 760px;
}

.marketplace-kicker {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6f6f6f;
}

.marketplace-poster-title {
  margin: 0;
  font-size: clamp(2.45rem, 6.8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  color: #111111;
}

.marketplace-poster-copy {
  margin: 18px 0 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.55;
}

.marketplace-lanes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 16px;
  margin-top: 44px;
  align-items: stretch;
}

.marketplace-lane {
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid #e9e9e9;
  background: rgba(255, 255, 255, 0.9);
}

.marketplace-lane-label {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.marketplace-lane h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.marketplace-lane-copy {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.marketplace-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.marketplace-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  font-size: 1.15rem;
  font-weight: 500;
  color: #6b6b6b;
}

.marketplace-poster-foot {
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.marketplace-foot-note {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

body.community-dark {
  --dashboard-bg: #0b0b0b;
  --dashboard-ink: #f4f4f4;
  --dashboard-muted: #a8a8a8;
  --dashboard-line: rgba(255, 255, 255, 0.13);
  --dashboard-line-strong: rgba(255, 255, 255, 0.24);
  --dashboard-accent: #f5f5f5;
  --dashboard-accent-ink: #111111;
  --bg: #0b0b0b;
  --text: #f4f4f4;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.13);
  --card: #171717;
  color-scheme: dark;
  min-height: 100vh;
  background: #0b0b0b;
  color: #f4f4f4;
}

body.community-dark a {
  color: inherit;
}

body.community-dark .idea-ticker {
  margin-top: 64px;
  top: 64px;
  background: #0b0b0b;
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

body.community-dark .dashboard-nav {
  background: rgba(13, 15, 18, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

body.community-dark .topbar {
  background: rgba(13, 15, 18, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

body.community-dark .logo-mark {
  filter: none;
}

body.community-dark nav a,
body.community-dark .profile-link {
  color: #a8a8a8;
}

body.community-dark nav a:hover,
body.community-dark nav a[aria-current="page"],
body.community-dark .profile-link:hover,
body.community-dark .logo {
  color: #f4f4f4;
}

body.community-dark .profile-link {
  border-color: rgba(255, 255, 255, 0.18);
  background: #171717;
}

body.community-dark .btn-dark,
body.community-dark .btn-light,
body.community-dark .btn-unlock {
  border-color: rgba(255, 255, 255, 0.24);
  background: #f5f5f5;
  color: #111111;
}

body.community-dark .btn-light:hover {
  background: #ffffff;
}

body.community-dark .community-panel .btn-unlock {
  width: auto;
  min-width: 176px;
  padding: 12px 18px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f4f4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.24);
  opacity: 1;
  cursor: default;
}

body.community-dark .community-panel .live-list-unlock {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

body.community-dark .community-panel .btn-unlock:disabled:hover,
body.community-dark .community-panel .btn-unlock:disabled:active {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

body.community-dark .community-page,
body.community-dark .vibe-success-intro,
body.community-dark .vibe-success-showcase {
  border-color: rgba(255, 255, 255, 0.13);
  background: #0b0b0b;
}

body.community-dark .community-page {
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.98) 0%, rgba(23, 23, 23, 0.86) 56%, rgba(11, 11, 11, 0.98) 100%),
    linear-gradient(120deg, #0b0b0b 0%, #171717 52%, #1f1f1f 100%);
}

body.community-dark .community-panel-discord {
  background:
    linear-gradient(180deg, rgba(23, 23, 23, 0.94), rgba(11, 11, 11, 0.9)),
    linear-gradient(125deg, #1f1f1f 0%, #0b0b0b 58%, #171717 100%);
  text-align: center;
}

body.community-dark .community-panel::after {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(0, 0, 0, 0.32));
}

body.community-dark .vibe-success-showcase {
  background: linear-gradient(180deg, #111111 0%, #0b0b0b 72%);
}

body.community-dark .eyebrow,
body.community-dark .muted,
body.community-dark .section-lead,
body.community-dark .marketplace-kicker,
body.community-dark .marketplace-lane-label,
body.community-dark .vibe-success-handle {
  color: #a8a8a8;
}

body.community-dark .card,
body.community-dark .vibe-success-card {
  border-color: rgba(255, 255, 255, 0.13);
  background: #171717;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

body.community-dark .marketplace-poster {
  background: transparent;
}

body.community-dark .marketplace-poster-title,
body.community-dark .marketplace-lane h3,
body.community-dark .community-unlock-title,
body.community-dark .vibe-success-card h3 {
  color: #f4f4f4;
}

body.community-dark .marketplace-lane {
  border-color: rgba(255, 255, 255, 0.13);
  background: #242424;
}

body.community-dark .marketplace-divider span {
  border-color: rgba(255, 255, 255, 0.24);
  background: #1f1f1f;
  color: #f4f4f4;
}

body.community-dark .vibe-success-metric {
  color: #f4f4f4;
}

body.community-dark .vibe-success-link {
  color: #ffffff;
}

@media (max-width: 780px) {
  .marketplace-poster {
    padding: 24px 20px;
  }

  .marketplace-lanes {
    grid-template-columns: 1fr;
  }

  .marketplace-divider span {
    width: 100%;
    height: 46px;
    border-radius: 999px;
  }

  .marketplace-poster-foot {
    align-items: stretch;
  }

  .marketplace-poster-foot .btn-unlock {
    width: 100%;
  }
}

/* Idea Discovery Engine (lab) */
.idea-discovery {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.idea-discovery h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.ide-controls {
  margin-top: 28px;
  padding: 24px 26px 26px;
}

.ide-controls-row {
  margin-bottom: 16px;
}

.ide-controls-row--split {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
  align-items: end;
}

@media (max-width: 720px) {
  .ide-controls-row--split {
    grid-template-columns: 1fr;
  }
}

.ide-field {
  display: block;
  width: 100%;
}

.ide-field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}

.ide-field--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: start;
}

.ide-field--checkbox input[type="checkbox"] {
  grid-row: 1 / span 2;
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink, #111);
}

.ide-field-label--checkbox {
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1a1a1a);
}

.ide-checkbox-help {
  grid-column: 2;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.ide-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.ide-input,
.ide-select,
.ide-textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid #a8adb5;
  border-radius: 12px;
  background: #eceff3;
}

.ide-input:focus,
.ide-select:focus,
.ide-textarea:focus {
  outline: none;
  border-color: #111;
  background: #f8f9fb;
}

.ide-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.ide-hint {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.ide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.ide-paste-zone {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.ide-paste-zone .ide-field {
  margin-bottom: 12px;
}

.ide-status {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfcff 0%, #ffffff 100%);
  border-color: #e6eaf2;
  box-shadow: 0 4px 14px rgba(18, 24, 40, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#solutions-inline-status {
  display: none !important;
}

.pipeline-upgrade-sign {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #d9c37a;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8de 0%, #fffdf4 100%);
  box-shadow: 0 8px 20px rgba(185, 148, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.pipeline-upgrade-sign[hidden] {
  display: none !important;
}

.pipeline-upgrade-sign.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pipeline-upgrade-sign-copy {
  min-width: 0;
}

.pipeline-upgrade-sign-kicker {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(124, 88, 12, 0.1);
  color: #7c580c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-upgrade-sign-text {
  margin: 8px 0 0;
  color: #3f3311;
  font-size: 0.92rem;
  line-height: 1.45;
}

.pipeline-upgrade-sign-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .pipeline-upgrade-sign {
    align-items: flex-start;
    flex-direction: column;
  }

  .pipeline-upgrade-sign-btn {
    width: 100%;
    justify-content: center;
  }
}

.ide-status--busy {
  border-color: #a8b0ff;
  box-shadow: 0 8px 18px rgba(76, 88, 255, 0.12);
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.ide-status--ok {
  border-color: #8ed9a8;
  background: linear-gradient(135deg, #f4fcf7 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(33, 196, 90, 0.08);
}

.ide-status--warn {
  border-color: #e8c766;
  background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(190, 145, 32, 0.08);
}

.ide-status--error {
  border-color: #e08585;
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(200, 80, 80, 0.1);
}

.ide-status-process {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #667085;
  line-height: 1.2;
}

.ide-status--busy .ide-status-process {
  color: #3d4ae0;
}

.ide-status--ok .ide-status-process {
  color: #1a7a3e;
}

.ide-status--warn .ide-status-process {
  color: #8a6a00;
}

.ide-status--error .ide-status-process {
  color: #a32020;
}

.ide-status-line {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #172033;
}

.ide-status--busy .ide-status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ide-status--busy .ide-status-line::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(76, 88, 255, 0.18);
  border-top-color: #4c58ff;
  border-radius: 999px;
  flex: 0 0 auto;
  animation: ide-step-spin 0.8s linear infinite;
}

.ide-lab-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: min(420px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ide-lab-toast--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ide-lab-toast-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e8a0a0;
  background: #fff8f8;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.ide-lab-toast-inner--warn {
  border-color: #dfc060;
  background: #fffdf5;
}

.ide-lab-toast-inner--warn .ide-lab-toast-title {
  color: #6a5200;
}

.ide-lab-toast-copy {
  flex: 1;
  min-width: 0;
}

.ide-lab-toast-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #8b1111;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.ide-lab-toast-msg {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #333;
  word-break: break-word;
}

.ide-lab-toast-close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: -4px -6px 0 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #666;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.ide-lab-toast-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

.ide-pipeline-wrap {
  margin-top: 36px;
}

.ide-pipeline-title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ide-pipeline-lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ide-pipeline-editor {
  margin-bottom: 22px;
  padding: 18px 20px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.ide-pipeline-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e4e4e4;
}

.ide-slot-editor {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.ide-slot-editor:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ide-slot-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ide-slot-editor-num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #f0f0f0;
  color: #555;
}

.ide-slot-editor-head .ide-slot-title {
  flex: 1 1 160px;
  min-width: 0;
}

.ide-slot-remove,
.ide-slot-save-default,
.ide-slot-web-toggle {
  flex: 0 0 auto;
  font-size: 0.82rem;
  padding: 8px 14px;
}

.ide-slot-save-default,
.ide-slot-web-toggle {
  white-space: nowrap;
}

.ide-slot-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 6px;
}

.ide-slot-editor .ide-textarea.ide-slot-prompt {
  min-height: 88px;
  font-size: 0.8rem;
}

.ide-slot-editor .ide-textarea.ide-slot-bullets {
  min-height: 64px;
  font-size: 0.82rem;
}

.ide-slot-editor .ide-field {
  margin-top: 10px;
}

.ide-hidden-prompts {
  margin-bottom: 22px;
}

.ide-hidden-prompts-panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 18px 18px;
}

.ide-hidden-prompts-summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  padding: 4px 0 8px;
}

.ide-hidden-prompts-summary::-webkit-details-marker {
  display: none;
}

.ide-hidden-prompts-summary::before {
  content: "? ";
  display: inline-block;
  transition: transform 0.15s ease;
}

.ide-hidden-prompts-panel[open] .ide-hidden-prompts-summary::before {
  transform: rotate(90deg);
}

.ide-hidden-prompts-inner {
  padding-top: 8px;
  border-top: 1px dashed #e4e4e4;
}

.ide-hidden-prompt-field {
  margin-top: 16px;
}

.ide-hidden-prompt-field:first-child {
  margin-top: 0;
}

.ide-hidden-prompt-hint {
  font-size: 0.8rem;
  margin: 0 0 8px;
  line-height: 1.45;
}

.ide-hidden-prompt-ta {
  min-height: 100px;
  font-size: 0.8rem;
  width: 100%;
  box-sizing: border-box;
}

.ide-hidden-prompt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ide-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 8px;
  margin: 0;
  padding: 0;
}

.ide-pipeline[hidden],
.discovery-inline-divider[hidden],
.stage-one-pipeline-preview[hidden] {
  display: none !important;
}

.ide-step-wrap {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}

.ide-pipeline-arrow {
  position: relative;
  flex: 0 0 18px;
  align-self: center;
  width: 18px;
  height: 18px;
  margin: 0 2px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
  text-indent: -9999px;
  white-space: nowrap;
  user-select: none;
}

.ide-pipeline-arrow::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-top: 2px solid #c8c8c8;
  border-right: 2px solid #c8c8c8;
  transform: rotate(45deg);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .stage-one-pipeline-preview-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ide-pipeline-arrow {
    display: none;
  }

  .ide-step-wrap {
    max-width: none;
  }
}

.ide-step {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  min-width: 132px;
  max-width: 190px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e8ebf2;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 4px 14px rgba(18, 24, 40, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.ide-step--active {
  border-color: #4c58ff;
  box-shadow: 0 10px 24px rgba(76, 88, 255, 0.18);
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  transform: translateY(-1px);
}

.ide-step--done {
  border-color: #21c45a;
  background: linear-gradient(180deg, #f6fff9 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(33, 196, 90, 0.12);
}

.ide-step--error {
  border-color: #e07070;
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(200, 80, 80, 0.12);
}

.ide-step-body {
  width: 100%;
}

.ide-step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.ide-step-title {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
  color: #182033;
}

.ide-step-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(76, 88, 255, 0.18);
  border-top-color: #4c58ff;
  border-radius: 999px;
  flex: 0 0 auto;
  opacity: 0;
  animation: ide-step-spin 0.8s linear infinite;
}

.ide-step--active .ide-step-spinner {
  opacity: 1;
}

@keyframes ide-step-spin {
  to {
    transform: rotate(360deg);
  }
}

.ide-pipeline-out {
  margin-top: 28px;
}

.ide-pipeline-out[hidden],
.ide-outputs-section[hidden] {
  display: none !important;
}

.ide-outputs-section {
  margin-top: 28px;
}

.ide-output-steps-details {
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.ide-output-steps-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.ide-output-steps-summary::-webkit-details-marker {
  display: none;
}

.ide-output-steps-summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid #5a6375;
  border-bottom: 2px solid #5a6375;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
}

.ide-output-steps-summary::after {
  content: "Show steps";
  margin-left: auto;
  flex: 0 0 auto;
  color: #5f6c83;
  font-size: 0.78rem;
  font-weight: 800;
}

.ide-output-steps-summary .ide-outputs-section-title {
  margin: 0;
}

.ide-output-steps-summary .ide-outputs-section-lead {
  display: block;
  margin: 2px 0 0;
}

.ide-output-steps-details[open] .ide-output-steps-summary::before {
  transform: rotate(45deg);
}

.ide-output-steps-details[open] .ide-output-steps-summary::after {
  content: "Hide steps";
}

.ide-output-steps-details > .ide-step-outputs,
.ide-output-steps-details > .ide-current-step-status,
.ide-output-steps-details > .ide-final-api-block,
.ide-output-steps-details > .ide-merged-details {
  margin-left: 18px;
  margin-right: 18px;
}

.ide-output-steps-details > .ide-step-outputs {
  margin-bottom: 14px;
}

.ide-output-steps-details > .ide-merged-details {
  margin-bottom: 18px;
}

.ide-outputs-section-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ide-outputs-section-lead {
  margin: 0 0 16px;
  font-size: 0.85rem;
}

.ide-step-outputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ide-output-block {
  padding: 16px 18px 18px;
}

.ide-step-output-details {
  padding: 0;
  overflow: hidden;
}

.ide-step-output-summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.ide-step-output-summary::after {
  content: "Show more";
  margin-left: auto;
  flex: 0 0 auto;
  color: #5f6c83;
  font-size: 0.78rem;
  font-weight: 800;
}

.ide-step-output-summary::-webkit-details-marker {
  display: none;
}

.ide-step-output-summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 2px solid #5a6375;
  border-bottom: 2px solid #5a6375;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
  flex: 0 0 auto;
}

.ide-step-output-details[open] .ide-step-output-summary::before {
  transform: rotate(45deg);
}

.ide-step-output-details[open] .ide-step-output-summary::after {
  content: "Show less";
}

.ide-step-output-summary-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ide-step-output-summary .ide-output-block-title,
.ide-step-output-summary .ide-output-block-key {
  display: block;
  margin: 0;
}

.ide-step-output-details > .ide-readable-output {
  margin: 0 18px 18px;
  max-height: calc(1.55em * 6 + 28px);
  overflow: auto;
}

.ide-step-output-details > .ide-json-dump {
  margin: 0 18px 18px;
}

.evidence-debug-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.evidence-debug-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.evidence-debug-panel {
  width: min(620px, 100%);
  height: 100%;
  background: #fff;
  border-left: 1px solid #d8e0ef;
  box-shadow: -22px 0 48px rgba(15, 23, 42, 0.18);
  transform: translateX(24px);
  transition: transform 0.18s ease;
  display: flex;
  flex-direction: column;
}

.evidence-debug-drawer.is-open .evidence-debug-panel {
  transform: translateX(0);
}

.evidence-debug-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #e6ebf4;
}

.evidence-debug-kicker {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-debug-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: 0;
}

.evidence-debug-close {
  width: 34px;
  height: 34px;
  border: 1px solid #d7dfec;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.evidence-debug-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid #edf1f7;
  overflow-x: auto;
}

.evidence-debug-tab {
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.evidence-debug-tab.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.evidence-debug-body {
  flex: 1;
  overflow: auto;
  padding: 18px 24px 28px;
}

.evidence-debug-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.evidence-debug-summary div,
.evidence-debug-step,
.evidence-debug-list li {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.evidence-debug-summary div {
  padding: 12px;
}

.evidence-debug-summary span,
.evidence-debug-step span,
.evidence-debug-list span {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
}

.evidence-debug-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.3rem;
}

.evidence-debug-note,
.evidence-debug-empty {
  margin: 0 0 14px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.evidence-debug-step {
  padding: 13px 14px;
  margin-bottom: 10px;
}

.evidence-debug-step p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.84rem;
}

.evidence-debug-section-title {
  margin: 18px 0 10px;
  font-size: 0.95rem;
  font-weight: 850;
}

.evidence-debug-section-title:first-child {
  margin-top: 0;
}

.evidence-debug-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence-debug-list li {
  padding: 13px 14px;
}

.evidence-debug-list a,
.evidence-debug-list strong {
  display: block;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.evidence-debug-list a:hover {
  text-decoration: underline;
}

.evidence-debug-list p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.5;
}

.evidence-debug-json {
  max-height: none;
}

.evidence-debug-step-stream {
  margin: 10px 0 0;
  max-height: 220px;
  font-size: 0.78rem;
}

@media (max-width: 720px) {
  .evidence-debug-summary {
    grid-template-columns: 1fr;
  }
}

.ide-current-step-status {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 16px 18px 16px 20px;
  border: 1px solid #cfd8e8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.72) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(239, 246, 255, 0.86) 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #182033;
  overflow: hidden;
}

.ide-current-step-status::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #14b8a6 0%, #2563eb 100%);
}

.ide-current-step-status[hidden] {
  display: none !important;
}

.ide-current-step-status--error {
  border-color: #f0b8b8;
  background: linear-gradient(135deg, #fff8f8 0%, #ffffff 100%);
}

.ide-current-step-status--error .ide-current-step-spinner {
  animation: none;
  border-color: #df5f5f;
}

.ide-current-step-status--error::before {
  background: #df5f5f;
}

.ide-current-step-spinner {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 2px solid rgba(20, 184, 166, 0.2);
  border-top-color: #2563eb;
  border-radius: 999px;
  flex: 0 0 auto;
  animation: ide-step-spin 0.8s linear infinite;
}

.ide-current-step-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ide-current-step-meta {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #32706b;
}

.ide-current-step-title {
  font-size: 0.98rem;
  line-height: 1.25;
  color: #111827;
}

.ide-current-step-detail {
  font-size: 0.86rem;
  line-height: 1.4;
  color: #596579;
}

.ide-readable-output {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ide-readable-output p,
.ide-readable-output ul {
  margin: 0;
}

.ide-readable-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ide-readable-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ide-readable-label,
.ide-readable-item-title {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 800;
  color: #27324a;
}

.ide-readable-text,
.ide-readable-empty {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #3e4656;
  max-width: 72ch;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ide-readable-empty {
  color: #7a8495;
}

.ide-readable-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 18px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #3e4656;
  max-width: 74ch;
  overflow-wrap: anywhere;
}

.ide-readable-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ide-readable-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e6eaf1;
  border-radius: 8px;
  background: #ffffff;
  min-width: 0;
}

.ide-output-block-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ide-output-block-key {
  margin: 0 0 10px;
  font-size: 0.78rem;
}

.ide-output-block-key code {
  font-size: 0.85em;
}

.ide-json-dump {
  margin: 0;
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.45;
  background: #f6f7f9;
  border: 1px solid #e8eaef;
  border-radius: 12px;
  overflow: auto;
  max-height: 320px;
  white-space: pre-wrap;
  word-break: break-word;
}

.ide-json-dump--tall {
  max-height: min(480px, 55vh);
}

.ide-step-output-details > .ide-json-dump {
  margin: 0 18px 18px;
  max-height: min(420px, 48vh);
  overflow: auto;
}

.ide-step-output-details.is-streaming > .ide-json-dump {
  max-height: min(520px, 58vh);
  border-color: rgba(79, 70, 229, 0.22);
  background: #fbfcff;
}

.ide-final-api-block {
  margin-top: 14px;
  padding: 16px 18px 18px;
}

.ide-merged-details {
  margin-top: 14px;
  padding: 14px 18px 16px;
}

.ide-merged-summary {
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.ide-merged-details[open] .ide-merged-summary {
  margin-bottom: 12px;
}

.ide-output-card {
  padding: 22px 24px 24px;
}

.ide-output-heading {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ide-output-subtle {
  margin: -4px 0 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.ide-output-empty {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.ide-opportunities {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ide-output-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}

.ide-opp {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #eceef4;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.ide-opp-rank {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ccc;
  line-height: 1;
}

.ide-opp:nth-child(1) .ide-opp-rank {
  color: #4c58ff;
}

.ide-opp:nth-child(2) .ide-opp-rank {
  color: #21a0d8;
}

.ide-opp:nth-child(3) .ide-opp-rank {
  color: #21c45a;
}

.ide-opp-title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ide-opp-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.ide-opp-pain {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #333;
}

.ide-opp-scores {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ide-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f4f4;
  font-size: 0.75rem;
  color: #444;
}

.ide-chip strong {
  font-weight: 800;
  color: #111;
}

.ide-opp-overall {
  margin-left: auto;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
}

.ide-opp-overall span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.ide-opp-val {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.ide-opp-val strong {
  color: #555;
}

.ide-demand-block {
  margin: 10px 0 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #2f3440;
}

.ide-demand-block strong {
  color: #111;
}

.ide-opp-score-sections {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.ide-link-buttons {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ide-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ide-opp-score-section {
  padding-top: 10px;
  border-top: 1px solid #eceef4;
}

.ide-opp-score-section-title {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.ide-opp-score-item + .ide-opp-score-item {
  margin-top: 10px;
}

.ide-opp-score-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ide-opp-score-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
}

.ide-opp-score-value {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}

.ide-opp-score-expl {
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.ide-opp-link-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eceef4;
}

.ide-opportunity-links {
  display: grid;
  gap: 10px;
}

.ide-opportunity-link-item {
  padding: 10px 12px;
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}

.ide-opportunity-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: none;
  word-break: break-word;
}

.ide-opportunity-link:hover {
  color: #1e40af;
  text-decoration: underline;
}

.ide-opportunity-link-meta {
  margin: 6px 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #5c667a;
}

.ide-inline-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.stage-one-final-item {
  display: block;
}

.stage-two-final-item {
  display: block;
}

.stage-three-final-item {
  display: block;
}

.stage-two-final-card {
  color: #e7e7e4;
  background: #262725;
  border: 1px solid #4b4c49;
  border-radius: 8px;
  overflow: hidden;
}

.stage-two-final-summary {
  padding: 18px 24px;
  border-bottom: 1px solid #454642;
  color: #d8d8d4;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 800;
}

.stage-two-final-assumption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 18px 24px;
  border-bottom: 1px solid #454642;
}

.stage-two-final-number {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 999px;
  background: #f1e8d9;
  color: #242424;
  font-size: 0.78rem;
  font-weight: 900;
}

.stage-two-final-assumption h4 {
  margin: 0;
  color: #efefec;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 900;
}

.stage-two-final-assumption p {
  margin: 5px 0 0;
  color: #b9b9b4;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 800;
}

.stage-two-final-risk {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 15px 24px;
  background: #f1e5d3;
  color: #7b430f;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stage-two-final-risk strong {
  color: #70410e;
  white-space: nowrap;
}

.stage-two-final-open {
  padding: 16px 24px 18px;
  border-bottom: 1px solid #454642;
}

.stage-two-final-card.is-collapsed .stage-two-final-risk,
.stage-two-final-card.is-collapsed .stage-two-final-open {
  display: none;
}

.stage-two-final-label {
  display: block;
  margin-bottom: 9px;
  color: #969891;
  font-size: 0.78rem;
  font-weight: 900;
}

.stage-two-final-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stage-two-final-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border: 1px solid #454742;
  border-radius: 8px;
  background: #30312f;
  color: #ddddda;
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 800;
}

.stage-two-final-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 24px;
}

.stage-two-final-actions .btn {
  border-radius: 8px;
  min-height: 42px;
  padding: 9px 18px;
  font-weight: 900;
}

.stage-two-final-actions .stage-two-kill-btn {
  grid-column: 4;
  background: #262725;
  border-color: #62635f;
  color: #efefec;
}

@media (max-width: 760px) {
  .stage-two-final-risk,
  .stage-two-final-actions {
    grid-template-columns: 1fr;
  }

  .stage-two-final-actions .stage-two-kill-btn {
    grid-column: auto;
  }
}

.stage-three-final-card {
  color: #e8e8e5;
  background: #282927;
  border: 1px solid #484a46;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.stage-three-final-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 8px;
  color: #8d8e89;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-three-final-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #3d3f3b;
}

.stage-three-final-top {
  padding: 6px 16px 14px;
}

.stage-three-final-tags,
.stage-three-final-tools div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stage-three-final-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 9px;
  border: 1px solid #474945;
  border-radius: 8px;
  background: #30312f;
  color: #d8d8d2;
  font-size: 0.74rem;
  line-height: 1.2;
  font-weight: 900;
}

.stage-three-final-tags .stage-three-final-pill:nth-child(1) {
  background: #dff1e8;
  border-color: #dff1e8;
  color: #24624b;
}

.stage-three-final-tags .stage-three-final-pill:nth-child(2) {
  background: #eeeee7;
  border-color: #eeeee7;
  color: #3e403b;
}

.stage-three-final-top h4 {
  margin: 9px 0 4px;
  color: #f1f1ee;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
}

.stage-three-final-top p {
  margin: 0;
  color: #b8b8b3;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 800;
}

.stage-three-final-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #3f413d;
  border-bottom: 1px solid #3f413d;
}

.stage-three-final-metrics div {
  min-height: 68px;
  padding: 14px 16px 12px;
  border-right: 1px solid #3f413d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stage-three-final-metrics div:last-child {
  border-right: 0;
}

.stage-three-final-metrics strong {
  color: #f2f2ef;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 900;
}

.stage-three-final-metrics span {
  color: #a1a39d;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 800;
}

.stage-three-final-band {
  padding: 13px 16px 14px;
  border-bottom: 1px solid #3f413d;
}

.stage-three-final-band > span,
.stage-three-final-grid span,
.stage-three-final-tools > span {
  display: block;
  margin-bottom: 4px;
  color: #90928c;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-three-final-band p,
.stage-three-final-grid p {
  margin: 0;
  color: #e4e4df;
  font-size: 0.86rem;
  line-height: 1.42;
  font-weight: 800;
}

.stage-three-final-band small {
  display: block;
  margin-top: 7px;
  color: #b6b7b0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 800;
}

.stage-three-final-actions {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #3f413d;
}

.stage-three-final-actions .btn {
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 14px;
  font-weight: 900;
}

.stage-three-final-actions .stage-three-final-toggle {
  grid-column: 4;
  background: #282927;
  border-color: #5b5d58;
  color: #eeeeea;
}

.stage-three-final-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #3f413d;
}

.stage-three-final-grid div {
  min-height: 82px;
  padding: 13px 16px;
  border-right: 1px solid #3f413d;
  border-bottom: 1px solid #3f413d;
}

.stage-three-final-grid div:nth-child(2n) {
  border-right: 0;
}

.stage-three-final-grid div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stage-three-final-tools {
  padding: 13px 16px 15px;
}

.stage-three-final-card.is-collapsed .stage-three-final-grid,
.stage-three-final-card.is-collapsed .stage-three-final-tools {
  display: none;
}

@media (max-width: 760px) {
  .stage-three-final-metrics,
  .stage-three-final-grid,
  .stage-three-final-actions {
    grid-template-columns: 1fr;
  }

  .stage-three-final-metrics div,
  .stage-three-final-grid div,
  .stage-three-final-grid div:nth-child(2n),
  .stage-three-final-grid div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #3f413d;
  }

  .stage-three-final-metrics div:last-child,
  .stage-three-final-grid div:last-child {
    border-bottom: 0;
  }

  .stage-three-final-actions .stage-three-final-toggle {
    grid-column: auto;
  }
}

.stage-one-final-card {
  color: #e8e8e8;
  background: #242524;
  border: 1px solid #454645;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.stage-one-final-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 10px;
  color: #7f817f;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-one-final-topline::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: #3d3e3d;
}

.stage-one-final-inner {
  padding: 8px 22px 18px;
}

.stage-one-final-tags,
.stage-one-final-chips,
.stage-one-final-assumptions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.stage-one-final-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 11px;
  border: 1px solid #464846;
  border-radius: 8px;
  background: #313331;
  color: #c8c8c8;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 800;
}

.stage-one-final-tags .stage-one-final-pill:nth-child(1) {
  background: #dce9f9;
  border-color: #dce9f9;
  color: #314255;
}

.stage-one-final-tags .stage-one-final-pill:nth-child(2) {
  background: #eeeaf8;
  border-color: #eeeaf8;
  color: #584d72;
}

.stage-one-final-tags .stage-one-final-pill:nth-child(3) {
  background: #f0efeb;
  border-color: #f0efeb;
  color: #514f49;
}

.stage-one-final-title {
  margin: 10px 0 2px;
  color: #f1f1f1;
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
}

.stage-one-final-subtitle {
  margin: 0;
  color: #aaa;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 800;
}

.stage-one-final-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.stage-one-final-metric {
  min-height: 76px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1d1e1d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.stage-one-final-label {
  display: block;
  color: #868786;
  font-size: 0.76rem;
  line-height: 1.25;
  font-weight: 900;
}

.stage-one-final-metric strong {
  color: #f5f5f5;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 900;
}

.stage-one-final-metric span:last-child {
  color: #9d9f9d;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 700;
}

.stage-one-final-stars {
  color: #24b383;
  font-size: 0.9rem;
  line-height: 1;
  letter-spacing: 0;
}

.stage-one-final-signal {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px -22px 0;
  padding: 14px 22px;
  border-top: 1px solid #3d3e3d;
  border-bottom: 1px solid #3d3e3d;
  color: #b9bab8;
  font-size: 0.86rem;
  line-height: 1.35;
}

.stage-one-final-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #23b784;
  flex: 0 0 auto;
}

.stage-one-final-chips {
  margin-top: 10px;
}

.stage-one-final-actions {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 12px -22px 0;
  padding: 12px 22px;
  border-top: 1px solid #3d3e3d;
  border-bottom: 1px solid #3d3e3d;
}

.stage-one-final-actions .btn {
  border-radius: 8px;
  min-height: 40px;
  padding: 9px 18px;
  font-weight: 900;
}

.stage-one-final-actions .stage-one-final-toggle {
  grid-column: 4;
  background: #262726;
  border-color: #5b5d5b;
  color: #ededed;
}

.stage-one-final-details {
  display: block;
}

.stage-one-final-card.is-collapsed .stage-one-final-details {
  display: none;
}

.stage-one-final-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 -22px;
  border-bottom: 1px solid #3d3e3d;
}

.stage-one-final-cell {
  min-height: 92px;
  padding: 14px 22px;
  border-right: 1px solid #3d3e3d;
  border-bottom: 1px solid #3d3e3d;
}

.stage-one-final-cell:nth-child(2n) {
  border-right: 0;
}

.stage-one-final-cell:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stage-one-final-cell p,
.stage-one-final-band p {
  margin: 4px 0 0;
  color: #dddddd;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 800;
}

.stage-one-final-band {
  margin: 0 -22px;
  padding: 13px 22px 14px;
  border-bottom: 1px solid #3d3e3d;
}

.stage-one-final-band:last-child {
  border-bottom: 0;
}

.stage-one-final-pill--assumption {
  min-height: 22px;
  padding: 2px 9px;
  font-size: 0.75rem;
}

@media (max-width: 760px) {
  .stage-one-final-inner {
    padding-inline: 16px;
  }

  .stage-one-final-metrics,
  .stage-one-final-grid {
    grid-template-columns: 1fr;
  }

  .stage-one-final-signal,
  .stage-one-final-actions,
  .stage-one-final-grid,
  .stage-one-final-band {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .stage-one-final-actions {
    grid-template-columns: 1fr;
  }

  .stage-one-final-actions .stage-one-final-toggle {
    grid-column: auto;
  }

  .stage-one-final-cell,
  .stage-one-final-cell:nth-child(2n),
  .stage-one-final-cell:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #3d3e3d;
  }
}

.developer-dashboard {
  background: #f7f8f4;
}

.developer-dashboard-head,
.developer-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.developer-dashboard-actions,
.developer-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.developer-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.developer-stat-card {
  min-height: 98px;
  padding: 16px;
  border: 1px solid #e3e5dc;
  border-radius: 8px;
  background: #fff;
}

.developer-stat-label {
  margin: 0 0 8px;
  color: #646b5b;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-stat-value {
  margin: 0;
  color: #111;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.developer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.developer-panel {
  border-color: #e3e5dc;
}

.developer-panel h2,
.developer-detail-section h3 {
  margin: 0;
  color: #111;
  letter-spacing: -0.03em;
}

.developer-panel .muted {
  margin: 6px 0 0;
}

.developer-table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid #e5e7df;
  border-radius: 8px;
  background: #fff;
}

.developer-table-wrap--detail {
  margin-top: 10px;
}

.developer-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.developer-table--compact {
  min-width: 680px;
}

.developer-table th,
.developer-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eceee7;
  text-align: left;
  vertical-align: top;
}

.developer-table th {
  background: #f2f4ed;
  color: #3f4638;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.developer-table tr:last-child td {
  border-bottom: 0;
}

.developer-account-button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.developer-account-button strong {
  color: #111;
  font-weight: 800;
}

.developer-account-button span {
  color: #60685b;
  font-size: 0.8rem;
  word-break: break-word;
}

.developer-account-button:hover strong {
  text-decoration: underline;
}

.developer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #d9ddd0;
  border-radius: 8px;
  background: #f7f8f4;
  color: #2e3529;
  font-size: 0.76rem;
  font-weight: 800;
}

.developer-pill--tier {
  border-color: #cfd8e6;
  background: #f5f9ff;
  color: #17375e;
}

.developer-tier-control,
.developer-tier-editor {
  display: grid;
  gap: 8px;
}

.developer-tier-select {
  min-width: 132px;
  padding: 9px 10px;
  font-size: 0.82rem;
}

.developer-empty-cell,
.developer-empty {
  padding: 18px;
  color: #646b5b;
}

.developer-activity-list {
  display: grid;
  gap: 10px;
  max-height: 680px;
  margin-top: 16px;
  overflow: auto;
  scrollbar-gutter: stable;
}

.developer-activity-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5e7df;
  border-radius: 8px;
  background: #fff;
}

.developer-activity-name,
.developer-activity-meta,
.developer-activity-user {
  margin: 0;
}

.developer-activity-name {
  color: #111;
  font-size: 0.9rem;
  font-weight: 800;
}

.developer-activity-meta,
.developer-activity-user,
.developer-activity-item time {
  color: #646b5b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.developer-detail-content {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.developer-detail-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.developer-detail-summary > div,
.developer-detail-section {
  padding: 14px;
  border: 1px solid #e5e7df;
  border-radius: 8px;
  background: #fff;
}

.developer-detail-section h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
}

.developer-detail-section h3 span {
  color: #646b5b;
  font-size: 0.8rem;
}

.developer-ideas-detail {
  display: grid;
  gap: 12px;
}

.developer-idea-card,
.developer-idea-step {
  border: 1px solid #e5e7df;
  border-radius: 8px;
  background: #fbfcf8;
}

.developer-journey-detail-row > td {
  background: #fbfcf8;
}

.developer-idea-card-head,
.developer-idea-step > summary {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.developer-idea-step > summary {
  cursor: pointer;
}

.developer-idea-title-button,
.developer-idea-step > summary strong {
  color: #111;
}

.developer-idea-title-button {
  width: fit-content;
  max-width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.developer-idea-title-button:hover,
.developer-idea-title-button:focus-visible {
  text-decoration: underline;
}

.developer-idea-card-head span,
.developer-idea-step > summary time,
.developer-idea-summary,
.developer-idea-meta {
  color: #646b5b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.developer-idea-summary {
  margin: 0;
  padding: 0 12px 12px;
}

.developer-idea-card > .developer-idea-summary:first-child,
.developer-idea-card > .developer-idea-meta:first-child {
  padding-top: 12px;
}

.developer-idea-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 0 12px 12px;
}

.developer-idea-steps {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.developer-idea-step {
  background: #fff;
}

.developer-idea-step .developer-detail-section {
  margin: 0 12px 12px;
}

#dev-detail-panel {
  margin-top: 18px;
}

#dev-detail-panel[hidden] {
  display: none;
}

@media (max-width: 1080px) {
  .developer-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .developer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .developer-dashboard-head,
  .developer-panel-head {
    display: grid;
  }

  .developer-dashboard-actions,
  .developer-filters {
    width: 100%;
  }

  .developer-filters .ide-input,
  .developer-filters .ide-select,
  .developer-dashboard-actions .btn {
    width: 100%;
  }

  .developer-stats-grid,
  .developer-detail-summary {
    grid-template-columns: 1fr;
  }

  .developer-stat-card {
    min-height: 0;
  }
}

/* Admin */
.admin-page {
  min-height: 100vh;
  background: #0b0b0b;
  color: #f5f5f5;
  color-scheme: dark;
}

.admin-page .btn-light {
  border-color: rgba(255, 255, 255, 0.18);
  background: #f5f5f5;
  color: #111;
}

.admin-page .btn-dark {
  border-color: rgba(255, 255, 255, 0.26);
  background: #111;
  color: #fff;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(16px);
}

.admin-brand,
.admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.admin-brand,
.admin-nav a {
  color: inherit;
  text-decoration: none;
}

.admin-brand {
  font-weight: 800;
}

.admin-brand img {
  filter: none;
}

.admin-nav {
  color: #b9b9b9;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-nav a:hover {
  color: #fff;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.admin-hero,
.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-hero h1,
.admin-panel h2 {
  margin: 0;
  color: #fff;
  letter-spacing: 0;
}

.admin-lead,
.admin-panel .muted,
.admin-empty,
.admin-table td span,
.admin-info-grid dt {
  color: #a8a8a8;
}

.admin-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 18px;
}

.admin-kpi-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: linear-gradient(165deg, #1f1f1f 0%, #141414 100%);
  padding: 22px 24px 20px;
  min-height: 120px;
}

.admin-kpi-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.admin-kpi-value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.02em;
}

.admin-kpi-sub {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.admin-chart-card-head--split {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.admin-chart-filter {
  margin-left: auto;
}

.admin-chart-filter .ide-select {
  min-width: 160px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.admin-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 28px;
}

.admin-chart-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #171717;
  padding: 16px 18px 12px;
}

.admin-chart-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.admin-chart-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.admin-chart-caption {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.admin-chart-canvas-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}

.admin-stat-card,
.admin-panel,
.admin-detail-section {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: #171717;
}

.admin-stat-card {
  min-height: 98px;
  padding: 16px;
}

.admin-stat-card .developer-stat-label,
.admin-detail-section .developer-stat-label {
  color: #b9b9b9;
}

.admin-stat-card .developer-stat-value,
.admin-detail-section .developer-stat-value {
  color: #fff;
}

.admin-panel {
  padding: 18px;
}

.admin-filters,
.admin-controls-grid {
  display: grid;
  gap: 10px;
}

.admin-filters {
  grid-template-columns: minmax(220px, 1fr) 160px;
}

.admin-table-wrap {
  width: 100%;
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101010;
}

.admin-table-wrap--detail {
  margin-top: 10px;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.admin-table--compact {
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #202020;
  color: #cfcfcf;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong,
.admin-detail-section h3,
.admin-info-grid dd {
  color: #fff;
}

.admin-table td span {
  display: block;
  margin-top: 3px;
  font-size: 0.76rem;
  word-break: break-word;
}

.admin-table-action {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-empty-cell,
.admin-empty {
  padding: 18px;
}

.admin-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #232323;
  color: #f5f5f5;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-pill--banned {
  border-color: #ffb4a8;
  color: #ffb4a8;
}

.admin-detail-content {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.admin-detail-section {
  padding: 14px;
}

.admin-detail-section h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.admin-detail-section h3 span {
  color: #a8a8a8;
  font-size: 0.8rem;
}

.admin-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.admin-info-grid div {
  min-width: 0;
}

.admin-info-grid dt {
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-info-grid dd {
  margin: 0;
  word-break: break-word;
}

.admin-controls-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.admin-control-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #101010;
}

.admin-control-card--wide {
  grid-column: 1 / -1;
}

.admin-control-card h4 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
}

.admin-control-card .btn {
  width: 100%;
  margin-top: 2px;
}

.admin-control-card .muted {
  margin: 0;
}

.admin-control-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 2px 0 0;
  color: #a8a8a8;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-control-status--busy {
  color: #f4d47c;
}

.admin-control-status--ok {
  color: #9fe2b0;
}

.admin-control-status--error {
  color: #ffb4a8;
}

.admin-controls-grid label {
  display: grid;
  gap: 6px;
  color: #d8d8d8;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-page .ide-input,
.admin-page .ide-select {
  border-color: rgba(255, 255, 255, 0.18);
  background: #101010;
  color: #fff;
}

.admin-page .ide-status {
  margin: 18px 0;
  border-color: rgba(255, 255, 255, 0.13);
  background: #171717;
}

@media (max-width: 1080px) {
  .admin-kpi-row {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-charts-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .admin-topbar,
  .admin-hero,
  .admin-panel-head {
    display: grid;
  }

  .admin-nav,
  .admin-filters,
  .admin-stats-grid,
  .admin-info-grid {
    grid-template-columns: 1fr;
  }

  .admin-controls-grid,
  .admin-control-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

/* Dashboard page */
.dashboard-page {
  --dashboard-bg: #0b0b0b;
  --dashboard-ink: #f4f4f4;
  --dashboard-muted: #a8a8a8;
  --dashboard-line: rgba(255, 255, 255, 0.13);
  --dashboard-line-strong: rgba(255, 255, 255, 0.24);
  --dashboard-panel: #171717;
  --dashboard-panel-strong: #1f1f1f;
  --dashboard-soft: #242424;
  --dashboard-accent: #f5f5f5;
  --dashboard-accent-ink: #111111;
  --dashboard-shadow: rgba(0, 0, 0, 0.38);
  min-height: 100vh;
  background: var(--dashboard-bg);
  color: var(--dashboard-ink);
  color-scheme: dark;
}

.dashboard-page a {
  color: inherit;
}

.dashboard-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--dashboard-line);
  background: rgba(13, 15, 18, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.dashboard-brand,
.dashboard-nav-links,
.dashboard-profile-link,
.dashboard-onboarding-launch,
.dashboard-btn {
  text-decoration: none;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: start;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dashboard-nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.dashboard-nav-links a,
.dashboard-profile-link {
  color: var(--dashboard-muted);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.dashboard-nav-links a:hover,
.dashboard-profile-link:hover,
.dashboard-nav-links a[aria-current="page"],
.dashboard-brand {
  color: var(--dashboard-ink);
}

.dashboard-nav-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  padding-right: 0;
}

.buildbet-plan-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.dashboard-nav-links .buildbet-plan-badge,
.dashboard-nav-actions .buildbet-plan-badge {
  margin-right: 0 !important;
  padding: 4px 9px !important;
  border: 1px solid var(--dashboard-line-strong) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--dashboard-ink) !important;
  font-size: 0.75rem !important;
}

.dashboard-profile-link {
  color: var(--dashboard-muted);
}

.dashboard-my-profile-link {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding-right: 0;
}

.buildbet-user-avatar {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
  background: hsl(var(--avatar-hue, 262) 58% 46%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.dashboard-nav-actions .buildbet-user-avatar,
.dashboard-my-profile-link .buildbet-user-avatar {
  width: 46px;
  height: 46px;
  font-size: 1.05rem;
  margin-left: 2px;
  margin-right: calc(-1 * clamp(18px, 4vw, 48px) + 10px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 0 3px rgba(13, 15, 18, 0.92);
}

.profile-link .buildbet-user-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.88rem;
}

.phase-link-button .buildbet-user-avatar {
  width: 24px;
  height: 24px;
  margin-right: 2px;
  font-size: 0.68rem;
  vertical-align: middle;
}

.is-login-link .buildbet-user-avatar {
  display: none;
}

.feedback-float {
  position: fixed;
  left: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 45;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: min(250px, calc(100vw - 28px));
  padding: 13px 16px;
  border: 1px solid var(--dashboard-line-strong, rgba(255, 255, 255, 0.24));
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.86);
  color: #f5f5f5;
  text-decoration: none;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.feedback-float span {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.feedback-float small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}

.feedback-float:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(31, 31, 31, 0.92);
}

.feedback-float:focus-visible {
  outline: 2px solid var(--dashboard-accent, #f5f5f5);
  outline-offset: 4px;
}

button.feedback-float {
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.dashboard-feedback-label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dashboard-muted, rgba(255, 255, 255, 0.72));
}

.dashboard-page .dashboard-feedback-textarea.ide-input,
.dashboard-page textarea.dashboard-feedback-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--dashboard-line);
  background: var(--dashboard-soft);
  color: var(--dashboard-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.dashboard-page .dashboard-feedback-textarea.ide-input:focus,
.dashboard-page textarea.dashboard-feedback-textarea:focus {
  outline: none;
  border-color: var(--dashboard-line-strong);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.dashboard-page .dashboard-feedback-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

/* Feedback modal on pages without .dashboard-page (profile, project v2) */
.buildbet-user-feedback-overlay.dashboard-onboarding {
  --dashboard-bg: #0b0b0b;
  --dashboard-ink: #f4f4f4;
  --dashboard-muted: #a8a8a8;
  --dashboard-line: rgba(255, 255, 255, 0.13);
  --dashboard-line-strong: rgba(255, 255, 255, 0.24);
  --dashboard-panel: #171717;
  --dashboard-panel-strong: #1f1f1f;
  --dashboard-soft: #242424;
  --dashboard-accent: #f5f5f5;
  --dashboard-accent-ink: #111111;
  --dashboard-shadow: rgba(0, 0, 0, 0.38);
  z-index: 130;
}

.buildbet-user-feedback-overlay.dashboard-onboarding.is-visible {
  animation: buildbetFeedbackOverlayIn 180ms ease-out both;
}

.buildbet-user-feedback-overlay.dashboard-onboarding.is-visible .dashboard-onboarding-panel {
  transform-origin: center;
  animation: buildbetFeedbackPanelIn 220ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.buildbet-user-feedback-overlay.dashboard-onboarding.is-closing {
  pointer-events: none;
  animation: buildbetFeedbackOverlayOut 140ms ease-in both;
}

.buildbet-user-feedback-overlay.dashboard-onboarding.is-closing .dashboard-onboarding-panel {
  animation: buildbetFeedbackPanelOut 140ms ease-in both;
}

@keyframes buildbetFeedbackOverlayIn {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
}

@keyframes buildbetFeedbackOverlayOut {
  from {
    opacity: 1;
    backdrop-filter: blur(10px);
  }
  to {
    opacity: 0;
    backdrop-filter: blur(0);
  }
}

@keyframes buildbetFeedbackPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buildbetFeedbackPanelOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}

@media (prefers-reduced-motion: reduce) {
  .buildbet-user-feedback-overlay.dashboard-onboarding.is-visible,
  .buildbet-user-feedback-overlay.dashboard-onboarding.is-visible .dashboard-onboarding-panel,
  .buildbet-user-feedback-overlay.dashboard-onboarding.is-closing,
  .buildbet-user-feedback-overlay.dashboard-onboarding.is-closing .dashboard-onboarding-panel {
    animation: none;
  }
}

.buildbet-user-feedback-overlay .dashboard-btn-dark {
  border-color: var(--dashboard-accent);
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.08);
}

.buildbet-user-feedback-overlay .dashboard-btn-dark:hover {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
  filter: brightness(1.07);
}

.buildbet-user-feedback-overlay .dashboard-feedback-textarea.ide-input,
.buildbet-user-feedback-overlay textarea.dashboard-feedback-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--dashboard-line);
  background: var(--dashboard-soft);
  color: var(--dashboard-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.buildbet-user-feedback-overlay .dashboard-feedback-textarea.ide-input:focus,
.buildbet-user-feedback-overlay textarea.dashboard-feedback-textarea:focus {
  outline: none;
  border-color: var(--dashboard-line-strong);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.buildbet-user-feedback-overlay .dashboard-feedback-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.phase-page .dashboard-feedback-textarea.ide-input,
.phase-page textarea.dashboard-feedback-textarea,
.profile-dark .dashboard-feedback-textarea.ide-input,
.profile-dark textarea.dashboard-feedback-textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 140px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--dashboard-line);
  background: var(--dashboard-soft);
  color: var(--dashboard-ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.phase-page .dashboard-feedback-textarea.ide-input:focus,
.phase-page textarea.dashboard-feedback-textarea:focus,
.profile-dark .dashboard-feedback-textarea.ide-input:focus,
.profile-dark textarea.dashboard-feedback-textarea:focus {
  outline: none;
  border-color: var(--dashboard-line-strong);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.phase-page .dashboard-feedback-textarea::placeholder,
.profile-dark .dashboard-feedback-textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.dashboard-onboarding-launch {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--dashboard-muted);
  font: inherit;
  cursor: pointer;
}

.dashboard-profile-link:hover,
.dashboard-onboarding-launch:hover {
  color: var(--dashboard-ink);
}

.dashboard-onboarding-launch:focus-visible {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 4px;
}

.dashboard-profile-link {
  justify-self: end;
}

.dashboard-hero {
  position: relative;
  display: grid;
  align-content: space-between;
  justify-items: center;
  min-height: 88vh;
  padding: 112px 22px 54px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.98) 0%, rgba(23, 23, 23, 0.84) 48%, rgba(11, 11, 11, 0.98) 100%),
    linear-gradient(120deg, #0b0b0b 0%, #171717 52%, #1f1f1f 100%);
}

/* Index landing: stack copy + CTA centered (avoid space-between pushing a lone button to the bottom). */
.dashboard-page .dashboard-hero-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.dashboard-page .dashboard-hero-index .dashboard-hero-actions {
  grid-template-columns: 1fr;
  width: auto;
  margin-top: 0;
}

.dashboard-hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, rgba(0, 0, 0, 0.46) 100%);
  pointer-events: none;
}

.dashboard-hero-mark {
  position: absolute;
  left: 50%;
  bottom: clamp(54px, 8vh, 88px);
  width: min(560px, 74vw);
  height: auto;
  opacity: 0.12;
  filter: invert(1) brightness(1.25) contrast(0.95);
  transform: translateX(-50%);
  pointer-events: none;
}

.dashboard-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.dashboard-kicker {
  margin: 0 0 10px;
  color: var(--dashboard-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-hero h1,
.dashboard-section h2,
.dashboard-project h3,
.dashboard-rank h3 {
  letter-spacing: 0;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.6rem);
  line-height: 0.98;
  font-weight: 800;
}

.dashboard-hero p:not(.dashboard-kicker) {
  margin: 16px auto 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  font-weight: 500;
}

.dashboard-how-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--dashboard-ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-how-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.dashboard-how-trigger:focus-visible {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 4px;
}

.dashboard-page a.dashboard-demo-trigger,
.about-page a.dashboard-demo-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 12px;
  margin-left: 10px;
  padding: 9px 18px;
  border: 1px solid var(--dashboard-accent);
  border-radius: 999px;
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.dashboard-page a.dashboard-demo-trigger:hover,
.about-page a.dashboard-demo-trigger:hover {
  color: var(--dashboard-accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.dashboard-page a.dashboard-demo-trigger:focus-visible,
.about-page a.dashboard-demo-trigger:focus-visible {
  color: var(--dashboard-accent-ink);
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 4px;
}

.about-page .about-panel-actions a.dashboard-demo-trigger {
  min-height: 58px;
  min-width: 202px;
  margin: 0;
  padding: 0 28px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--about-white);
  border-color: rgba(255, 255, 255, 0.34);
  font-size: 14px;
  box-shadow: none;
}

.about-page .about-panel-actions a.dashboard-demo-trigger:hover {
  color: var(--about-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.46);
}

.about-hero .dashboard-btn,
.about-page .about-panel-actions a.dashboard-demo-trigger {
  gap: 28px;
  justify-content: space-between;
}

.about-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  color: currentColor;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
}

.about-action-icon-bars {
  font-size: 1rem;
  letter-spacing: -0.26em;
  transform: rotate(180deg);
}

.dashboard-hero-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 16px;
  width: min(450px, 100%);
}

.dashboard-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.dashboard-page .dashboard-btn-dark {
  border-color: var(--dashboard-accent);
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.08);
}

.dashboard-page .dashboard-btn-light {
  background: rgba(255, 255, 255, 0.04);
  color: var(--dashboard-ink);
  border-color: var(--dashboard-line-strong);
}

.dashboard-page .dashboard-btn {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    filter 0.22s ease;
}

.dashboard-page .dashboard-btn:hover {
  transform: translateY(-2px);
}

.dashboard-page .dashboard-btn:active {
  transform: translateY(0);
}

.dashboard-page .dashboard-btn-dark:hover {
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.12);
  filter: brightness(1.07);
}

.dashboard-page .dashboard-btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.dashboard-section {
  width: min(1160px, 92%);
  margin: 0 auto;
  padding: 78px 0;
}

.dashboard-section + .dashboard-section {
  border-top: 1px solid var(--dashboard-line);
}

.dashboard-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dashboard-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.dashboard-section-note {
  margin: 0;
  color: var(--dashboard-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.dashboard-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-project,
.dashboard-rank {
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: var(--dashboard-panel);
  box-shadow: 0 24px 70px var(--dashboard-shadow);
}

.dashboard-project {
  display: grid;
  align-content: space-between;
  gap: 22px;
  min-height: 272px;
  padding: 22px;
}

.dashboard-project h3,
.dashboard-rank h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.18;
}

.leaderboard-preview-row {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.leaderboard-preview-row:hover,
.leaderboard-preview-row:focus-visible {
  border-color: var(--dashboard-line-strong);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.leaderboard-preview-row:focus-visible {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 3px;
}

.dashboard-project p:not(.dashboard-project-stage),
.dashboard-rank p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  line-height: 1.5;
}

.dashboard-project-stage {
  margin: 0 0 12px;
  color: var(--dashboard-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5f5f5, #9b9b9b);
}

.dashboard-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dashboard-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-project-new {
  background: var(--dashboard-panel-strong);
  color: var(--dashboard-ink);
}

.dashboard-project-new p,
.dashboard-project-new .dashboard-project-stage {
  color: rgba(255, 255, 255, 0.7);
}

.dashboard-project-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 4px;
  color: var(--dashboard-ink);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.dashboard-rank-list {
  display: grid;
  gap: 12px;
}

.dashboard-rank-list .dashboard-section-note {
  margin-bottom: 4px;
}

.dashboard-leaderboard-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(108px, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--dashboard-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.dashboard-leaderboard-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dashboard-leaderboard-switch label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--dashboard-muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-leaderboard-switch input:focus-visible + label {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 3px;
}

.dashboard-leaderboard-switch input:checked + label {
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  box-shadow: 0 8px 18px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dashboard-leaderboard:has(#leaderboard-builders:checked) .dashboard-rank-list-products,
.dashboard-leaderboard:has(#leaderboard-products:checked) .dashboard-rank-list-builders {
  display: none;
}

.dashboard-leaderboard-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.dashboard-rank {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px 20px;
  background: var(--dashboard-panel);
}

.dashboard-rank.is-first {
  background: var(--dashboard-panel-strong);
  color: var(--dashboard-ink);
}

.dashboard-rank.is-first p {
  color: rgba(255, 255, 255, 0.68);
}

.dashboard-rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 800;
}

.dashboard-rank.is-first .dashboard-rank-number {
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
}

.dashboard-rank strong {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.leaderboard-full {
  padding-top: 132px;
  min-height: 100vh;
}

.leaderboard-full h1 {
  margin: 0;
  color: var(--dashboard-ink);
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.leaderboard-full-meta {
  margin: -12px 0 18px;
}

.leaderboard-full-list {
  min-height: 240px;
}

.leaderboard-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.leaderboard-pagination button {
  min-width: 42px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dashboard-ink);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.leaderboard-pagination button[aria-current="page"] {
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  border-color: var(--dashboard-accent);
}

.leaderboard-pagination button:disabled {
  cursor: default;
  opacity: 0.42;
}

.leaderboard-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.leaderboard-preview-modal[hidden] {
  display: none;
}

.leaderboard-preview-modal.is-open {
  opacity: 1;
}

.leaderboard-preview-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 180ms ease;
}

.leaderboard-preview-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 8px;
  background: var(--dashboard-panel-strong);
  color: var(--dashboard-ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  transition: opacity 180ms ease, transform 180ms ease;
}

.leaderboard-preview-modal.is-open .leaderboard-preview-backdrop,
.leaderboard-preview-modal.is-open .leaderboard-preview-panel {
  opacity: 1;
}

.leaderboard-preview-modal.is-open .leaderboard-preview-panel {
  transform: translateY(0) scale(1);
}

.leaderboard-preview-panel h2 {
  margin: 0 0 12px;
  color: var(--dashboard-ink);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.leaderboard-preview-panel p:not(.dashboard-kicker) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.leaderboard-preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dashboard-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.leaderboard-preview-close:hover,
.leaderboard-preview-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.dashboard-builder-circle {
  padding-bottom: 96px;
}

.dashboard-builder-circle-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(216, 193, 255, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 17% 12%, rgba(158, 126, 221, 0.9) 0 16%, rgba(130, 77, 204, 0.72) 28%, rgba(130, 77, 204, 0) 47%),
    radial-gradient(circle at 28% 86%, rgba(103, 45, 194, 0.94) 0 22%, rgba(91, 39, 171, 0.66) 36%, rgba(91, 39, 171, 0) 58%),
    radial-gradient(circle at 76% 8%, rgba(134, 99, 205, 0.86) 0 23%, rgba(95, 61, 164, 0.56) 43%, rgba(95, 61, 164, 0) 66%),
    radial-gradient(ellipse at 92% 83%, #180848 0 25%, rgba(24, 8, 72, 0.78) 43%, rgba(24, 8, 72, 0) 63%),
    linear-gradient(145deg, #8667ca 0%, #6730bd 46%, #15053f 100%);
  box-shadow:
    0 24px 70px var(--dashboard-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dashboard-builder-circle-card::before,
.dashboard-builder-circle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dashboard-builder-circle-card::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 43% 33%, rgba(157, 92, 236, 0.34), rgba(157, 92, 236, 0) 39%),
    radial-gradient(ellipse at 70% 70%, rgba(31, 10, 84, 0.72), rgba(31, 10, 84, 0) 47%);
  mix-blend-mode: multiply;
}

.dashboard-builder-circle-card::after {
  z-index: 0;
  opacity: 0.2;
  background-image:
    repeating-radial-gradient(circle at 18% 23%, rgba(255, 255, 255, 0.34) 0 1px, rgba(255, 255, 255, 0) 1px 4px),
    repeating-linear-gradient(113deg, rgba(255, 255, 255, 0.12) 0 1px, rgba(255, 255, 255, 0) 1px 7px);
  background-size: 220px 220px, 120px 120px;
  mix-blend-mode: soft-light;
}

.dashboard-builder-circle-card > * {
  position: relative;
  z-index: 1;
}

.dashboard-builder-circle-card h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.dashboard-builder-circle-card p:not(.dashboard-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.dashboard-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 999px;
  color: var(--dashboard-ink);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-onboarding {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(10px);
}

.dashboard-how-it-works {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  opacity: 0;
  transition: opacity 220ms ease, background-color 220ms ease, backdrop-filter 220ms ease;
}

.dashboard-onboarding[hidden] {
  display: none;
}

/* Personalize / preference wizard: overlay + panel + step motion */
#dashboard-onboarding.dashboard-onboarding {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  pointer-events: none;
  transition:
    opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 260ms ease,
    backdrop-filter 260ms ease;
}

#dashboard-onboarding.dashboard-onboarding.is-open {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

#dashboard-onboarding.dashboard-onboarding.is-closing {
  pointer-events: none;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
}

#dashboard-onboarding.dashboard-onboarding .dashboard-onboarding-panel {
  transform: translate3d(0, 16px, 0) scale(0.96);
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

#dashboard-onboarding.dashboard-onboarding.is-open .dashboard-onboarding-panel {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

#dashboard-onboarding.dashboard-onboarding.is-closing .dashboard-onboarding-panel {
  transform: translate3d(0, 12px, 0) scale(0.97);
  opacity: 0;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

#dashboard-onboarding .dashboard-onboarding-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 2px;
}

#dashboard-onboarding .dashboard-onboarding-steps > .dashboard-onboarding-step {
  grid-area: 1 / 1;
  align-self: start;
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 12px, 0);
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 200ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 220ms;
}

#dashboard-onboarding .dashboard-onboarding-steps > .dashboard-onboarding-step.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  z-index: 1;
  transition:
    opacity 240ms ease 45ms,
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1) 45ms,
    visibility 0s;
}

#dashboard-onboarding .dashboard-onboarding-steps--static > .dashboard-onboarding-step {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #dashboard-onboarding.dashboard-onboarding,
  #dashboard-onboarding.dashboard-onboarding .dashboard-onboarding-panel,
  #dashboard-onboarding .dashboard-onboarding-steps > .dashboard-onboarding-step {
    transition: none !important;
  }
}

.dashboard-how-it-works[hidden] {
  display: none;
}

.dashboard-how-it-works.is-open {
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
  opacity: 1;
}

.dashboard-onboarding-panel {
  width: min(520px, 100%);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: var(--dashboard-panel);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.44);
}

.dashboard-how-panel {
  width: min(620px, 100%);
  overflow: hidden;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(28, 28, 28, 0.98), rgba(18, 18, 18, 0.98)),
    var(--dashboard-panel);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.dashboard-how-it-works.is-open .dashboard-how-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dashboard-onboarding-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.dashboard-onboarding-head .dashboard-kicker {
  margin: 0;
}

.dashboard-onboarding-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: var(--dashboard-soft);
  color: var(--dashboard-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.dashboard-onboarding-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.dashboard-onboarding-step.is-active {
  display: grid;
  gap: 12px;
}

.dashboard-how-viewport {
  overflow: hidden;
}

.dashboard-how-track {
  display: flex;
  width: 100%;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-how-step {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: 2px;
}

.dashboard-how-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.dashboard-how-step h2 {
  margin: 0;
  color: var(--dashboard-ink);
  font-size: clamp(1.45rem, 3.6vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-how-step p {
  max-width: 52ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
}

.dashboard-how-figure {
  width: 100%;
  height: clamp(180px, 32vh, 260px);
  margin: 16px 0 0;
  border: 1px solid var(--dashboard-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.dashboard-how-figure img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
}

.dashboard-onboarding-step legend {
  width: 100%;
  margin: 0 0 18px;
  color: var(--dashboard-ink);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-onboarding-note {
  margin: -4px 0 18px;
  color: var(--dashboard-muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.dashboard-onboarding-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--dashboard-line);
  border-radius: 8px;
  background: var(--dashboard-soft);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dashboard-onboarding-option.is-selected,
.dashboard-onboarding-option:has(input:checked) {
  border-color: var(--dashboard-accent);
  background: var(--dashboard-accent);
  color: var(--dashboard-accent-ink);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 12px 28px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.dashboard-onboarding-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.dashboard-onboarding-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.dashboard-how-footer {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.dashboard-how-footer .dashboard-btn,
.dashboard-how-footer .dashboard-onboarding-skip {
  min-height: 40px;
  border-radius: 8px;
  cursor: pointer;
}

.dashboard-how-footer .dashboard-btn {
  justify-self: end;
  min-width: 92px;
}

.dashboard-how-footer .dashboard-onboarding-skip {
  justify-self: start;
  min-width: 92px;
}

.dashboard-how-footer .dashboard-onboarding-skip:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.dashboard-how-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dashboard-how-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.dashboard-how-dots button[aria-current="step"] {
  width: 24px;
  background: var(--dashboard-accent);
}

.dashboard-how-dots button:focus-visible {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-how-it-works,
  .dashboard-how-panel,
  .dashboard-how-track,
  .dashboard-how-dots button,
  .dashboard-how-trigger {
    transition: none;
  }
}

.dashboard-onboarding-actions .dashboard-btn {
  border-radius: 8px;
  cursor: pointer;
}

.dashboard-onboarding-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid var(--dashboard-line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--dashboard-ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.dashboard-onboarding-close:focus-visible,
.dashboard-onboarding-option:has(input:focus-visible),
.dashboard-onboarding-skip:focus-visible {
  outline: 2px solid var(--dashboard-accent);
  outline-offset: 3px;
}

/* Preview cards archive */
.preview-cards-page {
  min-height: 100vh;
  background: #f7f7f4;
  color: #171a20;
}

.preview-cards-shell {
  width: min(1020px, 92%);
  margin: 0 auto;
  padding: 118px 0 72px;
}

.preview-cards-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(23, 26, 32, 0.12);
}

.preview-cards-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.preview-cards-hero .section-lead {
  max-width: 680px;
  margin-top: 18px;
}

.preview-cards-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(240px, 1fr);
  gap: 14px;
  margin: 26px 0 16px;
}

.preview-cards-toolbar label {
  display: grid;
  gap: 7px;
  color: rgba(23, 26, 32, 0.64);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preview-cards-toolbar select,
.preview-cards-toolbar input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 26, 32, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #171a20;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: none;
}

.preview-cards-status {
  margin: 0 0 18px;
  color: rgba(23, 26, 32, 0.64);
  font-size: 0.92rem;
  font-weight: 750;
}

.preview-cards-list {
  display: grid;
  gap: 52px;
}

.preview-template-section {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.preview-template-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 26, 32, 0.1);
}

.preview-template-head h2 {
  margin: 0;
  color: #171a20;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.preview-template-head .project-demand-kicker {
  margin: 0;
}

@media (max-width: 820px) {
  .preview-cards-shell {
    padding-top: 94px;
  }

  .preview-cards-hero,
  .preview-cards-toolbar {
    grid-template-columns: 1fr;
  }

  .preview-cards-hero {
    display: grid;
    align-items: stretch;
  }

  .preview-template-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .dashboard-nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 14px;
    padding-top: max(0px, env(safe-area-inset-top, 0px));
    padding-bottom: 6px;
  }

  .dashboard-brand {
    grid-row: 1;
    grid-column: 1;
  }

  .dashboard-nav-actions {
    grid-row: 1;
    grid-column: 2;
  }

  .dashboard-nav-links {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    justify-content: flex-start;
    gap: 14px 18px;
    margin: 0;
    padding: 10px 0 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-top: 1px solid var(--dashboard-line);
    -ms-overflow-style: none;
  }

  .dashboard-nav-links::-webkit-scrollbar {
    display: none;
  }

  .dashboard-nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .dashboard-hero {
    padding-top: 124px;
  }

  .about-hero {
    padding-top: calc(108px + clamp(48px, 10vh, 88px));
  }

  .dashboard-project-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-section-head .dashboard-btn {
    width: 100%;
  }

  .dashboard-leaderboard-switch {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .dashboard-nav {
    min-height: 58px;
    padding-inline: 14px;
  }

  .dashboard-brand span {
    display: none;
  }

  .dashboard-nav-actions .buildbet-user-avatar,
  .dashboard-my-profile-link .buildbet-user-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    margin-right: -8px;
  }

  .dashboard-profile-link {
    font-size: 0.82rem;
  }

  .dashboard-hero {
    min-height: 86vh;
    padding: 92px 16px 34px;
  }

  .dashboard-hero-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-section {
    padding: 56px 0;
  }

  .dashboard-project {
    min-height: 238px;
  }

  .dashboard-rank {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .dashboard-rank strong {
    grid-column: 2;
    font-size: 1.1rem;
  }

  .dashboard-builder-circle-card {
    align-items: start;
    flex-direction: column;
  }

  .dashboard-onboarding {
    align-items: end;
    padding: 12px;
  }

  .dashboard-onboarding-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-how-it-works {
    align-items: end;
    padding: 12px;
  }

  .dashboard-how-panel {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }

  .dashboard-how-footer {
    grid-template-columns: 1fr;
  }

  .dashboard-how-footer .dashboard-btn,
  .dashboard-how-footer .dashboard-onboarding-skip,
  .dashboard-how-dots {
    justify-self: stretch;
    width: 100%;
  }
}

/* About page */
.about-page {
  min-height: 100vh;
  background: #ffffff;
  color: #171a20;
}

.about-page a {
  color: inherit;
}

.about-page .dashboard-nav-links a[aria-current="page"] {
  color: #000000;
}

.about-scroll {
  scroll-snap-type: none;
}

.about-panel {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  padding: 118px clamp(22px, 5vw, 72px) 56px;
  overflow: hidden;
  text-align: center;
  scroll-snap-align: none;
  gap: 44px;
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(180, 187, 178, 0.25));
  pointer-events: none;
}

.about-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 244, 241, 0.74) 54%, rgba(255, 255, 255, 0.96) 100%),
    linear-gradient(118deg, #ffffff 0%, #eef2ed 48%, #dfe7df 100%);
}

.about-panel-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 246, 244, 0.86)),
    linear-gradient(125deg, #f8f8f6 0%, #ffffff 56%, #e4ebe4 100%);
}

.about-panel-dark {
  background:
    linear-gradient(180deg, rgba(23, 26, 32, 0.94), rgba(23, 26, 32, 0.86)),
    linear-gradient(120deg, #171a20 0%, #2c302f 55%, #111111 100%);
  color: #ffffff;
}

.about-panel-dark::after {
  background: linear-gradient(180deg, rgba(23, 26, 32, 0), rgba(0, 0, 0, 0.32));
}

.about-bg-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  color: rgba(23, 26, 32, 0.06);
  font-size: clamp(4.5rem, 17vw, 17rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.about-panel-copy,
.about-panel-actions,
.about-metric-row,
.about-split,
.about-statement {
  position: relative;
  z-index: 1;
}

.about-panel-copy {
  max-width: 900px;
  width: 100%;
  container-type: inline-size;
}

.about-kicker {
  margin: 0 0 10px;
  color: rgba(23, 26, 32, 0.68);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-panel-dark .about-kicker {
  color: rgba(255, 255, 255, 0.66);
}

.about-panel h1,
.about-panel h2 {
  margin: 0;
  font-size: clamp(2.45rem, 6.8vw, 5.75rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.about-heading-two-line {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.about-panel .about-heading-single {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.25rem, 3.8cqi, 2.1rem);
  line-height: 1.04;
}

.about-panel p {
  margin: 18px auto 0;
  max-width: 58ch;
  color: rgba(23, 26, 32, 0.76);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  font-weight: 500;
}

.about-panel-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.about-panel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 18px;
  width: min(520px, 100%);
}

.about-metric-row,
.about-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, 100%);
  text-align: left;
  background: rgba(23, 26, 32, 0.12);
}

.about-metric-row div,
.about-split article {
  min-height: 156px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.about-panel-dark .about-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.16);
}

.about-panel-dark .about-split article {
  background: rgba(255, 255, 255, 0.08);
}

.about-metric-row strong,
.about-split span,
.about-statement {
  display: block;
  color: #171a20;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.about-split span,
.about-panel-dark .about-statement {
  color: #ffffff;
}

.about-metric-row span,
.about-split p {
  display: block;
  margin-top: 12px;
  color: rgba(23, 26, 32, 0.68);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-panel-dark .about-split p {
  color: rgba(255, 255, 255, 0.72);
}

.about-statement {
  width: min(980px, 100%);
  margin: 0;
  padding: 30px 0 0;
  border-top: 1px solid rgba(23, 26, 32, 0.16);
  font-size: clamp(2rem, 5vw, 4.8rem);
  text-align: center;
}

@media (max-width: 760px) {
  .about-panel {
    min-height: 92vh;
    padding: 106px 20px 34px;
    gap: 28px;
  }

  .about-panel-actions,
  .about-metric-row,
  .about-split,
  .about-panel-dark .about-split {
    grid-template-columns: 1fr;
  }

  .about-metric-row div,
  .about-split article {
    min-height: 0;
    padding: 20px;
  }

  .about-panel h1,
  .about-panel h2 {
    font-size: clamp(2.35rem, 13vw, 4.25rem);
  }

  .about-panel .about-heading-single {
    white-space: normal;
    font-size: clamp(2rem, 11cqi, 3.1rem);
  }
}

/* About page remake */
.about-page {
  --dashboard-ink: var(--about-white);
  --dashboard-muted: var(--about-gray-400);
  --dashboard-line: rgba(255, 255, 255, 0.06);
  --dashboard-line-strong: rgba(255, 255, 255, 0.18);
  --dashboard-accent: var(--about-white);
  --dashboard-accent-ink: var(--about-black);
  --about-black: #0d0d0d;
  --about-white: #f5f5f5;
  --about-gray-100: #e5e5e5;
  --about-gray-400: #a2a2a2;
  --about-gray-500: #737373;
  --about-gray-600: #525252;
  background: var(--about-black);
  color: var(--about-white);
}

.about-page .dashboard-nav {
  min-height: 72px;
  background: rgba(0, 0, 0, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--about-white);
  animation: none;
  box-shadow: none;
  transform: none;
  backdrop-filter: blur(18px);
}

.about-page .dashboard-brand {
  gap: 12px;
  font-size: 1.18rem;
  font-weight: 800;
}

.about-page .dashboard-brand img {
  filter: brightness(1.4) contrast(1.05);
}

.about-page .dashboard-nav-links {
  gap: clamp(26px, 4.6vw, 58px);
}

.about-page .dashboard-nav-links a,
.about-page .dashboard-profile-link {
  color: var(--about-gray-400);
  transition: color 0.2s ease;
}

.about-page .dashboard-nav-links a:hover,
.about-page .dashboard-profile-link:hover,
.about-page .dashboard-nav-links a[aria-current="page"] {
  color: var(--about-white);
}

.about-page .dashboard-nav-actions {
  gap: clamp(18px, 3vw, 48px);
}

.about-page .dashboard-my-profile-link.is-login-link {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
  color: var(--about-white);
}

.about-scroll {
  min-width: 0;
  scroll-snap-type: none;
  overscroll-behavior-y: none;
}

.about-panel {
  position: relative;
  display: grid;
  justify-items: stretch;
  align-content: center;
  min-height: auto;
  padding: clamp(72px, 11vh, 132px) max(clamp(20px, 5vw, 64px), env(safe-area-inset-right, 0px))
    clamp(72px, 11vh, 132px) max(clamp(20px, 5vw, 64px), env(safe-area-inset-left, 0px));
  gap: 0;
  overflow: hidden;
  text-align: left;
  scroll-snap-align: none;
}

.about-panel::after {
  display: none;
}

.about-hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(72px + clamp(72px, 11vh, 118px));
  padding-bottom: max(90px, env(safe-area-inset-bottom, 0px));
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 62% 44% at 50% 23%, rgba(255, 255, 255, 0.13), transparent 62%),
    #020202;
  background-size: 112px 112px, 112px 112px, auto, auto;
  color: var(--about-white);
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 8% at 50% 82%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.18) 34%, transparent 72%),
    radial-gradient(ellipse 76% 20% at 50% 96%, rgba(255, 255, 255, 0.2), transparent 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.72) 100%);
  opacity: 0.94;
  pointer-events: none;
}

.about-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: max(-220px, -17vw);
  width: min(1300px, 112vw);
  aspect-ratio: 2.7 / 1;
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background:
    radial-gradient(ellipse 28% 16% at 50% 2%, rgba(255, 255, 255, 0.95), transparent 72%),
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 46%, transparent 72%);
  filter: blur(0.2px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.about-hero-orbit {
  position: absolute;
  left: 50%;
  bottom: clamp(2px, 9vh, 70px);
  width: min(840px, 70vw);
  aspect-ratio: 4 / 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.about-hero-orbit::before,
.about-hero-orbit::after {
  content: "";
  position: absolute;
  inset: 18% 15%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.about-hero-orbit::after {
  inset: 34% 31%;
}

.about-hero-card {
  position: absolute;
  width: min(310px, 22vw);
  height: min(300px, 32vh);
  border-radius: 0;
  background: #000000;
  box-shadow: 0 0 70px rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 0;
}

.about-hero-card-left {
  left: max(-32px, 2vw);
  top: 28%;
}

.about-hero-card-right {
  right: max(-26px, 4vw);
  top: 26%;
  height: min(380px, 42vh);
}

.about-panel-light {
  background: var(--about-white);
  color: var(--about-black);
}

.about-panel-dark {
  background: var(--about-black);
  color: var(--about-white);
}

.about-panel-mid {
  background: #141414;
  color: var(--about-white);
}

.about-panel-cta {
  background: linear-gradient(180deg, #0d0d0d 0%, #111111 100%);
  color: var(--about-white);
  text-align: center;
  padding-bottom: max(clamp(72px, 12vh, 140px), env(safe-area-inset-bottom, 0px));
}

.about-graphic {
  --about-graphic-opacity: 0.22;
  position: absolute;
  top: 50%;
  width: clamp(300px, 35vw, 560px);
  margin: 0;
  opacity: var(--about-graphic-opacity);
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 0;
}

.about-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.about-graphic-right {
  right: clamp(-108px, -4vw, -28px);
}

.about-graphic-left {
  left: clamp(-126px, -5vw, -36px);
}

.about-panel-light .about-graphic {
  --about-graphic-opacity: 0.2;
  mix-blend-mode: multiply;
}

.about-panel-dark .about-graphic,
.about-panel-mid .about-graphic,
.about-panel-cta .about-graphic {
  --about-graphic-opacity: 0.28;
  mix-blend-mode: screen;
}

.about-graphic-hero {
  --about-graphic-opacity: 0.2;
  left: 50%;
  bottom: clamp(-142px, -9vw, -56px);
  top: auto;
  width: min(820px, 72vw);
  mix-blend-mode: screen;
  transform: translateX(-50%);
}

.about-graphic-demand {
  top: 42%;
}

.about-graphic-validation {
  right: clamp(-74px, -2vw, -18px);
}

.about-graphic-building {
  top: 55%;
}

.about-graphic-community {
  top: 46%;
}

.about-graphic-competitors {
  top: 48%;
}

.about-graphic-reach {
  top: 48%;
}

.about-graphic-pricing {
  top: 19%;
  width: clamp(280px, 30vw, 480px);
}

.about-graphic-contact {
  --about-graphic-opacity: 0.2;
  left: 50%;
  top: 55%;
  width: min(720px, 70vw);
  transform: translate(-50%, -50%);
}

.about-panel-copy,
.about-panel-actions,
.about-feature-grid,
.about-pricing-cards,
.about-pricing-audit,
.about-email-cta {
  position: relative;
  z-index: 1;
}

.about-reveal-ready .about-panel:not(.about-hero) .about-panel-copy,
.about-reveal-ready .about-panel:not(.about-hero) .about-feature-grid,
.about-reveal-ready .about-panel:not(.about-hero) .about-split,
.about-reveal-ready .about-panel:not(.about-hero) .about-pricing-cards,
.about-reveal-ready .about-panel:not(.about-hero) .about-pricing-audit,
.about-reveal-ready .about-panel:not(.about-hero) .about-panel-actions,
.about-reveal-ready .about-panel:not(.about-hero) .about-email-cta,
.about-reveal-ready .about-panel:not(.about-hero) .about-graphic {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.about-reveal-ready .about-panel:not(.about-hero) .about-graphic {
  transform: translateY(calc(-50% + 28px));
}

.about-reveal-ready .about-panel:not(.about-hero) .about-graphic-contact {
  transform: translate(-50%, calc(-50% + 28px));
}

.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-panel-copy,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-feature-grid,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-split,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-pricing-cards,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-pricing-audit,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-panel-actions,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-email-cta {
  opacity: 1;
  transform: translateY(0);
}

.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-graphic {
  opacity: var(--about-graphic-opacity);
  transform: translateY(-50%);
}

.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-graphic-contact {
  transform: translate(-50%, -50%);
}

.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-feature-grid,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-split,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-pricing-cards,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-pricing-audit,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-graphic {
  transition-delay: 120ms;
}

.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-panel-actions,
.about-reveal-ready .about-panel:not(.about-hero).is-visible .about-email-cta {
  transition-delay: 180ms;
}

.about-panel-copy {
  width: min(1120px, 100%);
  max-width: min(1120px, 100%);
  margin: 0 auto;
  container-type: normal;
}

.about-panel-copy-narrow {
  max-width: min(720px, 100%);
}

.about-hero .about-panel-copy,
.about-hero .about-panel-actions {
  justify-self: center;
  margin-inline: auto;
  transform: translateY(clamp(-88px, -8vh, -58px));
}

.about-hero .about-panel-copy {
  display: grid;
  justify-items: center;
  width: min(1240px, 100%);
  max-width: min(1240px, 100%);
}

.about-hero .about-panel-actions {
  max-width: min(920px, 100%);
}

.about-kicker {
  margin: 0 0 16px;
  color: var(--about-gray-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.about-hero .about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-bottom: 24px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 60px rgba(255, 255, 255, 0.06);
}

.about-hero .about-kicker span:first-child,
.about-hero .about-kicker span:last-child {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.about-panel-dark .about-kicker,
.about-panel-mid .about-kicker,
.about-panel-cta .about-kicker {
  color: var(--about-gray-500);
}

.about-panel h1,
.about-panel h2,
.about-panel .about-heading-single {
  max-width: none;
  margin: 0;
  color: inherit;
  font-size: clamp(2.05rem, 5.8vw + 0.25rem, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: break-word;
}

.about-panel:not(.about-hero) h2 {
  max-width: 960px;
  font-size: clamp(1.85rem, 4.6vw + 0.35rem, 3.5rem);
}

.about-hero .about-guarantee-title {
  max-width: min(1180px, 96vw);
  margin-inline: auto;
  font-size: clamp(2.75rem, 4.45vw, 4.75rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 8px 36px rgba(255, 255, 255, 0.2);
  overflow: visible;
  white-space: normal;
}

.about-guarantee-line {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  white-space: nowrap;
}

.about-guarantee-line:nth-child(2) {
  font-size: 0.88em;
}

.about-panel p {
  margin: 20px 0 0;
  max-width: 64ch;
  color: var(--about-gray-600);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
}

.about-hero p,
.about-panel-dark p,
.about-panel-mid p,
.about-panel-cta p {
  color: var(--about-gray-400);
}

.about-hero .about-panel-copy p {
  max-width: 820px;
  margin-top: 30px;
  margin-inline: auto;
  padding: 3px 12px;
  background: rgba(17, 17, 17, 0.86);
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 600;
  line-height: 1.55;
}

.about-note {
  color: var(--about-gray-500);
  font-size: 15px;
}

.about-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: min(680px, 100%);
  margin: 34px auto 0;
}

.about-hero .about-panel-actions {
  gap: 18px;
  width: min(750px, 100%);
  margin-top: 42px;
}

.about-panel-mid .about-panel-actions {
  justify-content: flex-start;
  width: min(1120px, 100%);
}

.about-page .dashboard-btn {
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    filter 0.22s ease;
}

.about-hero .dashboard-btn {
  min-height: 58px;
  border-radius: 9px;
}

.about-page .dashboard-btn:hover {
  transform: translateY(-2px);
}

.about-page .dashboard-btn:active {
  transform: translateY(0);
}

.about-page .dashboard-btn-light {
  background: var(--about-white);
  color: var(--about-black);
}

.about-page .dashboard-btn-light:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  filter: brightness(1.02);
}

.about-hero .dashboard-btn-light {
  min-width: 266px;
  background: #ffffff;
  color: #111111;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(255, 255, 255, 0.24);
}

.about-hero .dashboard-btn-light:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 22px 48px rgba(255, 255, 255, 0.28);
  filter: brightness(1.04);
}

.about-hero .dashboard-btn-dark {
  min-width: 202px;
}

.about-page .dashboard-btn-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--about-white);
  border-color: rgba(255, 255, 255, 0.34);
}

.about-page .dashboard-btn-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.about-panel-light .dashboard-btn-dark {
  background: var(--about-black);
  color: var(--about-white);
  border-color: var(--about-black);
}

.about-panel-light .dashboard-btn-dark:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  filter: none;
}

.about-page .dashboard-btn:disabled,
.about-page .dashboard-btn[disabled] {
  cursor: default;
  transform: none;
  box-shadow: none;
  filter: none;
  opacity: 0.68;
}

.about-panel-light .dashboard-btn-dark:disabled,
.about-panel-light .dashboard-btn-dark[disabled],
.about-panel-light .dashboard-btn-dark:disabled:hover,
.about-panel-light .dashboard-btn-dark[disabled]:hover {
  background: #e7e7e7;
  color: #555555;
  border-color: #d6d6d6;
}

.about-panel-light .dashboard-btn-light:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.about-page .pricing-offer-card .dashboard-btn-dark {
  background: var(--about-black);
  color: #ffffff;
  border-color: var(--about-black);
}

.about-page .pricing-offer-card .dashboard-btn-dark:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  filter: none;
}

.about-page .pricing-offer-card .dashboard-btn-light {
  background: #ececec;
  color: var(--about-black);
  border-color: rgba(17, 24, 39, 0.12);
}

.about-page .pricing-offer-card .dashboard-btn-light:hover {
  background: #e2e2e2;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  filter: none;
}

.about-feature-grid {
  width: min(1120px, 100%);
  margin: 48px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 48px);
  list-style: none;
}

.about-feature-grid li {
  min-width: 0;
}

.about-feature-grid span {
  display: block;
  color: var(--about-black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-feature-grid p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

.about-pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 44px auto 0;
}

.about-pricing-cards article {
  min-width: 0;
  padding: clamp(24px, 5vw, 32px) clamp(20px, 4vw, 28px);
  border: 1px solid var(--about-gray-100);
  border-radius: 8px;
  background: var(--about-white);
  color: var(--about-black);
}

.about-pricing-cards article.is-featured {
  border-color: var(--about-black);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.about-pricing-cards h3 {
  margin: 0 0 12px;
  color: var(--about-gray-600);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-pricing-cards p {
  margin: 0;
  color: var(--about-gray-600);
  font-size: 14px;
  line-height: 1.5;
}

.about-pricing-cards .about-pricing-list {
  margin: 10px 0 0;
  padding: 0 0 0 1.15em;
  list-style: disc;
  color: var(--about-gray-600);
  font-size: 14px;
  line-height: 1.5;
}

.about-pricing-cards .about-pricing-list li {
  margin: 0;
  padding: 0;
}

.about-pricing-cards .about-pricing-list li + li {
  margin-top: 8px;
}

.about-pricing-cards .about-pricing-list li::marker {
  color: var(--about-gray-500);
}

.about-pricing-cards .about-pricing-circle-access {
  margin: 8px 0 0;
  padding: 0 0 0 1.65em;
  color: var(--about-gray-600);
  font-size: 14px;
  line-height: 1.5;
}

.about-pricing-cards .about-pricing-actions-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--about-gray-100);
}

.about-pricing-cards .about-pricing-actions-key {
  margin: 0;
  color: var(--about-gray-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-pricing-cards .about-pricing-actions-value {
  margin: 0;
  color: var(--about-black);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-pricing-cards .about-pricing-per-action {
  margin: 0;
  color: var(--about-gray-500);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.about-pricing-cards .about-pricing-cta {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.about-pricing-cards .about-pricing-refund {
  margin: 8px 0 0;
  color: var(--about-gray-500);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.about-pricing-cards .about-pricing-terms-link {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--about-gray-500);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.about-pricing-cards .about-pricing-terms-link:hover,
.about-pricing-cards .about-pricing-terms-link:focus-visible {
  color: var(--about-black);
}

.about-pricing-audit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, 100%);
  margin: 18px auto 0;
  padding: clamp(20px, 4vw, 26px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.05);
}

.about-pricing-audit h3,
.about-pricing-audit p {
  margin: 0;
}

.about-pricing-audit h3 {
  color: var(--about-black);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
}

.about-pricing-audit p {
  color: var(--about-gray-600);
  font-size: 14px;
  line-height: 1.55;
}

.about-pricing-audit .about-pricing-audit-kicker {
  margin-bottom: 8px;
  color: var(--about-gray-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.about-pricing-audit h3 + p {
  margin-top: 8px;
  max-width: 660px;
}

.about-pricing-audit .dashboard-btn {
  flex: 0 0 auto;
  justify-content: center;
}

.about-billing-manage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(760px, 100%);
  margin: 22px auto 0;
  padding: 16px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.about-billing-manage[hidden] {
  display: none;
}

.about-billing-manage p {
  margin: 0;
  color: var(--about-gray-500);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.about-billing-manage .dashboard-btn {
  flex: 0 0 auto;
  min-height: 42px;
}

.about-pricing-cards .about-price {
  margin: 0 0 8px;
  color: var(--about-black);
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-price span {
  margin-left: 0.2em;
  color: var(--about-gray-600);
  font-size: 0.72em;
  font-weight: 500;
}

.about-price del {
  margin-right: 0.35em;
  color: var(--about-gray-500);
  font-size: 1.35rem;
  font-weight: 500;
}

.about-email-cta {
  margin: 34px auto 0;
  text-align: center;
}

.about-email-cta a {
  display: inline-block;
  max-width: 100%;
  color: var(--about-white);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.about-email-cta .about-email-address {
  display: inline-block;
  max-width: 100%;
  color: var(--about-white);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.about-email-cta .about-email-hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-feature-grid,
  .about-pricing-cards {
    grid-template-columns: 1fr;
  }

  .about-panel {
    padding-inline: 20px;
  }

  .about-hero-card {
    opacity: 0.45;
  }

  .about-graphic {
    --about-graphic-opacity: 0.12;
    width: min(430px, 72vw);
  }

  .about-panel-light .about-graphic {
    --about-graphic-opacity: 0.12;
  }

  .about-panel-dark .about-graphic,
  .about-panel-mid .about-graphic,
  .about-panel-cta .about-graphic {
    --about-graphic-opacity: 0.14;
  }

  .about-graphic-right {
    right: -112px;
  }

  .about-graphic-left {
    left: -112px;
  }

  .about-graphic-hero {
    --about-graphic-opacity: 0.15;
    bottom: -50px;
    width: min(680px, 94vw);
  }

  .about-graphic-contact {
    --about-graphic-opacity: 0.14;
    width: min(600px, 92vw);
  }

  .about-hero .about-panel-copy,
  .about-hero .about-panel-actions {
    transform: translateY(-42px);
  }

  .about-reveal-ready .about-panel:not(.about-hero) .about-panel-copy,
  .about-reveal-ready .about-panel:not(.about-hero) .about-feature-grid,
  .about-reveal-ready .about-panel:not(.about-hero) .about-split,
  .about-reveal-ready .about-panel:not(.about-hero) .about-pricing-cards,
  .about-reveal-ready .about-panel:not(.about-hero) .about-panel-actions,
  .about-reveal-ready .about-panel:not(.about-hero) .about-email-cta,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-panel-copy,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-feature-grid,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-split,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-pricing-cards,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-panel-actions,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-email-cta {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .about-reveal-ready .about-panel:not(.about-hero) .about-graphic,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-graphic {
    opacity: var(--about-graphic-opacity);
    transform: translateY(-50%);
    transition: none;
    will-change: auto;
  }

  .about-reveal-ready .about-panel:not(.about-hero) .about-graphic-contact,
  .about-reveal-ready .about-panel:not(.about-hero).is-visible .about-graphic-contact {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 640px) {
  .about-panel {
    padding-top: 88px;
    padding-bottom: 58px;
  }

  .about-hero {
    padding-top: 136px;
    background-size: 72px 72px, 72px 72px, auto, auto;
  }

  .about-hero-card {
    display: none;
  }

  .about-graphic {
    --about-graphic-opacity: 0.09;
    width: min(330px, 82vw);
  }

  .about-panel-light .about-graphic {
    --about-graphic-opacity: 0.09;
  }

  .about-panel-dark .about-graphic,
  .about-panel-mid .about-graphic,
  .about-panel-cta .about-graphic {
    --about-graphic-opacity: 0.11;
  }

  .about-graphic-right {
    right: -104px;
  }

  .about-graphic-left {
    left: -104px;
  }

  .about-graphic-hero {
    --about-graphic-opacity: 0.14;
    width: min(560px, 112vw);
  }

  .about-panel-cta .about-graphic-contact {
    --about-graphic-opacity: 0.1;
  }

  .about-hero .about-kicker {
    gap: 12px;
    min-height: 38px;
    padding-inline: 14px;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .about-hero .about-guarantee-title {
    font-size: clamp(2.35rem, 12vw, 3.1rem);
    white-space: normal;
  }

  .about-hero .about-panel-copy p {
    margin-top: 24px;
    padding: 8px 10px;
    font-size: 1rem;
  }

  .about-guarantee-line {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }

  .about-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .about-hero .about-panel-actions {
    margin-top: 30px;
  }

  .about-hero .about-panel-actions > * {
    width: 100%;
  }

  .about-billing-manage {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .about-billing-manage .dashboard-btn {
    width: 100%;
    justify-content: center;
  }

  .about-pricing-audit {
    align-items: stretch;
    flex-direction: column;
    text-align: left;
  }

  .about-pricing-audit .dashboard-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dashboard-nav,
  .phase-nav,
  .topbar {
    animation: buildbet-page-rise 360ms ease both;
  }

  .dashboard-section,
  .about-hero,
  .about-section,
  .community-hero,
  .community-section,
  .profile-layout,
  .pricing-tier {
    animation: buildbet-page-rise 480ms ease both;
  }

  .dashboard-section:nth-of-type(2),
  .about-section:nth-of-type(2),
  .community-section:nth-of-type(2),
  .pricing-tier:nth-child(2) {
    animation-delay: 70ms;
  }

  .dashboard-section:nth-of-type(3),
  .about-section:nth-of-type(3),
  .community-section:nth-of-type(3),
  .pricing-tier:nth-child(3) {
    animation-delay: 120ms;
  }

  .dashboard-project,
  .dashboard-rank,
  .profile-workspace-card,
  .pricing-tier,
  .phase-output-card {
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .dashboard-project:hover,
  .dashboard-rank:hover,
  .profile-workspace-card:hover,
  .pricing-tier:hover,
  .phase-output-card:hover {
    transform: translateY(-2px);
  }
}

@keyframes buildbet-page-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-nav,
  .phase-nav,
  .topbar,
  .dashboard-section,
  .about-hero,
  .about-section,
  .community-hero,
  .community-section,
  .profile-layout,
  .pricing-tier,
  .dashboard-project,
  .dashboard-rank,
  .profile-workspace-card,
  .phase-output-card,
  .about-reveal-ready .about-panel:not(.about-hero) .about-panel-copy,
  .about-reveal-ready .about-panel:not(.about-hero) .about-feature-grid,
  .about-reveal-ready .about-panel:not(.about-hero) .about-split,
  .about-reveal-ready .about-panel:not(.about-hero) .about-pricing-cards,
  .about-reveal-ready .about-panel:not(.about-hero) .about-panel-actions,
  .about-reveal-ready .about-panel:not(.about-hero) .about-email-cta {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
