:root {
  --ink: #19201b;
  --muted: #69716b;
  --paper: #f3f1e9;
  --card: #fbfaf5;
  --line: #d8d8cf;
  --green: #2f684d;
  --green-soft: #dfe9de;
  --yellow: #e6c558;
  --code: #202821;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, a { font: inherit; }
a { color: inherit; }

.site-header { height: 76px; padding: 0 5vw; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.03em; font-size: 18px; }
.brand-mark { width: 27px; height: 27px; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); gap: 2px; transform: rotate(45deg); }
.brand-mark i { display: block; border-radius: 2px; background: var(--green); }
.brand-mark i:nth-child(1) { grid-area: 1/2; }.brand-mark i:nth-child(2) { grid-area: 2/1; }.brand-mark i:nth-child(3) { grid-area: 2/2; background: var(--yellow); }.brand-mark i:nth-child(4) { grid-area: 2/3; }.brand-mark i:nth-child(5) { grid-area: 3/2; }
.header-actions { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.page-nav { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 5px; }
.page-nav a { padding: 7px 10px; border-radius: 3px; color: var(--muted); text-decoration: none; font-size: 10px; font-weight: 700; }
.page-nav a.active { color: white; background: var(--green); }
.local-pill { display: flex; align-items: center; gap: 7px; color: var(--green); font-weight: 700; }
.local-pill span { width: 7px; height: 7px; border-radius: 50%; background: #4a956d; box-shadow: 0 0 0 4px #dce9de; }
.ghost-link { text-decoration: none; font-weight: 600; }

.hero { max-width: 1180px; margin: 0 auto; padding: 105px 32px 92px; }
.eyebrow { color: var(--green); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.eyebrow span { color: #fff; background: var(--green); padding: 5px 6px; border-radius: 3px; }
.hero h1 { max-width: 760px; font-size: clamp(58px, 8vw, 106px); line-height: .91; letter-spacing: -.07em; margin: 24px 0 30px; font-weight: 600; }
.hero h1 em { color: var(--green); font-family: Georgia, serif; font-weight: 400; }
.hero > p { max-width: 635px; color: #59615b; font-size: 18px; line-height: 1.7; }
.hero-meta { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 28px; color: #4f5952; font-size: 12px; font-weight: 600; }
.hero-meta span { display: flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 17px; fill: none; stroke: var(--green); stroke-width: 1.6; }

.setup-shell { max-width: 1180px; padding: 0 32px 120px; margin: 0 auto; display: grid; grid-template-columns: 245px minmax(0, 760px); gap: 76px; align-items: start; }
.step-nav { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 8px; padding-left: 1px; }
.progress-track { position: absolute; left: 18px; top: 24px; bottom: 29px; width: 1px; background: var(--line); z-index: -1; }
.progress-track span { display: block; width: 100%; height: 0%; background: var(--green); transition: height .35s ease; }
.step-link { appearance: none; border: 0; background: transparent; text-align: left; display: grid; grid-template: 36px auto / 36px 1fr; column-gap: 14px; padding: 10px 0; color: var(--muted); cursor: pointer; }
.step-link > span { grid-row: 1/3; width: 36px; height: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; transition: .2s ease; }
.step-link b { align-self: end; font-size: 12px; color: #626a64; }
.step-link small { font-size: 10px; margin-top: 3px; }
.step-link.active > span, .step-link.done > span { background: var(--green); border-color: var(--green); color: white; }
.step-link.active b, .step-link.done b { color: var(--ink); }
.step-link.done > span { font-size: 0; }.step-link.done > span::after { content: "✓"; font-size: 12px; }

.steps { display: flex; flex-direction: column; gap: 22px; }
.step-card { background: var(--card); border: 1px solid #ddddd5; border-radius: 6px; padding: 38px 42px 36px; box-shadow: 0 8px 30px rgba(35, 43, 36, .035); scroll-margin-top: 24px; transition: border-color .25s ease, transform .25s ease; }
.step-card.is-current { border-color: #9fb4a5; }
.step-heading { display: flex; gap: 18px; align-items: flex-start; }
.step-heading > span { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; color: var(--green); background: var(--green-soft); border-radius: 3px; padding: 6px; margin-top: 2px; }
.step-heading p { text-transform: uppercase; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .14em; margin: 0 0 6px; }
.step-heading h2 { font-size: 26px; letter-spacing: -.04em; margin: 0; }
.step-copy { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 23px 0; }
.step-copy a, .note a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.platform-tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 5px; padding: 3px; margin: 0 0 13px; }
.platform-tab { border: 0; color: var(--muted); background: transparent; border-radius: 3px; padding: 7px 12px; font-size: 10px; font-weight: 700; cursor: pointer; }
.platform-tab.active { color: white; background: var(--green); }
.command { overflow: hidden; border-radius: 5px; background: var(--code); color: #e7eee7; box-shadow: 0 9px 22px rgba(24, 31, 25, .1); }
.command-top { height: 37px; border-bottom: 1px solid #354037; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 16px; color: #a6b0a7; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.copy-btn { border: 0; color: #ced7ce; background: transparent; cursor: pointer; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; padding: 7px; }
.copy-btn:hover { color: white; }
pre { margin: 0; padding: 20px 18px 22px; overflow: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; line-height: 2; }
.prompt { color: var(--yellow); user-select: none; }
.note, .success-preview { margin-top: 16px; border: 1px solid #ceddce; background: #edf3e9; color: #4e5b51; padding: 14px 16px; display: flex; align-items: flex-start; gap: 11px; border-radius: 5px; font-size: 10px; line-height: 1.65; }
.note > span { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; border: 1px solid var(--green); color: var(--green); border-radius: 50%; font-family: Georgia, serif; font-weight: bold; }
.note p, .success-preview p { margin: 0; }
.success-preview > span { color: var(--green); font-weight: 700; }
.success-preview code, .microcopy code { font-size: 9px; color: var(--green); }
.complete-btn { margin-top: 22px; border: 1px solid var(--line); color: var(--green); background: transparent; border-radius: 4px; padding: 9px 12px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .2s ease; }
.complete-btn span { margin-right: 5px; }
.complete-btn:hover, .complete-btn.completed { color: white; border-color: var(--green); background: var(--green); }
.microcopy { color: var(--muted); font-size: 10px; margin: 14px 0 0; }
.finish-banner { display: flex; align-items: center; gap: 15px; margin-top: 21px; padding: 19px; border-radius: 5px; background: var(--green); color: white; }
.finish-icon { width: 37px; height: 37px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; border-radius: 50%; }
.finish-banner p { text-transform: uppercase; letter-spacing: .13em; opacity: .72; font-size: 8px; margin: 0 0 4px; }
.finish-banner h3 { font-size: 15px; margin: 0; }
.finish-banner button { margin-left: auto; border: 1px solid rgba(255,255,255,.35); background: transparent; color: white; border-radius: 4px; padding: 8px 10px; font-size: 9px; cursor: pointer; }

.faq { max-width: 1180px; margin: 0 auto; padding: 30px 32px 130px; }
.faq-heading { max-width: 620px; margin: 0 0 34px; }
.faq-heading h2 { font-size: 34px; letter-spacing: -.04em; margin: 12px 0 12px; }
.faq-heading p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq-item { background: var(--card); border: 1px solid #ddddd5; border-radius: 6px; box-shadow: 0 8px 30px rgba(35, 43, 36, .035); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 46px 20px 24px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-answer { padding: 4px 24px 22px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.faq-item .faq-answer p { margin: 0 0 12px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }
.faq-item .faq-answer code { font-size: 12px; color: var(--green); }
.faq-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--green); background: var(--green-soft); border-radius: 3px; padding: 4px 8px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }

footer { min-height: 90px; border-top: 1px solid var(--line); padding: 0 5vw; display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 10px; }
footer span { color: var(--ink); font-weight: 700; } footer a { margin-left: auto; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: white; border-radius: 4px; padding: 10px 14px; font-size: 10px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .hero { padding-top: 72px; }
  .setup-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .step-nav { position: static; flex-direction: row; overflow-x: auto; padding: 0 0 8px; min-width: 0; }
  .progress-track, .step-link small { display: none; }
  .step-link { min-width: 130px; grid-template: auto / 28px 1fr; align-items: center; column-gap: 8px; }
  .step-link > span { grid-row: 1; width: 28px; height: 28px; }
  .step-link b { align-self: center; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 20px; }.local-pill, .ghost-link { display: none; }.header-actions { gap: 0; }
  .hero, .setup-shell { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 56px; }.hero > p { font-size: 15px; }.hero-meta { gap: 14px; flex-direction: column; }
  .step-card { padding: 28px 22px; }.step-heading h2 { font-size: 22px; }
  .finish-banner { align-items: flex-start; flex-wrap: wrap; }.finish-banner button { margin-left: 52px; }
  .faq { padding-left: 20px; padding-right: 20px; }.faq-heading h2 { font-size: 26px; }
  .faq-item summary { padding: 17px 40px 17px 18px; font-size: 14px; }.faq-item .faq-answer { padding: 4px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
