:root {
  --ink: #17211c;
  --muted: #64716a;
  --line: #dce4df;
  --panel: #ffffff;
  --wash: #f3f6f4;
  --mint: #dff5e8;
  --teal: #0f766e;
  --blue: #2764c7;
  --gold: #c88a18;
  --coral: #c6534b;
  --shadow: 0 18px 50px rgba(23, 33, 28, 0.12);
  --page-max: 1480px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #eef3ef;
  color: var(--ink);
  transition: background 700ms ease;
}

body[data-landing-theme="hero"] { background: #dfeae4; }
body[data-landing-theme="outcomes"] { background: #eef3ef; }
body[data-landing-theme="product"] { background: #e8f1ec; }
body[data-landing-theme="workflow"] { background: #eef3fa; }
body[data-landing-theme="adoption"] { background: #f5efe3; }
body[data-landing-theme="commitment"] { background: #dfe6e3; }
body[data-landing-theme="trust"] { background: #edf1f7; }
body[data-landing-theme="openai"] { background: #e7f4ee; }

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.landing-shell {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
    transparent;
  padding-bottom: 28px;
  transition: background 700ms ease;
}

.landing-nav {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--page-max), calc(100% - 48px));
  margin: 12px auto 0;
  padding: 14px 18px;
  background: rgba(248, 251, 248, 0.9);
  border-bottom: 1px solid rgba(23, 33, 28, 0.08);
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(23, 33, 28, 0.08);
  backdrop-filter: blur(14px);
}

.landing-nav a,
.link-button {
  color: inherit;
  text-decoration: none;
}

.landing-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.landing-links a:last-child {
  color: var(--ink);
  font-weight: 700;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 33, 28, 0.14);
}

.sidebar-brand {
  align-items: flex-start;
  margin-bottom: 8px;
}

.sidebar-brand img {
  width: 42px;
  height: 42px;
}

.sidebar-brand .eyebrow {
  margin-top: 4px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 780px;
  margin: 16px 0 18px;
  padding: 74px 0;
  color: #f8fbf8;
  background:
    radial-gradient(circle at 78% 22%, rgba(39, 100, 199, 0.35), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(15, 118, 110, 0.32), transparent 30%),
    linear-gradient(135deg, #101916 0%, #17211c 46%, #22382f 100%);
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.08fr);
  gap: 72px;
  align-items: end;
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(238, 243, 239, 0), #eef3ef 84%);
  z-index: 1;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.88;
  pointer-events: none;
}

.hero-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent);
}

.hero-map span,
.hero-map i {
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.hero-map span {
  width: 18px;
  height: 18px;
  border: 4px solid rgba(255, 255, 255, 0.86);
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(200, 138, 24, 0.44);
  animation: signalPulse 2.8s ease-out infinite;
}

.hero-map span:nth-child(1) { left: 68%; top: 30%; }
.hero-map span:nth-child(2) { left: 76%; top: 48%; animation-delay: 420ms; background: var(--teal); }
.hero-map span:nth-child(3) { left: 58%; top: 57%; animation-delay: 840ms; background: var(--blue); }
.hero-map span:nth-child(4) { left: 82%; top: 68%; animation-delay: 1260ms; background: var(--coral); }
.hero-map span:nth-child(5) { left: 49%; top: 38%; animation-delay: 1680ms; }

.hero-map i {
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: signalDrift 12s ease-in-out infinite alternate;
}

.hero-map i:nth-of-type(1) { left: 66%; top: 39%; }
.hero-map i:nth-of-type(2) { left: 78%; top: 62%; animation-delay: 1.2s; }
.hero-map i:nth-of-type(3) { left: 52%; top: 54%; animation-delay: 2.4s; }

.hero-path {
  position: absolute;
  inset: 12% 2% auto auto;
  width: min(860px, 74vw);
  height: 52vh;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.28));
}

.hero-path path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 7;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: drawSignal 5.8s ease-in-out infinite;
}

.hero-path path:first-child {
  stroke: rgba(223, 245, 232, 0.88);
}

.hero-path path:last-child {
  stroke: rgba(200, 138, 24, 0.72);
  stroke-width: 4;
  animation-delay: 800ms;
}

.hero-copy h1 {
  font-size: 7.1rem;
  letter-spacing: 0;
  line-height: 0.9;
  max-width: 980px;
}

.hero-copy {
  position: relative;
  padding-bottom: clamp(10px, 4vw, 56px);
}

.hero-copy .eyebrow {
  color: #b8f2d4;
}

.hero-copy .auth-copy {
  color: rgba(248, 251, 248, 0.78);
  font-size: 1.18rem;
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions .primary {
  background: #dff5e8;
  color: #17211c;
}

.hero-actions .ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(248, 251, 248, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.link-button {
  display: inline-flex;
  align-items: center;
}

.hero-proof span,
.tech-list span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0 12px;
}

.hero-proof span {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 248, 0.78);
  backdrop-filter: blur(10px);
}

.hero-product {
  position: relative;
  min-width: 0;
}

.decision-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(248, 251, 248, 0.9);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  animation: consoleRise 900ms ease both;
  min-height: 520px;
}

