:root {
  --black: #000000;
  --near: #0b0d0f;
  --panel: #121417;
  --panel-2: #191c20;
  --line: rgba(250, 255, 105, 0.28);
  --line-soft: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #a8adb3;
  --dim: #727982;
  --volt: #faff69;
  --green: #41d98d;
  --orange: #ff6a2a;
  --red: #ff5d5d;
  --blue: #7aa8ff;
  --mono: "Inconsolata", ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #000 0%, #090a0b 54%, #0e100d 100%);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 72%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

main > section {
  scroll-margin-top: 124px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(10, 12, 14, 0.96);
}

.brand,
.nav-links,
.hero-actions,
.form-actions,
.card-head {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--volt);
  border-radius: 4px;
  color: var(--black);
  background: var(--volt);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--volt);
}

.nav-cta,
.button,
.copy-button {
  min-height: 44px;
  border-radius: 4px;
  border: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--black);
  background: var(--volt);
  border-color: var(--volt);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.button.primary {
  color: var(--black);
  background: var(--volt);
  border-color: var(--volt);
}

.button.secondary {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line-soft);
}

.button.ghost {
  color: var(--muted);
  background: transparent;
}

.button:hover,
.nav-cta:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.72fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 104px 0 74px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--volt);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 92px;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-lede,
.section-head p,
.launch-kit p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.form-actions {
  flex-wrap: wrap;
  gap: 12px;
}

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

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(250, 255, 105, 0.24);
  border-radius: 4px;
  color: #dce2e7;
  background: rgba(250, 255, 105, 0.055);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.hero-console,
.workbench,
.output-card,
.thesis-grid article,
.launch-kit {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(18, 20, 23, 0.88);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 24px 90px rgba(0, 0, 0, 0.34);
}

.hero-console {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 5px solid var(--volt);
  opacity: 0.9;
  pointer-events: none;
}

.console-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 13px;
}

.score-orbit {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 8px 0 18px;
  border: 1px solid rgba(250, 255, 105, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(250,255,105,0.13) 1px, transparent 1px),
    linear-gradient(rgba(250,255,105,0.13) 1px, transparent 1px),
    #080909;
  background-size: 28px 28px;
}

.score-orbit strong {
  display: block;
  color: var(--volt);
  font-size: 124px;
  line-height: 0.86;
  font-weight: 900;
}

.score-orbit span {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
}

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

.console-cell {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.console-cell span,
.report-topline span,
.thesis-grid span {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.console-cell strong {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 19px;
}

.console-cell.pass strong {
  color: var(--green);
}

.console-cell.warn strong {
  color: var(--orange);
}

.console-cell.fail strong {
  color: var(--red);
}

pre,
textarea,
input {
  font-family: var(--mono);
}

.console-output {
  margin: 12px 0 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: #d7dde3;
  background: #060707;
  font-size: 14px;
  line-height: 1.45;
}

.research-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 96px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--line-soft);
}

.research-strip div {
  padding: 22px;
  background: rgba(18, 20, 23, 0.88);
}

.research-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--volt);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.research-strip strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.35;
}

.scanner,
.why-now,
.sample-audit,
.launch-kit {
  margin-bottom: 104px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head.compact {
  display: block;
  max-width: 760px;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding: 18px;
}

.scan-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: #060707;
  color: var(--text);
  outline: none;
}

input {
  height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 330px;
  resize: vertical;
  padding: 14px;
  line-height: 1.5;
}

input:focus,
textarea:focus {
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(250, 255, 105, 0.12);
}

.report-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(250, 255, 105, 0.24);
  border-radius: 4px;
  background: #060707;
}

.report-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.report-topline strong {
  display: block;
  margin-top: 6px;
  color: var(--volt);
  font-size: 72px;
  line-height: 0.9;
  font-weight: 900;
}

.report-topline p {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  text-align: right;
}

.score-bar {
  height: 10px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--panel);
}

.score-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--volt);
  transition: width 240ms ease;
}

.findings {
  display: grid;
  gap: 10px;
}

.finding {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.finding strong {
  display: block;
  margin-bottom: 6px;
}

.finding p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.report-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.report-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

#auditRequestLink,
#copyAuditRequest,
#downloadScoreCard {
  grid-column: 1 / -1;
}

.report-privacy-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

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

.output-card.wide {
  grid-column: 1 / -1;
}

.card-head {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.card-head h3 {
  margin: 0;
}

.copy-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--black);
  background: var(--volt);
  border-color: var(--volt);
}

.output-card pre {
  min-height: 220px;
  max-height: 420px;
  margin: 0;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: #dce2e7;
  background: #060707;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.audit-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 340px;
  gap: 18px;
}

.audit-preview article,
.audit-preview aside {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(18, 20, 23, 0.88);
}

.audit-preview article {
  min-height: 420px;
}

.audit-preview article.after {
  border-color: rgba(250, 255, 105, 0.48);
}

.audit-preview span {
  display: block;
  margin-bottom: 22px;
  color: var(--volt);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-preview pre {
  margin: 22px 0 0;
  padding: 14px;
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  color: #dce2e7;
  background: #060707;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.audit-preview p {
  color: var(--muted);
  line-height: 1.55;
}

.thesis-grid article {
  padding: 24px;
}

.thesis-grid span {
  color: var(--volt);
  margin-bottom: 34px;
}

.thesis-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.launch-kit {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.56fr);
  gap: 34px;
  padding: 48px;
  margin-bottom: 52px;
}

.launch-copy {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: #060707;
}

.launch-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.launch-copy strong {
  color: var(--text);
}

.offer-kicker {
  margin: 0 0 14px;
  color: var(--volt) !important;
  font-family: var(--mono);
  font-size: 13px !important;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.offer-list li {
  padding: 14px 0 14px 16px;
  border-left: 2px solid var(--volt);
  color: var(--text);
  line-height: 1.45;
}

.public-note {
  padding: 14px;
  border: 1px solid rgba(250, 255, 105, 0.28);
  background: rgba(250, 255, 105, 0.06);
  color: var(--text) !important;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(250, 255, 105, 0.28);
  border-radius: 4px;
  color: var(--volt);
  background: #060707;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.price-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .hero,
  .section-head,
  .workbench,
  .launch-kit {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
    padding-top: 82px;
  }

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

  .research-strip,
  .thesis-grid,
  .audit-preview {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 74px;
  }

  h2 {
    font-size: 46px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1200px);
  }

  main > section {
    scroll-margin-top: 184px;
  }

  .launch-kit {
    padding: 24px;
  }

  .score-orbit strong {
    font-size: 88px;
  }

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

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav-cta {
    width: 100%;
  }

  .field-grid,
  .output-grid,
  .console-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-actions .button,
  .form-actions .button,
  .price-stack .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
