:root {
  --ink: #0c1724;
  --panel: #142537;
  --panel-2: #1a3046;
  --line: rgba(255, 255, 255, 0.13);
  --muted: #a9b8c7;
  --paper: #f4f7f9;
  --green: #67d391;
  --blue: #63b3ed;
  --yellow: #f4d35e;
  --orange: #f49d5b;
  --red: #ef6b73;
  --amber: #ffb84d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 0%, rgba(43, 106, 150, .22), transparent 34rem),
    linear-gradient(160deg, #07111b 0%, #0c1927 52%, #101d2a 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; }
.shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 27, .88);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #081019; border: 2px solid #334c61; box-shadow: inset 0 0 0 3px #111e2a; }
.brand-mark span { width: 3px; height: 15px; border-radius: 4px; background: var(--amber); transform-origin: 50% 90%; transform: rotate(38deg); box-shadow: 0 0 10px rgba(255,184,77,.5); }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { color: var(--muted); text-decoration: none; padding: .55rem .8rem; border-radius: .55rem; font-size: .93rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }

.hero { padding: 6.5rem 0 4rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 4rem; align-items: center; }
.eyebrow { color: var(--amber); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin: 0; }
h1 { margin-top: .7rem; font-size: clamp(2.85rem, 7vw, 5.85rem); max-width: 820px; }
.hero-copy { margin: 1.4rem 0 0; color: #c6d2dc; font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 660px; }
.status-strip { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.status-strip span { padding: .48rem .76rem; color: #dce5ed; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); font-size: .84rem; font-weight: 700; }
.status-strip i { display: inline-block; width: .55rem; height: .55rem; margin-right: .42rem; border-radius: 50%; background: var(--c); }

.instrument { border: 1px solid #31485d; border-radius: 2rem; background: linear-gradient(145deg, #172c3f, #0b1621); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: 0 35px 90px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07); }
.gauge { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; padding: 13px; background: conic-gradient(from 0deg, var(--green) 0 16.5%, var(--blue) 16.5% 41.5%, var(--yellow) 41.5% 58.5%, var(--orange) 58.5% 75%, var(--red) 75% 100%); box-shadow: 0 0 0 7px #071019, 0 0 0 9px #33495b; }
.gauge-face { position: relative; width: 100%; height: 100%; display: grid; place-items: center; text-align: center; border-radius: 50%; background: radial-gradient(circle, #142738 0 58%, #08131d 59% 100%); }
.gauge-face::after { content: ""; position: absolute; width: 4px; height: 39%; bottom: 50%; left: calc(50% - 2px); transform-origin: 50% 100%; transform: rotate(42deg); border-radius: 4px; background: #f6f8fa; box-shadow: 0 0 10px rgba(255,255,255,.35); }
.gauge-center { position: relative; z-index: 2; margin-top: 4.5rem; }
.gauge-center strong { display: block; color: var(--amber); letter-spacing: .13em; font-size: .8rem; }
.gauge-center span { display: block; font-size: 1.55rem; font-weight: 850; }
.readout { margin-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid rgba(255,184,77,.3); background: #090e13; color: var(--amber); font: 700 .8rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }

.section { padding: 4.5rem 0; }
.section-kicker { color: var(--blue); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.section h2 { margin-top: .7rem; font-size: clamp(2rem, 4vw, 3.35rem); max-width: 800px; }
.section-lede { color: var(--muted); max-width: 720px; margin: 1rem 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.card { border: 1px solid var(--line); border-radius: 1.15rem; padding: 1.5rem; background: linear-gradient(145deg, rgba(27,49,70,.8), rgba(15,28,41,.88)); }
.card-num { color: var(--amber); font: 800 .76rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.card h3 { font-size: 1.25rem; margin-top: 1.1rem; }
.card p { color: var(--muted); margin: .65rem 0 0; }

.callout { margin: 2.5rem 0 5rem; border: 1px solid rgba(99,179,237,.32); border-radius: 1.4rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(120deg, rgba(27,65,91,.72), rgba(17,35,50,.7)); display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.callout h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.callout p { color: var(--muted); margin: .6rem 0 0; }
.button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1rem; border-radius: .7rem; color: #0d1822; background: var(--amber); text-decoration: none; font-weight: 850; }

.page-hero { padding: 5rem 0 2.2rem; max-width: 800px; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); }
.page-hero p { color: var(--muted); font-size: 1.14rem; margin: 1rem 0 0; }
.meta { margin-top: 1.15rem; color: #90a4b6; font-size: .9rem; }
.prose-wrap { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 3rem; padding: 1rem 0 5rem; }
.toc { position: sticky; top: 96px; align-self: start; border-left: 1px solid var(--line); padding-left: 1rem; }
.toc a { display: block; color: var(--muted); text-decoration: none; font-size: .9rem; padding: .3rem 0; }
.toc a:hover { color: #fff; }
.prose section { scroll-margin-top: 95px; margin: 0 0 2.7rem; }
.prose h2 { font-size: 1.65rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.1rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: #c5d0da; }
.prose ul { padding-left: 1.25rem; }
.prose .notice { border-left: 3px solid var(--amber); padding: .9rem 1rem; background: rgba(255,184,77,.07); color: #dce5ed; }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 3rem; }
.support-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; background: rgba(22,41,59,.74); }
.support-card h2 { font-size: 1.2rem; }
.support-card p { color: var(--muted); margin: .55rem 0 0; }
details { border-top: 1px solid var(--line); padding: 1rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); margin: .7rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; gap: 2.6rem; }
  .instrument { max-width: 520px; width: 100%; justify-self: center; }
  .grid-3, .support-grid { grid-template-columns: 1fr; }
  .prose-wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: .3rem 1rem; border-left: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; }
  .callout, .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .nav { min-height: 64px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: .45rem .42rem; font-size: .82rem; }
  .brand-label { display: none; }
  h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero { padding-top: 3.25rem; }
  .section { padding: 3.4rem 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Release history — October 2026 */
.release-list { padding: 1rem 0 2rem; display: grid; gap: 1.3rem; }
.release-entry, .release-teaser { border: 1px solid rgba(99,179,237,.26); border-radius: 1.35rem; background: linear-gradient(145deg, rgba(27,49,70,.82), rgba(12,27,40,.91)); padding: clamp(1.35rem, 3vw, 2.2rem); }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; color: var(--muted); font: 700 .79rem/1.4 ui-monospace, monospace; letter-spacing: .025em; }
.release-pill { display: inline-flex; align-items: center; border: 1px solid rgba(103,211,145,.45); background: rgba(103,211,145,.12); color: #a6efc1; padding: .3rem .7rem; border-radius: 999px; font-size: .72rem; }
.release-pill-planned { color: #ffd18a; border-color: rgba(255,184,77,.4); background: rgba(255,184,77,.1); }
.release-entry h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 1.2rem 0 .75rem; }
.release-entry h3 { font-size: 1.12rem; color: var(--amber); }
.release-intro, .release-entry p, .release-entry li { color: #c6d2dc; }
.release-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.7rem; margin-top: 1.6rem; }
.release-columns ul { padding-left: 1.25rem; }
.release-columns li { margin: .6rem 0; }
.release-footnote { font-size: .85rem; color: var(--muted) !important; margin-top: 1.5rem; }
.release-entry-muted { border-color: var(--line); }
.release-teaser { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.8rem; }
.release-teaser h3 { font-size: 1.6rem; margin: .7rem 0; }
.release-teaser p { color: var(--muted); margin: 0; max-width: 670px; }
@media (max-width: 700px) { .release-columns { grid-template-columns: 1fr; gap: .4rem; } .release-teaser { flex-direction: column; align-items: flex-start; } .nav { flex-wrap: wrap; padding: .8rem 0; } .nav-links { flex-wrap: wrap; } .nav-links a { padding: .4rem .55rem; } }

/* Quiet invitation for prospective FMS beta testers */
.beta-invite{display:flex;align-items:center;justify-content:space-between;gap:2rem;margin:2rem 0 2.5rem;padding:1.5rem 1.75rem;border:1px solid rgba(128,160,185,.28);border-radius:16px;background:rgba(128,160,185,.055)}
.beta-invite h2{margin:.35rem 0 .5rem;font-size:1.3rem}
.beta-invite p:not(.section-kicker){margin:.35rem 0 0;max-width:42rem;line-height:1.6}
.beta-invite-link{flex-shrink:0;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.beta-invite-link:focus-visible{outline:3px solid #63b3ed;outline-offset:5px}
@media(max-width:640px){.beta-invite{flex-direction:column;align-items:flex-start;gap:1rem;padding:1.2rem}}