.console-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.console-topline span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.console-metrics article {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #fff;
}

.console-metrics span,
.console-metrics em,
.insight-stack span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.console-metrics strong {
  display: block;
  font-size: 1.25rem;
}

.console-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(320px, 1fr);
  gap: 16px;
  padding: 18px;
}

.signal-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 310px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(23, 33, 28, 0.08) 1px, transparent 1px),
    #f6f9f7;
  background-size: 100% 48px;
}

.signal-timeline b {
  display: block;
  min-height: 32px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--teal), #83c5a3);
  animation: barBreathe 2.8s ease-in-out infinite;
}

.signal-timeline b:nth-of-type(2) { animation-delay: 150ms; }
.signal-timeline b:nth-of-type(3) { animation-delay: 300ms; background: linear-gradient(180deg, var(--blue), #95b9ee); }
.signal-timeline b:nth-of-type(4) { animation-delay: 450ms; }
.signal-timeline b:nth-of-type(5) { animation-delay: 600ms; background: linear-gradient(180deg, var(--gold), #ebc77f); }

.signal-timeline span {
  color: var(--muted);
  font-size: 0.76rem;
}

.insight-stack {
  display: grid;
  gap: 10px;
}

.insight-stack article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  animation: insightFloat 5s ease-in-out infinite;
}

.insight-stack article:nth-child(2) {
  border-left-color: var(--gold);
  animation-delay: 800ms;
}

.insight-stack article:nth-child(3) {
  border-left-color: var(--blue);
  animation-delay: 1600ms;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 4.6rem;
  line-height: 0.98;
  margin-bottom: 22px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0;
}

h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
}

.auth-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 560px;
}

.secondary,
.primary,
.ghost,
.nav-button {
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary {
  background: var(--ink);
  color: #fff;
}

.secondary {
  background: var(--mint);
  color: var(--ink);
  margin-top: 14px;
  width: fit-content;
}

.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}

button:hover {
  transform: translateY(-1px);
}

.fine-print {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 18px;
}

.fallback-marker {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 8px 24px rgba(23, 33, 28, 0.25);
}

.landing-band {
  width: min(var(--page-max), calc(100% - 48px));
  margin: 0 auto 18px;
  padding: 64px;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
    #ffffff;
  box-shadow: 0 20px 80px rgba(23, 33, 28, 0.08);
  scroll-margin-top: 110px;
  position: relative;
  overflow: hidden;
}

.landing-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 33, 28, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 28, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.32;
  pointer-events: none;
}

.landing-band > * {
  position: relative;
  z-index: 1;
}

.landing-band[data-theme="product"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(223, 245, 232, 0.72)),
    #f8fbf8;
}

.landing-band[data-theme="workflow"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 235, 252, 0.82)),
    #f6f9ff;
}

.landing-band[data-theme="adoption"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 231, 195, 0.68)),
    #fffaf0;
}

.landing-band[data-theme="trust"] {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(231, 238, 248, 0.82)),
    #f7faff;
}

.landing-band[data-theme="openai"] {
  background:
    linear-gradient(135deg, rgba(23, 33, 28, 0.94), rgba(15, 118, 110, 0.82)),
    #17211c;
  color: #f8fbf8;
}

.landing-band[data-theme="openai"] .eyebrow {
  color: #b8f2d4;
}

.landing-band[data-theme="openai"] p,
.landing-band[data-theme="openai"] .fine-print {
  color: rgba(248, 251, 248, 0.72);
}

.buildweek-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(var(--page-max), calc(100% - 48px));
  gap: 24px;
  margin: -34px auto 30px;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
  padding: 24px;
  box-shadow: 0 24px 80px rgba(23, 33, 28, 0.16);
  position: relative;
  z-index: 3;
}

