@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-2: #0a0a0a;
  --panel: #0a0a0a;
  --panel-2: #0a0a0a;
  --panel-3: #111111;
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.10);
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --soft: #cccccc;
  --acid: #2E5EFF;
  --mint: #00E676;
  --cyan: #2E5EFF;
  --amber: #2E5EFF;
  --violet: #2E5EFF;
  --red: #FF3B30;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

body::before {
  content: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--panel);
  box-shadow: none;
}

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

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(214, 255, 77, 0.12);
  border-radius: 8px;
  background: rgba(17, 19, 14, 0.72);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--soft);
  font-size: 14px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
  background: rgba(214, 255, 77, 0.1);
  color: var(--text);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 18px;
  border: 1px solid rgba(214, 255, 77, 0.5);
  background: rgba(214, 255, 77, 0.12);
  color: var(--acid);
}

.nav-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.section-band {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 64px 0 54px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 68px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.lead {
  max-width: 680px;
  margin-bottom: 14px;
  color: var(--soft);
  font-size: 20px;
}

.supporting-note,
.section-heading p,
.signal-copy p,
.problem-grid p,
.feature-grid p,
.workflow-track p {
  color: var(--muted);
}

.supporting-note {
  max-width: 660px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.primary-action {
  min-width: 170px;
  padding: 0 20px;
  border: 1px solid rgba(214, 255, 77, 0.7);
  background: var(--acid);
  color: #101207;
  box-shadow: 0 14px 34px rgba(214, 255, 77, 0.16);
}

.secondary-action {
  min-width: 170px;
  padding: 0 20px;
  border: 1px solid rgba(73, 215, 255, 0.36);
  background: rgba(73, 215, 255, 0.08);
  color: var(--cyan);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
}

.hero-metrics div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(17, 19, 14, 0.78);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.terminal {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(214, 255, 77, 0.2);
  border-radius: 8px;
  background: rgba(10, 12, 8, 0.94);
  box-shadow: var(--shadow);
}

.terminal::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.035);
  border-radius: 6px;
  pointer-events: none;
}

.terminal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--soft);
  font-size: 13px;
}

.terminal-top div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.terminal-logo {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(117, 247, 190, 0.4);
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(70, 240, 164, 0.16);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(70, 240, 164, 0.75);
}

.terminal-pill {
  padding: 6px 9px;
  border: 1px solid rgba(214, 255, 77, 0.2);
  border-radius: 999px;
  color: var(--acid);
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  grid-template-areas:
    "rank profile"
    "signal profile";
  gap: 1px;
  background: var(--line-soft);
}

.rank-panel,
.profile-panel,
.signal-panel,
.score-board,
.problem-grid article,
.feature-grid article,
.workflow-track article,
.cta {
  background: rgba(17, 19, 14, 0.96);
}

.rank-panel {
  grid-area: rank;
  padding: 17px;
}

.profile-panel {
  grid-area: profile;
  padding: 17px;
}

.signal-panel {
  grid-area: signal;
  padding: 17px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.panel-heading strong {
  color: var(--acid);
  font-size: 12px;
}

.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 62px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
}

.wallet-row:first-of-type {
  border-top: 0;
}

.wallet-row strong,
.wallet-row span {
  display: block;
}

.wallet-row strong {
  margin-bottom: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.wallet-row span {
  color: var(--muted);
  font-size: 12px;
}

.wallet-row em {
  color: var(--text);
  font-style: normal;
  font-weight: 820;
  font-variant-numeric: tabular-nums;
}

.wallet-row.is-hot {
  color: var(--acid);
}

#flowCanvas {
  display: block;
  width: 100%;
  height: 220px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #090b08;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.profile-stats div {
  min-height: 70px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(30, 33, 24, 0.68);
}

.profile-stats span,
.profile-stats strong {
  display: block;
}

.profile-stats span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.profile-stats strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.signal-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 33px;
  color: var(--muted);
  font-size: 12px;
}

.bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(214, 255, 77, 0.1);
}

.bar span {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: var(--acid);
}

.bar.cyan span {
  background: var(--cyan);
}

.bar.amber span {
  background: var(--amber);
}

