/* CommandFixer GitHub Pages site. Dark, terminal-themed, azure + green accent. */
:root {
  --bg: #0c1320;
  --surface: #121b2b;
  --raised: #16202f;
  --border: #21324a;
  --text: #e6ecf3;
  --muted: #93a2b8;
  --accent: #2d8ceb;
  --accent-bright: #4fc3f7;
  --green: #57b94b;
  --green-bright: #6ccb5f;
  --maxw: 1120px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Consolas", "Liberation Mono",
    Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-bright); text-decoration: none; }
a:hover { color: var(--green-bright); }
h1, h2, h3, h4 { line-height: 1.2; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 19, 32, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text);
}
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--accent-bright); }

.hero {
  position: relative;
  text-align: center;
  padding: 100px 0 76px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    58% 50% at 50% 0,
    rgba(45, 140, 235, 0.24),
    transparent 70%
  );
  pointer-events: none;
}
.hero .logo {
  width: 108px;
  height: 108px;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 34px rgba(45, 140, 235, 0.4));
}
.hero h1 {
  font-size: clamp(42px, 7vw, 68px);
  margin: 0;
  letter-spacing: -0.02em;
}
.tagline {
  color: var(--accent-bright);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  margin-top: 10px;
}
.lede {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 19px;
}
.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.15s ease;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-primary:hover { background: var(--green); color: #ffffff; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-bright); }
.badges {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.badges span { margin: 0 10px; }
.release-note { margin-top: 16px; color: var(--muted); font-size: 14px; }

section { padding: 76px 0; }
section.alt {
  background: linear-gradient(180deg, rgba(18, 27, 43, 0.7), transparent);
}
.eyebrow {
  color: var(--accent-bright);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--muted);
  margin: 0 0 42px;
  max-width: none;
  font-size: 17px;
}

/* Terminal mockup */
.termwrap { display: flex; justify-content: center; margin-top: 8px; }
.terminal {
  width: 100%;
  max-width: 760px;
  background: #0a1120;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  text-align: left;
}
.terminal .bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.terminal .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.terminal .bar i.r { background: #e06c60; }
.terminal .bar i.y { background: #e0b350; }
.terminal .bar i.g { background: #57b94b; }
.terminal .bar .ttl {
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}
.terminal pre {
  margin: 0;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  overflow-x: auto;
}
.term-prompt { color: var(--accent-bright); }
.term-typo { color: #e0857c; }
.term-fix { color: var(--green-bright); font-weight: 700; }
.term-muted { color: var(--muted); }
.term-ok { color: var(--green-bright); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.feature .fnum {
  color: var(--green-bright);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.feature h3 { margin: 12px 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Two-column "who it is / is not for" */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.panel h3 { margin: 0 0 14px; font-size: 18px; }
.panel.is-for h3 { color: var(--green-bright); }
.panel.not-for h3 { color: var(--accent-bright); }
.panel ul { margin: 0; padding-left: 18px; }
.panel li { color: var(--muted); margin-bottom: 8px; font-size: 15px; }
.panel li b { color: var(--text); font-weight: 600; }

/* Steps */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.step .n {
  counter-increment: step;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(45, 140, 235, 0.14);
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  font-weight: 700;
}
.step .n::before { content: counter(step); }
.step h3 { margin: 4px 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step code {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--accent-bright);
  background: var(--raised);
  padding: 1px 6px;
  border-radius: 5px;
}

/* Coverage / tools chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
}
.chip b { color: var(--green-bright); font-weight: 700; }

/* Code block */
.codeblock {
  background: #0a1120;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  overflow-x: auto;
  margin-top: 26px;
}
.codeblock pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.codeblock .c { color: var(--muted); }
.codeblock .p { color: var(--accent-bright); }

footer {
  border-top: 1px solid var(--border);
  padding: 50px 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-inner strong { color: var(--text); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(1),
  .nav-links a:nth-child(2) { display: none; }
  .step { grid-template-columns: 1fr; }
  .step .n { display: none; }
}
