:root {
  color-scheme: light;
  --navy-1000: #020611;
  --navy-950: #020c29;
  --navy-900: #02173b;
  --navy-850: #031f49;
  --navy-800: #012653;
  --navy-700: #073b70;
  --blue-500: #2f83ca;
  --blue-400: #5aa7e1;
  --blue-300: #91c7ec;
  --ice: #eaf5ff;
  --silver: #c9d0d8;
  --paper: #f4f8fc;
  --ink: #07162e;
  --muted: #53677d;
  --surface: rgba(255,255,255,.68);
  --surface-strong: rgba(255,255,255,.90);
  --surface-soft: rgba(244,249,254,.70);
  --line: rgba(3,38,79,.13);
  --line-strong: rgba(3,38,79,.24);
  --header: rgba(247,251,255,.76);
  --shadow: 0 28px 90px rgba(2,18,46,.15);
  --shadow-soft: 0 16px 46px rgba(2,18,46,.10);
  --max: 1180px;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #030a18;
  --ink: #f1f7fd;
  --muted: #a9bed2;
  --surface: rgba(7,22,43,.66);
  --surface-strong: rgba(9,27,52,.90);
  --surface-soft: rgba(9,27,51,.72);
  --line: rgba(194,218,240,.13);
  --line-strong: rgba(194,218,240,.26);
  --header: rgba(2,10,24,.72);
  --shadow: 0 30px 90px rgba(0,0,0,.40);
  --shadow-soft: 0 18px 52px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background-color: #edf4fa;
  background-image:
    radial-gradient(72rem 52rem at -8% 2%, rgba(1,38,83,.34) 0%, rgba(1,38,83,.15) 36%, transparent 68%),
    radial-gradient(68rem 48rem at 106% 12%, rgba(191,193,191,.72) 0%, rgba(227,228,226,.34) 38%, transparent 70%),
    radial-gradient(64rem 48rem at 88% 78%, rgba(7,59,112,.30) 0%, rgba(47,131,202,.12) 42%, transparent 72%),
    radial-gradient(56rem 42rem at 12% 92%, rgba(255,255,255,.92) 0%, rgba(227,228,226,.38) 44%, transparent 74%),
    linear-gradient(132deg, #ffffff 0%, #e3e4e2 22%, #d8e6f1 47%, #c4d5e4 72%, #f8fbfe 100%);
  background-attachment: fixed;
  background-size: cover;
  transition: color .25s ease, background .35s ease;
}
html[data-theme="dark"] body {
  background-color: #020c29;
  background-image:
    radial-gradient(74rem 54rem at -8% 4%, rgba(47,131,202,.58) 0%, rgba(1,38,83,.42) 38%, transparent 69%),
    radial-gradient(68rem 50rem at 108% 14%, rgba(191,193,191,.26) 0%, rgba(7,59,112,.28) 36%, transparent 70%),
    radial-gradient(70rem 52rem at 88% 76%, rgba(1,38,83,.88) 0%, rgba(2,23,59,.56) 44%, transparent 74%),
    radial-gradient(58rem 44rem at 10% 96%, rgba(7,59,112,.50) 0%, rgba(2,12,41,.34) 43%, transparent 74%),
    linear-gradient(132deg, #020611 0%, #020c29 20%, #02173b 46%, #012653 72%, #020c29 100%);
}
body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(88px);
  animation: float-glow 18s ease-in-out infinite alternate;
}
body::before {
  width: 42rem;
  height: 42rem;
  left: -18rem;
  top: 28%;
  opacity: .30;
  background: linear-gradient(135deg, #012653, #2f83ca 65%, #ffffff);
}
body::after {
  width: 46rem;
  height: 46rem;
  right: -20rem;
  top: 54%;
  opacity: .25;
  background: linear-gradient(135deg, #bfc1bf, #ffffff 38%, #073b70);
  animation-delay: -7s;
}
html[data-theme="dark"] body::before { opacity: .42; background: linear-gradient(135deg, #012653, #2f83ca 66%, #02173b); }
html[data-theme="dark"] body::after { opacity: .24; background: linear-gradient(135deg, #bfc1bf, #073b70 45%, #020c29); }
@keyframes float-glow { to { transform: translate3d(5rem,-3rem,0) scale(1.10) rotate(4deg); } }

main {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(58rem 34rem at 12% 25%, rgba(47,131,202,.16), transparent 68%),
    radial-gradient(55rem 34rem at 90% 47%, rgba(191,193,191,.24), transparent 70%),
    radial-gradient(60rem 38rem at 18% 80%, rgba(1,38,83,.15), transparent 70%);
}
html[data-theme="dark"] main {
  background:
    radial-gradient(60rem 38rem at 12% 24%, rgba(47,131,202,.24), transparent 68%),
    radial-gradient(58rem 38rem at 90% 48%, rgba(191,193,191,.10), transparent 70%),
    radial-gradient(64rem 42rem at 18% 82%, rgba(1,38,83,.44), transparent 72%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position:absolute; left:-9999px; top:8px; z-index:1000; background:#fff; color:#02173b; padding:10px 14px; border-radius:10px; }
.skip-link:focus { left:8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.nav {
  width: min(var(--max), calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; min-width:0; }
.brand img { width:44px; height:44px; object-fit:contain; filter: drop-shadow(0 7px 14px rgba(2,16,41,.18)); }
.brand-copy { display:grid; line-height:1.12; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size:1rem; font-weight:600; }
.brand-copy small { color:var(--muted); font-size:.67rem; letter-spacing:.06em; text-transform:uppercase; margin-top:4px; }
.nav-right { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.nav-link { text-decoration:none; font-size:.84rem; color:var(--muted); padding:10px 11px; border-radius:11px; }
.nav-link:hover { color:var(--ink); background:var(--surface); }
.langs { display:flex; gap:3px; padding:4px; border:1px solid var(--line); border-radius:13px; background:var(--surface); }
.langs a { min-width:34px; text-align:center; text-decoration:none; padding:6px 7px; border-radius:9px; font-size:.72rem; font-weight:800; letter-spacing:.05em; color:var(--muted); }
.langs a:hover, .langs a[aria-current="page"] { color:#fff; background:linear-gradient(135deg,var(--navy-800),var(--navy-700)); box-shadow:0 6px 18px rgba(1,38,83,.18); }
.theme-toggle { display:flex; align-items:center; gap:8px; border:1px solid var(--line); color:var(--ink); background:var(--surface); border-radius:13px; padding:9px 12px; cursor:pointer; box-shadow:0 7px 22px rgba(2,18,46,.06); }
.theme-toggle:hover { border-color:var(--line-strong); transform:translateY(-1px); }
.theme-icon { width:17px; text-align:center; }
.theme-label { font-size:.76rem; font-weight:700; }

.hero {
  position:relative;
  overflow:hidden;
  min-height: 690px;
  display:flex;
  align-items:center;
  color:#fff;
  isolation:isolate;
  background:
    radial-gradient(48rem 34rem at 80% 18%, rgba(191,193,191,.22), transparent 64%),
    radial-gradient(50rem 38rem at 12% 92%, rgba(47,131,202,.34), transparent 68%),
    linear-gradient(124deg, #020c29 0%, #02173b 34%, #012653 66%, #073b70 100%);
}
.hero::before {
  content:"";
  position:absolute;
  inset:-18%;
  z-index:-3;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.25), transparent 19%),
    radial-gradient(circle at 70% 42%, rgba(91,175,228,.42), transparent 30%),
    radial-gradient(circle at 12% 82%, rgba(47,131,202,.38), transparent 28%),
    conic-gradient(from 218deg at 70% 38%, transparent 0 16%, rgba(191,193,191,.18) 24%, rgba(91,175,228,.14) 34%, transparent 48% 100%);
  filter: blur(4px);
  animation: hero-breathe 13s ease-in-out infinite alternate;
}
.hero::after {
  content:"";
  position:absolute;
  inset:auto -5% -1px -5%;
  height:220px;
  z-index:-1;
  opacity:.42;
  background:
    radial-gradient(115% 95% at 50% 100%, transparent 55%, rgba(255,255,255,.16) 56%, transparent 58%),
    radial-gradient(100% 80% at 18% 100%, transparent 58%, rgba(255,255,255,.11) 59%, transparent 61%),
    radial-gradient(100% 80% at 82% 100%, transparent 58%, rgba(255,255,255,.09) 59%, transparent 61%);
}
@keyframes hero-breathe { to { transform:translate3d(-2%,1.5%,0) scale(1.04); } }
.hero-grid {
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.09;
  background-image:linear-gradient(rgba(255,255,255,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.22) 1px,transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(to bottom,black,transparent 86%);
}
.hero-inner {
  width:min(var(--max),calc(100% - 36px));
  margin:0 auto;
  padding:96px 0 120px;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:64px;
  align-items:center;
}
.hero-copy { max-width:660px; }
.eyebrow, .kicker { margin:0 0 14px; text-transform:uppercase; letter-spacing:.20em; font-size:.68rem; font-weight:900; }
.eyebrow { color:#b7d7ed; display:flex; align-items:center; gap:10px; }
.eyebrow::before { content:""; width:38px; height:1px; background:#a9cee8; }
h1,h2 { font-family:Georgia,"Times New Roman",serif; letter-spacing:-.045em; margin:0; font-weight:500; }
.hero h1 { font-size:clamp(4.8rem,10vw,8.6rem); line-height:.82; text-shadow:0 18px 58px rgba(0,0,0,.24); }
.lead { max-width:625px; margin:30px 0 0; color:#d9e8f4; font-size:clamp(1.03rem,1.8vw,1.24rem); line-height:1.7; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:31px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:47px; padding:0 18px; border-radius:14px; text-decoration:none; font-size:.84rem; font-weight:800; transition:transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { color:var(--navy-950); background:linear-gradient(135deg,#fff,#dcecf8); box-shadow:0 15px 35px rgba(0,0,0,.20); }
.btn-secondary { color:#fff; border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.09); backdrop-filter:blur(14px); }
.hero-note { max-width:620px; margin:23px 0 0; color:#a8bfd3; font-size:.76rem; }
.hero-visual { position:relative; min-height:430px; display:grid; place-items:center; }
.hero-visual::before,
.hero-visual::after { content:""; position:absolute; border-radius:50%; }
.hero-visual::before { width:440px; height:440px; background:radial-gradient(circle,rgba(125,195,234,.24),rgba(125,195,234,.06) 48%,transparent 70%); box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 0 90px rgba(65,150,205,.25); }
.hero-visual::after { width:350px; height:350px; border:1px solid rgba(255,255,255,.13); box-shadow:0 0 0 32px rgba(255,255,255,.018),0 0 0 64px rgba(255,255,255,.012); }
.hero-visual img { width:min(470px,92%); position:relative; z-index:2; filter:drop-shadow(0 28px 45px rgba(0,0,0,.40)); animation:crest-float 6s ease-in-out infinite; }
@keyframes crest-float { 50% { transform:translateY(-9px); } }

.status-wrap { position:relative; z-index:10; width:min(var(--max),calc(100% - 36px)); margin:-38px auto 0; }
.status-card { min-height:78px; padding:18px 20px; border:1px solid rgba(255,255,255,.48); border-radius:20px; display:flex; align-items:center; justify-content:space-between; gap:18px; background:var(--surface-strong); box-shadow:var(--shadow); backdrop-filter:blur(24px) saturate(150%); }
.status-card strong { display:block; font-size:.88rem; }
.status-card p { margin:4px 0 0; color:var(--muted); font-size:.78rem; }
.status-pill { flex:none; display:inline-flex; align-items:center; gap:7px; padding:8px 11px; color:#08643c; background:#dcf7e9; border:1px solid #c4edd8; border-radius:999px; font-size:.67rem; font-weight:900; text-transform:uppercase; letter-spacing:.05em; }
.status-pill::before { content:""; width:7px; height:7px; border-radius:50%; background:#1cb66a; box-shadow:0 0 0 5px rgba(28,182,106,.11); }
html[data-theme="dark"] .status-pill { color:#a8f1ca; background:rgba(19,109,68,.25); border-color:rgba(86,219,148,.25); }

.section { width:min(var(--max),calc(100% - 36px)); margin:0 auto; padding:112px 0; }
.section-tight { padding-top:26px; }
.section-head { display:grid; grid-template-columns:1.08fr .92fr; align-items:end; gap:60px; margin-bottom:36px; }
.kicker { color:var(--navy-700); }
html[data-theme="dark"] .kicker { color:#8bc3e8; }
.section h2 { font-size:clamp(3rem,6vw,5.3rem); line-height:.94; }
.section-copy { color:var(--muted); margin:0 0 8px; max-width:510px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.info-card { position:relative; overflow:hidden; min-height:220px; padding:25px; border:1px solid var(--line); border-radius:var(--radius-lg); background:linear-gradient(145deg,var(--surface-strong),rgba(207,226,241,.54) 58%,var(--surface)); box-shadow:var(--shadow-soft); backdrop-filter:blur(18px); transition:transform .2s ease,border-color .2s ease; }
.info-card::after { content:""; position:absolute; width:145px; height:145px; right:-70px; top:-70px; border-radius:50%; background:radial-gradient(circle,rgba(66,151,213,.18),transparent 68%); }
.info-card:hover { transform:translateY(-5px); border-color:var(--line-strong); }
.icon { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(135deg,var(--navy-800),var(--blue-500)); font-size:.68rem; font-weight:900; box-shadow:0 10px 24px rgba(1,38,83,.20); }
.info-card h3 { margin:28px 0 9px; font-family:Georgia,serif; font-size:1.35rem; }
.info-card p { color:var(--muted); font-size:.87rem; margin:0; }

.founding { overflow:hidden; display:grid; grid-template-columns:.82fr 1.18fr; min-height:485px; border:1px solid rgba(177,207,231,.18); border-radius:var(--radius-xl); color:#fff; background:
  radial-gradient(38rem 30rem at 4% 100%,rgba(25,110,177,.28),transparent 65%),
  linear-gradient(128deg,#020817 0%,#031631 48%,#062b51 100%); box-shadow:0 32px 90px rgba(1,12,34,.28); }
.founding-art { position:relative; display:grid; place-items:center; padding:50px; background:linear-gradient(135deg,rgba(255,255,255,.035),transparent); }
.founding-art::after { content:""; position:absolute; width:330px; height:330px; border-radius:50%; background:radial-gradient(circle,rgba(75,158,215,.23),transparent 68%); }
.founding-art img { position:relative; z-index:2; width:min(330px,100%); filter:drop-shadow(0 25px 40px rgba(0,0,0,.38)); }
.founding-copy { padding:66px 62px 58px; align-self:center; }
.founding-copy h2 { font-size:clamp(2.8rem,5vw,4.8rem); }
.founding-copy p { color:#c2d2e1; }
.number { margin:24px 0 14px; display:flex; align-items:baseline; gap:14px; }
.number strong { font-family:Georgia,serif; font-size:5.2rem; line-height:1; font-weight:500; background:linear-gradient(180deg,#fff,#9bc8e7); -webkit-background-clip:text; color:transparent; }
.number span { color:#b9cad9; }
.fineprint { color:#8fa8bd !important; font-size:.78rem; }

.symbols { display:grid; grid-template-columns:1.08fr .92fr; gap:18px; }
.flag-panel,.palette-panel { border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--surface); box-shadow:var(--shadow-soft); backdrop-filter:blur(18px); }
.flag-panel { padding:28px; }
.flag-panel h3,.palette-panel h3 { margin:0 0 18px; font-family:Georgia,serif; font-size:1.55rem; }
.flag-frame { padding:13px; border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.54); }
html[data-theme="dark"] .flag-frame { background:rgba(255,255,255,.05); }
.flag-frame img { width:100%; border-radius:13px; }
.palette-panel { padding:30px; display:flex; flex-direction:column; justify-content:space-between; }
.palette-panel p { color:var(--muted); margin:0 0 24px; }
.swatches { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; }
.swatch { aspect-ratio:1; border-radius:15px; border:1px solid rgba(255,255,255,.24); box-shadow:inset 0 0 0 1px rgba(0,0,0,.05); position:relative; }
.swatch span { position:absolute; inset:auto 6px 6px; color:#fff; font-size:.48rem; font-weight:800; text-shadow:0 1px 4px rgba(0,0,0,.6); }
.swatch.light span { color:#17253a; text-shadow:none; }

.roadmap { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:step; }
.roadmap article { min-height:182px; padding:23px; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,var(--surface-strong),var(--surface)); box-shadow:var(--shadow-soft); backdrop-filter:blur(16px); }
.roadmap article::before { counter-increment:step; content:"0" counter(step); display:block; color:var(--blue-500); font-weight:900; font-size:.68rem; letter-spacing:.12em; margin-bottom:28px; }
.roadmap h3 { margin:0 0 8px; font-family:Georgia,serif; font-size:1.24rem; }
.roadmap p { margin:0; color:var(--muted); font-size:.82rem; }

.channels { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.channel { min-height:112px; padding:24px; display:flex; align-items:center; justify-content:space-between; gap:20px; text-decoration:none; border:1px solid var(--line); border-radius:20px; background:linear-gradient(145deg,var(--surface-strong),var(--surface)); box-shadow:var(--shadow-soft); backdrop-filter:blur(16px); transition:transform .2s ease,border-color .2s ease; }
.channel:hover { transform:translateY(-4px); border-color:var(--line-strong); }
.channel b { display:block; margin-bottom:5px; }
.channel span { color:var(--muted); font-size:.78rem; }
.channel .arrow { width:42px; height:42px; display:grid; place-items:center; flex:none; border-radius:14px; color:#fff; background:linear-gradient(135deg,var(--navy-800),var(--blue-500)); font-size:1.1rem; }

.site-footer { margin-top:40px; color:#d3e2ef; background:linear-gradient(118deg,#020611 0%,#020c29 32%,#012653 72%,#02173b 100%); }
.footer-inner { width:min(var(--max),calc(100% - 36px)); margin:0 auto; min-height:150px; display:flex; align-items:center; justify-content:space-between; gap:30px; }
.footer-inner p { margin:6px 0 0; color:#88a1b7; font-size:.72rem; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; }
.footer-links a { text-decoration:none; color:#a9bfd1; font-size:.78rem; }
.footer-links a:hover { color:#fff; }

.error-page { min-height:100vh; display:grid; place-items:center; padding:30px; color:#fff; background:
  radial-gradient(52rem 42rem at 12% 10%,rgba(47,131,202,.58),transparent 66%),
  radial-gradient(50rem 40rem at 88% 82%,rgba(191,193,191,.24),transparent 67%),
  linear-gradient(135deg,#020611 0%,#020c29 22%,#02173b 48%,#012653 74%,#073b70 100%); }
.error-controls { position:fixed; top:20px; right:20px; }
.error-card { width:min(760px,100%); text-align:center; padding:56px 34px; border:1px solid rgba(255,255,255,.18); border-radius:36px; background:rgba(3,16,37,.58); box-shadow:0 35px 100px rgba(0,0,0,.40); backdrop-filter:blur(24px); }
.error-card img { width:150px; margin:0 auto 20px; filter:drop-shadow(0 20px 35px rgba(0,0,0,.35)); }
.error-code { margin:0; font-family:Georgia,serif; font-size:clamp(6rem,18vw,11rem); line-height:.8; letter-spacing:-.08em; background:linear-gradient(180deg,#fff,#7fb8df); -webkit-background-clip:text; color:transparent; }
.error-card h1 { margin:24px 0 10px; font-size:clamp(2rem,5vw,3.5rem); }
.error-card p { max-width:560px; margin:0 auto; color:#b9ccdc; }
.error-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:28px; }
.error-actions a { padding:11px 15px; border:1px solid rgba(255,255,255,.18); border-radius:12px; text-decoration:none; background:rgba(255,255,255,.07); }
.error-actions a:first-child { color:#02173b; background:#fff; }

@media (max-width: 900px) {
  .nav-link { display:none; }
  .hero { min-height:auto; }
  .hero-inner { grid-template-columns:1fr; padding:88px 0 112px; text-align:center; }
  .hero-copy { margin:0 auto; }
  .eyebrow { justify-content:center; }
  .hero-actions { justify-content:center; }
  .hero-note { margin-left:auto; margin-right:auto; }
  .hero-visual { min-height:340px; }
  .hero-visual::before { width:350px; height:350px; }
  .hero-visual::after { width:280px; height:280px; }
  .section-head { grid-template-columns:1fr; gap:24px; }
  .grid-3 { grid-template-columns:1fr; }
  .founding { grid-template-columns:1fr; }
  .founding-art { padding:48px 30px 10px; }
  .founding-copy { padding:40px 34px 48px; text-align:center; }
  .number { justify-content:center; }
  .symbols { grid-template-columns:1fr; }
  .roadmap { grid-template-columns:1fr 1fr; }
}
@media (max-width: 620px) {
  .nav { width:min(100% - 22px,var(--max)); min-height:66px; }
  .brand-copy small { display:none; }
  .brand-copy strong { font-size:.86rem; }
  .brand img { width:38px; height:38px; }
  .theme-label { display:none; }
  .theme-toggle { width:40px; height:40px; justify-content:center; padding:0; }
  .langs a { min-width:30px; padding:6px 5px; }
  .hero-inner { width:min(100% - 28px,var(--max)); padding-top:72px; }
  .hero h1 { font-size:4.7rem; }
  .lead { font-size:.98rem; }
  .hero-visual { min-height:290px; }
  .status-wrap,.section,.footer-inner { width:min(100% - 24px,var(--max)); }
  .status-card { align-items:flex-start; flex-direction:column; }
  .section { padding:82px 0; }
  .section-tight { padding-top:10px; }
  .section h2 { font-size:2.85rem; }
  .info-card { min-height:190px; }
  .founding { border-radius:25px; }
  .founding-copy { padding:32px 23px 40px; }
  .number { align-items:center; flex-direction:column; gap:4px; }
  .number strong { font-size:4.6rem; }
  .roadmap { grid-template-columns:1fr; }
  .channels { grid-template-columns:1fr; }
  .swatches { grid-template-columns:repeat(5,1fr); }
  .swatch { border-radius:10px; }
  .swatch span { display:none; }
  .footer-inner { padding:38px 0; min-height:auto; flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior:auto !important; }
  body::before,body::after,.hero::before,.hero-visual img { animation:none !important; }
}

/* V6 — seamless page background and screenshot-safe layout */
body {
  position: relative;
  background-attachment: scroll;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(70rem 48rem at -8% 4%, rgba(1,38,83,.20), transparent 68%),
    radial-gradient(62rem 44rem at 105% 16%, rgba(191,193,191,.44), transparent 70%),
    radial-gradient(66rem 46rem at 88% 58%, rgba(7,59,112,.18), transparent 72%),
    radial-gradient(60rem 42rem at 8% 88%, rgba(255,255,255,.72), transparent 74%),
    linear-gradient(180deg,
      #eef5fa 0%,
      #e4eef6 15%,
      #f5f8fb 34%,
      #e9f1f7 58%,
      #dce9f3 79%,
      #eef5fa 100%);
}
html[data-theme="dark"] body {
  background-color: #020c29;
  background-image:
    radial-gradient(74rem 54rem at 82% 1%, rgba(90,167,225,.28), transparent 62%),
    radial-gradient(66rem 46rem at -8% 18%, rgba(47,131,202,.28), transparent 68%),
    radial-gradient(72rem 52rem at 104% 42%, rgba(191,193,191,.10), transparent 72%),
    radial-gradient(68rem 50rem at 4% 66%, rgba(7,59,112,.34), transparent 72%),
    radial-gradient(62rem 46rem at 92% 88%, rgba(47,131,202,.20), transparent 72%),
    linear-gradient(180deg,
      #020611 0%,
      #02173b 14%,
      #012653 29%,
      #031f49 45%,
      #020c29 62%,
      #02173b 79%,
      #020611 100%);
}

/* Fixed/animated effects and sticky headers produce visible seams in long screenshots. */
body::before,
body::after {
  display: none;
}
.site-header {
  position: relative;
  top: auto;
  background: rgba(2,12,41,.88);
  border-bottom-color: rgba(255,255,255,.08);
}
.site-header .brand-copy strong,
.site-header .theme-toggle { color: #f4f8fc; }
.site-header .brand-copy small,
.site-header .nav-link { color: #a9bfd1; }
.site-header .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-header .langs,
.site-header .theme-toggle { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }

main,
html[data-theme="dark"] main {
  background: transparent;
}

.hero {
  background:
    radial-gradient(50rem 36rem at 80% 18%, rgba(191,193,191,.18), transparent 65%),
    radial-gradient(54rem 40rem at 8% 88%, rgba(47,131,202,.28), transparent 70%),
    linear-gradient(124deg, rgba(2,12,41,.96) 0%, rgba(2,23,59,.94) 35%, rgba(1,38,83,.91) 68%, rgba(7,59,112,.84) 100%);
}
.hero::after {
  inset: auto -5% -2px -5%;
  height: 260px;
  opacity: 1;
  background:
    radial-gradient(115% 95% at 50% 62%, transparent 54%, rgba(255,255,255,.12) 55%, transparent 57%),
    radial-gradient(100% 80% at 18% 64%, transparent 57%, rgba(255,255,255,.08) 58%, transparent 60%),
    radial-gradient(100% 80% at 82% 64%, transparent 57%, rgba(255,255,255,.07) 58%, transparent 60%),
    linear-gradient(to bottom, transparent 0%, rgba(2,12,41,.14) 36%, var(--paper) 100%);
}
html[data-theme="dark"] .hero::after {
  background:
    radial-gradient(115% 95% at 50% 62%, transparent 54%, rgba(255,255,255,.10) 55%, transparent 57%),
    radial-gradient(100% 80% at 18% 64%, transparent 57%, rgba(255,255,255,.07) 58%, transparent 60%),
    radial-gradient(100% 80% at 82% 64%, transparent 57%, rgba(255,255,255,.06) 58%, transparent 60%),
    linear-gradient(to bottom, transparent 0%, rgba(2,12,41,.12) 36%, #020c29 100%);
}

.status-wrap {
  margin-top: -54px;
}
.status-card {
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.section {
  position: relative;
  background: transparent;
}

/* Cards stay distinct, but the page itself is one continuous field. */
.info-card,
.flag-panel,
.palette-panel,
.roadmap article,
.channel {
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
}

.site-footer {
  margin-top: 26px;
  background: rgba(2,6,17,.42);
  border-top: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
html:not([data-theme="dark"]) .site-footer {
  color: #10243b;
  background: rgba(237,245,250,.58);
  border-top-color: rgba(3,38,79,.12);
}
html:not([data-theme="dark"]) .footer-inner p,
html:not([data-theme="dark"]) .footer-links a { color: #53677d; }
html:not([data-theme="dark"]) .footer-links a:hover { color: #012653; }

@media (max-width: 620px) {
  .hero::after { height: 190px; }
  .status-wrap { margin-top: -38px; }
}

/* V8 — one uninterrupted page-wide gradient.
   No section, hero or footer owns a separate background. */
html {
  background: #d7e6f1;
}

body {
  background-color: #d7e6f1;
  background-image: linear-gradient(
    180deg,
    #03152f 0%,
    #062f5b 9%,
    #0b4f82 18%,
    #b9d1e2 29%,
    #e7f0f6 41%,
    #f5f8fb 57%,
    #e7eff5 76%,
    #d7e6f1 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme="dark"] {
  background: #020611;
}

html[data-theme="dark"] body {
  background-color: #020611;
  background-image: linear-gradient(
    180deg,
    #0b3966 0%,
    #073b70 10%,
    #063461 20%,
    #012653 34%,
    #022149 51%,
    #02173b 70%,
    #020c29 86%,
    #020611 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Remove every large independent background layer that can create seams. */
body::before,
body::after,
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

main,
html[data-theme="dark"] main,
.hero,
html[data-theme="dark"] .hero,
.section,
.status-wrap,
.site-footer,
html:not([data-theme="dark"]) .site-footer {
  background: transparent !important;
  background-image: none !important;
}

.hero {
  isolation: auto;
}

/* Keep only a very subtle grid overlay; it fades inside the hero itself. */
.hero-grid {
  opacity: .055;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.65) 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.65) 58%, transparent 100%);
}

.site-header {
  position: relative;
  top: auto;
  background: rgba(2, 12, 41, .34) !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.status-wrap {
  margin-top: -54px;
}

.status-card {
  background: rgba(5, 25, 51, .62);
  border-color: rgba(198, 220, 239, .28);
  color: #f2f7fc;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.status-card p { color: #aac0d4; }
html:not([data-theme="dark"]) .status-card {
  background: rgba(255,255,255,.74);
  border-color: rgba(3,38,79,.16);
  color: #07162e;
}
html:not([data-theme="dark"]) .status-card p { color: #53677d; }

.site-footer {
  color: #d3e2ef;
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html:not([data-theme="dark"]) .site-footer {
  color: #10243b;
  border-top-color: rgba(3,38,79,.12);
}

/* Error and Viren holding pages use the same continuous field. */
.error-page {
  background: linear-gradient(180deg, #0b3966 0%, #012653 38%, #02173b 72%, #020611 100%) !important;
}

@media (max-width: 620px) {
  .status-wrap { margin-top: -38px; }
}

/* V9 — one darker diagonal gradient across the entire page.
   All large page regions remain transparent; only cards keep surfaces. */
html {
  background: #c8d5df;
}

body {
  background-color: #c8d5df;
  background-image: linear-gradient(
    135deg,
    #aebfcd 0%,
    #d5dfe7 23%,
    #b8c8d4 48%,
    #e4eaef 73%,
    #bac9d5 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme="dark"] {
  background: #010510;
}

html[data-theme="dark"] body {
  background-color: #010510;
  background-image: linear-gradient(
    135deg,
    #010510 0%,
    #020c29 24%,
    #02173b 49%,
    #012653 74%,
    #03182f 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

body::before,
body::after,
.hero::before,
.hero::after {
  display: none !important;
  content: none !important;
}

main,
html[data-theme="dark"] main,
.hero,
html[data-theme="dark"] .hero,
.section,
.status-wrap,
.site-footer,
html:not([data-theme="dark"]) .site-footer {
  background: transparent !important;
  background-image: none !important;
}

.hero-grid {
  opacity: .035;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.42) 52%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, rgba(0,0,0,.42) 52%, transparent 100%);
}

.site-header {
  background: rgba(2, 12, 41, .28) !important;
  border-bottom-color: rgba(255,255,255,.08);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

html:not([data-theme="dark"]) .site-header {
  background: rgba(231, 238, 244, .50) !important;
  border-bottom-color: rgba(3,38,79,.12);
}

.status-card {
  background: rgba(4, 20, 43, .64);
  border-color: rgba(198, 220, 239, .24);
}

html:not([data-theme="dark"]) .status-card {
  background: rgba(245,248,251,.72);
  border-color: rgba(3,38,79,.15);
}

.site-footer {
  border-top-color: rgba(255,255,255,.08);
}

html:not([data-theme="dark"]) .site-footer {
  border-top-color: rgba(3,38,79,.12);
}

.error-page {
  background-image: linear-gradient(135deg, #010510 0%, #020c29 28%, #02173b 55%, #012653 78%, #03182f 100%) !important;
  background-size: 100% 100% !important;
}

/* V10 — repaired light theme.
   The page remains one uninterrupted diagonal field; no section owns a background. */
html:not([data-theme="dark"]) {
  background: #a7bac8;
}

html:not([data-theme="dark"]) body {
  background-color: #a7bac8;
  background-image: linear-gradient(
    138deg,
    #718da3 0%,
    #91a9bb 19%,
    #b4c5d1 42%,
    #d8e2e9 68%,
    #c7d5df 100%
  );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* The transparent hero now has a complete light-theme type system. */
html:not([data-theme="dark"]) .hero {
  color: #07162e;
}
html:not([data-theme="dark"]) .hero h1 {
  color: #07162e;
  text-shadow: 0 12px 34px rgba(255,255,255,.32);
}
html:not([data-theme="dark"]) .eyebrow {
  color: #123f68;
}
html:not([data-theme="dark"]) .eyebrow::before {
  background: #123f68;
}
html:not([data-theme="dark"]) .lead {
  color: #17344f;
}
html:not([data-theme="dark"]) .hero-note {
  color: #36546d;
}
html:not([data-theme="dark"]) .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #02173b, #073b70);
  box-shadow: 0 14px 32px rgba(2,23,59,.25);
}
html:not([data-theme="dark"]) .btn-secondary {
  color: #082647;
  border-color: rgba(2,38,83,.28);
  background: rgba(246,250,253,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
html:not([data-theme="dark"]) .hero-grid {
  opacity: .055;
  background-image:
    linear-gradient(rgba(2,38,83,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,38,83,.24) 1px, transparent 1px);
}
html:not([data-theme="dark"]) .hero-visual::before {
  background: radial-gradient(circle, rgba(255,255,255,.28), rgba(7,59,112,.10) 48%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 0 90px rgba(1,38,83,.16);
}
html:not([data-theme="dark"]) .hero-visual::after {
  border-color: rgba(2,38,83,.14);
  box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 64px rgba(2,38,83,.018);
}
html:not([data-theme="dark"]) .hero-visual img {
  filter: drop-shadow(0 28px 42px rgba(2,18,46,.28));
}

/* Keep glass surfaces readable over the stronger steel-blue field. */
html:not([data-theme="dark"]) .info-card,
html:not([data-theme="dark"]) .flag-panel,
html:not([data-theme="dark"]) .palette-panel,
html:not([data-theme="dark"]) .roadmap article,
html:not([data-theme="dark"]) .channel {
  background: rgba(247,250,252,.72);
  border-color: rgba(3,38,79,.14);
  box-shadow: 0 18px 48px rgba(2,18,46,.12);
}
html:not([data-theme="dark"]) .status-card {
  background: rgba(247,250,252,.76);
  border-color: rgba(3,38,79,.16);
  box-shadow: 0 20px 58px rgba(2,18,46,.15);
}

/* Footer remains part of the same continuous field. */
html:not([data-theme="dark"]) .site-footer {
  background: transparent !important;
  color: #10243b;
  border-top-color: rgba(3,38,79,.14);
}

/* V11 — refined light theme: one continuous dark-to-silver diagonal field.
   The top stays deep marine blue for the hero and navigation, while the rest
   gradually opens into cold silver and ice. No section owns a background. */
html:not([data-theme="dark"]) {
  background: #d6e1e9;
}

html:not([data-theme="dark"]) body {
  background-color: #d6e1e9;
  background-image:
    radial-gradient(86rem 56rem at 98% 2%, rgba(255,255,255,.26) 0%, transparent 66%),
    radial-gradient(76rem 58rem at -8% 54%, rgba(7,59,112,.10) 0%, transparent 72%),
    linear-gradient(
      145deg,
      #06152f 0%,
      #0b2a4c 10%,
      #315978 19%,
      #829bae 28%,
      #bccbd6 39%,
      #dde6ec 55%,
      #eef3f7 72%,
      #cbd9e3 100%
    );
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Header always has deliberate contrast in the light theme. */
html:not([data-theme="dark"]) .site-header {
  background: rgba(2, 12, 41, .72) !important;
  border-bottom-color: rgba(255,255,255,.13);
  box-shadow: 0 10px 34px rgba(2,12,41,.15);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
}
html:not([data-theme="dark"]) .site-header .brand-copy strong,
html:not([data-theme="dark"]) .site-header .theme-toggle {
  color: #f7fbff;
}
html:not([data-theme="dark"]) .site-header .brand-copy small,
html:not([data-theme="dark"]) .site-header .nav-link {
  color: rgba(225,238,249,.82);
}
html:not([data-theme="dark"]) .site-header .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.10);
}
html:not([data-theme="dark"]) .site-header .langs,
html:not([data-theme="dark"]) .site-header .theme-toggle {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}
html:not([data-theme="dark"]) .site-header .langs a {
  color: rgba(229,239,248,.86);
}
html:not([data-theme="dark"]) .site-header .langs a:hover,
html:not([data-theme="dark"]) .site-header .langs a[aria-current="page"] {
  color: #07162e;
  background: #f5f9fc;
  box-shadow: 0 7px 20px rgba(0,0,0,.18);
}

/* The hero sits over the navy start of the same page-wide field. */
html:not([data-theme="dark"]) .hero {
  color: #f7fbff;
}
html:not([data-theme="dark"]) .hero h1 {
  color: #fff;
  text-shadow: 0 18px 52px rgba(0,0,0,.30);
}
html:not([data-theme="dark"]) .eyebrow {
  color: #c7e2f4;
}
html:not([data-theme="dark"]) .eyebrow::before {
  background: #c7e2f4;
}
html:not([data-theme="dark"]) .lead {
  color: #e0edf6;
}
html:not([data-theme="dark"]) .hero-note {
  color: #b9cede;
}
html:not([data-theme="dark"]) .btn-primary {
  color: #07162e;
  background: #f7fbff;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
html:not([data-theme="dark"]) .btn-primary:hover {
  background: #fff;
}
html:not([data-theme="dark"]) .btn-secondary {
  color: #f7fbff;
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
html:not([data-theme="dark"]) .btn-secondary:hover {
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.14);
}
html:not([data-theme="dark"]) .hero-grid {
  opacity: .06;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
}
html:not([data-theme="dark"]) .hero-visual::before {
  background: radial-gradient(circle, rgba(201,224,240,.25), rgba(90,167,225,.10) 48%, transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 92px rgba(89,166,220,.22);
}
html:not([data-theme="dark"]) .hero-visual::after {
  border-color: rgba(255,255,255,.15);
  box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.015);
}
html:not([data-theme="dark"]) .hero-visual img {
  filter: drop-shadow(0 30px 48px rgba(0,0,0,.40));
}

/* After the hero the same gradient is already silver, so dark body text returns. */
html:not([data-theme="dark"]) .section h2,
html:not([data-theme="dark"]) .section h3,
html:not([data-theme="dark"]) .footer-inner strong {
  color: #07162e;
}
html:not([data-theme="dark"]) .section-copy,
html:not([data-theme="dark"]) .info-card p,
html:not([data-theme="dark"]) .palette-panel p,
html:not([data-theme="dark"]) .roadmap p,
html:not([data-theme="dark"]) .channel span,
html:not([data-theme="dark"]) .footer-inner p,
html:not([data-theme="dark"]) .footer-links a {
  color: #405a70;
}
html:not([data-theme="dark"]) .kicker {
  color: #0b4d7d;
}

html:not([data-theme="dark"]) .info-card,
html:not([data-theme="dark"]) .flag-panel,
html:not([data-theme="dark"]) .palette-panel,
html:not([data-theme="dark"]) .roadmap article,
html:not([data-theme="dark"]) .channel {
  background: rgba(250,252,254,.84);
  border-color: rgba(3,38,79,.14);
  box-shadow: 0 18px 48px rgba(2,18,46,.13);
}
html:not([data-theme="dark"]) .status-card {
  background: rgba(250,252,254,.90);
  border-color: rgba(3,38,79,.16);
  box-shadow: 0 22px 62px rgba(2,18,46,.18);
}

html:not([data-theme="dark"]) .site-footer {
  background: transparent !important;
  color: #10243b;
  border-top-color: rgba(3,38,79,.15);
}
html:not([data-theme="dark"]) .footer-links a:hover {
  color: #012653;
}

@media (max-width: 760px) {
  html:not([data-theme="dark"]) body {
    background-image:
      linear-gradient(
        158deg,
        #06152f 0%,
        #123759 13%,
        #718ca2 24%,
        #c3d1db 37%,
        #e5edf2 58%,
        #eef3f7 78%,
        #ccd9e3 100%
      );
  }
}


/* V12 — dark-only public theme */
html { color-scheme: dark; }
html:not([data-theme="dark"]) { color-scheme: dark; }
.theme-toggle, .error-controls { display: none !important; }


/* V13 — state emblem panel replaces the public palette block. */
.flag-panel,
.emblem-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.emblem-panel {
  min-height: 100%;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .78fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.emblem-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 162, 214, .20), transparent 68%);
  pointer-events: none;
}

.emblem-panel h3 {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.emblem-panel p {
  color: var(--muted);
  margin: 0;
}

.emblem-frame {
  position: relative;
  z-index: 1;
  min-height: 250px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 45%, rgba(44, 125, 184, .22), transparent 58%),
    rgba(0, 8, 25, .22);
}

.emblem-frame img {
  width: min(240px, 84%);
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.34));
}

.error-domain {
  display: inline-block;
  margin-top: 28px;
  color: #dceaf5;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(220,234,245,.38);
  padding-bottom: 4px;
}
.error-domain:hover { color: #fff; border-bottom-color: #fff; }

@media (max-width: 760px) {
  .emblem-panel { grid-template-columns: 1fr; }
  .emblem-frame { min-height: 220px; }
}