.bar.violet span {
  background: var(--violet);
}

.alert-line {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid rgba(70, 240, 164, 0.22);
  border-radius: 6px;
  background: rgba(70, 240, 164, 0.07);
}

.alert-line span,
.alert-line strong {
  display: block;
}

.alert-line span {
  margin-bottom: 4px;
  color: var(--mint);
  font-size: 12px;
}

.alert-line strong {
  color: var(--text);
  font-size: 13px;
}

.problem,
.features,
.signals,
.workflow,
.cta {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p {
  margin-bottom: 0;
}

.problem-grid,
.feature-grid,
.workflow-track {
  display: grid;
  gap: 12px;
}

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

.problem-grid article,
.feature-grid article,
.workflow-track article {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.problem-grid article {
  min-height: 230px;
  padding: 22px;
}

.problem-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 42px;
  border: 1px solid rgba(255, 198, 90, 0.34);
  border-radius: 999px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
}

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

.feature-grid article {
  min-height: 236px;
  padding: 22px;
}

.feature-token {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border: 1px solid rgba(73, 215, 255, 0.38);
  border-radius: 8px;
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.signals {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 0.72fr);
  gap: 46px;
  align-items: center;
}

.signal-copy p {
  max-width: 620px;
}

.score-board {
  padding: 22px;
  border: 1px solid rgba(214, 255, 77, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.score-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.score-header span {
  color: var(--muted);
  font-size: 14px;
}

.score-header strong {
  color: var(--acid);
  font-size: 54px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.score-line {
  display: grid;
  grid-template-columns: 126px 1fr 42px;
  gap: 12px;
  align-items: center;
  min-height: 42px;
}

.score-line span {
  color: var(--soft);
  font-size: 14px;
}

.score-line strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

meter {
  width: 100%;
  height: 10px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--acid));
}

meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--acid));
}

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

.workflow-track article {
  position: relative;
  min-height: 250px;
  padding: 22px;
}

.workflow-track article::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -13px;
  width: 24px;
  height: 1px;
  background: rgba(214, 255, 77, 0.36);
}

.workflow-track article:last-child::after {
  display: none;
}

.workflow-track span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  border: 1px solid rgba(214, 255, 77, 0.42);
  border-radius: 50%;
  color: var(--acid);
  font-weight: 850;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
  padding: 38px;
  border: 1px solid rgba(214, 255, 77, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cta h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 36px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--soft);
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--acid);
}

.legal-main {
  min-height: calc(100vh - 190px);
}

.legal-hero {
  padding: 86px 0 28px;
}

.legal-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.legal-card {
  margin-bottom: 72px;
  padding: 34px;
  border: 1px solid rgba(214, 255, 77, 0.18);
  border-radius: 8px;
  background: rgba(17, 19, 14, 0.96);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 30px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--soft);
  font-size: 22px;
}

.legal-card p {
  max-width: 900px;
  color: var(--muted);
}

