:root {
  --navy: #101c2c;
  --navy-soft: #17263a;
  --ink: #172033;
  --muted: #637083;
  --line: #dce3e7;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --teal: #14a797;
  --teal-dark: #087f75;
  --teal-pale: #e3f6f2;
  --gold: #d9a83e;
  --shadow: 0 18px 50px rgba(21, 34, 49, .1);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 34px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.menu-open, body.lightbox-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 999; left: 18px; top: -60px; padding: 8px 14px; color: #fff; background: var(--teal-dark); border-radius: 0 0 8px 8px; transition: top .2s; }
.skip-link:focus { top: 0; }
.reading-progress { position: fixed; z-index: 200; left: 0; right: 0; top: 0; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); }

.site-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 50; inset: 0 auto 0 0; width: 280px; background: var(--navy); color: #fff; }
.sidebar::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.sidebar-inner { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 32px 24px 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; color: var(--navy); background: #f4c85f; border-radius: 13px; box-shadow: 0 8px 25px rgba(244,200,95,.18); transform: rotate(-3deg); }
.brand-mark svg { width: 29px; fill: currentColor; }
.brand-mark svg circle { fill: #f4c85f; }
.brand strong { display: block; font-family: Georgia, "Noto Serif SC", serif; font-size: 23px; line-height: 1.05; letter-spacing: .12em; }
.brand small { display: block; margin-top: 5px; color: #95a2b4; font-size: 11px; letter-spacing: .22em; }
.nav-label { margin: 58px 10px 13px; color: #728095; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.chapter-nav { display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 14px; min-height: 46px; padding: 8px 11px; color: #aeb8c6; text-decoration: none; border-radius: 12px; transition: color .2s, background .2s, transform .2s; }
.nav-link span { color: #66768a; font-family: ui-monospace, Consolas, monospace; font-size: 11px; transition: color .2s; }
.nav-link em { font-size: 14px; font-style: normal; font-weight: 620; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.055); transform: translateX(2px); }
.nav-link.active { color: #fff; background: rgba(20,167,151,.16); }
.nav-link.active span { color: #51d0bf; }
.sidebar-card { margin-top: auto; padding: 19px; color: #d8dfe7; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 15px; }
.sidebar-card-icon { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 15px; color: #172534; background: var(--teal); border-radius: 9px; font-size: 16px; font-weight: 800; }
.sidebar-card strong { color: #fff; font-size: 14px; }
.sidebar-card p { margin: 7px 0 14px; color: #8795a8; font-size: 12px; line-height: 1.65; }
.sidebar-card a { color: #63d6c7; font-size: 12px; font-weight: 700; text-decoration: none; }
.sidebar-meta { margin-top: 18px; color: #6f7d91; font-size: 10px; letter-spacing: .05em; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 6px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 4px rgba(20,167,151,.1); }
.mobile-header { display: none; }

main { margin-left: 280px; overflow: hidden; }
.hero { position: relative; min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: 34px; padding: 86px clamp(44px, 6vw, 100px); color: #fff; background: var(--navy); isolation: isolate; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 42px; background: var(--paper); clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%); }
.hero-grid { position: absolute; z-index: -2; inset: 0; opacity: .24; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 45px 45px; mask-image: radial-gradient(circle at 75% 48%, #000, transparent 58%); }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(90,211,195,.18); border-radius: 50%; }
.hero-orbit--one { width: 610px; height: 610px; right: -180px; top: -120px; }
.hero-orbit--two { width: 410px; height: 410px; right: -80px; top: -30px; }
.hero-content { position: relative; z-index: 2; max-width: 690px; }
.eyebrow, .section-kicker { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #5dd0c1; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
.hero h1 { margin: 24px 0 22px; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(45px, 5.3vw, 78px); font-weight: 700; line-height: 1.14; letter-spacing: -.035em; }
.hero h1 span { color: #f4c85f; }
.hero-content > p { max-width: 650px; margin: 0; color: #aeb9c8; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 10px 20px; border-radius: 10px; font-size: 13px; font-weight: 760; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #0f2130; background: var(--teal); box-shadow: 0 12px 35px rgba(20,167,151,.24); }
.button--primary:hover { background: #45c3b3; }
.button--ghost { color: #e8edf2; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.button--ghost:hover { background: rgba(255,255,255,.09); }
.hero-facts { display: flex; align-items: stretch; gap: 0; margin-top: 44px; }
.hero-facts div { min-width: 112px; padding: 0 25px; border-left: 1px solid rgba(255,255,255,.13); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { display: block; color: #fff; font-family: Georgia, serif; font-size: 25px; line-height: 1.1; }
.hero-facts span { display: block; margin-top: 4px; color: #75849a; font-size: 10px; letter-spacing: .08em; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.compass { position: relative; display: grid; place-items: center; width: min(30vw, 340px); aspect-ratio: 1; background: radial-gradient(circle, rgba(27,51,69,.88) 0 41%, transparent 42%), repeating-conic-gradient(from 0deg, rgba(255,255,255,.09) 0deg 1deg, transparent 1deg 15deg); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 20px rgba(255,255,255,.025), 0 40px 100px rgba(0,0,0,.3); }
.compass-ring { position: absolute; border: 1px solid rgba(96,216,200,.27); border-radius: 50%; }
.compass-ring--outer { inset: 16px; }
.compass-ring--inner { inset: 65px; border-style: dashed; }
.compass svg { width: 46%; filter: drop-shadow(0 14px 24px rgba(0,0,0,.35)); transform: rotate(10deg); }
.needle-a { fill: #e7b54c; }.needle-b { fill: #18a998; }.compass svg circle { fill: #f3eee1; }
.compass-point { position: absolute; color: #7d8da0; font: 10px/1 ui-monospace, monospace; }
.compass-point--n { top: 28px; }.compass-point--e { right: 30px; }.compass-point--s { bottom: 28px; }.compass-point--w { left: 30px; }
.floating-tag { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; color: #dce3eb; background: rgba(24,39,55,.94); border: 1px solid rgba(255,255,255,.11); border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.22); font-size: 11px; backdrop-filter: blur(10px); }
.floating-tag span { color: #5bd3c4; font: 700 14px/1 ui-monospace, monospace; }
.floating-tag--key { left: 0; top: 88px; }.floating-tag--code { right: -10px; bottom: 84px; }

.content-wrap { width: min(1050px, calc(100% - 72px)); margin: 0 auto; padding: 92px 0 36px; }
.path-overview { margin-bottom: 126px; }
.overview-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 9px 0 36px; }
.overview-heading h2, .chapter-header h2, .finish-card h2 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; line-height: 1.25; letter-spacing: -.025em; }
.overview-heading h2 { font-size: clamp(30px, 4vw, 42px); }
.overview-heading p { max-width: 410px; margin: 0; color: var(--muted); font-size: 14px; }
.path-grid { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr; align-items: center; }
.path-card { position: relative; min-height: 180px; padding: 28px 25px; color: inherit; background: rgba(255,253,248,.75); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.path-card:hover { transform: translateY(-5px); border-color: rgba(20,167,151,.45); box-shadow: var(--shadow); }
.path-number { position: absolute; right: 19px; top: 15px; color: #c7cdd0; font: 11px/1 ui-monospace, monospace; }
.path-icon { display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 23px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 13px; font-family: Georgia, serif; font-size: 20px; }
.path-card strong, .path-card small { display: block; }.path-card strong { font-size: 16px; }.path-card small { margin-top: 5px; color: var(--muted); font-size: 11px; }.path-arrow { color: #a9b2b7; text-align: center; }

.chapter { margin: 0 0 135px; scroll-margin-top: 35px; }
.chapter-header { display: grid; grid-template-columns: 72px 1fr; gap: 25px; margin-bottom: 40px; }
.chapter-index { display: grid; place-items: center; width: 65px; height: 65px; color: var(--teal-dark); background: transparent; border: 1px solid #b9d8d3; border-radius: 50%; font: 700 17px/1 Georgia, serif; }
.chapter-index span::after { content: ""; display: block; width: 14px; height: 2px; margin: 7px auto 0; background: var(--gold); }
.chapter-header h2 { margin-top: 8px; font-size: clamp(31px, 4vw, 45px); }
.chapter-header p { max-width: 670px; margin: 12px 0 0; color: var(--muted); }
.callout { display: flex; gap: 14px; margin: 0 0 38px; padding: 17px 19px; border-radius: 13px; }
.callout--info { background: var(--teal-pale); border: 1px solid #c5e9e3; }.callout--warning { margin-top: 28px; margin-bottom: 0; background: #fff3db; border: 1px solid #edd6a6; }
.callout-icon { display: grid; place-items: center; flex: 0 0 27px; height: 27px; color: #fff; background: var(--teal); border-radius: 50%; font: 700 14px/1 Georgia, serif; }.callout--warning .callout-icon { background: var(--gold); }
.callout strong { display: block; font-size: 13px; }.callout p { margin: 2px 0 0; color: #4e686b; font-size: 12px; }.callout a { color: var(--teal-dark); font-weight: 700; }

.steps { display: grid; gap: 24px; }
.step-card { overflow: hidden; padding: clamp(23px, 4vw, 38px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 15px rgba(30,42,56,.025); }
.step-copy { max-width: 760px; margin-bottom: 26px; }.step-label { margin-bottom: 7px; color: var(--teal-dark); font: 700 10px/1 ui-monospace, Consolas, monospace; letter-spacing: .14em; }
.step-copy h3, .mini-step h3 { margin: 0; font-size: 20px; line-height: 1.35; }.step-copy p, .mini-step p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.step-copy code { padding: 2px 5px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 4px; font: 12px ui-monospace, Consolas, monospace; }
.screenshot { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; background: #eef1f2; border: 0; border-radius: 12px; cursor: zoom-in; box-shadow: 0 0 0 1px rgba(16,28,44,.11); }
.screenshot img { width: 100%; height: auto; transition: transform .35s, filter .35s; }.screenshot:hover img { transform: scale(1.012); filter: brightness(.91); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; color: #fff; background: rgba(16,28,44,.82); border: 1px solid rgba(255,255,255,.16); border-radius: 8px; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; font-size: 10px; backdrop-filter: blur(7px); }
.screenshot:hover .zoom-hint, .screenshot:focus-visible .zoom-hint { opacity: 1; transform: none; }
.screenshot:focus-visible, .copy-button:focus-visible, .menu-button:focus-visible { outline: 3px solid rgba(20,167,151,.45); outline-offset: 3px; }
.screenshot-grid { display: grid; gap: 15px; }.screenshot-grid--split { grid-template-columns: minmax(0, 1.9fr) minmax(180px, .62fr); align-items: start; }.screenshot-grid--stack { grid-template-columns: 1fr; }.screenshot-grid--stack .screenshot:last-child { max-width: 94%; margin: 0 auto; }.screenshot--portrait img { max-height: 560px; object-fit: contain; }

.method-title { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 42px 0 22px; }.method-title > div { display: flex; align-items: center; gap: 12px; }.method-title h3 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: 24px; }.method-title > p { margin: 0; color: var(--muted); font-size: 12px; }
.recommend-badge, .advanced-badge { padding: 4px 8px; color: #fff; background: var(--teal); border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }.advanced-badge { color: #805c08; background: #f4d687; }.method-title--secondary { margin-top: 74px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }.inline-links a { padding: 6px 10px; color: var(--teal-dark); background: var(--teal-pale); border-radius: 7px; font-size: 11px; font-weight: 700; text-decoration: none; }.inline-links a:hover { text-decoration: underline; }
.copy-field { display: flex; align-items: center; width: min(100%, 400px); margin-top: 17px; padding: 8px 8px 8px 13px; background: #edf3f1; border: 1px solid #d7e5e2; border-radius: 9px; }.copy-field code { flex: 1; overflow: auto; white-space: nowrap; background: transparent; }
.copy-button { flex: 0 0 auto; padding: 6px 10px; color: var(--teal-dark); background: #fff; border: 1px solid #cbdad8; border-radius: 6px; cursor: pointer; font-size: 10px; font-weight: 750; }.copy-button:hover { background: var(--teal-pale); }
.manual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }.mini-step { position: relative; overflow: hidden; padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }.mini-step > span { position: absolute; right: 23px; top: 20px; color: #c1c8cc; font: 700 32px/1 Georgia, serif; }.mini-step p { min-height: 73px; padding-right: 20px; }.mini-step .screenshot { margin-top: 22px; }.mini-step .screenshot img { aspect-ratio: 1.28; object-fit: cover; object-position: top; }

.code-panel { overflow: hidden; margin-top: 25px; color: #dbe7ea; background: #101c2c; border: 1px solid #26374d; border-radius: 13px; }.code-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; color: #9ba9b9; background: #17263a; border-bottom: 1px solid #2a3b50; font: 10px/1.2 ui-monospace, Consolas, monospace; }.code-toolbar i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; background: #45c4b3; border-radius: 50%; }
.copy-button--dark { color: #c7d0da; background: #27384c; border-color: #354960; }.copy-button--dark:hover { color: #fff; background: #345169; }
pre { overflow: auto; margin: 0; padding: 23px; line-height: 1.7; tab-size: 2; }pre code { font: 12px/1.7 "SFMono-Regular", Consolas, "Liberation Mono", monospace; white-space: pre; }

.chapter--resources { margin-bottom: 90px; }.resource-card { display: grid; grid-template-columns: 66px 1fr 44px; align-items: center; gap: 22px; padding: 25px 27px; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }.resource-card:hover { transform: translateY(-4px); border-color: rgba(20,167,151,.45); box-shadow: var(--shadow); }
.resource-icon { display: grid; place-items: center; width: 62px; height: 62px; color: #a44a34; background: #fbe5dd; border-radius: 15px; font: 800 15px/1 ui-monospace, Consolas, monospace; }.resource-icon--git { color: #5f6270; background: #ececf1; font-size: 24px; }
.resource-card small, .resource-card strong, .resource-card em { display: block; }.resource-card small { margin-bottom: 3px; color: var(--teal-dark); font-size: 9px; font-weight: 800; letter-spacing: .14em; }.resource-card strong { font-size: 17px; }.resource-card em { margin-top: 4px; color: var(--muted); font-size: 12px; font-style: normal; }.resource-arrow { color: var(--teal); font-size: 22px; text-align: center; }

.finish-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 23px; margin: 125px 0 70px; padding: 43px; color: #fff; background: var(--navy); border-radius: 22px; }.finish-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -130px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018); }.finish-star { display: grid; place-items: center; width: 58px; height: 58px; color: #17303c; background: #efc55e; border-radius: 16px; font-size: 25px; }.finish-card h2 { margin-top: 5px; font-size: 26px; }.finish-card p { margin: 7px 0 0; color: #91a0b2; font-size: 12px; }.button--light { position: relative; z-index: 1; color: var(--navy); background: #fff; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 28px 0 15px; color: #818c98; border-top: 1px solid #dce0df; font-size: 11px; }footer a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }.footer-brand { color: var(--ink); font-family: Georgia, "Noto Serif SC", serif; font-size: 14px; }.footer-brand span { color: var(--gold); margin-right: 5px; }

.lightbox { width: min(94vw, 1500px); max-width: none; height: min(93vh, 1000px); max-height: none; margin: auto; padding: 58px 25px 18px; color: #fff; background: #0b1420; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; box-shadow: 0 25px 80px rgba(0,0,0,.55); }.lightbox::backdrop { background: rgba(5,11,17,.87); backdrop-filter: blur(8px); }.lightbox img { max-width: 100%; max-height: calc(100% - 40px); margin: auto; object-fit: contain; border-radius: 7px; }.lightbox p { margin: 10px 0 0; color: #8d9bab; font-size: 11px; text-align: center; }.lightbox-close { position: absolute; right: 14px; top: 12px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #fff; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); border-radius: 50%; cursor: pointer; font-size: 25px; line-height: 1; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; padding: 9px 16px; color: #fff; background: #152639; border: 1px solid rgba(255,255,255,.13); border-radius: 9px; box-shadow: 0 14px 35px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transform: translate(-50%, 14px); transition: opacity .2s, transform .2s; font-size: 12px; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1120px) {
  .sidebar { width: 250px; } main { margin-left: 250px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 105px; padding-bottom: 115px; }.hero-content { max-width: 760px; }.hero-visual { display: none; }.hero h1 { font-size: clamp(47px, 7vw, 70px); }.content-wrap { width: min(900px, calc(100% - 60px)); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 78px; }
  .mobile-header { position: fixed; z-index: 100; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; background: rgba(16,28,44,.94); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px); }
  .brand--mobile .brand-mark { width: 35px; height: 35px; border-radius: 10px; }.brand--mobile .brand-mark svg { width: 22px; }.brand--mobile strong { font-size: 17px; }.brand--mobile small { display: none; }
  .menu-button { display: grid; gap: 5px; width: 39px; height: 39px; place-content: center; padding: 0; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 9px; }.menu-button span { width: 17px; height: 1px; background: currentColor; transition: transform .2s, opacity .2s; }.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .sidebar { width: min(82vw, 300px); padding-top: 70px; transform: translateX(-105%); transition: transform .26s ease; box-shadow: 20px 0 60px rgba(0,0,0,.3); }.sidebar.open { transform: translateX(0); }.sidebar-inner { min-height: calc(100vh - 70px); padding-top: 28px; }.sidebar .brand { display: none; }.sidebar .nav-label { margin-top: 5px; }.sidebar-card { margin-top: 36px; }
  .sidebar-backdrop { position: fixed; z-index: 45; inset: 70px 0 0; display: block; width: 100%; padding: 0; background: rgba(7,13,20,.64); border: 0; backdrop-filter: blur(3px); }.sidebar-backdrop[hidden] { display: none; }
  main { margin-left: 0; }.hero { padding: 135px 28px 112px; }.content-wrap { width: min(100% - 40px, 720px); padding-top: 74px; }.path-overview, .chapter { margin-bottom: 100px; }
  .path-grid { grid-template-columns: 1fr; gap: 11px; }.path-card { min-height: 155px; }.path-arrow { transform: rotate(90deg); }.overview-heading { display: block; }.overview-heading p { margin-top: 12px; }
  .chapter-header { grid-template-columns: 58px 1fr; gap: 16px; }.chapter-index { width: 54px; height: 54px; }.screenshot-grid--split { grid-template-columns: 1fr; }.screenshot--portrait { max-width: 460px; margin: 0 auto; }.manual-grid { grid-template-columns: 1fr; }.mini-step p { min-height: auto; }
  .method-title { align-items: start; }.method-title > p { max-width: 230px; text-align: right; }.finish-card { grid-template-columns: 52px 1fr; padding: 33px; }.finish-card .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }.hero { padding: 121px 20px 95px; }.hero h1 { margin-top: 18px; font-size: clamp(38px, 11vw, 52px); }.hero-content > p { font-size: 15px; }.hero-actions .button { width: 100%; }.hero-facts { margin-top: 36px; }.hero-facts div { min-width: 0; flex: 1; padding: 0 11px; }.hero-facts strong { font-size: 21px; }.content-wrap { width: calc(100% - 28px); }
  .overview-heading h2 { font-size: 31px; }.chapter-header { display: block; }.chapter-index { margin-bottom: 17px; }.chapter-header h2 { font-size: 32px; }.step-card { padding: 21px 16px 17px; }.step-copy h3 { font-size: 18px; }
  .method-title { display: block; }.method-title > div { align-items: flex-start; }.method-title > p { margin-top: 8px; max-width: none; text-align: left; }.method-title h3 { font-size: 21px; }.mini-step { padding: 22px 17px; }.inline-links a { flex: 1; text-align: center; }
  pre { padding: 18px 15px; }pre code { font-size: 10.5px; }.resource-card { grid-template-columns: 54px 1fr; gap: 15px; padding: 19px; }.resource-icon { width: 52px; height: 52px; }.resource-arrow { display: none; }.resource-card strong { font-size: 15px; line-height: 1.4; }
  .finish-card { grid-template-columns: 1fr; padding: 27px 22px; }.finish-card h2 { font-size: 23px; }.finish-card .button { grid-column: auto; width: 100%; }footer { flex-direction: column; padding-bottom: 25px; }.lightbox { width: 96vw; height: 90vh; padding: 54px 10px 15px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print {
  .sidebar, .mobile-header, .reading-progress, .hero-visual, .hero-actions, .zoom-hint, .finish-card .button { display: none !important; }main { margin-left: 0; }.hero { min-height: 0; padding: 35px; color: #111; background: #fff; }.hero h1 span { color: #111; }.hero-content > p { color: #444; }.content-wrap { width: 100%; padding: 30px; }.step-card, .mini-step, .resource-card { break-inside: avoid; box-shadow: none; }.chapter { break-before: page; }
}
