/* Urban Rats Skill Games — studio site */
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --bg: #07080f;
  --bg2: #0b0d1a;
  --surface: #11142a;
  --surface2: #161a36;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #eef0ff;
  --dim: #b2b6da;
  --mute: #8085b0;
  --mint: #45f0b5;
  --mint-ink: #04271b;
  --violet: #8b7bff;
  --sky: #5ad1ff;
  --gold: #ffc94a;
  --pink: #ff5e8a;
  --r: 18px;
  --r-lg: 26px;
  --wrap: 1180px;
  --gutter: 16px;
  --display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
@media (min-width: 720px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@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: 400 16px/1.6 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--mint); color: var(--mint-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.fine { color: var(--mute); font-size: 13px; line-height: 1.5; margin-top: 14px; }
.center { text-align: center; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 14px; font: 700 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.btn-primary { background: linear-gradient(180deg, #6ff7c6, var(--mint)); color: var(--mint-ink); box-shadow: 0 10px 30px -10px rgba(69, 240, 181, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.15); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(69, 240, 181, 0.9), inset 0 -2px 0 rgba(0, 0, 0, 0.15); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--mint); font-weight: 700; text-decoration: none; margin-top: 18px; }
.link:hover { text-decoration: underline; }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 15, 0.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-t { display: grid; line-height: 1; }
.brand-t b { font: 700 16px/1 var(--display); letter-spacing: 0.04em; }
.brand-t small { font: 600 10px/1 var(--body); letter-spacing: 0.32em; color: var(--mint); margin-top: 4px; }
.links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.links a:not(.btn) { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--dim); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.links a:not(.btn):hover, .links a[aria-current='page'] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.links .lang { color: var(--text); }
.nav-play { margin-left: 8px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, 0.06); color: var(--text); place-items: center; cursor: pointer; }
@media (max-width: 860px) {
  .burger { display: grid; }
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px var(--gutter) 22px; background: rgba(9, 10, 20, 0.98); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .links a:not(.btn) { padding: 14px 12px; font-size: 17px; }
  .nav-play { margin: 10px 0 0; min-height: 52px; }
  .nav[data-open] .links { opacity: 1; transform: none; visibility: visible; }
  .no-js .links { position: static; opacity: 1; visibility: visible; transform: none; }
}

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: radial-gradient(1000px 520px at 78% 10%, rgba(139, 123, 255, 0.22), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(69, 240, 181, 0.1), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero .wrap { position: relative; }
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 88px 0 96px; } .hero-in { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.kicker { font: 700 12.5px/1.2 var(--body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 9vw, 76px); letter-spacing: -0.035em; }
.grad { background: linear-gradient(92deg, var(--mint), var(--sky) 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--dim); font-size: clamp(17px, 2.2vw, 19.5px); line-height: 1.6; margin-top: 20px; max-width: 620px; }
.note { display: flex; gap: 8px; align-items: center; color: var(--mute); font-size: 14px; margin-top: 18px; }
.hero-visual { position: relative; justify-self: center; width: min(320px, 78vw); }
.hero-slim { padding: 64px 0 56px; }
.hero-slim h1 { font-size: clamp(34px, 6.5vw, 58px); max-width: 900px; }

/* phone mockup */
.phone { margin: 0; position: relative; border-radius: 42px; padding: 9px; background: linear-gradient(160deg, #2a2f55, #10132a 60%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 30px 120px -40px rgba(139, 123, 255, 0.55); }
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 393 / 852; object-fit: cover; background: #120f35; }
.hero-phone { transform: rotate(-3deg); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-10px); } }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(17, 20, 42, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line2), 0 18px 40px -18px rgba(0, 0, 0, 0.8); font-size: 13.5px; font-weight: 600; color: var(--dim); white-space: nowrap; }
.chip b { font: 700 17px/1 var(--display); color: var(--gold); }
.chip code { font: 600 12px/1 var(--mono); color: var(--mint); }
.chip .ic { color: var(--mint); flex: none; }
.chip-a { left: -14%; top: 18%; }
.chip-b { right: -12%; bottom: 14%; }
@media (max-width: 520px) { .chip-a { left: -4%; top: 8%; } .chip-b { right: -4%; bottom: 8%; } .chip { font-size: 12.5px; padding: 8px 11px; } }

/* ── sections ── */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 96px 0; } }
.section + .section { border-top: 1px solid var(--line); }
.sh { max-width: 760px; margin-bottom: 36px; }
.sh h2 { font-size: clamp(28px, 4.6vw, 44px); }
.sh .lead { margin-top: 14px; }
.body { color: var(--dim); font-size: 17px; line-height: 1.7; max-width: 760px; margin-top: 18px; }
.split { display: grid; gap: 20px; align-items: start; }
.split > .sh { margin-bottom: 0; }
.split > .body { margin-top: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split .sh { margin-bottom: 24px; } .split > .body { margin-top: 44px; } }

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards-4, .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 26px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface2), var(--surface)); box-shadow: inset 0 0 0 1px var(--line); }
.card h3 { font-size: 19px; margin-top: 18px; }
.card p { color: var(--dim); font-size: 15px; margin-top: 10px; line-height: 1.6; }
.card-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--mint); background: rgba(69, 240, 181, 0.1); box-shadow: inset 0 0 0 1px rgba(69, 240, 181, 0.22); }