.legal-card ul {
  max-width: 900px;
  margin: -4px 0 20px;
  padding-left: 22px;
  color: var(--muted);
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-card a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-bottom: 18px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .terminal {
    max-width: 840px;
  }

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

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .problem-grid,
  .feature-grid,
  .workflow-track {
    grid-template-columns: 1fr 1fr;
  }

  .terminal-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "profile"
      "rank"
      "signal";
  }

  .workflow-track article::after {
    display: none;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section-band,
  .site-footer {
    width: min(100% - 24px, 1220px);
  }

  .brand-copy small {
    white-space: normal;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 29px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .hero-actions a,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-metrics,
  .problem-grid,
  .feature-grid,
  .workflow-track,
  .profile-stats {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    display: none;
  }

  .terminal-top {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

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

  .score-line {
    grid-template-columns: 1fr 38px;
  }

  .score-line span {
    grid-column: 1 / -1;
  }

  .cta {
    padding: 26px;
  }

  .cta h2 {
    font-size: 27px;
  }
}

/* ============================================================
   INDUSTRIAL ANCHOR OVERRIDE (2026-07-10)
   Flat / pitch-black / JetBrains Mono / 1px borders / brand blue #2E5EFF.
   Kills all rounded corners, shadows, glows, and legacy lime/mint/cyan accents.
   ============================================================ */

/* Flatten everything: no rounded corners, no shadows anywhere */
*,
*::before,
*::after {
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Mono typography across the board */
html,
body,
h1, h2, h3, h4, p, a, span, strong, em, small,
button, input, select, textarea,
.brand-copy strong, .brand-copy small {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

/* Headings: tighten weight, keep uppercase kickers blue */
h1 { font-weight: 700; letter-spacing: -0.5px; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

.eyebrow,
.section-kicker,
.legal-meta,
.panel-heading strong {
  color: #2E5EFF !important;
}

/* Nav pill container -> flat bordered */
.nav-links {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: #0a0a0a;
}
.nav-links a:hover {
  background: rgba(46, 94, 255, 0.12);
  color: #fff;
}

/* Primary action = solid brand blue, white text */
.primary-action {
  border: 1px solid #2E5EFF !important;
  background: #2E5EFF !important;
  color: #fff !important;
}
.primary-action:hover {
  background: #1f4fe0 !important;
  border-color: #1f4fe0 !important;
}

/* Secondary action = ghost bordered blue */
.secondary-action {
  border: 1px solid rgba(46, 94, 255, 0.5) !important;
  background: transparent !important;
  color: #2E5EFF !important;
}
.secondary-action:hover {
  background: rgba(46, 94, 255, 0.10) !important;
}

/* Hover lift is fine; no glow */
.nav-cta:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: none;
}

/* Cards / panels -> warm-black + hairline border */
.hero-metrics div,
.profile-stats div,
.problem-grid article,
.feature-grid article,
.workflow-track article,
.rank-panel,
.profile-panel,
.signal-panel,
.score-board,
.terminal,
.cta,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: #0a0a0a !important;
}

.terminal::before { border-color: rgba(255, 255, 255, 0.05) !important; }

.rank-panel, .profile-panel, .signal-panel {
  background: #0a0a0a !important;
}
.terminal-grid { background: rgba(255, 255, 255, 0.10); }

/* Terminal logo / status */
.terminal-logo { border: 1px solid rgba(255, 255, 255, 0.16) !important; }
.status-dot { background: #00E676 !important; }
.terminal-pill {
  border: 1px solid rgba(46, 94, 255, 0.4) !important;
  color: #2E5EFF !important;
}

/* Score / signal accents */
.score-header strong { color: #2E5EFF !important; }

/* Signal bars -> brand blue (except semantic if any) */
.bar { background: rgba(255, 255, 255, 0.08) !important; }
.bar span,
.bar.cyan span,
.bar.amber span,
.bar.violet span {
  background: #2E5EFF !important;
}

/* Meter -> flat blue, no gradient */
meter::-webkit-meter-bar { background: rgba(255, 255, 255, 0.08) !important; }
meter::-webkit-meter-optimum-value { background: #2E5EFF !important; }
meter::-moz-meter-bar { background: #2E5EFF !important; }

/* Problem-number chips / feature tokens / workflow steps -> blue outline */
.problem-grid span {
  border: 1px solid rgba(46, 94, 255, 0.4) !important;
  color: #2E5EFF !important;
}
.feature-token {
  border: 1px solid rgba(46, 94, 255, 0.4) !important;
  color: #2E5EFF !important;
}
.workflow-track span {
  border: 1px solid rgba(46, 94, 255, 0.4) !important;
  color: #2E5EFF !important;
}
.workflow-track article::after { background: rgba(46, 94, 255, 0.4) !important; }

/* Alert line -> brand blue (behavior tag, not P/L), flat */
.alert-line {
  border: 1px solid rgba(46, 94, 255, 0.3) !important;
  background: rgba(46, 94, 255, 0.06) !important;
}
.alert-line span { color: #2E5EFF !important; }

/* Flow canvas bg pure black */
#flowCanvas {
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  background: #000 !important;
}

/* Footer / legal links -> blue on hover */
.footer-links a:hover { color: #2E5EFF !important; }
.legal-card a { color: #2E5EFF !important; }

/* Wallet hot row uses brand blue instead of lime */
.wallet-row.is-hot { color: #2E5EFF !important; }
