:root {
  --ink: #14110f;
  --paper: #fbf3e7;
  --paper-dim: #f1e6d3;
  --signal: #ff5a36;
  --signal-soft: #ffe4da;
  --cyan: #22d3ee;
  --line: rgba(20, 17, 15, 0.14);
  --radius: 1rem;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow: 0 12px 32px -18px rgba(20, 17, 15, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1, h2, h3 {
  text-wrap: balance;
  line-height: 1.1;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 150ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.75rem 5vw;
  background: rgba(251, 243, 231, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.brand img {
  border-radius: 0.5rem;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

nav a {
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.25rem;
}

.nav-cta {
  padding: 0.55rem 0.9rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--signal);
  color: var(--ink);
}

section {
  padding: clamp(3rem, 8vw, 6rem) 5vw;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(3rem, 9vw, 6rem);
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4a4038;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.hero-deck {
  max-width: 44rem;
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: #383028;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.3rem;
  border-radius: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.button-primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.button-primary:hover {
  background: #ff7256;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 0.3rem;
}

.hero-art {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-label {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.section-label-invert {
  color: var(--signal-soft);
}

.path {
  background: var(--paper-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.stepper li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.2rem;
  border-radius: 0.6rem;
  background: var(--ink);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.stepper h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.stepper p {
  margin: 0;
  color: #4a4038;
}

.outcome-grid {
  display: grid;
  gap: 1.25rem;
}

.outcome-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.outcome-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--signal);
  margin-bottom: 0.6rem;
}

.outcome-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.outcome-card p:last-child {
  margin: 0;
  color: #4a4038;
}

.start-here {
  display: grid;
  gap: 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

.start-copy h2 {
  color: var(--paper);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.start-copy p {
  color: #d8cdbf;
  margin-top: 0.75rem;
}

.repo-panel {
  padding: 1.5rem;
  border: 1px solid rgba(251, 243, 231, 0.2);
  border-radius: var(--radius);
  background: rgba(251, 243, 231, 0.05);
}

.repo-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #d8cdbf;
  margin-bottom: 0.5rem;
}

.repo-link {
  display: inline-block;
  color: var(--cyan);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 0.25rem;
}

.clone-row {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.clone-row code {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  background: rgba(251, 243, 231, 0.08);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(251, 243, 231, 0.2);
}

.clone-row button {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  border: 2px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.clone-row button:hover {
  background: #ff7256;
}

.copy-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: #b4a897;
}

.copy-status {
  min-height: 1.4em;
  margin: 0.4rem 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.site-footer {
  display: grid;
  gap: 0.4rem;
  padding: 2rem 5vw;
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 600;
}

.site-footer a {
  font-weight: 700;
  text-underline-offset: 0.25rem;
}

@media (min-width: 60rem) {
  nav {
    gap: 1.25rem;
    font-size: 0.95rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }

  .stepper {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .start-here {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .clone-row {
    grid-template-columns: 1fr auto;
    align-items: stretch;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .site-footer p:nth-child(2) {
    text-align: center;
  }
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