/* games */
.game-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .game-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.game { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.game-art { display: grid; place-items: center; padding: 28px; min-height: 220px; background: radial-gradient(400px 220px at 50% 40%, rgba(139, 123, 255, 0.25), transparent 70%), var(--bg2); border-bottom: 1px solid var(--line); }
.game-art svg { width: min(240px, 70%); height: auto; }
.game-live .game-art svg { width: min(260px, 72%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.game-live .glow { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
.game-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { font-size: 26px; margin-top: 14px; }
.game-body h3 a { text-decoration: none; }
.game-body h3 a:hover { color: var(--mint); }
.game-body p { color: var(--dim); margin-top: 10px; font-size: 15.5px; }
.game-body .cta-row { margin-top: auto; padding-top: 22px; }
.game-soon { opacity: 0.85; }
.game-soon .game-art svg { opacity: 0.8; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font: 700 12px/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line2); }
.badge-live { color: var(--mint); background: rgba(69, 240, 181, 0.1); box-shadow: inset 0 0 0 1px rgba(69, 240, 181, 0.3); }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(69, 240, 181, 0.2); }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 600; color: var(--dim); padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.05); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.steps h3 { font-size: 19px; margin-top: 12px; }
.steps p { color: var(--dim); font-size: 15px; margin-top: 8px; }
.step-n { font: 700 13px/1 var(--mono); color: var(--violet); letter-spacing: 0.08em; }
.step-ic { position: absolute; right: 20px; top: 20px; color: var(--mute); }

/* stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(139, 123, 255, 0.12), rgba(69, 240, 181, 0.08)); }
.stats-in { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .stats-in { grid-template-columns: repeat(4, 1fr); } }
.stats-in div { padding: 30px 8px; text-align: center; }
.stats-in b { display: block; font: 700 clamp(32px, 5vw, 46px)/1 var(--display); letter-spacing: -0.02em; }
.stats-in span { display: block; color: var(--dim); font-size: 14px; margin-top: 8px; }

/* lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); }
.checks .ic { color: var(--mint); flex: none; margin-top: 2px; }
.plain { margin: 16px 0 0; padding-left: 20px; color: var(--dim); display: grid; gap: 10px; }

/* CTA band */
.cta-band { background: radial-gradient(700px 300px at 85% 50%, rgba(69, 240, 181, 0.16), transparent 70%), radial-gradient(700px 300px at 10% 50%, rgba(139, 123, 255, 0.18), transparent 70%), var(--bg2); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-in h2 { font-size: clamp(26px, 4vw, 38px); }
.cta-in p { color: var(--dim); margin-top: 10px; max-width: 560px; }

/* game page */
.shot-row { display: grid; gap: 28px; grid-template-columns: 1fr; justify-items: center; margin-top: 10px; }
@media (min-width: 720px) { .shot-row { grid-template-columns: repeat(3, 1fr); } }
.shot-row figure { margin: 0; width: min(280px, 80vw); }
.shot-row figcaption { text-align: center; color: var(--dim); font-size: 14px; margin-top: 14px; font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl thead th { font: 700 12px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); background: rgba(255, 255, 255, 0.02); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl td { color: var(--dim); }
.tbl td.max { color: var(--gold); font-weight: 700; }
.dpill { display: inline-block; padding: 5px 11px; border-radius: 9px; font: 700 13px/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.d-basic { color: var(--sky); background: rgba(90, 209, 255, 0.12); }
.d-medium { color: var(--violet); background: rgba(139, 123, 255, 0.14); }
.d-hard { color: var(--pink); background: rgba(255, 94, 138, 0.12); }
.vs { display: grid; gap: 16px; }
@media (min-width: 860px) { .vs { grid-template-columns: 1.4fr 1fr; } }
.vs-col { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.vs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.vs-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.vs-col li { display: flex; gap: 10px; color: var(--dim); }
.vs-col li .ic { flex: none; margin-top: 3px; }
.vs-skill { box-shadow: inset 0 0 0 1px rgba(69, 240, 181, 0.3); background: linear-gradient(180deg, rgba(69, 240, 181, 0.07), var(--surface)); }
.vs-skill h3 .ic, .vs-skill li .ic { color: var(--mint); }
.vs-chance h3 .ic, .vs-chance li .ic { color: var(--violet); }
.callout { display: grid; gap: 22px; padding-top: 36px !important; padding-bottom: 36px !important; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
@media (min-width: 720px) { .callout { grid-template-columns: auto 1fr; padding: 40px !important; } }
.callout h2 { font-size: clamp(24px, 3.6vw, 32px); }
.callout p:not(.kicker) { color: var(--dim); margin-top: 14px; max-width: 800px; }
.callout-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--gold); background: rgba(255, 201, 74, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 201, 74, 0.25); }
.callout-warn .callout-ic { color: var(--sky); background: rgba(90, 209, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(90, 209, 255, 0.25); }

/* fairness */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 900px) { .timeline li { flex-direction: column; } }
.tl-n { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 700 16px/1 var(--display); color: var(--bg); background: linear-gradient(135deg, var(--mint), var(--sky)); }
.timeline h3 { font-size: 19px; }
.timeline p { color: var(--dim); font-size: 15px; margin-top: 8px; overflow-wrap: anywhere; }
.code { margin: 0; padding: 22px; border-radius: var(--r); background: #05060c; box-shadow: inset 0 0 0 1px var(--line2); overflow-x: auto; font: 13.5px/1.65 var(--mono); color: #cfd3ff; tab-size: 2; }
.rules { display: grid; gap: 10px; }
.rule { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); }
.rule .ic { color: var(--mute); }
.rule b { color: var(--text); }
.rule.good b { color: var(--mint); }
.rule.bad b { color: var(--pink); }
@media (max-width: 640px) { .rule { grid-template-columns: 1fr; gap: 6px; } .rule .ic { transform: rotate(90deg); } }

/* developers */
.defs { margin: 0; display: grid; gap: 10px; }
.defs div { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (min-width: 720px) { .defs div { grid-template-columns: 180px 1fr; gap: 20px; } }
.defs dt { font-weight: 700; }
.defs dd { margin: 0; color: var(--dim); }
.tbl-api { min-width: 600px; }
.tbl-api .mono { color: var(--text); white-space: nowrap; }
.verb { display: inline-block; min-width: 52px; text-align: center; padding: 4px 8px; border-radius: 7px; font: 700 12px/1.2 var(--mono); }
.v-get { color: var(--sky); background: rgba(90, 209, 255, 0.12); }
.v-post { color: var(--mint); background: rgba(69, 240, 181, 0.12); }
.diagram { padding: 24px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.lifecycle { min-width: 640px; width: 100%; height: auto; font-family: var(--body); }
.lifecycle .st rect { fill: var(--surface2); stroke: var(--line2); stroke-width: 1.5; }
.lifecycle .st text { fill: var(--text); font: 700 14px var(--mono); }
.lifecycle .live rect { stroke: var(--violet); }
.lifecycle .win rect { stroke: var(--mint); }
.lifecycle .win text { fill: var(--mint); }
.lifecycle .end text { fill: var(--dim); }
.lifecycle .edge { fill: none; stroke: #8f95c7; stroke-width: 1.6; }
.lifecycle .elabel { fill: var(--dim); font-size: 12.5px; font-weight: 600; }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 40px; }
.demo-banner { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: rgba(255, 201, 74, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 201, 74, 0.25); color: #f4e3b5; font-size: 14.5px; line-height: 1.55; }
.demo-banner .ic { color: var(--gold); flex: none; margin-top: 1px; }
.foot-grid { display: grid; gap: 32px; margin: 40px 0 20px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand p { color: var(--mute); margin-top: 14px; max-width: 360px; font-size: 14.5px; }
.foot-h { font: 700 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 6px 0; color: var(--dim); text-decoration: none; font-size: 15px; }
.foot ul a:hover { color: var(--text); }

.nf h1 { font-size: clamp(32px, 6vw, 56px); }
