:root {
  color-scheme: light;
  --border: #e5e0d3;
  --text: #23201a;
  --muted: #6f675a;
  --accent: #bc4a12;
  --accent-dark: #96390d;
  --accent-soft: #f7e7d6;
  --card: #fffdf7;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 14px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 12px 32px rgb(188 74 18 / 0.18);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(640px 300px at 85% -60px, rgb(188 74 18 / 0.1), transparent 70%),
    #faf7f0;
  line-height: 1.55;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgb(255 253 247 / 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.logo { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
nav a {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Hero */
main { padding: 28px 0 64px; }
.hero { padding: 28px 0 12px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  border: 1px solid rgb(188 74 18 / 0.3);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin: 0 0 14px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 .grad {
  background: linear-gradient(100deg, var(--accent) 20%, #7b2d0e 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 14px; }
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 14px 36px rgb(188 74 18 / 0.24); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); box-shadow: var(--shadow-md); }
.links, .note, footer p { font-size: 14px; color: var(--muted); }
.note a, footer a { color: var(--accent); }

/* Terminal blocks */
.term { position: relative; }
pre {
  background: #101418;
  color: #f5f5f5;
  border: 1px solid #2a3138;
  border-radius: var(--radius);
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  margin: 10px 0 0;
}
pre code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; background: none; padding: 0; }
.copy {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #cfd6dd;
  background: #232a31;
  border: 1px solid #39424b;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.copy:hover { background: #2f3841; color: #fff; }
/* Inline code only — never inside terminal blocks */
p > code, li > code, td > code, dd > code, summary > code {
  background: #eee8d8;
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.9em;
}

/* Steps as cards */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li {
  counter-increment: step;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 16px 16px 60px;
  margin-bottom: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.steps > li:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Options table */
.table-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); }
tr:last-child th, tr:last-child td { border-bottom: none; }
tbody tr { transition: background 0.12s; }
tbody tr:hover { background: var(--accent-soft); }
th { background: #f4efe2; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* Check list */
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #e6f4ea;
  color: #137333;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FAQ accordions */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
details[open] { box-shadow: var(--shadow-md); }
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
}
details[open] summary::after { content: "–"; }
details .answer { padding: 0 16px 16px; color: var(--muted); margin: 0; }

footer { border-top: 1px solid var(--border); padding: 20px 0 36px; }
@media (min-width: 768px) {
  h1 { font-size: 44px; }
  main { padding-top: 44px; }
}
