:root {
  --guide-bg: #151518;
  --guide-panel: #202023;
  --guide-line: rgba(255, 255, 255, .11);
  --guide-text: #f5f5f2;
  --guide-muted: #aaaab0;
  --guide-green: #69d38c;
  --guide-cyan: #71c9df;
  --guide-amber: #f2b85c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--guide-bg); color: var(--guide-text); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.guide-nav { position: sticky; z-index: 4; top: 0; display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(24px, calc((100% - 1120px) / 2)); background: rgba(21, 21, 24, .92); border-bottom: 1px solid var(--guide-line); backdrop-filter: blur(14px); }
.guide-brand { display: inline-flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.guide-brand img { border-radius: 6px; }
.guide-nav nav { display: flex; align-items: center; gap: 20px; color: var(--guide-muted); font-size: 13px; }
.guide-nav nav a:hover { color: var(--guide-text); }
.guide-download, .guide-primary { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 9px; padding: 9px 15px; border-radius: 7px; background: var(--guide-green); color: #102217; font-weight: 700; }

main { overflow: hidden; }
.guide-hero, .guide-section, .guide-footer { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.guide-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: 72px; align-items: center; min-height: 590px; padding: 74px 0 72px; }
.guide-kicker { margin: 0 0 14px; color: var(--guide-green); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 560px; margin-bottom: 22px; font-family: Georgia, serif; font-size: 56px; font-weight: 500; line-height: 1.08; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-family: Georgia, serif; font-size: 35px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
h3 { margin-bottom: 7px; font-size: 16px; }
p { color: var(--guide-muted); }
.guide-hero p:not(.guide-kicker) { max-width: 480px; margin-bottom: 28px; font-size: 17px; }
.guide-shot { margin: 0; overflow: hidden; border: 1px solid var(--guide-line); border-radius: 8px; background: #050506; }
.guide-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.guide-shot figcaption { padding: 10px 12px 11px; color: #77777d; font-size: 12px; background: #1d1d20; }

.guide-section { padding: 100px 0; border-top: 1px solid var(--guide-line); }
.guide-steps { display: grid; gap: 0; max-width: 850px; margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--guide-line); }
.guide-steps li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--guide-line); }
.guide-steps span { color: var(--guide-green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.guide-steps p { max-width: 680px; margin-bottom: 0; }

.guide-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border-top: 1px solid var(--guide-line); border-bottom: 1px solid var(--guide-line); background: var(--guide-line); }
.guide-band > div { min-height: 185px; padding: 34px clamp(24px, 4vw, 64px); background: var(--guide-panel); }
.guide-band h3 { margin-top: 17px; }
.guide-band p { margin-bottom: 0; font-size: 14px; }
.guide-state { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
.guide-state-running { color: var(--guide-cyan); }
.guide-state-attention { color: var(--guide-amber); }
.guide-state-complete { color: var(--guide-green); }

.guide-two-column { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 96px; }
.guide-notes { display: grid; gap: 0; border-top: 1px solid var(--guide-line); }
.guide-notes article { padding: 20px 0; border-bottom: 1px solid var(--guide-line); }
.guide-notes p { margin-bottom: 0; font-size: 14px; }
.guide-privacy { max-width: none; width: 100%; padding-right: max(24px, calc((100% - 1120px) / 2)); padding-left: max(24px, calc((100% - 1120px) / 2)); background: #1d1d20; }
.guide-privacy > p { max-width: 650px; }
.guide-privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.guide-privacy-grid article { padding: 24px; border: 1px solid var(--guide-line); border-radius: 8px; background: var(--guide-bg); }
.guide-privacy-grid p { margin-bottom: 0; font-size: 14px; }
.guide-support { text-align: center; }
.guide-support > p { max-width: 680px; margin-right: auto; margin-left: auto; }
.guide-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.guide-secondary { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--guide-line); border-radius: 7px; color: var(--guide-text); font-size: 14px; }
.guide-secondary:hover { border-color: var(--guide-muted); }
.guide-footer { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 28px 0 42px; border-top: 1px solid var(--guide-line); color: var(--guide-muted); font-size: 13px; }
.guide-footer a:hover { color: var(--guide-text); }

@media (max-width: 840px) {
  .guide-hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-top: 64px; }
  .guide-shot { max-width: 680px; margin-inline: auto; }
  .guide-two-column { grid-template-columns: 1fr; gap: 42px; }
  .guide-privacy-grid { grid-template-columns: 1fr; max-width: 620px; }
}

@media (max-width: 640px) {
  .guide-nav { min-height: 58px; padding: 10px 18px; }
  .guide-nav nav { gap: 14px; font-size: 12px; }
  .guide-nav nav a:not(.guide-download) { display: none; }
  .guide-hero, .guide-section, .guide-footer { width: min(100% - 36px, 1120px); }
  .guide-hero { padding: 56px 0; }
  h1 { font-size: 39px; }
  h2 { font-size: 29px; }
  .guide-section { padding: 66px 0; }
  .guide-steps li { grid-template-columns: 48px 1fr; gap: 12px; }
  .guide-band { grid-template-columns: 1fr; }
  .guide-band > div { min-height: 0; padding: 26px 18px; }
  .guide-privacy { width: 100%; padding-right: 18px; padding-left: 18px; }
  .guide-privacy-grid article { padding: 20px; }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-actions a { width: 100%; }
}
