:root {
  color-scheme: dark;
  --ink: #f5f7fb;
  --muted: #9da8bb;
  --dim: #68748a;
  --panel: #0e1422;
  --panel-2: #131b2d;
  --line: #263147;
  --blue: #36a8ff;
  --cyan: #62e4ff;
  --lime: #b8ff45;
  --orange: #ff9b3d;
  --red: #ff636b;
  --bg: #070b16;
  --radius: 22px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: var(--lime); color: #081107; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header, .site-footer { width: min(1220px, calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.site-header { height: 80px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { border-radius: 10px; }
.header-help { padding: .65rem .9rem; color: var(--muted); text-decoration: none; font-family: var(--font-mono); font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; }
.header-help:hover { color: var(--ink); border-color: var(--blue); }

main { overflow: hidden; }
.hero, .diagnosis, .guided-shell, .help-strip, .sources { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.hero { min-height: 620px; padding: 90px 0 76px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: -20% 42% 5% -30%; background: radial-gradient(circle, rgba(54,168,255,.14), transparent 63%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .step-kicker { font-family: var(--font-mono); letter-spacing: .13em; font-size: .72rem; font-weight: 800; color: var(--cyan); }
.eyebrow { display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(184,255,69,.12); }
h1 { max-width: 760px; margin: 1.3rem 0 1.5rem; font-size: clamp(3.1rem, 7vw, 6.4rem); line-height: .92; letter-spacing: -.07em; }
h1 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 670px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.27rem); }
.hero-meta { display: flex; gap: 2rem; margin-top: 2.2rem; color: var(--dim); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.hero-meta b { color: var(--ink); font-size: 1rem; }

.track-visual { aspect-ratio: .82; position: relative; overflow: hidden; border-radius: 38px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(155deg, #101b30, #080c16 72%); box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: rotate(2deg); }
.track-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(98,228,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(98,228,255,.3) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(400px) rotateX(48deg) scale(1.45); transform-origin: center bottom; }
.track-road { position: absolute; width: 52%; height: 115%; left: 24%; top: -8%; background: #212a3c; transform: perspective(500px) rotateX(22deg) rotateZ(16deg); border-left: 6px solid var(--cyan); border-right: 6px solid var(--lime); box-shadow: 0 0 60px rgba(54,168,255,.2); }
.track-road::after { content: ""; position: absolute; inset: 0 47%; background: repeating-linear-gradient(to bottom, white 0 26px, transparent 26px 52px); opacity: .6; }
.track-road i { position: absolute; left: -23px; width: 17px; height: 90px; background: repeating-linear-gradient(to bottom, #fff 0 15px, var(--red) 15px 30px); }
.track-road i:nth-child(1) { top: 8%; }.track-road i:nth-child(2) { top: 44%; right: -23px; left: auto; }.track-road i:nth-child(3) { top: 78%; }
.track-car { position: absolute; width: 77px; height: 130px; left: 52%; top: 54%; transform: rotate(16deg); background: linear-gradient(90deg, #172131 0 14%, var(--blue) 14% 86%, #172131 86%); border-radius: 24% 24% 14% 14%; box-shadow: 0 18px 25px rgba(0,0,0,.45), 0 0 32px rgba(54,168,255,.35); }
.track-car::before, .track-car::after { content: ""; position: absolute; inset: 26px 16px auto; height: 35px; background: #08101e; border-radius: 8px; border: 2px solid #7bd0ff; }
.track-car::after { top: auto; bottom: 16px; height: 7px; background: var(--red); border: 0; box-shadow: 0 0 12px var(--red); }
.track-car span::before, .track-car span::after { content: ""; position: absolute; width: 10px; height: 35px; background: #05070d; left: -6px; top: 23px; border-radius: 5px; box-shadow: 0 54px #05070d; }
.track-car span::after { left: auto; right: -6px; }
.track-label { position: absolute; top: 24px; right: 25px; padding: .65rem .8rem; background: rgba(7,11,22,.82); border: 1px solid var(--line); backdrop-filter: blur(10px); border-radius: 10px; font-family: var(--font-mono); }
.track-label small { display: block; color: var(--muted); font-size: .56rem; letter-spacing: .15em; }.track-label strong { color: var(--lime); letter-spacing: .12em; }

.diagnosis { padding: 90px 0 110px; border-top: 1px solid rgba(255,255,255,.08); }
.section-heading { max-width: 740px; margin-bottom: 2.5rem; }
.section-heading h2, .help-strip h2, .sources h2 { margin: .3rem 0 .75rem; font-size: clamp(2.2rem, 4.5vw, 4.2rem); line-height: 1; letter-spacing: -.055em; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.issue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.issue-card { position: relative; min-height: 260px; padding: 32px; display: grid; grid-template-columns: 115px 1fr auto; gap: 26px; align-items: center; text-align: left; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.issue-card:hover { transform: translateY(-4px); border-color: var(--blue); background: var(--panel-2); }
.issue-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.issue-copy { display: grid; gap: .45rem; }
.issue-copy small { font-family: var(--font-mono); color: var(--dim); font-weight: 800; letter-spacing: .1em; }
.issue-copy strong { font-size: 1.45rem; letter-spacing: -.025em; }
.issue-copy > span { color: var(--muted); }
.issue-arrow { align-self: end; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--cyan); font-size: 1.4rem; }
.issue-screen { width: 115px; aspect-ratio: 1.25; padding: 7px; background: #263044; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.issue-screen i { display: block; height: 100%; background: linear-gradient(135deg, white, #dce8f6); border-radius: 4px; box-shadow: 0 0 30px rgba(255,255,255,.22); }
.issue-screen b { display: block; width: 30%; height: 6px; margin: 9px auto; border-radius: 5px; background: #253147; }
.network-icon { width: 112px; height: 112px; position: relative; display: grid; place-items: end center; }
.network-icon i { position: absolute; bottom: 20px; border: 7px solid var(--blue); border-bottom-color: transparent; border-left-color: transparent; transform: rotate(-45deg); border-radius: 50%; }
.network-icon i:nth-child(1) { width: 94px; height: 94px; opacity: .35; }.network-icon i:nth-child(2) { width: 65px; height: 65px; opacity: .65; }.network-icon i:nth-child(3) { width: 34px; height: 34px; }
.network-icon b { position: absolute; right: 3px; top: 5px; display: grid; place-items: center; width: 35px; height: 35px; background: var(--orange); color: #1c0e00; border: 4px solid var(--panel); border-radius: 50%; font-family: var(--font-mono); }

.guided-shell { padding: 30px 0 120px; display: grid; grid-template-columns: 285px minmax(0, 1fr); gap: 50px; align-items: start; }
.guide-sidebar { position: sticky; top: 24px; padding: 26px; background: rgba(14,20,34,.9); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(14px); }
.sidebar-label { margin: 0; color: var(--cyan); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .13em; }
.guide-sidebar h2 { margin: .5rem 0 1.4rem; font-size: 1.35rem; line-height: 1.1; }
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }.progress-copy b { color: var(--lime); }
.progress-track { height: 6px; margin-top: .55rem; border-radius: 8px; background: #263047; overflow: hidden; }.progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--lime)); transition: width .25s ease; }
.mini-steps { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: .3rem; }
.mini-steps a { display: flex; align-items: center; gap: .7rem; padding: .55rem .2rem; color: var(--muted); text-decoration: none; font-size: .82rem; }.mini-steps a:hover { color: var(--ink); }.mini-steps span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--dim); border: 1px solid var(--line); border-radius: 50%; font: 700 .65rem var(--font-mono); }.mini-steps .done a { color: var(--ink); }.mini-steps .done span { background: var(--lime); color: #0a1305; border-color: var(--lime); }
.text-button, .reset-button { padding: 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover, .reset-button:hover { color: var(--ink); }
.guide-toolbar { min-height: 42px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.status-dot { color: var(--lime); font: 800 .68rem var(--font-mono); letter-spacing: .12em; }.status-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .6rem; background: currentColor; border-radius: 50%; box-shadow: 0 0 12px currentColor; }
.guide-title-block { padding: 16px 0 42px; }
.guide-title-block h2 { margin: .3rem 0 .8rem; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: .95; letter-spacing: -.06em; }
.guide-title-block > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.07rem; }
.safety-banner { margin: -10px 0 28px; padding: 18px 20px; color: #ffd8a5; background: rgba(255,155,61,.09); border: 1px solid rgba(255,155,61,.35); border-radius: 13px; }

.fix-step { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 42px 36px 42px 24px; margin-bottom: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 24px; }
.fix-step:has(input:checked) { border-color: rgba(184,255,69,.3); }
.step-number { padding-top: .2rem; color: var(--blue); font: 800 1.1rem var(--font-mono); }
.step-time { margin: 0 0 .4rem; color: var(--dim); font: 700 .68rem var(--font-mono); text-transform: uppercase; letter-spacing: .08em; }
.step-body h3 { margin: 0 0 1.2rem; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.step-body ol, .step-body ul { margin: 0 0 1.4rem; padding-left: 1.4rem; color: #d7deea; }.step-body li { margin: .55rem 0; padding-left: .25rem; }.step-body p { color: var(--muted); }
code, kbd { font-family: var(--font-mono); }
kbd { display: inline-block; min-width: 1.7em; padding: .08rem .35rem; color: var(--ink); background: #202b3e; border: 1px solid #3a4760; border-bottom-width: 3px; border-radius: 5px; text-align: center; font-size: .85em; }
.path-label { margin: 0 0 .5rem; font-size: .85rem; }
.copy-row { display: flex; align-items: stretch; margin: .75rem 0 1.2rem; background: #080d18; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }.copy-row code { flex: 1; padding: .9rem 1rem; color: #b9c8de; font-size: .78rem; overflow-wrap: anywhere; }.copy-row button { min-width: 74px; border: 0; border-left: 1px solid var(--line); color: var(--cyan); background: #111a2a; cursor: pointer; font: 700 .72rem var(--font-mono); }.copy-row button:hover { background: #18243a; }.copy-row.command code { color: var(--lime); font-size: .9rem; }
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; margin-bottom: 1.1rem; }.before-after span { padding: .8rem; background: #0a101c; border-radius: 10px; }.before-after small { display: block; color: var(--dim); font: 700 .6rem var(--font-mono); letter-spacing: .1em; }.before-after code { color: var(--ink); }.before-after b { color: var(--blue); }
details { margin: .7rem 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } details + details { margin-top: -.7rem; border-top: 0; } summary { padding: .9rem 0; color: #d8e0ec; cursor: pointer; font-weight: 700; } details p { margin: 0 0 1rem; }
.done-check { width: fit-content; margin-top: 1.3rem; display: inline-flex; align-items: center; gap: .65rem; padding: .75rem 1rem; color: #dce4f0; background: #111a2a; border: 1px solid #33415a; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .86rem; }.done-check:hover { border-color: var(--lime); }.done-check input { position: absolute; opacity: 0; pointer-events: none; }.done-check span { display: grid; place-items: center; width: 20px; height: 20px; color: transparent; border: 1px solid #65728a; border-radius: 50%; }.done-check:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 3px; }.done-check:has(input:checked) { color: #0d1606; background: var(--lime); border-color: var(--lime); }.done-check:has(input:checked) span { color: #0d1606; border-color: #0d1606; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; gap: 1rem; padding: .9rem 1.05rem; margin: .3rem 0 1rem; border-radius: 10px; text-decoration: none; font-weight: 800; }.primary-action { color: #06100b; background: var(--lime); }.primary-action:hover { background: #c9ff73; }.secondary-action { color: var(--ink); background: #172238; border: 1px solid #33415a; }.secondary-action:hover { border-color: var(--blue); }
.trust-note, .plain-note, .success-note { padding: .85rem 1rem; background: #0a101c; border-left: 3px solid var(--blue); font-size: .85rem; }.trust-note span { color: var(--lime); }.success-note { color: #dfffb8 !important; border-left-color: var(--lime); }.critical-step { border-color: rgba(255,155,61,.45); }.critical-step .step-number { color: var(--orange); }
.settings-map { margin: 1rem 0 1.4rem; padding: 1rem; display: grid; gap: .75rem; background: #e9edf2; color: #17202d; border-radius: 11px; font-family: "Segoe UI", sans-serif; }.settings-map span { display: flex; align-items: center; gap: .6rem; }.settings-map small { margin-left: auto; color: #697383; }.fake-check, .fake-empty { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #61728b; background: #fff; font-size: .75rem; font-style: normal; }.fake-check { color: #fff; background: #1877d2; }
.finish-step { background: linear-gradient(145deg, #0e1422, #111c28); }
.completion-card { position: relative; margin-top: 24px; padding: 45px; overflow: hidden; background: linear-gradient(135deg, rgba(54,168,255,.15), rgba(184,255,69,.09)); border: 1px solid rgba(184,255,69,.4); border-radius: var(--radius); }.completion-card h2 { margin: .2rem 0 .5rem; font-size: 2.5rem; letter-spacing: -.05em; }.completion-card p { max-width: 650px; color: var(--muted); }.completion-card a { color: var(--lime); font-weight: 800; }.finish-flag { position: absolute; right: -10px; top: -10px; width: 150px; height: 150px; opacity: .08; background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0); background-size: 40px 40px; transform: rotate(14deg); }

.help-strip { padding: 110px 0; border-top: 1px solid rgba(255,255,255,.08); }
.help-strip > div:first-child { max-width: 740px; }
.rule-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.rule-grid article { padding: 26px; border-top: 2px solid var(--blue); background: var(--panel); border-radius: 0 0 14px 14px; }.rule-grid b { color: var(--blue); font: 800 .75rem var(--font-mono); }.rule-grid h3 { margin: .8rem 0 .4rem; }.rule-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.sources { padding: 80px 0 90px; border-top: 1px solid rgba(255,255,255,.08); }.sources h2 { font-size: clamp(2rem, 4vw, 3.4rem); }.source-links { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.source-links a { position: relative; padding: 22px; display: grid; gap: .25rem; text-decoration: none; background: #0c121f; border: 1px solid var(--line); border-radius: 14px; }.source-links a:hover { border-color: var(--blue); }.source-links span { color: var(--cyan); font: 700 .65rem var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }.source-links b { font-size: .92rem; }.source-links i { position: absolute; right: 18px; top: 16px; color: var(--dim); font-style: normal; }.reviewed { margin-top: 1.5rem; color: var(--dim); font-size: .78rem; }
.site-footer { min-height: 115px; color: var(--dim); border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }.site-footer .brand { color: var(--ink); }.site-footer > a:last-child { color: var(--muted); }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; padding: .75rem 1rem; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); color: #081107; background: var(--lime); border-radius: 999px; font-weight: 800; font-size: .82rem; transition: opacity .2s ease, transform .2s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 65px; }.track-visual { max-width: 530px; width: 82%; margin: 0 auto; aspect-ratio: 1.3; }.track-road { height: 160%; top: -30%; }.track-car { top: 42%; }
  .issue-grid { grid-template-columns: 1fr; }.guided-shell { grid-template-columns: 1fr; }.guide-sidebar { position: static; }.mini-steps { grid-template-columns: repeat(5, 1fr); }.mini-steps a { justify-content: center; }.mini-steps a { font-size: 0; }.mini-steps span { font-size: .65rem; }
  .rule-grid, .source-links { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, .hero, .diagnosis, .guided-shell, .help-strip, .sources { width: min(100% - 24px, 1160px); }
  .site-header { height: 68px; }.brand span { font-size: .88rem; }.header-help { padding: .55rem .65rem; font-size: .66rem; }
  .hero { padding: 54px 0 60px; }.hero-meta { gap: 1rem; flex-wrap: wrap; }.track-visual { width: 100%; }.track-car { transform: rotate(16deg) scale(.8); }
  .diagnosis { padding: 68px 0 80px; }.issue-card { min-height: auto; padding: 24px; grid-template-columns: 76px 1fr; gap: 18px; }.issue-screen, .network-icon { width: 74px; height: 74px; }.issue-arrow { display: none; }.network-icon i:nth-child(1) { width: 65px; height: 65px; }.network-icon i:nth-child(2) { width: 45px; height: 45px; }.network-icon i:nth-child(3) { width: 24px; height: 24px; }.network-icon b { width: 27px; height: 27px; font-size: .7rem; }.issue-copy strong { font-size: 1.15rem; }.issue-copy > span { font-size: .83rem; }
  .guided-shell { padding-bottom: 80px; gap: 24px; }.guide-sidebar { padding: 20px; }.fix-step { grid-template-columns: 1fr; padding: 26px 20px; }.step-number { margin-bottom: .5rem; }.before-after { grid-template-columns: 1fr; }.before-after > b { transform: rotate(90deg); text-align: center; }.copy-row { flex-direction: column; }.copy-row button { min-height: 42px; border-left: 0; border-top: 1px solid var(--line); }.settings-map small { display: none; }
  .done-check { width: 100%; border-radius: 10px; }.completion-card { padding: 30px 24px; }.help-strip, .sources { padding: 70px 0; }.site-footer { padding: 30px 0; flex-wrap: wrap; gap: 1rem; }.site-footer p { order: 3; width: 100%; margin: 0; }
}

@media print {
  :root { color-scheme: light; --ink: #111; --muted: #444; --dim: #555; --panel: #fff; --line: #bbb; --bg: #fff; }
  body { background: #fff; }.site-header, .track-visual, .issue-grid, .guide-sidebar, .guide-toolbar, .done-check, .completion-card, .help-strip, .site-footer, .toast { display: none !important; }.hero { min-height: 0; padding: 20px 0; grid-template-columns: 1fr; }.hero::before { display: none; }h1 { font-size: 42px; }.diagnosis { padding: 10px 0 20px; }.guided-shell { display: block; padding: 0; }.guided-shell[hidden], [data-guide-panel][hidden] { display: block !important; }.fix-step { break-inside: avoid; }.source-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
