:root {
  color-scheme: dark;
  --bg: #09111f;
  --panel: #101a2e;
  --panel-alt: #0d1728;
  --line: #223457;
  --text: #ecf2ff;
  --muted: #a4b4d3;
  --accent: #72f1b8;
  --accent-strong: #2dd4bf;
  --danger: #ff7a90;
  --warning: #ffd166;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #07101e 0%, #0b1322 100%);
  color: var(--text);
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  padding: 5.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.brand-lockup-text {
  display: grid;
  gap: 0.12rem;
}

.brand-lockup-text strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand-lockup-text span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-lockup-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.hero-grid,
.split {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.95fr;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
}

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

h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1rem;
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.lede,
.section-heading p,
.info-card p,
.hero-card p,
li,
.status,
blockquote,
.offer-panel p,
.offer-line span,
.audience-row span {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions,
.demo-actions,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #072117;
  border-color: transparent;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--accent);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.proof-points {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.proof-points li,
.pill,
.proof-points-inline li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
}

.hero-card,
.info-card,
.checklist-card,
.demo-panel,
.result-card,
.summary-card,
.proof-card,
.offer-panel,
.signup-panel,
.audience-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-card,
.info-card,
.checklist-card,
.proof-card,
.offer-panel,
.signup-panel,
.audience-card {
  padding: 1.4rem;
}

.hero-card ul,
.checklist-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.hero-report-card {
  padding-bottom: 1.1rem;
}

.mini-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.section {
  padding: 4.75rem 0;
}

.muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.section-heading.narrow {
  max-width: 700px;
}

.three-up,
.summary-grid,
.results-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.two-panel {
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.checklist-card {
  align-self: center;
}

.proof-section {
  align-items: stretch;
}

.proof-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-card.compact {
  justify-content: center;
}

.proof-card-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.proof-points-inline {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.report-preview {
  margin: 0;
  min-height: 240px;
}

.report-preview.compact {
  min-height: 0;
}

.fit-list {
  display: grid;
  gap: 1rem;
}

.fit-list div,
.audience-row,
.offer-line {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fit-list div:first-child,
.audience-row:first-child,
.offer-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.fit-list strong,
.audience-row strong,
.offer-line strong {
  color: var(--text);
}

.offer-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.signup-panel {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
}

.signup-form {
  display: grid;
  gap: 0.85rem;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.signup-row input {
  flex: 1 1 240px;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #091423;
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

.signup-status {
  margin: 0;
}

.offer-main {
  padding-right: 0.5rem;
}

.offer-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.audience-card {
  display: grid;
}

.trust-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.trust-item {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.trust-item strong {
  font-size: 0.92rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.demo-panel {
  padding: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 180px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #091423;
  color: var(--text);
  padding: 1rem;
  font: inherit;
  margin-bottom: 1rem;
}

.status {
  min-height: 1.5rem;
  margin: 1rem 0;
}

.status[data-tone='success'] {
  color: var(--accent);
}

.status[data-tone='error'] {
  color: var(--danger);
}

.summary-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 1rem 0 1.25rem;
}

.summary-card {
  padding: 1rem;
  text-align: center;
}

.summary-card strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.summary-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.results-grid {
  grid-template-columns: 1fr;
}

.result-card {
  padding: 1.15rem;
  background: var(--panel-alt);
}

.result-card.state-changed {
  border-color: rgba(255, 209, 102, 0.5);
}

.result-card.state-baseline_created,
.result-card.state-unchanged {
  border-color: rgba(114, 241, 184, 0.25);
}

.result-card.state-error {
  border-color: rgba(255, 122, 144, 0.5);
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.result-header h3 {
  margin-bottom: 0;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.result-card ul {
  padding-left: 1rem;
  margin: 0 0 0.75rem;
}

pre {
  overflow-x: auto;
  background: #07101d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 0.85rem;
  color: #d7f9ff;
  white-space: pre-wrap;
}

.empty-state,
.error-text,
.footer {
  color: var(--muted);
}

.footer {
  padding: 2rem 0 3rem;
  text-align: center;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .three-up,
  .summary-grid,
  .trust-strip-inner,
  .offer-panel,
  .signup-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .brand-lockup {
    gap: 0.7rem;
  }

  .brand-lockup-mark {
    width: 48px;
    height: 48px;
  }

  .brand-lockup-text strong {
    font-size: 1.05rem;
  }

  .brand-lockup-text span {
    font-size: 0.74rem;
  }

  h1 {
    max-width: none;
  }

  .proof-card-header {
    flex-direction: column;
  }
}
