:root {
  color: #dbe4ef;
  background: #090b10;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { background: #090b10; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #090b10; color: #dbe4ef; line-height: 1.65; }
a { color: #fb923c; text-underline-offset: 3px; }
a:hover { color: #fed7aa; }
a:focus-visible { outline: 2px solid #fb923c; outline-offset: 3px; }

.site-header { border-bottom: 1px solid #202631; background: rgba(12, 15, 22, .96); }
.site-header__inner, .guide-page, .site-footer__inner { width: min(100% - 40px, 1120px); margin: 0 auto; }
.site-header__inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: #f8fafc; font-size: 16px; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand__mark { color: #f97316; font-size: 21px; }
.site-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.site-nav a { color: #aeb9c9; text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { color: #fff; }

.guide-page { padding: 42px 0 64px; }
.breadcrumb { margin: 0 0 28px; color: #8492a6; font-size: 13px; }
.breadcrumb a { color: #aeb9c9; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.guide-layout--single { display: block; max-width: 820px; }
.guide-article { min-width: 0; }
.eyebrow { margin: 0 0 10px; color: #fb923c; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3 { color: #f8fafc; line-height: 1.15; letter-spacing: -.03em; }
h1 { max-width: 820px; margin: 0; font-size: clamp(34px, 5vw, 54px); }
h2 { margin: 46px 0 14px; font-size: 27px; }
h3 { margin: 28px 0 9px; font-size: 19px; }
p, li { color: #bdc8d8; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 20px; padding-left: 22px; }
li + li { margin-top: 7px; }
.lede { max-width: 760px; margin: 18px 0 26px; color: #cbd5e1; font-size: 19px; }
.guide-figure { margin: 30px 0; padding: 8px; border: 1px solid #293341; border-radius: 12px; background: #0e131c; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 7px; }
.guide-figure figcaption { padding: 9px 5px 2px; color: #8492a6; font-size: 12px; line-height: 1.45; }
.guide-cta, .note { margin: 28px 0; padding: 20px 22px; border: 1px solid #334155; border-radius: 12px; background: #111722; }
.guide-cta { border-color: #7c2d12; background: linear-gradient(125deg, #26130c, #111722 65%); }
.guide-cta p, .note p { margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 14px; padding: 8px 14px; border: 1px solid #f97316; border-radius: 8px; color: #fff; background: #ea580c; font-size: 14px; font-weight: 700; text-decoration: none; }
.button:hover { color: #fff; background: #f97316; }
.tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.tool-list li, .guide-card { padding: 18px; border: 1px solid #293341; border-radius: 11px; background: #0e131c; }
.tool-list strong { display: block; margin-bottom: 4px; color: #f8fafc; }
.tool-list span { display: block; color: #9aa9bc; font-size: 14px; line-height: 1.5; }
.toc { position: sticky; top: 24px; padding: 18px; border-left: 1px solid #293341; }
.toc strong { display: block; margin-bottom: 8px; color: #f8fafc; font-size: 14px; }
.toc a { display: block; padding: 4px 0; color: #9aa9bc; font-size: 13px; text-decoration: none; }
.toc a:hover { color: #fb923c; }
.related { margin-top: 52px; padding-top: 28px; border-top: 1px solid #293341; }
.related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.related li { margin: 0; }
.related a { display: block; min-height: 100%; padding: 14px; border: 1px solid #293341; border-radius: 9px; color: #dbe4ef; background: #0e131c; text-decoration: none; }
.related a:hover { border-color: #f97316; color: #fff; }
.faq { margin-top: 16px; }
details { border-bottom: 1px solid #293341; }
summary { padding: 15px 0; color: #f8fafc; font-weight: 650; cursor: pointer; }
details p { padding-bottom: 8px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.guide-card { display: flex; flex-direction: column; text-decoration: none; transition: border-color .15s, transform .15s; }
.guide-card:hover { border-color: #f97316; color: inherit; transform: translateY(-2px); }
.guide-card__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 13px; border-radius: 8px; color: #fb923c; background: #26130c; font-size: 18px; }
.guide-card h2 { margin: 0 0 8px; font-size: 20px; }
.guide-card p { margin: 0; color: #9aa9bc; font-size: 14px; }
.shortcut-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
.shortcut-table th, .shortcut-table td { padding: 12px 10px; border-bottom: 1px solid #293341; text-align: left; }
.shortcut-table th { color: #8fa0b5; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
kbd { display: inline-block; min-width: 26px; padding: 1px 6px; border: 1px solid #465568; border-bottom-width: 2px; border-radius: 5px; color: #e5e7eb; background: #161e2a; font: 600 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; text-align: center; }
.site-footer { border-top: 1px solid #202631; background: #0d1017; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; color: #8190a4; font-size: 13px; }
.site-footer p { margin: 0; color: inherit; }
.site-footer a { color: #aeb9c9; }

@media (max-width: 820px) {
  .guide-layout { display: block; }
  .toc { display: none; }
}
@media (max-width: 600px) {
  .site-header__inner, .guide-page, .site-footer__inner { width: min(100% - 28px, 1120px); }
  .site-header__inner { min-height: 60px; }
  .brand { font-size: 14px; }
  .site-nav { gap: 12px; font-size: 13px; }
  .guide-page { padding-top: 30px; }
  .lede { font-size: 17px; }
  h2 { font-size: 24px; }
  .guide-grid, .tool-list, .related ul { grid-template-columns: 1fr; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
}
