:root {
  color-scheme: light;
  --canvas: #f7f5fa;
  --surface: #fefcff;
  --surface-muted: #f1edf6;
  --ink: #211c27;
  --muted: #6c6375;
  --line: #ded7e5;
  --accent: #6d38ce;
  --accent-dark: #4b2385;
  --accent-soft: #eee6fc;
  --success: #147249;
  --warning: #fff4c7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: var(--accent-dark); }
code, kbd { padding: 2px 6px; border: 1px solid #d9cfea; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark); font: 650 .9em/1.45 "Cascadia Mono", Consolas, monospace; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 max(22px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(247,245,250,.96); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; }
.brand > span:last-child { line-height: 1.15; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #fdfaff; }
.quiet-link { font-size: 14px; font-weight: 700; text-decoration: none; }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 48px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 48px; align-items: end; padding-bottom: 42px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 18ch; margin: 0; font-size: 52px; line-height: 1.02; letter-spacing: -.045em; }
.lead { max-width: 65ch; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero-actions { display: grid; gap: 10px; justify-items: start; padding-bottom: 5px; }
.hero-actions > span { color: var(--muted); font-size: 12px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 19px; border-radius: 12px; background: var(--accent); color: #fdfaff; font-size: 14px; font-weight: 800; text-decoration: none; }
.primary-button:hover { background: var(--accent-dark); }
.primary-button:focus-visible, .quiet-link:focus-visible, footer a:focus-visible { outline: 3px solid rgba(109,56,206,.28); outline-offset: 3px; }
.primary-button span { margin-left: 8px; opacity: .74; font-size: 12px; }
.important-note { display: grid; grid-template-columns: 170px 1fr; gap: 24px; margin-bottom: 72px; padding: 22px 24px; border: 1px solid #e4cc69; border-radius: 16px; background: var(--warning); }
.important-note strong { font-size: 17px; }
.important-note p { margin: 0; color: #584b20; line-height: 1.55; }
.simple-path { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px !important; color: var(--ink) !important; font-size: 19px; font-weight: 850; }
.simple-path span { color: var(--accent); font-size: 22px; }
.guide-section { margin-top: 72px; }
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: 38px; line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.steps { display: grid; gap: 26px; }
.step { display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr); gap: 34px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.step:nth-child(even) .step-copy { order: 2; }
.step:nth-child(even) figure { order: 1; }
.step-copy { position: relative; padding-left: 58px; }
.step-number { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fdfaff; font-size: 18px; font-weight: 850; }
.step h3 { margin: 3px 0 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.step p + p { margin-top: 12px; }
.step figure { min-width: 0; margin: 0; }
.step figure img { display: block; width: 100%; height: auto; border: 1px solid #d9d3df; border-radius: 14px; background: #f6f4f8; }
.step figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.step figcaption strong { color: var(--accent-dark); }
.final-step { min-height: 190px; background: var(--accent-soft); }
.final-step .step-copy { max-width: 780px; }
.success-check { color: var(--success) !important; font-weight: 800; }
.update-section { padding-top: 12px; }
.compact-steps .step { grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); }
.troubleshooting { margin-top: 82px; }
.troubleshooting details { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.troubleshooting summary { padding: 18px 20px; cursor: pointer; font-weight: 750; }
.troubleshooting details p { max-width: 75ch; margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }
footer { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 72px; padding: 28px 0 8px; border-top: 1px solid var(--line); }
footer a { font-size: 13px; font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 26px; }
  h1 { font-size: 42px; }
  .step, .compact-steps .step { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
  .step:nth-child(even) .step-copy, .step:nth-child(even) figure { order: initial; }
}

@media (max-width: 560px) {
  .topbar { min-height: 58px; padding: 0 14px; }
  .brand { font-size: 12px; }
  .brand > span:last-child { max-width: 156px; }
  .quiet-link { font-size: 12px; }
  main { width: min(100% - 24px, 1180px); padding-top: 38px; }
  h1 { font-size: 34px; }
  .lead { font-size: 16px; }
  .primary-button { width: 100%; text-align: center; }
  .important-note { grid-template-columns: 1fr; gap: 8px; margin-bottom: 54px; padding: 18px; }
  .guide-section { margin-top: 54px; }
  .section-heading h2 { font-size: 30px; }
  .step, .compact-steps .step { padding: 18px 14px; border-radius: 16px; }
  .step-copy { padding-left: 50px; }
  .step-number { width: 36px; height: 36px; }
  .step h3 { font-size: 21px; }
  .step figure { grid-column: 1 / -1; }
  .step figure img { border-radius: 10px; }
}
