:root {
  --bg: #0c0e11;
  --bg-alt: #11151a;
  --panel: #151b22;
  --line: #232c36;
  --text: #e7e3d8;
  --muted: #9aa4ae;
  --amber: #f2b544;
  --amber-soft: #ffd27a;
  --teal: #54d6c4;
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

img, svg, video { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(242, 181, 68, .12), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, calc(100% - 2.5rem)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: #1a1205; padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 14, 17, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.brand:hover { text-decoration: none; color: var(--amber); }
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: .92rem; }
nav a:hover { color: var(--amber-soft); text-decoration: none; }

.hero { padding: 4.5rem 0 2.5rem; text-align: center; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08; margin: 0 0 1.2rem; letter-spacing: -.02em;
  background: linear-gradient(180deg, #fff 10%, var(--amber) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.12rem; color: #cfd4d9; max-width: 46rem; margin: 0 auto 1.8rem; }
.lede strong { color: var(--text); }

.cta-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin: 0 0 2.6rem; }

.btn {
  display: inline-block; padding: .78rem 1.4rem; border-radius: .55rem;
  font-weight: 700; font-size: .98rem; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: #1a1205; box-shadow: 0 8px 30px rgba(242, 181, 68, .28); }
.btn-primary:hover { background: var(--amber-soft); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--panel); }
.btn-ghost:hover { border-color: var(--amber); }

figure { margin: 0; }
figure img { width: 100%; height: auto; display: block; border-radius: .6rem; border: 1px solid var(--line); }
figcaption { color: var(--muted); font-size: .88rem; margin-top: .6rem; text-align: center; }
.hero-shot { max-width: 820px; margin: 0 auto; }
.hero-shot img { box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-block: 1px solid var(--line); padding: 1.6rem 0; margin: 1rem auto 0;
}
.fact { text-align: center; }
.fact-value { display: block; font-family: var(--mono); font-size: 1.9rem; color: var(--amber); }
.fact-label { color: var(--muted); font-size: .85rem; }

.section { padding: 4rem 0; }
.section.alt {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: .9rem;
  padding: 2.8rem 2.2rem;
  margin-block: 1.6rem;
}
.section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .8rem; letter-spacing: -.01em; }
.section-lede { color: #c3cbd3; max-width: 44rem; margin: 0 0 2rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: step; align-items: start; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: .7rem; padding: 1.2rem; min-width: 0; }
.steps li::before {
  content: "0" counter(step); font-family: var(--mono); color: var(--teal); font-size: .85rem;
  display: block; margin-bottom: .4rem;
}
.steps h3 { margin: .2rem 0 .4rem; font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.steps img { display: block; width: 100%; height: auto; margin-top: .3rem; border: 1px solid var(--line); border-radius: .45rem; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.2rem; align-items: center; }
.split h2 { margin-top: 0; }

.checks { margin: 1.2rem 0 0; padding-left: 1.2rem; color: #c3cbd3; }
.checks li { margin-bottom: .5rem; }

pre {
  max-width: 100%;
  background: #0a0d10; border: 1px solid var(--line); border-radius: .6rem;
  padding: 1rem 1.1rem; overflow-x: auto; font-size: .88rem; line-height: 1.55;
}
code { font-family: var(--mono); font-size: .92em; color: var(--amber-soft); }
pre code { color: #d7e0e8; }

.muted { color: var(--muted); font-size: .92rem; }

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 1.2rem; }
.download-card {
  display: flex; flex-direction: column; gap: .25rem; padding: 1.2rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: .7rem;
  color: var(--text); transition: border-color .15s ease, transform .15s ease;
}
.download-card:hover { border-color: var(--amber); text-decoration: none; transform: translateY(-2px); }
.download-card .os { font-weight: 700; font-size: 1.05rem; }
.download-card .arch { color: var(--muted); font-size: .85rem; font-family: var(--mono); }

details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; }
summary::marker { color: var(--amber); }
details p { color: #c3cbd3; margin: .7rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2.4rem 0 3rem; color: var(--muted); font-size: .9rem; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; padding: 0; margin: 1rem 0; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--amber); }

@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .steps, .split, .download-grid { grid-template-columns: 1fr; }
  .section.alt { padding: 2rem 1.2rem; }
  nav { gap: .8rem; font-size: .9rem; }
  .hero { padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .download-card { transition: none; }
}

/* Extraction: one row per step, text beside a readable screenshot. */
.extract-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; counter-reset: step; }
.extract-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr);
  gap: 1.8rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: .7rem;
  padding: 1.4rem;
  min-width: 0;
}
.extract-steps li:nth-child(even) { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.extract-steps li:nth-child(even) .step-text { order: 2; }
.extract-steps li:nth-child(even) img { order: 1; }
.step-num { font-family: var(--mono); color: var(--teal); font-size: .85rem; letter-spacing: .12em; }
.extract-steps h3 { margin: .25rem 0 .5rem; font-size: 1.1rem; }
.extract-steps p { margin: 0; color: #c3cbd3; }
.extract-steps img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: .5rem; }

@media (max-width: 860px) {
  .extract-steps li, .extract-steps li:nth-child(even) { grid-template-columns: 1fr; }
  .extract-steps li:nth-child(even) .step-text,
  .extract-steps li:nth-child(even) img { order: 0; }
}
