/* agentgov.si — one stylesheet for every page.
 * Light only, paper and ink, an amber accent, rounded. Tokens follow CLAUDE.md "Wordmark"; everything below is built from them.
 * Pixel art follows the banner convention: drawn at 1x, scaled by whole multiples (--s), pixelated. */

:root {
  color-scheme: light;
  --bg: #FFFFFF; --bg-soft: #FBF8F1; --sky: #EEF0F8; --card: #FFFFFF; --line: #E4E6EF;
  --ink: #1B1F3B; --ink-soft: #3A4059; --muted: #5C6280;   /* muted ≥ 5:1 on white, paper and sky */
  --amber: #F5A524; --amber-deep: #B9780A; --amber-soft: #FFF1D6; --mint: #1F7A5A; --mint-soft: #E5F4EE; --red: #C2412D; --red-soft: #FBE3DF; --blue: #3D5BFF;
  --radius: 18px; --radius-pill: 999px; --shadow: 0 6px 24px rgba(27,31,59,.08);
  --font-head: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-pixel: "Pixelify Sans", "Baloo 2", monospace;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* text-bearing variants: white on --ink is 14:1; --amber-deep on white is 4.7:1 (bold text) */
  --btn: #1B1F3B; --btn-deep: #0E1128; --ink-text: #1B1F3B;
  --ring: 0 0 0 3px rgba(245,165,36,.45);
  --wrap: 1160px;
  --s: 2;                                   /* screen pixels per art pixel */
}
@media (min-width: 720px)  { :root { --s: 3; } }
@media (min-width: 1100px) { :root { --s: 4; } }
@media (min-width: 1500px) { :root { --s: 5; } }

*, *::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; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--amber-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(36px, 4.2vw + 14px, 68px); }
h2 { font-size: clamp(28px, 2.4vw + 14px, 46px); }
h3 { font-size: clamp(20px, .6vw + 16px, 24px); font-weight: 700; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--font-mono); font-weight: 500; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); margin-inline: auto; }
section { padding: clamp(56px, 6vw, 104px) 0; }
.soft { background: var(--bg-soft); }
.skyb { background: var(--sky); }
.dots { background-image: radial-gradient(rgba(27,31,59,.10) 1.5px, transparent 1.6px); background-size: 22px 22px; }

