:root {
  --navy: #0B1630; --raised: #14224A; --line: #243566;
  --amber: #FFB020; --amber-hi: #FFD36B;
  --text: #F2F5FF; --dim: #A9B8DE; --green: #2ECC71;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--navy); color: var(--text); }
body { font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--amber); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--amber); color: var(--navy); padding: 8px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 8px; }

.nav { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; padding: 20px 0; }
.nav .brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .02em; color: var(--text); text-decoration: none; margin-right: auto; }
.nav .brand img { width: 28px; height: 28px; }
.nav a.l { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
.nav a.l:hover { color: var(--text); }
.badge { font-size: 12px; font-weight: 500; color: var(--amber); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: transform .1s ease-out, background-color .2s ease, border-color .2s ease; }
.btn.primary { background: var(--amber); color: var(--navy); }
.btn.primary:hover { background: var(--amber-hi); }
.btn.ghost { color: var(--text); border-color: var(--line); }
.btn.ghost:hover { background: var(--raised); border-color: var(--dim); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--amber-hi); outline-offset: 3px; border-radius: 6px; }
.btn.primary:focus-visible { outline-color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 40px 0 72px; }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; }
h1 em { font-style: normal; color: var(--amber); }
.lede { color: var(--dim); font-size: 18px; margin: 0 0 28px; max-width: 36em; }
.warden { display: block; width: 100%; height: auto; max-width: 320px; aspect-ratio: 1; justify-self: center; filter: drop-shadow(0 20px 60px rgba(255,176,32,.18)); }
.iris { transform-box: view-box; transform-origin: 100px 100px; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
.fine { color: var(--dim); font-size: 13px; line-height: 20px; margin: 12px 0 0; }
.version { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--dim); opacity: 0; transition: opacity .3s ease; }
.version.on { opacity: 1; }
.version b { color: var(--text); }

section.s { padding: 64px 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--amber); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--dim); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.card p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.55; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--dim); font-size: 15px; }
.card.hl { border-color: var(--amber); }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 700; margin-bottom: 12px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); margin-bottom: 12px; }
.tag.live { color: var(--green); border-color: var(--green); }
.tag.soon { color: var(--amber); border-color: var(--amber); }
.price { font-size: 30px; font-weight: 700; line-height: 1.2; margin: 4px 0; }
.price small { font-size: 14px; font-weight: 400; color: var(--dim); }
code { background: var(--navy); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 13px; overflow-wrap: anywhere; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--amber); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--dim); margin: 12px 0 0; max-width: 46em; }

.band { background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 40px; text-align: center; }
.band p { color: var(--dim); max-width: 36em; margin: 0 auto 24px; }
.band .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { margin: 0 0 8px; color: var(--text); font-size: 14px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 6px; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .legal { margin-top: 32px; font-size: 12.5px; line-height: 1.6; }

/* Legal / prose pages */
.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); }
.doc h2 { font-size: 21px; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { color: #D3DCF5; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 0 0 6px; }
.doc .meta { color: var(--dim); font-size: 14px; margin: 0 0 24px; }
.doc .note { background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 14px 18px; margin: 20px 0; color: #D3DCF5; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #D3DCF5; }
.doc th { color: var(--text); font-weight: 600; background: var(--raised); }
.tbl { overflow-x: auto; }
.toc { background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; font-size: 14.5px; }
.toc ol { margin: 8px 0 0; columns: 2; }
.toc a { text-decoration: none; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iris { animation: none; }
  .js .reveal { transform: none; transition: opacity .2s ease; }
  .btn { transition: background-color .2s ease; }
  .btn:active { transform: none; }
}
@media (max-width: 800px) {
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; padding: 16px 0 48px; }
  .warden { max-width: 200px; order: -1; }
  .g3, .g2 { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
  .band { padding: 28px 20px; }
  .nav a.l.hide-sm { display: none; }
}
