:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; color: #123047; background: #f5f8f8; --ink: #123047; --muted: #526a75; --line: #dbe7e7; --teal: #176e68; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
::selection { background: #c9e9df; color: var(--ink); }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { color: #104f4b; }
a:focus-visible, button:focus-visible { outline: 3px solid #176e68; outline-offset: 4px; }
.site-header, main, footer { max-width: 1080px; margin: auto; padding-left: 28px; padding-right: 28px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 18px; font-weight: 750; text-decoration: none; }
.brand span { display: block; font-size: 14px; font-weight: 450; color: var(--muted); }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { font-size: 15px; font-weight: 650; }
main { padding-top: 56px; padding-bottom: 56px; }
.intro { max-width: 740px; margin-bottom: 44px; }
h1 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 24px; text-wrap: balance; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 20px; }
h3 { font-size: 20px; line-height: 1.35; margin: 26px 0 10px; }
p { margin: 0 0 18px; max-width: 70ch; }
.lead { font-size: 20px; color: var(--muted); line-height: 1.6; max-width: 56ch; }
section + section { margin-top: 56px; }
.reading { max-width: 760px; }
.reading li { margin-bottom: 10px; }
.directory, .prompts { list-style: none; margin: 0; padding: 0; }
.directory-row { display: flex; justify-content: space-between; gap: 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); }
.directory-row:last-child { border-bottom: 1px solid var(--line); }
.directory-row h3 { margin: 0 0 8px; }
.directory-row h3 a { color: var(--ink); }
.directory-row p { max-width: 59ch; color: var(--muted); margin: 0; }
.row-action { flex-shrink: 0; font-weight: 650; }
.copy-row, .prompt { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 18px 20px; background: #e8f2ef; border-radius: 10px; margin: 18px 0; }
code { overflow-wrap: anywhere; font-size: 14px; }
button { font: inherit; font-size: 14px; font-weight: 650; color: var(--teal); background: #fff; border: 1px solid #b5cdca; border-radius: 7px; padding: 10px 14px; cursor: pointer; flex-shrink: 0; }
button:hover { background: #f5fbf9; border-color: var(--teal); }
.prompt p { margin: 0; }
.note { color: var(--muted); font-size: 15px; }
.section-nav { padding: 18px 0; margin-bottom: 40px; border-block: 1px solid var(--line); }
.back { display: inline-block; margin-bottom: 28px; }
.caution { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: #fdf3e2; border: 1px solid #eecf9a; border-radius: 10px; margin: 0 0 40px; }
.caution strong { display: block; margin-bottom: 4px; }
.caution p { margin: 0; max-width: none; }
.setup-steps { padding-left: 24px; margin: 0; }
.setup-steps li { margin-bottom: 20px; }
.guide-intro { margin-bottom: 28px; }
.guide-intro h1 { text-wrap: pretty; }
.eyebrow { color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.prerequisites { background: #e8f2ef; border: 1px solid #c9ddda; border-radius: 14px; padding: 24px 28px; margin-bottom: 36px; }
.prerequisites h2 { font-size: 21px; margin-bottom: 10px; }
.prerequisites ul { margin: 0; padding-left: 21px; }
.prerequisites p { margin: 0; }
.guide-stage { max-width: 900px; border: 1px solid #c9ddda; border-radius: 18px; padding: 28px; background: #f8fbfa; }
.stage-title { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #c9ddda; }
.stage-title h2 { margin: 0 0 6px; font-size: 32px; line-height: 1.2; }
.stage-number { color: var(--teal); font: inherit; }
.stage-condition { margin: 0 0 0 24px; color: var(--muted); }
.stage-content { margin-left: 24px; }
.stage-options { overflow: hidden; border: 1px solid #c9ddda; border-radius: 12px; background: #fff; }
.mode-panel { margin: 0; padding: 22px; background: #fff; }
.mode-panel + .mode-panel { border-top: 1px solid #c9ddda; }
.mode-panel h3 { margin: 0 0 8px; font-size: 21px; }
.mode-content { margin-left: 20px; }
.mode-panel p { color: var(--muted); }
.manual-panel { background: #fff; }
.manual-panel ol { margin: 6px 0 0; padding-left: 22px; }
.manual-panel li { padding-left: 4px; margin: 0 0 13px; overflow-wrap: anywhere; }
.manual-panel li:last-child { margin-bottom: 0; }
.guide-prompt { overflow: hidden; border: 1px solid #c9ddda; border-radius: 8px; background: #f5f8f7; margin-top: 16px; }
.guide-prompt-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; min-height: 46px; padding: 6px 10px; border-bottom: 1px solid #c9ddda; background: #e8f2ef; }
.guide-copy-feedback { color: var(--teal); font-size: 13px; font-weight: 650; }
.guide-copy-button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 9px; }
.guide-copy-button svg { width: 17px; height: 17px; }
.guide-prompt pre { max-width: 100%; margin: 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; font: 15px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; user-select: text; }
.stage-note { max-width: 850px; margin-top: 18px; color: var(--muted); }
.reference-panel { max-width: 850px; margin: 20px 0; padding: 24px; background: #e8f2ef; border-radius: 14px; }
.reference-panel h3 { margin: 0 0 8px; }
.reference-panel p { margin-bottom: 14px; }
.reference-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: 12px; margin-top: 20px; }
.reference-image { display: block; min-width: 0; margin: 0; overflow: hidden; background: white; border: 1px solid #c9ddda; border-radius: 9px; font-size: 13px; font-weight: 650; }
.reference-image img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.reference-image figcaption { padding: 8px 10px; }
.reference-panel h4, .dry-run-list h4 { margin: 18px 0 8px; font-size: 17px; line-height: 1.35; }
.dry-run-list { list-style: decimal; }
.dry-run-list h4 { margin: 0 0 7px; }
.dry-run-list .guide-prompt { margin-top: 0; }
.download-row { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 14px 18px; background: #e8f2ef; border-radius: 10px; margin-top: 10px; max-width: 620px; }
.download-row p { margin: 0; max-width: 46ch; color: var(--muted); }
a.btn { display: inline-block; flex-shrink: 0; font-weight: 650; color: var(--teal); background: #fff; border: 1px solid #b5cdca; border-radius: 7px; padding: 10px 14px; text-decoration: none; }
a.btn:hover { background: #f5fbf9; border-color: var(--teal); }
footer { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 36px; color: var(--muted); font-size: 13px; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; padding: 12px 28px; }
@media (max-width: 640px) {
  .site-header, main, footer { padding-left: 20px; padding-right: 20px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  main { padding-top: 36px; }
  .directory-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .copy-row, .prompt { align-items: flex-start; flex-direction: column; gap: 14px; }
  .lead { font-size: 18px; }
  section + section { margin-top: 40px; }
  .caution, .download-row { flex-direction: column; align-items: flex-start; }
  .setup-steps { padding-left: 20px; }
  .guide-stage { padding: 18px; }
  .stage-title h2 { font-size: 27px; }
  .stage-content { margin-left: 12px; }
  .stage-condition { margin-left: 12px; }
  .mode-panel, .reference-panel, .prerequisites { padding: 16px; }
  .mode-content { margin-left: 10px; }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 120px)); }
}
@media (max-width: 360px) {
  .site-header, main, footer { padding-left: 16px; padding-right: 16px; }
  .guide-stage { padding: 14px; }
  .stage-content, .stage-condition { margin-left: 8px; }
  .mode-panel, .reference-panel { padding: 12px; }
  .mode-content { margin-left: 8px; }
  .guide-prompt pre { padding: 12px; }
}