.buildweek-strip article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(23, 33, 28, 0.09);
  border-radius: 8px;
  background: #fff;
  transition: transform 180ms ease, background 180ms ease;
}

.buildweek-strip article:nth-child(1) {
  background:
    linear-gradient(145deg, rgba(23, 33, 28, 0.94), rgba(15, 118, 110, 0.84));
  color: #f8fbf8;
}

.buildweek-strip article:nth-child(1) p,
.buildweek-strip article:nth-child(1) > span:not(.card-icon) {
  color: rgba(248, 251, 248, 0.7);
}

.buildweek-strip article:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(223, 245, 232, 0.74), rgba(255, 255, 255, 0.95));
}

.buildweek-strip article:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(231, 238, 248, 0.92), rgba(255, 255, 255, 0.98));
}

.buildweek-strip article:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(247, 231, 195, 0.78), rgba(255, 255, 255, 0.96));
}

.buildweek-strip article:hover,
.value-grid article:hover,
.security-grid article:hover,
.demo-path article:hover,
.judging-list article:hover,
.demo-steps article:hover,
.demo-item:hover {
  transform: translateY(-3px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(223, 245, 232, 0.92), rgba(255, 255, 255, 0.75));
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.buildweek-strip span,
.demo-path span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.buildweek-strip strong,
.demo-path strong,
.judging-list strong {
  font-size: 1.04rem;
}

.buildweek-strip p,
.demo-path p,
.judging-list span {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-image {
  margin: 0 0 28px;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 70px rgba(23, 33, 28, 0.11);
}

.section-image img {
  display: block;
  width: 100%;
  height: auto;
}

.product-image {
  max-width: 760px;
  margin-left: auto;
}

.workflow-image {
  margin-bottom: 42px;
}

.adoption-visual-stack {
  display: grid;
  gap: 16px;
}

.adoption-image {
  margin-bottom: 0;
}

.section-heading h2,
.split-band h2,
.openai-band h2 {
  font-size: 3.3rem;
  line-height: 1;
}

.value-grid,
.security-grid,
.demo-path,
.judging-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.value-grid {
  grid-template-columns: 1.18fr 0.82fr;
  grid-auto-rows: minmax(230px, auto);
}

.value-grid article:first-child {
  grid-row: span 2;
}

.value-grid article:first-child strong {
  font-size: 2.35rem;
  line-height: 1;
  max-width: 520px;
}

.value-grid article:first-child p {
  max-width: 580px;
  font-size: 1.05rem;
}

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

.value-grid article,
.security-grid article,
.demo-path article,
.judging-list article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(23, 33, 28, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(243, 246, 244, 0.78)),
    var(--wash);
  box-shadow: 0 12px 40px rgba(23, 33, 28, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: grid;
  align-content: start;
  gap: 16px;
}

.value-grid p,
.security-grid span,
.demo-path p,
.split-band p,
.openai-band p {
  color: var(--muted);
  line-height: 1.6;
}

.demo-path article {
  min-height: 280px;
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    linear-gradient(145deg, rgba(223, 245, 232, 0.74), rgba(255, 255, 255, 0.22)),
    #fff;
}

.demo-path article:hover {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: 0 26px 80px rgba(23, 33, 28, 0.18);
  transform: translateY(-10px);
}

.demo-path {
  grid-template-columns: 0.95fr 1.2fr 0.95fr;
}

.demo-path article:nth-child(2) {
  transform: translateY(-18px);
  background:
    linear-gradient(145deg, rgba(23, 33, 28, 0.94), rgba(39, 100, 199, 0.78));
  color: #f8fbf8;
}

.demo-path article:nth-child(2):hover {
  transform: translateY(-28px);
}

.demo-path article:nth-child(2) p,
.demo-path article:nth-child(2) > span:not(.card-icon) {
  color: rgba(248, 251, 248, 0.72);
}

.demo-path article:nth-child(2) .card-icon {
  color: #b8f2d4;
  border-color: rgba(184, 242, 212, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.demo-path strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.05;
}

.judging-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 60px;
  align-items: start;
  background: #17211c;
  color: #f8fbf8;
}

.judging-band .eyebrow {
  color: #b8f2d4;
}

.judging-band h2 {
  font-size: 3.8rem;
  line-height: 0.98;
}

.judging-list {
  grid-template-columns: 1fr;
}

.judging-list article {
  min-height: 120px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.judging-list .card-icon {
  display: inline-flex;
  margin-top: 0;
  color: #b8f2d4;
  border-color: rgba(184, 242, 212, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.judging-list span {
  display: block;
  margin-top: 12px;
  color: rgba(248, 251, 248, 0.7);
}

.security-grid span {
  display: block;
  margin-top: 12px;
}

.split-band,
.openai-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: center;
}

.split-band {
  grid-template-columns: minmax(460px, 0.9fr) minmax(520px, 1.1fr);
}

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

.tech-list span {
  min-height: 56px;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 0 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(223, 245, 232, 0.62));
}


.signin-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--wash);
}

.landing-band[data-theme="openai"] .signin-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.landing-band[data-theme="openai"] .secondary {
  background: #dff5e8;
  color: var(--ink);
}

.signin-card h3 {
  font-size: 2rem;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  background: #ffffff;
  border-right: 1px solid var(--line);
}

.sidebar h1 {
  font-size: 2.2rem;
}

nav {
  display: grid;
  gap: 8px;
}

.nav-button {
  text-align: left;
  background: transparent;
  color: var(--muted);
}

.nav-button.active {
  background: var(--ink);
  color: #fff;
}

.user-card {
  margin-top: auto;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-weight: 800;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#plan-pill,
#db-mode,
#credit-balance,
.panel-header span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--muted);
  font-size: 0.78rem;
}