/* ---------- wordmark ---------- */
.wm { display: inline-flex; align-items: center; gap: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; line-height: 1; }
.wm img { width: 1em; height: 1em; margin-right: .32em; image-rendering: pixelated; flex: none; transform: translateY(-.04em); }
.wm b { color: var(--amber-deep); font-weight: 700; }
.wm.pr b { color: var(--blue); }   /* prodready, a sister product: its own colour */
.wm.dr b { color: #E14E2E; }       /* dataready */
.brand .wm { font-size: 26px; }
.brand .wm img { width: 28px; height: 28px; }

/* ---------- eyebrow, pills, chips ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-pixel); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--amber-soft); padding: 6px 12px; border-radius: var(--radius-pill); margin: 0 0 18px; }
.eyebrow.mint { background: var(--mint-soft); color: var(--mint); }
.eyebrow.sky { background: var(--sky); color: var(--ink); }
.eyebrow.red { background: var(--red-soft); color: var(--red); }
.lead { font-size: clamp(18px, .5vw + 16px, 22px); color: var(--ink-soft); line-height: 1.5; max-width: 62ch; }

/* ---------- buttons: pill, toy-like press ---------- */
.btn { --b: var(--btn); --bd: var(--btn-deep); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: var(--radius-pill); border: 0; background: var(--b); color: var(--c); font-family: var(--font-head); font-weight: 800;
  font-size: 18px; line-height: 1; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 var(--bd);
  transition: transform .12s ease, box-shadow .12s ease, background .12s; white-space: nowrap; }
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: 0 6px 0 var(--bd); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--bd); }
.btn.sun { --b: var(--amber); --bd: var(--amber-deep); --c: var(--ink); }
.btn.ghost { --b: #fff; --bd: var(--line); --c: var(--ink); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); }
.btn.sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .ar { transition: transform .15s; }
.btn:hover .ar { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav ul a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 16px; }
.nav ul a:hover { background: var(--bg-soft); color: var(--ink); }
.nav ul a[aria-current="page"] { background: var(--amber-soft); color: var(--ink); }
.nav .btn { margin-left: 6px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 3px; border-radius: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s, opacity .2s; }
.burger span::before { position: absolute; top: -7px; } .burger span::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.nav nav .btn-m { display: none; }
@media (max-width: 899px) {
  .burger { display: inline-flex; }
  .nav nav { position: fixed; inset: 68px 0 auto 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 16px 20px; display: none; }
  .nav.open nav { display: block; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a { min-height: 52px; font-size: 19px; padding: 0 16px; }
  .nav .wrap > .btn { display: none; }
  .nav nav .btn-m { display: flex; margin-top: 10px; }
}
body.menu-open { overflow: hidden; }

/* ---------- pixel band (banner convention) ---------- */
.band-frame { position: relative; width: 100%; overflow: hidden; display: flex; justify-content: center; }
.band { position: relative; flex: none; width: calc(256px * var(--s)); height: calc(var(--h, 56) * 1px * var(--s)); }
.band img.art, .px, .step-art { image-rendering: pixelated; image-rendering: crisp-edges; }
.band img.art { display: block; width: 100%; height: 100%; }
.band-frame.paper { background: linear-gradient(180deg, #FBF8F1 0 calc(47px * var(--s)), #E4E6EF calc(47px * var(--s)) calc(48px * var(--s)), #EEF0F8 calc(48px * var(--s)) 100%); }

/* ---------- hero: the control room (dark ink, a registry console) ---------- */
.hero { --hb: #13163A; padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); color: #E9EBF5; position: relative; overflow: hidden;
  background: radial-gradient(900px 420px at 85% 10%, rgba(245,165,36,.16), transparent 60%), radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px) 0 0 / 24px 24px, linear-gradient(180deg, var(--ink) 0%, var(--hb) 100%); }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }
.hero .eyebrow { background: rgba(245,165,36,.14); color: var(--amber); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .hl { color: var(--amber); }
.hero .lead { color: #C9CDE0; margin: 0 0 28px; }
.btn.ghost-d { --b: transparent; --bd: rgba(255,255,255,.18); --c: #fff; border: 2px solid rgba(255,255,255,.28); box-shadow: 0 4px 0 rgba(255,255,255,.12); }
.btn.ghost-d:hover { --b: rgba(255,255,255,.06); }
.console { background: #0E1128; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(245,165,36,.08); overflow: hidden; font-size: 15px; min-width: 0; }
.c-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.c-dots { display: inline-flex; gap: 6px; } .c-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.c-title { font-family: var(--font-mono); font-size: 13px; color: #9AA0BD; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-score { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.c-score b { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; border-radius: 8px; background: var(--amber); color: var(--ink); font-size: 16px; }
.c-rows { list-style: none; margin: 0; padding: 6px 0; }
.c-rows li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who pol" "code src"; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.06); align-items: center; }
.c-rows li:last-child { border-bottom: 0; }
.c-who { grid-area: who; font-weight: 800; color: #fff; }
.c-rows code { grid-area: code; color: #F7C46B; font-size: 13.5px; overflow-wrap: anywhere; }
.c-src { grid-area: src; font-size: 13px; color: #9AA0BD; text-align: right; }
.pol { grid-area: pol; justify-self: end; font-family: var(--font-pixel); font-weight: 700; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pol.ok { background: rgba(31,122,90,.25); color: #6FE0B4; }
.pol.ask { background: rgba(245,165,36,.18); color: var(--amber); }
.pol.no { background: rgba(194,65,45,.25); color: #FF9C8A; }
.pol.unset { background: rgba(255,255,255,.08); color: #C9CDE0; border: 1px dashed rgba(255,255,255,.3); }
.c-gate { display: flex; align-items: center; gap: 10px; margin: 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(194,65,45,.14); color: #FFC9BF; font-weight: 700; font-size: 14.5px; }
.g-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF7A63; box-shadow: 0 0 0 4px rgba(255,122,99,.2); flex: none; }
.c-fine { margin: 10px 16px 14px; font-size: 12.5px; color: #7F86A6; }

/* header: ink, so agentgov reads as its own product */
.nav { background: rgba(27,31,59,.96); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav .brand .wm { color: #fff; }
.nav .brand .wm b { color: var(--amber); }
.nav ul a { color: #E2E5F2; }
.nav ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav ul a[aria-current="page"] { background: rgba(245,165,36,.18); color: #fff; }
.nav .wrap > .btn, .nav nav .btn-m { --b: var(--amber); --bd: var(--amber-deep); --c: var(--ink); }
.burger { background: transparent; border-color: rgba(255,255,255,.25); }
.burger span, .burger span::before, .burger span::after { background: #fff; }
@media (max-width: 899px) {
  .nav nav { background: var(--ink); border-bottom-color: rgba(255,255,255,.08); }
}

/* ---------- the video: wide screen, on the hero's ink ---------- */
.watch { text-align: center; color: #C9CDE0; padding: 0 0 clamp(48px, 6vw, 96px); background: linear-gradient(180deg, #13163A 0%, var(--ink) 100%); }
.watch .wide { width: min(1440px, 100% - 32px); margin-inline: auto; }
.watch .eyebrow { background: rgba(245,165,36,.14); color: var(--amber); }
.watch h2 { color: #fff; }
.watch .video-frame { margin: 8px auto 18px; border-radius: clamp(12px, 1.6vw, 24px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(245,165,36,.10); background: #0E1128; aspect-ratio: 16 / 9; }
.watch video { display: block; width: 100%; height: 100%; object-fit: cover; }
.watch .fine { color: #9AA0BD; font-size: 15px; max-width: 70ch; margin-inline: auto; }
@media (max-width: 719px) { .watch .wide { width: 100%; } .watch .video-frame { border-radius: 0; border-left: 0; border-right: 0; } }

/* ---------- the example ---------- */
.example { background: #fff; border: 2px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.example .top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 2px solid var(--line); background: var(--bg-soft); }
.example .tag { font-family: var(--font-pixel); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: var(--red); color: #fff; padding: 4px 10px; border-radius: 99px; }
.example .top .u { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.example .body { padding: clamp(16px, 3vw, 28px); display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .example .body { grid-template-columns: 220px 1fr; } }
.score { text-align: center; padding: 18px; border-radius: 20px; background: var(--sky); }
.score .g { font-family: var(--font-head); font-weight: 800; font-size: 96px; line-height: 1; color: var(--red); }
.score .n { font-family: var(--font-head); font-weight: 800; font-size: 22px; }
.score .m { font-size: 14px; color: var(--ink-soft); }
.finding { border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; margin: 0 0 10px; }
.finding .sev { font-family: var(--font-pixel); font-weight: 700; font-size: 11px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; background: var(--red); color: #fff; }
.finding .sev.major { background: var(--amber-deep); } .finding .sev.minor { background: var(--muted); }
.finding h3 { margin: 8px 0 4px; font-size: 19px; }
.finding p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.finding .where { font-family: var(--font-mono); font-size: 13px; color: var(--muted); display: block; margin-top: 6px; overflow-wrap: anywhere; }
.finding .cost { display: block; margin-top: 8px; color: var(--ink); font-weight: 700; }

/* ---------- install ---------- */
.install { background: #fff; border: 2px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--bg-soft); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.endpoint .lbl { font-family: var(--font-pixel); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber-deep); }
.endpoint code { font-size: clamp(14px, .6vw + 12px, 18px); word-break: break-all; color: var(--ink); }
.endpoint .btn { margin-left: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.tab { min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); border: 2px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { border-color: var(--amber); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--amber)); }
.inst { border-radius: 16px; overflow: hidden; border: 2px solid var(--line); background: #fff; margin-bottom: 14px; }
.inst[hidden] { display: none; }
.inst .h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 16px; background: var(--bg-soft); }
.inst .h .n { font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.inst .h .w { font-size: 14px; color: var(--ink-soft); }
.inst .h .copy { margin-left: auto; }
.inst pre { margin: 0; padding: 16px; background: var(--ink); color: #F4F6FF; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.inst pre .k { color: var(--amber); }
.inst .note { margin: 0; padding: 10px 16px 14px; font-size: 15px; color: var(--ink-soft); }
.copy { min-height: 40px; min-width: 76px; padding: 6px 14px; border-radius: var(--radius-pill); border: 2px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 14px; cursor: pointer; }
.copy:hover { background: var(--amber-soft); }
.copy.done { background: var(--mint); border-color: var(--mint); color: #fff; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; grid-template-columns: 1fr; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 20px; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-pixel); font-weight: 700; font-size: 22px; background: var(--c, var(--amber)); color: var(--ink); box-shadow: 0 3px 0 rgba(27,31,59,.18); }
.steps li:nth-child(2) { --c: var(--mint-soft); } .steps li:nth-child(3) { --c: var(--sky); } .steps li:nth-child(4) { --c: var(--red-soft); }
.steps h3 { margin: 6px 0 8px; }
.step-art { display: block; width: 128px; height: 96px; margin: 4px 0 6px auto; }
.steps p { color: var(--ink-soft); margin: 0; }
.say { display: inline-block; margin-top: 12px; align-self: flex-start; font-family: var(--font-mono); font-size: 14px; background: var(--amber-soft); color: var(--ink); padding: 8px 12px; border-radius: 12px 12px 12px 4px; }
.stat { align-self: flex-start; margin-top: 10px; font-family: var(--font-pixel); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 99px; background: var(--bg-soft); color: var(--ink-soft); }
.stat.free { background: var(--mint-soft); color: var(--mint); }
.stat.gov { background: var(--amber-soft); color: var(--amber-deep); }

/* ---------- grids and cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.g2, .grid.g4 { grid-template-columns: repeat(2, 1fr); } .grid.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.g4 { grid-template-columns: repeat(4, 1fr); } .grid.g3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-soft); margin: 0; }
.card ul { margin: 8px 0 0; padding-left: 20px; color: var(--ink-soft); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--c, var(--amber-soft)); margin-bottom: 14px; font-family: var(--font-pixel); font-weight: 700; font-size: 22px; color: var(--ink); }
.callout { border-radius: 16px; padding: 14px 16px; background: var(--sky); color: var(--ink); margin: 1em 0; }
.callout.sun { background: var(--amber-soft); }
.callout.red { background: var(--red-soft); }
.fine { margin: 24px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 70ch; }
.lead code, .note code, .card code, .faq code, .road code, .story code { overflow-wrap: anywhere; }

/* ---------- plans (two ways in) ---------- */
.plans { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: #fff; border: 2px solid var(--line); border-radius: 26px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.gov { border-color: var(--amber); box-shadow: 0 10px 0 var(--amber-soft), var(--shadow); }
.plan .kind { font-family: var(--font-pixel); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber-deep); }
.plan .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 2vw + 20px, 44px); line-height: 1.05; margin: 6px 0 4px; }
.plan .sub { color: var(--ink-soft); margin: 0 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.plan li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); font-weight: 800; font-size: 13px; margin-top: 2px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* ---------- story (Teams) ---------- */
.story { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: st; }
.story li { position: relative; display: grid; gap: 4px 18px; grid-template-columns: 56px 1fr; align-items: start; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 18px 18px 18px 14px; }
.story li > * { grid-column: 2; }
.story li::before { counter-increment: st; content: counter(st); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-pixel); font-weight: 700; font-size: 20px; background: var(--amber-soft); color: var(--ink); grid-column: 1; grid-row: 1 / span 6; }
.story li.ana::before { background: var(--amber-soft); } .story li.adr::before { background: var(--mint-soft); color: var(--mint); } .story li.sys::before { background: var(--sky); }
.story .who { font-family: var(--font-pixel); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.story h3 { margin: 0 0 4px; font-size: 19px; }
.story p { margin: 0; color: var(--ink-soft); }
.story .say { margin-top: 10px; }
.bubble { display: inline-block; margin-top: 10px; background: var(--sky); border-radius: 14px 14px 14px 4px; padding: 10px 14px; color: var(--ink); font-size: 15px; }
.bubble.mail { background: var(--amber-soft); border-radius: 14px 14px 4px 14px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--amber-soft); font-family: var(--font-pixel); font-size: 20px; }
.faq details[open] summary::after { content: "–"; background: var(--mint); color: #fff; }
.faq details > div { padding: 0 0 16px; color: var(--ink-soft); }

/* ---------- docs / prose ---------- */
.prose h2 { margin-top: 1.6em; font-size: clamp(26px, 1.6vw + 16px, 36px); }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose li { margin-bottom: .35em; }
.prose strong { color: var(--ink); }
.prose pre { background: var(--ink); color: #F4F6FF; padding: 14px 16px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.prose :not(pre) > code { background: var(--bg-soft); color: var(--ink); padding: .1em .4em; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }
.doc-layout { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 220px 1fr; } .toc { position: sticky; top: 96px; align-self: start; } }
.toc { font-size: 15px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 1000px) { .toc ol { display: grid; gap: 2px; } }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 12px; border-radius: 99px; text-decoration: none; color: var(--ink); font-weight: 700; background: var(--bg-soft); }
@media (min-width: 1000px) { .toc a { background: none; } .toc a:hover { background: var(--bg-soft); } }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-family: var(--font-head); font-weight: 800; color: var(--ink); background: var(--bg-soft); }
@media (max-width: 699px) {
  table.t thead { display: none; }
  table.t, table.t tbody, table.t tr, table.t td { display: block; width: 100%; }
  table.t tr { border: 2px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 6px 0; }
  table.t td { border: 0; padding: 4px 12px; }
  table.t td[data-l]::before { content: attr(data-l); display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--muted); }
}

/* ---------- tools list (/mcp) ---------- */
.tools { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .tools { grid-template-columns: 1fr 1fr; } }
.tool { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.tool code { font-size: 14px; color: var(--amber-deep); overflow-wrap: anywhere; }
.tool p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }
.tool .lic { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--amber-deep); margin-left: 6px; }
.tool .free { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--mint); margin-left: 6px; }

/* ---------- tiers (/ai-act) ---------- */
.tiers { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.tier { display: grid; gap: 4px 16px; grid-template-columns: 14px 1fr; align-items: start; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.tier::before { content: ""; width: 14px; height: 14px; border-radius: 5px; margin-top: 6px; background: var(--c, var(--muted)); grid-row: span 2; }
.tier b { font-family: var(--font-head); font-size: 19px; }
.tier span { color: var(--ink-soft); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form fieldset { border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; display: grid; gap: 14px; background: #fff; min-width: 0; }
.form legend { font-family: var(--font-head); font-weight: 800; font-size: 20px; padding: 0 8px; }
.row2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .row2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label, .fld .lab { font-weight: 800; font-size: 15px; }
.fld .hint { font-size: 13.5px; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.fld textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--amber); box-shadow: var(--ring); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--red); }
.fld .err { color: var(--red); font-size: 14px; font-weight: 700; min-height: 0; }
.fld .err:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formmsg { padding: 14px 16px; border-radius: 14px; font-weight: 700; }
.formmsg.bad { background: var(--red-soft); color: var(--red); }
.thanks { text-align: center; padding: clamp(28px, 5vw, 56px) 20px; border-radius: 26px; background: var(--mint-soft); border: 2px solid #BFE3D4; }
.thanks .big { font-family: var(--font-pixel); font-weight: 700; font-size: 56px; line-height: 1; color: var(--mint); }

/* ---------- family band (the sisters) ---------- */
.cross { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .cross { grid-template-columns: 1fr auto; } }
.cross h2 { color: #fff; margin: 0 0 8px; }
.cross p { color: #C9CDE3; margin: 0; max-width: 60ch; }
.cross .wm { color: #fff; }
.cross .wm.pr b { color: #7FA6FF; } .cross .wm.dr b { color: #FF8A6B; }
.cross::before { content: ""; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px; background-image: radial-gradient(rgba(245,165,36,.5) 2px, transparent 2.2px); background-size: 16px 16px; }

/* ---------- page heads ---------- */
.phead { padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--sky), var(--bg)); }
.phead.sun { background: linear-gradient(180deg, var(--amber-soft), var(--bg)); }
.phead h1 { font-size: clamp(34px, 3.4vw + 14px, 58px); max-width: 20ch; }

/* ---------- footer ---------- */
.foot { background: var(--bg-soft); border-top: 2px solid var(--line); padding: 48px 0 32px; font-size: 15px; color: var(--ink-soft); }
.foot .cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot h4 { font-family: var(--font-pixel); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-flex; min-height: 36px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 700; }
.foot ul a:hover { color: var(--amber-deep); }
.foot .wm { font-size: 24px; }
.foot .legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.foot .legal a { color: var(--ink-soft); }

/* ---------- 404 ---------- */
.lost { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.lost .big { font-family: var(--font-pixel); font-weight: 700; font-size: clamp(80px, 18vw, 180px); line-height: 1; color: var(--amber); text-shadow: 6px 6px 0 var(--ink); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 99px; font-weight: 800; opacity: 0; transition: opacity .2s, transform .2s; z-index: 400; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- entrance motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
