/* SetDarts manuals — shared styles (matches the landing) */
@font-face { font-family: "Cal Sans"; src: local("Cal Sans"), url("../fonts/CalSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Aktiv Grotesk Ex"; src: local("Aktiv Grotesk Ex SemiBold"), url("../fonts/AktivGroteskEx-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Aktiv Grotesk Ex"; src: local("Aktiv Grotesk Ex Black"), url("../fonts/AktivGroteskEx-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #0a0a0b; --panel: #0e0e12; --text: #ededee; --muted: #9a9aa0; --faint: #62626a;
  --line: rgba(255,255,255,0.10); --line-soft: rgba(255,255,255,0.06);
  --accent: #b79cf0; --grad: linear-gradient(120deg, #c9b6ec 0%, #aa8ed6 46%, #56408d 100%);
  --head: "Aktiv Grotesk Ex", "Inter", sans-serif; --display: "Cal Sans", "Inter", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(183,156,240,.28); }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.label { font-family: var(--head); font-weight: 600; font-size: 11.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); }

/* header */
.doc-header { position: sticky; top: 0; z-index: 30; background: rgba(10,10,11,.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.doc-header-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 18px; }
.doc-header .brand svg { height: 26px; width: auto; display: block; }
.doc-tabs { display: flex; gap: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 11px; padding: 4px; }
.doc-tabs a { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.doc-tabs a:hover { color: var(--text); }
.doc-tabs a.active { color: #14101c; background: var(--grad); }
.doc-back { font-size: 13.5px; color: var(--muted); }
.doc-back:hover { color: var(--text); }
@media (max-width: 720px) { .doc-back { display: none; } }

/* layout */
.doc-layout { display: grid; grid-template-columns: 244px 1fr; gap: 48px; align-items: start; padding: 48px 0 90px; }
.doc-nav { position: sticky; top: 88px; align-self: start; }
.doc-nav .grp { font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); margin: 0 0 12px 12px; }
.doc-nav a { display: block; font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 8px; border-left: 2px solid transparent; transition: color .15s, background .15s, border-color .15s; }
.doc-nav a:hover { color: var(--text); background: rgba(255,255,255,.03); }
.doc-nav a.active { color: var(--text); border-left-color: var(--accent); }

/* content */
.doc-content { max-width: 720px; }
.doc-content h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; text-transform: uppercase; line-height: 1.06; }
.doc-content .lead { color: var(--muted); font-size: 18px; margin-top: 14px; }
.doc-content section { padding-top: 56px; scroll-margin-top: 84px; }
.doc-content h2 { font-size: 24px; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.doc-content h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }
.doc-content p { color: var(--muted); margin-top: 12px; }
.doc-content ul, .doc-content ol { color: var(--muted); margin: 14px 0 0 20px; }
.doc-content li { margin-top: 8px; }
.doc-content li::marker { color: var(--faint); }
.doc-content strong { color: var(--text); font-weight: 600; }
.doc-content a.inline { color: var(--accent); }
.doc-content a.inline:hover { text-decoration: underline; }
.doc-content .steps { counter-reset: step; list-style: none; margin-left: 0; }
.doc-content .steps li { position: relative; padding-left: 42px; margin-top: 16px; }
.doc-content .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-family: var(--display); font-size: 14px;
  color: var(--accent); background: rgba(183,156,240,.12); border: 1px solid rgba(183,156,240,.25); }
.note { margin-top: 20px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; background: rgba(183,156,240,.05); }
.note b { color: var(--text); }
.note p { margin-top: 4px; color: var(--muted); }
.doc-content hr { border: 0; border-top: 1px solid var(--line-soft); margin: 48px 0 0; }

/* footer */
.doc-foot { border-top: 1px solid var(--line-soft); padding: 30px 0; color: var(--faint); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.doc-foot a { color: var(--muted); }
.doc-foot a:hover { color: var(--text); }

/* hub */
.hub { padding: 80px 0 100px; text-align: center; }
.hub h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 900; text-transform: uppercase; line-height: 1.04; }
.hub .lead { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 40ch; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; text-align: left; }
.hub-card { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); transition: transform .18s, border-color .18s; }
.hub-card:hover { transform: translateY(-4px); border-color: rgba(183,156,240,.4); }
.hub-card .ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(183,156,240,.14); border: 1px solid rgba(183,156,240,.25); }
.hub-card .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.hub-card h2 { font-size: 21px; font-weight: 600; text-transform: uppercase; }
.hub-card p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.hub-card .go { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; color: var(--accent); font-weight: 600; font-size: 14.5px; }
.hub-card .go svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .15s; }
.hub-card:hover .go svg { transform: translateX(3px); }
@media (max-width: 640px) { .hub-grid { grid-template-columns: 1fr; } }

/* mobile */
@media (max-width: 860px) {
  .doc-layout { grid-template-columns: 1fr; gap: 0; padding: 28px 0 70px; }
  .doc-nav { position: static; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
  .doc-nav .grp { display: none; }
  .doc-nav-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .doc-nav a { white-space: nowrap; border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
  .doc-nav a.active { background: rgba(183,156,240,.12); border-color: rgba(183,156,240,.4); }
}
