:root {
  color-scheme: dark;
  --bg: #07111d;
  --panel: #0c1a29;
  --panel-2: #102235;
  --line: rgba(170, 201, 221, .15);
  --text: #edf5f8;
  --muted: #9ab0bd;
  --mint: #a5f3d0;
  --blue: #56c9f5;
  --amber: #ffcd7b;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
.section-wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--mint); color: #06121c; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px max(24px, calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: rgba(7, 17, 29, .92); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 750; letter-spacing: -.03em; }
.brand img { display: block; border-radius: 11px; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.primary-nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.primary-nav a:hover, .footer-links a:hover { color: var(--text); }
.primary-nav .nav-cta { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); }
.menu-toggle { display: none; color: var(--text); border: 1px solid var(--line); border-radius: 8px; background: transparent; padding: 8px 12px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; min-height: 610px; padding-block: 74px 30px; }
.hero::before { position: absolute; z-index: -1; top: 4%; left: -12%; width: 68%; height: 83%; content: ""; background: radial-gradient(ellipse, rgba(42, 123, 141, .2), transparent 68%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { margin: 0 0 18px; color: var(--mint); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 750; }
.offline-eyebrow { margin-top: 40px; }
.pulse { display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 22px; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .99; letter-spacing: -.065em; }
h1 span, h2 span { color: var(--mint); }
.hero-lede { max-width: 620px; color: #bdcbd3; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: .91rem; font-weight: 700; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: transparent; background: var(--mint); color: #061a1b; }
.button-primary:hover { background: #c4f6df; }
.button-quiet { background: rgba(12, 26, 41, .65); color: var(--text); }
.button-quiet:hover { border-color: rgba(165, 243, 208, .5); }
.hero-note { margin: 20px 0 0; color: var(--muted); font-size: .82rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 410px); aspect-ratio: 1; margin: -10px 0 0 8px; }
.orbit { position: absolute; inset: 9%; border: 1px solid rgba(86, 201, 245, .22); border-radius: 50%; }
.orbit-one { transform: rotate(27deg) scaleX(.68); }
.orbit-two { transform: rotate(-35deg) scaleX(.72); border-color: rgba(165, 243, 208, .24); }
.core-mark { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 9px; }
.core-mark img { border-radius: 28px; box-shadow: 0 0 70px rgba(86, 201, 245, .14); }
.core-mark span { color: #8ca3b1; font-size: .65rem; letter-spacing: .33em; font-weight: 700; }
.orbit-label { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: rgba(7, 17, 29, .82); color: #c1d1d8; font-size: .72rem; }
.orbit-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.label-source { top: 16%; left: 15%; }
.label-runtime { top: 48%; right: 1%; }
.label-host { bottom: 13%; left: 15%; }
.label-host i { background: var(--mint); }

.hero-status { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 35px; border: 1px solid var(--line); border-radius: 13px; background: rgba(12, 26, 41, .72); }
.hero-status > div { display: grid; grid-template-columns: 12px 1fr; column-gap: 9px; align-items: center; padding: 14px 18px; }
.hero-status > div + div { border-left: 1px solid var(--line); }
.status-dot { grid-row: span 2; width: 8px; height: 8px; border-radius: 50%; }
.status-progress { background: var(--amber); box-shadow: 0 0 11px rgba(255, 205, 123, .5); }
.status-preview { background: var(--blue); box-shadow: 0 0 11px rgba(86, 201, 245, .45); }
.status-later { background: #8d9aa2; }
.hero-status strong { font-size: .85rem; }
.hero-status small { color: var(--muted); font-size: .74rem; }

.section-block { padding-block: 104px; }
.section-heading { max-width: 650px; margin-bottom: 44px; }
.section-heading h2, .sashos-band h2, .truth-inner h2 { margin-bottom: 18px; font-size: clamp(2.35rem, 4vw, 3.8rem); line-height: 1.03; letter-spacing: -.05em; }
.section-heading > p:last-child { color: var(--muted); }
.principle-grid, .status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.principle-card, .status-card { position: relative; min-height: 245px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(16, 34, 53, .88), rgba(9, 22, 35, .76)); }
.card-index { display: inline-grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(165, 243, 208, .35); border-radius: 9px; color: var(--mint); font-size: .75rem; font-weight: 800; }
.principle-card h3, .status-card h3 { margin: 21px 0 9px; font-size: 1.12rem; letter-spacing: -.025em; }
.principle-card p, .status-card p { color: var(--muted); font-size: .89rem; }
.principle-card a, .status-card a { display: inline-block; margin-top: 8px; color: var(--mint); text-decoration: none; font-size: .82rem; font-weight: 700; }
code { color: #c1f3df; font-size: .89em; }

.architecture-section { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(12, 26, 41, .55), rgba(7, 17, 29, .45)); }
.section-heading-wide { max-width: 740px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.flow-step { display: grid; gap: 7px; min-height: 120px; align-content: center; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #0b1927; }
.flow-step > span { color: var(--blue); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.flow-step strong { font-size: .9rem; }
.flow-step small { color: var(--muted); font-size: .72rem; }
.flow-step-accent { border-color: rgba(165, 243, 208, .32); background: rgba(165, 243, 208, .06); }
.flow-step-accent > span { color: var(--mint); }
.flow-arrow { color: #6b8190; font-size: .95rem; }
.boundary-note { display: flex; gap: 13px; align-items: flex-start; max-width: 820px; margin-top: 26px; padding: 16px 18px; border: 1px solid rgba(255, 205, 123, .22); border-radius: 11px; background: rgba(255, 205, 123, .045); }
.boundary-symbol { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 205, 123, .13); color: var(--amber); font-weight: 800; }
.boundary-note p { margin: 0; color: var(--muted); font-size: .83rem; }
.boundary-note strong { color: #e8dcc5; }

.status-grid { margin-top: 34px; }
.status-card { min-height: 295px; }
.status-card-top { display: flex; align-items: center; justify-content: space-between; }
.tag { display: inline-block; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; font-size: .67rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.tag-active { border-color: rgba(165, 243, 208, .24); color: var(--mint); }
.tag-preview { border-color: rgba(86, 201, 245, .28); color: var(--blue); }
.tag-limited { border-color: rgba(255, 205, 123, .25); color: var(--amber); }
.status-card-number { color: #4b6170; font-size: .78rem; font-weight: 800; }

.sashos-band { padding-block: 72px; border-block: 1px solid rgba(165, 243, 208, .16); background: radial-gradient(ellipse at 75% 50%, rgba(35, 122, 132, .2), transparent 60%), #091522; }
.sashos-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.sashos-band h2 { font-size: clamp(2.25rem, 4vw, 3.3rem); }
.sashos-band p:not(.eyebrow) { max-width: 670px; margin-bottom: 0; color: var(--muted); }
.sashos-band-side { display: grid; gap: 11px; justify-items: start; max-width: 245px; }
.micro-copy { color: #8299a7; font-size: .72rem; }

.roadmap { max-width: 850px; margin: 0; padding: 0; list-style: none; }
.roadmap-item { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 19px; padding-bottom: 32px; }
.roadmap-item:not(:last-child)::after { position: absolute; top: 24px; bottom: -1px; left: 11px; width: 1px; content: ""; background: var(--line); }
.roadmap-marker { z-index: 1; width: 23px; height: 23px; margin-top: 3px; border: 1px solid #536a78; border-radius: 50%; background: var(--bg); }
.marker-current { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(165, 243, 208, .09); }
.roadmap-meta { display: flex; gap: 11px; align-items: center; margin-bottom: 7px; }
.roadmap-meta strong { color: var(--mint); font-size: .77rem; }
.roadmap-meta span { color: #8299a7; font-size: .73rem; }
.roadmap-item h3 { margin-bottom: 7px; font-size: 1rem; }
.roadmap-item p { max-width: 700px; margin-bottom: 0; color: var(--muted); font-size: .85rem; }

.truth-section { border-block: 1px solid var(--line); background: #0a1724; }
.truth-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding-block: 70px; }
.truth-inner h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.2rem); }
.truth-inner ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: #bdcbd3; font-size: .89rem; }
.truth-inner li::before { content: "x"; margin-right: 12px; color: var(--amber); font-weight: 800; }

.site-footer { padding-block: 27px 17px; }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-main { padding-bottom: 24px; }
.footer-main > p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links button { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; background: transparent; color: var(--mint); cursor: pointer; font-size: .78rem; }
.footer-bottom { padding-top: 14px; border-top: 1px solid var(--line); color: #748a98; font-size: .7rem; }
#site-status { color: #9ab0bd; }

.admin-wrap { min-height: 70vh; padding-block: 80px; }
.admin-card { max-width: 780px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.admin-card h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.admin-card > p { color: var(--muted); }
.admin-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.admin-links a { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #0a1724; color: var(--text); text-decoration: none; font-weight: 650; }
.admin-links a:hover { border-color: rgba(165, 243, 208, .45); }
.admin-note { padding: 14px; border-left: 3px solid var(--blue); background: rgba(86, 201, 245, .07); font-size: .84rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr .75fr; }
  .hero-art { width: min(100%, 320px); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 700px) {
  .section-wrap { width: min(100% - 36px, var(--max)); }
  .site-header { padding-inline: 18px; }
  .menu-toggle { display: inline-block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; align-items: stretch; padding: 12px 18px 18px; border-bottom: 1px solid var(--line); background: #07111d; }
  .primary-nav.is-open { display: grid; gap: 3px; }
  .primary-nav a { padding: 10px 8px; }
  .primary-nav .nav-cta { text-align: center; }
  .hero { display: block; min-height: auto; padding-block: 68px 30px; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.3rem); }
  .hero-art { width: min(82vw, 320px); margin: 32px auto 8px; }
  .hero-status { grid-template-columns: 1fr; margin-top: 27px; }
  .hero-status > div + div { border-top: 1px solid var(--line); border-left: 0; }
  .section-block { padding-block: 72px; }
  .principle-grid, .status-grid { grid-template-columns: 1fr; }
  .principle-card, .status-card { min-height: auto; }
  .sashos-band-inner, .truth-inner { grid-template-columns: 1fr; }
  .sashos-band { padding-block: 58px; }
  .truth-inner { padding-block: 55px; }
  .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-main { gap: 13px; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
  .footer-bottom { gap: 5px; }
  .admin-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
