:root {
  --bg: #0b0f14;
  --surface: #121824;
  --surface-2: #1a2232;
  --text: #e8edf4;
  --muted: #9fb0c3;
  --accent: #4ea1ff;
  --accent-2: #43c08a;
  --border: #253044;
  --radius: 14px;
  --maxw: 1100px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* safety net against horizontal page scroll */
}
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #042039;
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip-link:focus {
  left: 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}
.brand .no {
  color: var(--muted);
}
.brand .rea {
  color: var(--accent);
}
.nav nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.nav nav a {
  color: var(--text);
  font-size: 0.95rem;
}
@media (max-width: 680px) {
  .nav nav a:not(.btn) {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}
.btn-primary {
  background: var(--accent);
  color: #042039;
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}

/* Hero */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(78, 161, 255, 0.12), transparent),
    radial-gradient(900px 300px at 0% 10%, rgba(67, 192, 138, 0.08), transparent);
}
.hero-in {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-in {
    grid-template-columns: 1fr;
  }
}
.eyebrow {
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -1px;
}
.accent {
  color: var(--accent);
}
.lead {
  font-size: 1.12rem;
  color: #cdd8e6;
  margin: 0 0 1.5rem;
}
.cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.honest {
  color: var(--muted);
  font-size: 0.9rem;
  border-inline-start: 3px solid var(--accent-2);
  padding-inline-start: 0.7rem;
}
.hero-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Bands */
.band {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0;
  border-top: 1px solid var(--border);
}
.band.alt {
  background: var(--surface);
}
.band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.5px;
}
.section-lead {
  color: #cdd8e6;
  max-width: 70ch;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.4rem;
}
@media (max-width: 780px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  color: var(--accent);
}

/* Checks */
.checks {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.8rem;
  max-width: 80ch;
}
.checks li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  position: relative;
  padding-inline-start: 2.4rem;
}
.checks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 1rem;
  color: var(--accent-2);
  font-weight: 800;
}

/* Steps + code */
.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 1.2rem;
}
.steps > li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.steps h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}
pre {
  background: #0a0e15;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  margin: 0;
  max-width: 100%;
}
/* Let grid/flex children shrink so long code scrolls inside its box instead of
   widening the whole page (classic min-width:auto overflow on mobile). */
.hero-in > div,
.card,
.steps > li,
.checks li {
  min-width: 0;
}
code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86rem;
}
pre code {
  color: #d7e3f4;
}
.prompt {
  margin-top: 1.2rem;
  border-color: var(--accent);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--surface);
}
.footer-in p {
  margin: 0.2rem 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.82rem;
}
