:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: #101522;
  --panel-2: #151c2c;
  --line: #27314a;
  --text: #f4f7ff;
  --muted: #a6b0c8;
  --blue: #73a7ff;
  --mint: #5fe0b7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 70% 0%, #142347 0, transparent 34rem), var(--bg); color: var(--text); }
a { color: inherit; }
button, input { font: inherit; }

.nav, main, footer { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #40629c; border-radius: 10px; background: linear-gradient(145deg, #263e70, #10182c); color: var(--blue); font-size: 12px; }
.github-link { color: var(--muted); text-decoration: none; font-size: 14px; }
.github-link:hover { color: var(--text); }

.hero { min-height: 680px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 80px 0 100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(16,21,34,.72); color: var(--muted); font-size: 13px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
h1 { margin: 30px 0 22px; max-width: 900px; font-size: clamp(48px, 7vw, 84px); line-height: .98; letter-spacing: -.065em; }
h1 span { color: var(--blue); }
.lede { max-width: 720px; margin: 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; }
.hero-actions a { border-radius: 10px; padding: 12px 17px; text-decoration: none; font-size: 14px; font-weight: 700; }
.primary-action { background: var(--blue); color: #07101f; }
.secondary-action { border: 1px solid var(--line); background: rgba(16,21,34,.72); color: var(--text); }
.hero-actions a:hover { transform: translateY(-1px); }

.command-card { width: min(790px, 100%); margin-top: 48px; overflow: hidden; text-align: left; border: 1px solid #31405f; border-radius: 16px; background: rgba(11,15,25,.9); box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.command-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.command-header button { border: 0; border-radius: 7px; padding: 6px 11px; background: #22304c; color: var(--text); cursor: pointer; }
pre { margin: 0; padding: 25px 20px; overflow-x: auto; color: #c8d9ff; font-size: 15px; }
.controls { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; padding: 15px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.controls label:first-child { display: flex; align-items: center; gap: 8px; color: var(--text); }
.url-control { margin-left: 10px; }
.controls input[type="url"] { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #090d16; color: var(--text); }
.controls input:disabled { opacity: .4; }
.copy-status { min-height: 0; margin: 0; padding: 0 16px; color: var(--mint); font-size: 12px; }
.copy-status:not(:empty) { padding-bottom: 12px; }

.pipeline { padding: 110px 0; border-top: 1px solid var(--line); }
.report { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; padding: 110px 0; border-top: 1px solid var(--line); }
.report-card { align-self: center; overflow: hidden; border: 1px solid #31405f; border-radius: 16px; background: rgba(11,15,25,.9); box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.report-header { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 13px ui-monospace, monospace; }
.report-pass { color: var(--mint); }
.signal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.signal-grid div { display: grid; gap: 7px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-grid div:nth-child(even) { border-right: 0; }
.signal-grid span, .recommendation span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.signal-grid strong { font-size: 17px; }
.recommendation { display: grid; gap: 8px; padding: 22px 20px; }
.recommendation strong { color: var(--blue); }
.recommendation p { margin: 0; color: var(--muted); line-height: 1.5; }
.section-heading p, .kicker { margin: 0 0 12px; color: var(--mint); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
h2 { margin: 0; max-width: 720px; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 55px 0 0; padding: 0; list-style: none; }
.steps li { min-height: 270px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(150deg, var(--panel-2), var(--panel)); }
.step-number { color: var(--blue); font: 700 12px ui-monospace, monospace; }
h3 { margin: 70px 0 12px; font-size: 24px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; }

.trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 110px 0; border-top: 1px solid var(--line); }
.trust ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.trust li { display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.trust li span { color: var(--muted); line-height: 1.45; }
.action-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 110px 0; border-top: 1px solid var(--line); }
.action-copy { max-width: 580px; color: var(--muted); line-height: 1.65; }
.workflow { border: 1px solid #31405f; border-radius: 14px; background: #0b0f19; line-height: 1.8; }
footer { display: flex; justify-content: space-between; padding: 34px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 850px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .report, .trust, .action-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .nav, main, footer { width: min(100% - 24px, 1160px); }
  .github-link { font-size: 0; }
  .github-link span { font-size: 18px; }
  .hero { padding-top: 50px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .controls { grid-template-columns: 1fr; }
  .url-control { margin: 4px 0 -6px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 220px; }
  h3 { margin-top: 45px; }
  .trust li { grid-template-columns: 1fr; gap: 7px; }
  footer { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