.workspace {
  min-width: 0;
  padding: 28px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.metrics-grid,
.demo-command-rail,
.demo-grid,
.overview-grid,
.split-grid,
.deal-layout,
.credits-grid {
  display: grid;
  gap: 16px;
}

.demo-command {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f8fbf8;
  background:
    linear-gradient(135deg, rgba(39, 100, 199, 0.26), rgba(15, 118, 110, 0.18)),
    #17211c;
  box-shadow: 0 24px 70px rgba(23, 33, 28, 0.18);
  overflow: hidden;
  position: relative;
}

.demo-command::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.demo-command .eyebrow {
  color: #b8f2d4;
}

.demo-command h3 {
  max-width: 680px;
  font-size: 2.8rem;
  line-height: 1;
}

.demo-command p {
  color: rgba(248, 251, 248, 0.72);
  line-height: 1.55;
  max-width: 620px;
}

.demo-command-rail {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-command-rail article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.demo-command-rail span {
  color: #b8f2d4;
  font-size: 0.78rem;
  font-weight: 800;
}

.demo-command-rail small {
  color: rgba(248, 251, 248, 0.68);
  line-height: 1.4;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 16px;
}

.demo-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  margin-bottom: 16px;
}

.demo-intro h3 {
  font-size: 2.6rem;
  line-height: 1.05;
  margin-bottom: 14px;
}

.demo-intro {
  position: relative;
  overflow: hidden;
  color: #f8fbf8;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(23, 33, 28, 0.96)),
    #17211c;
}

.demo-intro .eyebrow {
  color: #b8f2d4;
}

.demo-intro p {
  color: rgba(248, 251, 248, 0.74);
}

.demo-intro .card-icon {
  color: #b8f2d4;
  border-color: rgba(184, 242, 212, 0.3);
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.demo-intro .ghost {
  color: rgba(248, 251, 248, 0.86);
  border-color: rgba(255, 255, 255, 0.24);
}

.demo-intro p,
.demo-steps span,
.demo-item span {
  color: var(--muted);
  line-height: 1.55;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.demo-steps,
.demo-list,
.demo-mini-actions {
  display: grid;
  gap: 10px;
}

.demo-steps article,
.demo-item {
  padding: 14px;
  border: 1px solid rgba(23, 33, 28, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, #ffffff, #f5f9f6);
  transition: transform 180ms ease, border-color 180ms ease;
}

.demo-steps article {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: start;
}

.demo-steps article strong,
.demo-steps article > span:not(.step-dot) {
  grid-column: 2;
}

.step-dot {
  grid-row: 1 / span 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 0 !important;
  border-radius: 8px;
  background: var(--ink);
  color: #fff !important;
  font-weight: 800;
}

.demo-steps span,
.demo-item span {
  display: block;
  margin-top: 6px;
}

.demo-item {
  overflow: hidden;
  position: relative;
  padding-left: 18px;
}

.demo-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.demo-outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.demo-outcomes b,
.demo-mini-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.82rem;
}

.demo-mini-actions span {
  border-radius: 8px;
  width: auto;
  min-height: 40px;
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.demo-report {
  padding: 18px;
  border: 1px solid rgba(23, 33, 28, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(223, 245, 232, 0.72), rgba(255, 255, 255, 0.95));
}

.demo-report .brief-summary {
  color: var(--ink);
  font-size: 1.04rem;
}

.metrics-grid article,
.panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 248, 0.92)),
    var(--panel);
  border: 1px solid rgba(23, 33, 28, 0.09);
  border-radius: 8px;
  box-shadow: 0 14px 44px rgba(23, 33, 28, 0.07);
}

.metrics-grid article {
  padding: 18px;
}

.metrics-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.metrics-grid strong {
  font-size: 1.8rem;
}

.overview-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  margin-bottom: 16px;
}

