/* Dofus Bot Pro public site: the app's dark look (UI/Theme.cs colors), mobile first, no web fonts, no framework. */
:root {
  --bg: #080b10; --bg2: #0b1016; --surface: #10151c; --raised: #161d27; --border: #242d39; --line: #1c2430;
  --text: #e9ecf0; --muted: #a0a9b4; --dim: #7d8794;
  --green: #22d692; --green-2: #16b97c; --green-ink: #03140d; --green-soft: rgba(34, 214, 146, .12);
  --pink: #e8295f; --orange: #f5a524; --cyan: #12b5cb; --gold: #e2b93b;
  --title: "Bahnschrift SemiBold SemiConden", "Bahnschrift", "Barlow Semi Condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 14px; --wrap: 1160px; --gutter: 16px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #5af0b6; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--title); font-weight: 600; line-height: 1.12; letter-spacing: .2px; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--green); color: var(--green-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem/1 var(--title); letter-spacing: 1.6px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: linear-gradient(180deg, #2ae29d, var(--green-2)); color: var(--green-ink); font: 600 1.05rem/1 var(--title); letter-spacing: .8px;
  text-transform: uppercase; text-decoration: none; border: 0; box-shadow: 0 6px 24px rgba(34, 214, 146, .25), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:hover { color: var(--green-ink); filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--green); filter: none; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .95rem; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(8, 11, 16, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 1.25rem/1 var(--title); letter-spacing: .6px; text-transform: uppercase; }
.brand img { width: 35px; height: 40px; }
.brand:hover { color: #fff; }
.menu-btn { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.brand span { white-space: nowrap; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 18px; flex-direction: column; }
.site-nav.open { display: flex; }
.site-nav a { color: var(--text); text-decoration: none; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); }
.drop-btn { display: none; }
.drop-list { display: flex; flex-direction: column; }
.drop-list a { padding-left: 14px; }
.nav-end { display: flex; align-items: center; gap: 10px; padding-top: 14px; flex-wrap: wrap; }
.nav-end a { border: 0; padding: 8px 4px; }
.nav-end .lang { font: 600 .9rem/1 var(--title); letter-spacing: 1px; border: 1px solid var(--border); border-radius: 8px; padding: 9px 10px; }
.nav-end .btn { color: var(--green-ink); padding: 0 16px; }
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 2px; background: none; border: 0; padding: 0; margin-left: auto; max-height: none; overflow: visible; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: .95rem; color: var(--muted); }
  .nav-drop { position: relative; }
  .drop-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; padding: 8px 10px; font: inherit; font-size: .95rem; color: var(--muted); }
  .drop-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
  .drop-btn:hover, .nav-drop.open .drop-btn, .nav-drop:has([aria-current="page"]) .drop-btn { color: var(--green); }
  .drop-list { display: none; position: absolute; top: 100%; left: -8px; min-width: 260px; padding: 8px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
  .nav-drop:hover .drop-list, .nav-drop:focus-within .drop-list, .nav-drop.open .drop-list { display: flex; }
  .drop-list a { padding: 10px 12px; border-radius: 8px; color: var(--text); }
  .drop-list a:hover { background: var(--raised); }
  .nav-end { padding: 0 0 0 10px; flex-wrap: nowrap; }
  .nav-end .btn { color: var(--green-ink); }
}

/* Hero */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(60% 50% at 75% 30%, rgba(34, 214, 146, .16), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(18, 181, 203, .10), transparent 70%); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 span { color: var(--green); display: block; }
.hero .lead { margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-line { margin: 12px 0 0; font-size: .88rem; color: var(--dim); }
.badges { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--muted); font-size: .92rem; }
.badges li { display: inline-flex; align-items: center; gap: 7px; }
.badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
@media (min-width: 960px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; } }

