:root {
  color-scheme: dark;
  --bg: #091321;
  --surface: #10233a;
  --surface-raised: #17304b;
  --surface-soft: #0d1c2e;
  --line: #294761;
  --text: #eef6fb;
  --muted: #b5c7d5;
  --teal: #32c5b4;
  --blue: #5da9ff;
  --purple: #b28aff;
  --amber: #f0b55d;
  --danger: #ef7f82;
  --focus: #fff3a5;
  --max: 72rem;
  --radius: 1rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: #8dd7ff; overflow-wrap: anywhere; text-underline-offset: .18em; }
a:hover { color: #d3f1ff; }
.skip { position: absolute; left: -999px; top: 0; z-index: 4; padding: .65rem 1rem; background: var(--focus); color: #101820; }
.skip:focus { left: 1rem; top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: #0b1929; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; max-width: var(--max); margin: auto; padding: 1rem 1.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); font-size: 1.2rem; font-weight: 750; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: .55rem; }
.site-nav { display: flex; flex-wrap: wrap; gap: .15rem; margin-left: auto; }
.site-nav a { padding: .45rem .6rem; border-radius: .45rem; color: var(--muted); text-decoration: none; }
.site-nav a[aria-current="page"], .site-nav a:hover { background: var(--surface-raised); color: var(--text); }
.wrap { max-width: var(--max); margin: auto; padding: 0 1.25rem; }
.hero { padding: 3.75rem 0 2.75rem; background: var(--surface-soft); }
.eyebrow { margin: 0 0 .5rem; color: var(--teal); font-size: .88rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { max-width: 24ch; margin: .1em 0; font-size: clamp(2.35rem, 4.7vw, 4rem); line-height: 1.06; letter-spacing: -.03em; }
.lead { max-width: 56ch; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.35rem; }
.button { display: inline-block; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--surface-raised); color: var(--text); font-weight: 700; text-decoration: none; }
.button.primary { border-color: var(--teal); background: var(--teal); color: #05201e; }
.button:hover { color: inherit; filter: brightness(1.1); }
main section { padding: 3.25rem 0; }
.section-title { margin: 0 0 .5rem; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; }
.intro { max-width: 65ch; margin-top: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card h3 { margin-top: 0; }
.accent-teal { border-top: 3px solid var(--teal); }
.accent-blue { border-top: 3px solid var(--blue); }
.accent-purple { border-top: 3px solid var(--purple); }
.accent-amber { border-top: 3px solid var(--amber); }
.notice { padding: 1rem 1.1rem; border-left: 4px solid var(--amber); border-radius: 0 .65rem .65rem 0; background: #25231d; }
.draft { border-left-color: var(--amber); }
.legal { max-width: 54rem; }
.legal h2 { margin-top: 2.4rem; }
.legal h3 { margin-top: 1.7rem; }
.legal li { margin: .35rem 0; }
.platform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.platform .card { min-height: 13rem; }
.status { display: inline-block; padding: .15rem .55rem; border: 1px solid var(--line); border-radius: 999px; background: #263949; font-size: .85rem; font-weight: 700; }
.placeholder { padding: 1rem; border: 1px dashed #52718a; border-radius: .6rem; background: var(--surface-soft); color: var(--muted); }
.contact-link { font-weight: 700; }
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: #07111d; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 1.5rem; max-width: var(--max); margin: auto; padding: 2rem 1.25rem; }
.site-footer h2 { font-size: 1rem; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin: .4rem 0; }
.fine { color: var(--muted); font-size: .9rem; }
.flow { overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: .6rem; background: #07111d; white-space: pre-wrap; }
code { overflow-wrap: anywhere; }
/* Future screenshot gallery styles: no gallery is rendered until approved paired assets exist. */
.screenshot-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.screenshot-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.screenshot-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface-soft); }
.screenshot-caption { padding: .85rem 1rem; color: var(--muted); font-size: .92rem; }
.gallery-mode-switch { display: inline-flex; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface-soft); }
.gallery-mode-switch button { min-height: 2.5rem; padding: .4rem .75rem; border: 0; border-radius: .45rem; background: transparent; color: var(--muted); font: inherit; font-weight: 700; }
.gallery-mode-switch button[aria-pressed="true"] { background: var(--surface-raised); color: var(--text); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 700px) {
  .hero { padding: 2.75rem 0 2.25rem; }
  .site-nav { order: 3; width: 100%; margin-left: 0; }
  .site-nav a { padding: .4rem; }
  .platform { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 430px) {
  .hero h1 { max-width: 14ch; }
  .footer-grid { grid-template-columns: 1fr; }
  .bar { padding: .85rem 1rem; }
  .wrap { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
.policy-effective { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
.policy-effective strong { color: var(--text); }