.split-grid,
.deal-layout,
.credits-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
}

.panel {
  min-width: 0;
  padding: 18px;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

#map,
.fallback-map {
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
}

.fallback-map {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(23, 33, 28, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 28, 0.09) 1px, transparent 1px),
    #eef4ef;
  background-size: 38px 38px;
}

.fallback-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.82rem;
}

svg {
  display: block;
  width: 100%;
  height: 360px;
}

.building-list,
.action-list,
.risk-list {
  display: grid;
  gap: 10px;
}

.building-row,
.action-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.building-row span,
.action-row span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-top: 4px;
}

.risk-chip {
  color: #fff;
  background: var(--coral);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 800;
  height: fit-content;
}

.brief-panel {
  min-height: 520px;
}

.brief-summary,
.commercial-angle {
  color: var(--muted);
  line-height: 1.6;
}

.risk-list {
  padding-left: 20px;
  color: var(--muted);
}

.pricing-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.pricing-panel h3 {
  font-size: 2rem;
}

.pricing-panel strong {
  font-size: 2.4rem;
}

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

.feature-table div {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-table span {
  color: var(--muted);
}

.credit-pack-grid {
  display: grid;
  gap: 10px;
}

.credit-pack {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.credit-pack span,
.usage-row span,
.usage-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.usage-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.usage-row,
.usage-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.usage-card {
  margin-top: 18px;
}

@keyframes signalPulse {
  0% { box-shadow: 0 0 0 0 rgba(223, 245, 232, 0.38); }
  70% { box-shadow: 0 0 0 26px rgba(223, 245, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 245, 232, 0); }
}

@keyframes signalDrift {
  from { transform: translate(-50%, -50%) scale(0.94); opacity: 0.42; }
  to { transform: translate(-46%, -54%) scale(1.08); opacity: 0.78; }
}

@keyframes drawSignal {
  0% { stroke-dashoffset: 1100; opacity: 0; }
  18% { opacity: 1; }
  58% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1100; opacity: 0; }
}

@keyframes consoleRise {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes barBreathe {
  0%, 100% { transform: scaleY(0.92); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
}

@keyframes insightFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 980px) {
  .hero-inner,
  .console-body,
  .split-band,
  .openai-band,
  .judging-band,
  .demo-command,
  .app-shell,
  .demo-grid,
  .overview-grid,
  .split-grid,
  .deal-layout,
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
  }

  .sidebar {
    position: static;
  }

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

  .demo-command-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .console-body {
    min-width: 0;
  }

  .value-grid,
  .security-grid,
  .buildweek-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-image {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .workspace,
  .sidebar,
  .hero-section,
  .landing-band {
    padding: 20px;
  }

  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-inner {
    width: min(var(--page-max), calc(100% - 32px));
  }

  .topbar,
  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .metrics-grid,
  .feature-table,
  .console-metrics,
  .buildweek-strip,
  .demo-command-rail,
  .demo-path,
  .value-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .landing-links {
    gap: 12px;
    font-size: 0.84rem;
  }

  .buildweek-strip {
    margin-top: -10px;
  }

  .buildweek-strip article {
    min-height: auto;
  }

  .hero-section {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .hero-copy h1 {
    font-size: 3.4rem;
  }

  .demo-command {
    padding: 22px;
  }

  .demo-command h3,
  .demo-intro h3,
  .section-heading h2,
  .split-band h2,
  .openai-band h2,
  .judging-band h2 {
    font-size: 2.2rem;
  }

  .hero-path {
    width: 120vw;
    height: 42vh;
    opacity: 0.58;
  }

  #map,
  .fallback-map,
  svg {
    height: 300px;
  }
}