/* The toolbar illustration (drawn in CSS, scales with its box). */
.mock { container-type: inline-size; position: relative; aspect-ratio: 16 / 11; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(160deg, #18322a 0%, #12241f 40%, #0e1a1b 100%); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.mock::before { content: ""; position: absolute; inset: -30%; transform: rotate(0deg);
  background:
    repeating-linear-gradient(30deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 7cqw),
    repeating-linear-gradient(-30deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 7cqw);
  mask-image: radial-gradient(70% 70% at 50% 60%, #000 30%, transparent 85%); -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000 30%, transparent 85%); }
.mock .tile { position: absolute; width: 12cqw; height: 7cqw; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.mock .tile.a { left: 46%; top: 76%; background: rgba(34, 214, 146, .45); box-shadow: 0 0 30px var(--green); }
.mock .tile.b { left: 58%; top: 69%; background: rgba(232, 41, 95, .42); }
.mock .tile.c { left: 70%; top: 83%; background: rgba(18, 181, 203, .35); }
.mock .tile.d { left: 22%; top: 83%; background: rgba(245, 165, 36, .30); }
.mock .bar { position: absolute; left: 3%; top: 4%; display: flex; gap: .7cqw; padding: .8cqw; border-radius: 1.6cqw; background: rgba(17, 20, 28, .94); border: 1px solid #2b3240; font: 600 1.75cqw/1 var(--title); letter-spacing: .1cqw; }
.mock .seg { display: inline-flex; align-items: center; gap: .6cqw; padding: 1.15cqw 1.3cqw; border-radius: 1cqw; background: #20263a; color: #c9cfda; white-space: nowrap; }
.mock .seg i { font-style: normal; opacity: .65; font-size: 1.4cqw; }
.mock .seg.on { background: #1d3a30; color: #fff; box-shadow: inset 0 0 0 .25cqw var(--green); }
.mock .seg.lit { box-shadow: inset 0 0 0 .25cqw var(--gold); color: #fff; }
.mock .pill { position: absolute; left: 3%; top: 15.5%; display: inline-flex; align-items: center; gap: .8cqw; padding: .9cqw 1.6cqw; border-radius: 4cqw; background: rgba(10, 12, 18, .9); border: 1px solid #2b3240; font: 600 1.7cqw/1 var(--title); color: #dfe4ea; }
.mock .pill b { color: var(--green); font-weight: 600; }
.mock .pill::before { content: ""; width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 1.6cqw var(--green); }
.mock .menu { position: absolute; left: 3%; top: 23%; width: 38%; border-radius: 1.4cqw; background: rgba(14, 17, 24, .96); border: 1px solid #2b3240; padding: 1.2cqw; font: 1.7cqw/1.2 var(--body); box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, .5); }
.mock .menu .mh { display: flex; margin: 0 0 1cqw; font: 600 1.4cqw/1 var(--title); letter-spacing: .2cqw; color: #8e96a0; display: flex; justify-content: space-between; align-items: center; }
.mock .menu .mh em { font-style: normal; color: var(--green-ink); background: var(--green); border-radius: 2cqw; padding: .4cqw .9cqw; font-size: 1.2cqw; }
.mock .row { display: flex; justify-content: space-between; padding: 1cqw 1cqw; border-radius: .8cqw; color: #c9cfda; }
.mock .row.on { background: #12342a; color: #fff; }
.mock .row.on::after { content: "✓"; color: var(--green); }
.mock .row.foot { color: #8e96a0; border-top: 1px solid #262d38; margin-top: .6cqw; border-radius: 0; }
.mock .hunt { position: absolute; right: 3%; top: 26%; width: 34%; border-radius: 1.2cqw; overflow: hidden; background: rgba(24, 27, 40, .95); border: 1px solid #343b52; font: 1.6cqw/1.25 var(--body); }
.mock .hunt .go { background: #1d3a30; color: #fff; text-align: center; font: 600 1.5cqw/1 var(--title); letter-spacing: .15cqw; padding: 1.1cqw; box-shadow: inset 0 0 0 .25cqw var(--green); }
.mock .hunt .mh { display: block; margin: 0; padding: 1.1cqw 1.3cqw; background: #3c3e53; font: 600 1.5cqw/1 var(--title); letter-spacing: .15cqw; color: #e7e9f2; }
.mock .hunt p { margin: 0; padding: .9cqw 1.3cqw; color: #c3c8d6; border-top: 1px solid #2c3146; display: flex; justify-content: space-between; gap: 1cqw; }
.mock .hunt p.done { color: #7f879a; text-decoration: line-through; }
.mock .hunt p b { color: var(--orange); font-weight: 600; }
.mock .who { position: absolute; left: 46%; top: 76%; width: 3.6cqw; height: 6cqw; transform: translate(-50%, -60%); border-radius: 50% 50% 40% 40%; background: linear-gradient(#f0d9a8, #b07c3f); box-shadow: 0 1cqw 1.2cqw rgba(0, 0, 0, .45); }
.mock .foe { position: absolute; left: 58%; top: 69%; width: 4cqw; height: 5cqw; transform: translate(-50%, -60%); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ff8aa6, #9c1d41); box-shadow: 0 1cqw 1.2cqw rgba(0, 0, 0, .45); }
.mock .cap { position: absolute; right: 2%; bottom: 2.5%; font: 600 1.4cqw/1 var(--title); letter-spacing: .2cqw; color: rgba(255, 255, 255, .45); text-transform: uppercase; }

/* Sections */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (min-width: 960px) { .band { padding: 92px 0; } }

/* Feature cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: linear-gradient(180deg, var(--surface), #0d1218); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card h3 { margin: 12px 0 8px; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: .98rem; }
.card .more-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .more-link::after { content: " →"; }
.card:has(.more-link):hover { border-color: rgba(34, 214, 146, .5); }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; background: #1b2131; border: 1px solid #2b3240; color: #fff; font: 600 .92rem/1 var(--title); letter-spacing: 1px; }
.chip svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip.pink svg { stroke: var(--pink); } .chip.orange svg { stroke: var(--orange); } .chip.cyan svg { stroke: var(--cyan); } .chip.gold svg { stroke: var(--gold); }

/* Two columns with a picture */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li b { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 6px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d692' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.acts li { padding: 8px 12px; border-radius: 9px; background: var(--raised); border: 1px solid var(--border); font: 600 .9rem/1 var(--title); letter-spacing: .8px; text-transform: uppercase; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; color: var(--muted); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 600 2.2rem/1 var(--title); color: var(--green); margin-bottom: 10px; }
.steps li b { display: block; color: #fff; font: 600 1.15rem/1.2 var(--title); margin-bottom: 6px; letter-spacing: .3px; }
.keys kbd, kbd { font: 600 .85em/1 var(--mono); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--border); border-bottom-width: 2px; background: var(--raised); color: var(--text); }


/* Media: videos, screenshots and their empty slots */
.video, .shot { margin: 0; }
.video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); display: block; }
.play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(34, 214, 146, .92); box-shadow: 0 0 0 10px rgba(34, 214, 146, .18); }
.play-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--green-ink); }
.video figcaption, .shot figcaption { color: var(--dim); font-size: .9rem; margin-top: 10px; }
.shot img { border-radius: var(--radius); border: 1px solid var(--border); }
.slot .slot-box { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 24px; width: 100%; height: 100%; min-height: 200px; border-radius: var(--radius);
  border: 2px dashed rgba(34, 214, 146, .45); background: repeating-linear-gradient(135deg, rgba(34, 214, 146, .045) 0 14px, transparent 14px 28px), var(--surface); color: var(--muted); }
.video.slot .slot-box { aspect-ratio: 16 / 9; }
.slot .slot-box b { color: var(--text); font: 600 1.05rem/1.3 var(--title); letter-spacing: .3px; max-width: 34ch; }
.slot .play-icon { position: relative; left: auto; top: auto; transform: none; width: 56px; height: 56px; opacity: .55; }
.slot .play-icon::after { left: 22px; top: 16px; border-width: 12px 0 12px 18px; }
.slot-tag { position: absolute; left: 12px; top: 12px; font: 600 .75rem/1 var(--mono); letter-spacing: .5px; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: rgba(34, 214, 146, .16); color: var(--green); }

/* FAQ */
.faq > h2, .faq > details { max-width: 860px; }
.faq { padding-top: 56px; padding-bottom: 40px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font: 600 1.08rem/1.35 var(--title); letter-spacing: .2px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 18px 6px; color: var(--muted); }

/* Call to action */
.cta-band { padding: 72px 0; text-align: center; border-top: 1px solid var(--line); background: radial-gradient(50% 80% at 50% 100%, rgba(34, 214, 146, .16), transparent 70%), var(--bg2); }
.cta-band p { color: var(--muted); max-width: 60ch; margin: 0 auto 24px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .fine { font-size: .88rem; color: var(--dim); margin: 18px auto 0; }

/* Guides (article pages) */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .9rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--muted); text-decoration: none; }
.guide-hero { padding-top: 26px; padding-bottom: 40px; position: relative; isolation: isolate; }
.guide-hero::before { content: ""; position: absolute; inset: -40% 0 0; z-index: -1; background: radial-gradient(50% 60% at 80% 20%, rgba(34, 214, 146, .12), transparent 70%); }
.guide-hero h1 { font-size: clamp(2rem, 5.6vw, 3.3rem); max-width: 22ch; }
.meta-line { color: var(--dim); font-size: .9rem; margin-top: 16px; }
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 40px; }
@media (min-width: 1000px) { .article { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 3.6vw, 2.1rem); scroll-margin-top: 90px; }
.prose h3 { margin-top: 1.5em; color: #fff; }
.prose p, .prose li { color: #c9d0d8; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green); }
.prose figure { margin: 1.6em 0; }
.prose strong, .prose b { color: #fff; }
.toc { position: sticky; top: 88px; align-self: start; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--surface); font-size: .95rem; }
.toc h2 { font-size: 1rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 6px 0; color: var(--dim); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--green); }
.toc .btn { width: 100%; margin-top: 16px; }
@media (max-width: 999px) { .toc { position: static; order: -1; } }
.note, .warn, .tip { border-radius: 12px; padding: 16px 18px; margin: 1.4em 0; border: 1px solid var(--border); background: var(--surface); }
.note { border-left: 4px solid var(--cyan); } .warn { border-left: 4px solid var(--orange); } .tip { border-left: 4px solid var(--green); }
.note p:last-child, .warn p:last-child, .tip p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .9rem/1.2 var(--title); letter-spacing: .8px; text-transform: uppercase; color: var(--muted); background: var(--raised); }
tr:last-child td { border-bottom: 0; }
td { color: #c9d0d8; }
.more { padding: 24px var(--gutter) 64px; }
.more-grid { display: grid; gap: 14px; }
.more-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.more-card { display: block; padding: 18px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--muted); font-size: .94rem; }
.more-card b { display: block; color: #fff; font: 600 1.1rem/1.25 var(--title); margin-bottom: 6px; }
.more-card:hover { border-color: rgba(34, 214, 146, .5); color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); background: #06080c; padding: 48px 0 24px; font-size: .94rem; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.6fr 1.2fr 1fr .8fr; } }
.foot-brand p { color: var(--dim); margin-top: 14px; max-width: 42ch; }
.site-foot h2 { font-size: .95rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-foot nav a { display: block; color: var(--text); text-decoration: none; padding: 5px 0; }
.site-foot nav a:hover { color: var(--green); }
.foot-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.foot-legal p { max-width: 100ch; }

/* 404 */
.lost { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.lost p { color: var(--muted); }
