/* LionAI public site -- one stylesheet, system fonts, no web fonts, no third-party assets, no JavaScript needed. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #17181c; --muted: #5b5f6b; --line: #e6e2d9;
  --brand: #b7791f; --brand-strong: #8a5a12; --accent-bg: #fbf3e4; --code: #f2efe8;
  --hero-a: #17181c; --hero-b: #2a241a; --hero-text: #f4f1ea; --hero-muted: #c9c3b6; --ok: #1d6b3a; --wip: #8a5a12;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --surface: #171a20; --text: #ecebe7; --muted: #a3a6ae; --line: #2a2e36; --brand: #e2a74a; --brand-strong: #f0c27a; --accent-bg: #231d12; --code: #20242c; --hero-a: #0c0d10; --hero-b: #221d14; --ok: #7fd69b; --wip: #f0c27a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--brand-strong); text-underline-offset: 2px; overflow-wrap: anywhere; }
li, td, p { overflow-wrap: break-word; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 1080px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 6px 10px; border-radius: 6px; z-index: 10; }

/* header */
header.site { border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: .01em; }
.brand img { width: 28px; height: 28px; }
nav.top { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: .92rem; }
nav.top a { color: var(--muted); text-decoration: none; padding: 4px 0; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--text); }

/* typography */
main { padding: 40px 0 56px; }
main.home { padding: 0 0 56px; }
h1 { font-size: clamp(1.7rem, 4.5vw, 2.3rem); line-height: 1.2; margin: 0 0 .4rem; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; letter-spacing: -.005em; }
h3 { font-size: 1rem; margin: 1.4rem 0 .4rem; }
p, li { color: var(--text); }
.lead { font-size: 1.12rem; color: var(--muted); margin-top: .2rem; }
.meta { color: var(--muted); font-size: .9rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--brand); margin: 0 0 .5rem; }

/* home: hero */
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--hero-text); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2rem, 6vw, 3.1rem); color: var(--hero-text); max-width: 18ch; }
.hero .lead { color: var(--hero-muted); max-width: 60ch; font-size: 1.15rem; }
.hero .eyebrow { color: #e2a74a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: #e2a74a; color: #17181c; }
.btn.ghost { border-color: rgba(244, 241, 234, .35); color: var(--hero-text); }
.btn:hover { filter: brightness(1.05); }

/* home: sections */
section.band { padding: 56px 0 8px; }
section.band > .wrap > h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 0; }
.section-lead { color: var(--muted); max-width: 64ch; margin-top: -.2rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 1.4rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: .2rem 0 .35rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card svg { width: 28px; height: 28px; color: var(--brand); }
.steps { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 60px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-bg); color: var(--brand-strong); font-weight: 700; display: grid; place-items: center; font-size: .9rem; border: 1px solid var(--line); }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .95rem; }
.status { font-size: .82rem; font-weight: 600; white-space: nowrap; }
.status.live { color: var(--ok); }
.status.wip { color: var(--wip); }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-top: 1.2rem; }
.contact p { margin: .3rem 0; }

/* legal pages */
.note { background: var(--accent-bg); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; padding: 12px 14px; font-size: .95rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: .94rem; }
.toc ol { margin: .3rem 0 0; padding-left: 1.2rem; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: .6rem 0; display: block; overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
code { background: var(--code); padding: 1px 5px; border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: .9rem; margin-top: 24px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.site nav { display: flex; gap: 6px 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
@media (max-width: 520px) { .hero { padding: 48px 0 44px; } .steps li { padding-left: 54px; } .status { white-space: normal; } th, td { padding: 8px 6px; } }
