:root {
  --bg: #0b0d0c;
  --surface: #121713;
  --surface-2: #1a211b;
  --line: #303b32;
  --text: #dce5da;
  --muted: #96a397;
  --lime: #c8ff24;
  --green: #62fd9c;
  --danger: #ff9c93;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.label { font: 500 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.site-header { position: sticky; top: 0; z-index: 5; background: rgba(11, 13, 12, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.bar nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.bar nav a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: #111310; font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 999px; border: 0; transition: transform 0.15s, background 0.15s; }
.btn:hover { background: #fff; color: #111310; transform: translateY(-1px); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface-2); color: #fff; }

.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #bbcbbb; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill { display: inline-block; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); border: 1px solid #62fd9c42; background: #62fd9c15; padding: 8px 12px; border-radius: 999px; margin-bottom: 22px; }

.chat { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px -30px #000; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat-head small { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 14px; margin: 0 0 10px; font-size: 0.95rem; line-height: 1.5; }
.bubble.you { margin-left: auto; background: #1f3a22; border-bottom-right-radius: 4px; }
.bubble.hadi { background: var(--surface-2); border-bottom-left-radius: 4px; }
.bubble .row { color: var(--muted); display: block; font-size: 0.88rem; }
.choices { display: flex; gap: 8px; margin-top: 10px; }
.choices span { flex: 1; text-align: center; padding: 7px; border-radius: 10px; background: var(--surface-3, #242c25); font-size: 0.85rem; font-weight: 600; }
.choices span:first-child { color: var(--green); }
.choices span:last-child { color: var(--danger); }

section { padding: clamp(40px, 7vw, 84px) 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band .card { background: var(--bg); }
.card h3 { margin-bottom: 0.4em; }
.note { margin-top: 20px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 0; }
.steps li { counter-increment: step; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: "0" counter(step); display: block; font: 500 0.85rem/1 var(--mono); color: var(--lime); margin-bottom: 14px; }
.steps h3 { margin-bottom: 0.3em; }
.steps p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: #62fd9c15; border: 1px solid #62fd9c42; }
.checks li::after { content: ""; position: absolute; left: 6px; top: 0.55em; width: 5px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font: 500 1.3rem/1 var(--mono); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; }

.prose { width: min(760px, 100% - 40px); margin-inline: auto; padding: clamp(36px, 6vw, 72px) 0; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose .updated { font: 500 0.82rem/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 28px; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 10px; padding: 16px 18px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 18px 0; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 0.78rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-grid nav a { display: block; color: var(--text); text-decoration: none; padding: 3px 0; }
.foot-grid nav a:hover { color: var(--lime); }
.fine { color: var(--muted); font-size: 0.85rem; margin: 32px 0 0; max-width: 60em; }

@media (max-width: 820px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; }
  .bar nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
