:root {
  --bg: #04050B; --green: #18E933; --green-2: #05C51F; --green-3: #00A115;
  --ink: #04050B; --body: #3A3C42; --muted: #6B6D73; --paper: #F5F5F5; --line: rgba(0,0,0,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--body); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.wrap { max-width: 1088px; margin: 0 auto; padding: 0 24px; }

/* header band */
.lg-head { background: var(--bg); color: #fff; position: relative; overflow: hidden; padding: 24px 0 72px; }
.lg-head::before { content: ""; position: absolute; inset: -40% 40% 30% -20%; background: radial-gradient(ellipse at 20% 0%, rgba(24,233,51,.38), transparent 65%); filter: blur(30px); pointer-events: none; }
.bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.05); backdrop-filter: blur(9px); }
.logo { display: flex; align-items: center; gap: 10px; font-family: Manrope; font-weight: 800; font-size: 20px; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(180deg, var(--green-2), var(--green-3)); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); color: #fff; font-size: 10px; font-weight: 800; }
.bar nav { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.9); }
.bar nav i { font-style: normal; color: rgba(255,255,255,.4); }
.bar nav a:hover { color: var(--green); }
.actions { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; line-height: 20px; border-radius: 8px; border: 1px solid transparent; font-size: 16px; color: #fff; transition: filter .2s; }
.btn:hover { filter: brightness(1.12); }
.btn-primary { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) padding-box, linear-gradient(180deg, #05C51F, #00A115) padding-box, linear-gradient(180deg, #B6F3BE, #08A41C) border-box; box-shadow: inset 0 4px 6px -4px rgba(255,255,255,.35); }
.btn-ghost { background: linear-gradient(180deg, #45464B, #34353A) padding-box, linear-gradient(180deg, #6C6D72, #2A2B30) border-box; box-shadow: inset 0 4px 6px -4px rgba(255,255,255,.25); }
.lg-title { position: relative; margin-top: 80px; }
.lg-title .crumb { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.lg-title .crumb a:hover { color: var(--green); }
.lg-title h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 600; background: linear-gradient(90deg, #fff 55%, #7a7b80); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-title p { color: rgba(255,255,255,.65); margin-top: 14px; font-size: 15px; }

/* body */
.lg-body { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 64px 0 96px; align-items: start; }
.toc { position: sticky; top: 24px; }
.toc h4 { font-family: Inter; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.toc a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; color: var(--body); margin-bottom: 4px; }
.toc a:hover { background: #fff; color: var(--ink); }
.toc a.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 0 0 4px #E7E7E7; }
.doc { background: #fff; border-radius: 16px; box-shadow: 0 0 0 4px #E7E7E7; padding: 48px 52px; }
.doc .note { background: #F0FDF2; border: 1px solid #BDEFC6; color: #14532D; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 32px; }
.doc .warn { background: #FFF7ED; border: 1px solid #FED7AA; color: #7C2D12; border-radius: 12px; padding: 16px 20px; margin: 8px 0 28px; }
.doc .warn strong { color: #7C2D12; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; scroll-margin-top: 24px; }
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 17px; font-weight: 700; margin: 22px 0 8px; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { margin: 0 0 16px 22px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc a { color: #00851A; text-decoration: underline; text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); background: #FAFAFA; font-weight: 600; }
mark.ph { background: #FEF3C7; color: #78350F; padding: 0 4px; border-radius: 4px; font-weight: 500; }

/* footer */
footer { background: var(--bg); color: #CBC9C4; padding: 56px 0 36px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot p { color: #9BA1A5; margin-top: 12px; max-width: 300px; }
.foot h5 { font-size: 13px; color: #686868; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; font-weight: 600; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--green); }
.foot .logo { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #686868; font-size: 13px; }

@media (max-width: 900px) {
  .bar nav { display: none; }
  .lg-body { grid-template-columns: 1fr; padding-top: 32px; }
  .toc { position: static; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; }
  .toc h4 { display: none; }
  .toc a { white-space: nowrap; margin: 0; background: #fff; font-size: 14px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .actions .btn-ghost { display: none; }
  .doc { padding: 28px 20px; }
  .lg-title { margin-top: 56px; }
  .foot { grid-template-columns: 1fr; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}

/* footer disclaimer */
footer .disclaimer { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #8A8F93; font-size: 13px; line-height: 1.7; }
footer .disclaimer a { text-decoration: underline; }
footer .disclaimer a:hover { color: var(--green); }
footer mark.ph { font-size: 12px; }
.doc table tbody th { width: 160px; }
