:root {
  --bg: #08090c;
  --panel: #12151b;
  --line: #303640;
  --text: #f7f8fa;
  --muted: #abb0ba;
  --orange: #ff8200;
  --orange-2: #ff5c00;
  --focus: #ffd08a;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 82% 8%, rgba(255, 110, 0, 0.11), transparent 30rem), var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(900px, calc(100% - 34px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.site-header { border-bottom: 1px solid #23272e; background: rgba(7, 8, 11, 0.94); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 850; text-decoration: none; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand strong { color: var(--orange); }
.back-link { color: #d4d7dc; font-size: .82rem; font-weight: 750; text-underline-offset: 4px; }
.guide-hero { padding: 70px 0 42px; }
.kicker { margin: 0 0 12px; color: var(--orange); font-size: .72rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; text-wrap: pretty; }
h1 { max-width: 14ch; font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: -.055em; }
.lede { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.16rem); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 24px; align-items: start; padding-bottom: 72px; }
.steps-card, .support-card, .notice { border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #15181f, #0d0f13); box-shadow: 0 24px 55px rgba(0, 0, 0, .34); }
.steps-card { padding: clamp(22px, 5vw, 42px); }
.steps-card h2 { margin-bottom: 24px; font-size: clamp(1.6rem, 4vw, 2.35rem); }
.device-visual { display: grid; grid-template-columns: minmax(130px, 190px) 1fr; gap: 20px; align-items: center; margin: 0 0 28px; padding: 18px; border: 1px solid #303640; border-radius: 14px; background: #090b0f; }
.device-visual img { width: 100%; max-height: 150px; object-fit: contain; }
.device-visual figcaption { color: #c9cdd3; font-size: .88rem; }
.device-visual strong { display: block; margin-bottom: 7px; color: #fff; font-size: 1rem; }
.menu-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; }
.menu-path span { padding: 8px 10px; border: 1px solid rgba(255, 130, 0, .38); border-radius: 8px; color: #f5f6f8; background: rgba(255, 130, 0, .07); font-size: .78rem; font-weight: 800; }
.menu-path b { color: var(--orange); }
.setup-code { margin: 0 0 26px; padding: 18px; border: 1px solid rgba(255, 130, 0, .55); border-radius: 13px; background: linear-gradient(135deg, rgba(255, 130, 0, .13), rgba(255, 92, 0, .04)); text-align: center; }
.setup-code span { display: block; color: #ffb66b; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.setup-code strong { display: block; margin-top: 4px; color: #fff; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: .1em; }
.steps { display: grid; gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: setup-step; }
.steps li { position: relative; min-height: 44px; padding-left: 58px; color: #d8dbe0; counter-increment: setup-step; }
.steps li::before { position: absolute; top: -4px; left: 0; display: grid; width: 38px; height: 38px; content: counter(setup-step); place-items: center; color: #0b0c0f; border-radius: 50%; background: var(--orange); font-weight: 900; }
.steps strong { color: #fff; }
.notice { margin-top: 22px; padding: 20px; border-color: rgba(255, 130, 0, .36); background: rgba(255, 130, 0, .065); }
.notice h3 { color: #ffb264; font-size: 1rem; }
.notice p { margin: 8px 0 0; color: #c7cbd2; font-size: .9rem; }
.notice--warning { border-color: rgba(255, 92, 0, .68); background: linear-gradient(135deg, rgba(255, 92, 0, .14), rgba(255, 130, 0, .055)); }
.notice--warning h3 { color: #ff9652; }
.guide-choices { display: grid; gap: 14px; }
.guide-choice { display: grid; gap: 8px; padding: 20px; border: 1px solid #373d47; border-radius: 13px; background: linear-gradient(145deg, #191c23, #101216); text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.guide-choice:hover { border-color: var(--orange); transform: translateY(-2px); }
.guide-choice strong { font-size: 1.05rem; }
.guide-choice span { color: var(--orange); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.support-card { position: sticky; top: 20px; padding: 24px; }
.support-card h2 { font-size: 1.5rem; }
.support-card p { color: var(--muted); }
.button { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 18px; border: 1px solid #ff9c28; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 13px 30px rgba(255, 104, 0, .24); font-size: .8rem; font-weight: 900; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; }
.support-email { display: block; margin-top: 15px; color: #d8dbe0; font-size: .82rem; text-align: center; text-underline-offset: 4px; }
.meta { margin-top: 18px; padding-top: 18px; color: #888e98; border-top: 1px solid #2b3038; font-size: .72rem; }
.site-footer { padding: 28px 0; color: #8f949e; border-top: 1px solid #242830; font-size: .78rem; text-align: center; }
@media (max-width: 720px) { .guide-hero { padding-top: 48px; } .guide-layout { grid-template-columns: 1fr; } .support-card { position: static; } .back-link { font-size: .74rem; } .device-visual { grid-template-columns: 1fr; text-align: center; } .device-visual img { max-height: 180px; } }
html:has(body.capture-mode) { scroll-behavior: auto; }
body.capture-mode::after { display: block; height: 66px; content: ""; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
