:root {
  --bg: #fdf6f1; --surface: #ffffff; --surface-2: #fff0e8; --ink: #1d1233; --muted: #62577a; --line: #ecdfe6;
  --pink: #d6247a; --orange: #e8590c; --teal: #0b7f86; --link: #b01463;
  --ok: #0e6b55; --ok-bg: #d8f5ea; --warn: #8a5300; --warn-bg: #fdeccb; --unk: #4b4763; --unk-bg: #e9e6f2;
  --grad: linear-gradient(100deg, #ff4fa0, #ff8a3d 55%, #ffc24a);
  --shadow: 0 1px 2px rgba(29, 18, 51, 0.05), 0 8px 24px rgba(29, 18, 51, 0.07);
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100a20; --surface: #1a1230; --surface-2: #231840; --ink: #f6effd; --muted: #b5a9cc; --line: #32264f;
    --pink: #ff6fb5; --orange: #ff9a55; --teal: #4fd6d9; --link: #ff8cc4;
    --ok: #7be0c2; --ok-bg: #0f3a30; --warn: #ffd07a; --warn-bg: #45300a; --unk: #cdc6e6; --unk-bg: #2e2649;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; padding-top: 28px; padding-bottom: 48px; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 20; }
h1, h2, h3, .brand { font-family: var(--display); }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.08; letter-spacing: -0.025em; margin: 10px 0; font-weight: 800; text-wrap: balance; }
h2 { font-size: 1.6rem; line-height: 1.2; margin: 2.2em 0 0.6em; letter-spacing: -0.015em; font-weight: 800; scroll-margin-top: 76px; }
h3 { font-size: 1.15rem; margin: 1.6em 0 0.3em; font-weight: 600; scroll-margin-top: 76px; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: 0.35em; }
.icon { width: 22px; height: 22px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(18, 9, 38, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.bar { display: flex; align-items: center; gap: 22px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; color: #fff; text-decoration: none; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(180deg, #ffe27a, #ff8a3d 55%, #ff3d9a); -webkit-mask: linear-gradient(#000 0 56%, transparent 56% 64%, #000 64% 76%, transparent 76% 86%, #000 86%); mask: linear-gradient(#000 0 56%, transparent 56% 64%, #000 64% 76%, transparent 76% 86%, #000 86%); }
.site-header nav { overflow-x: auto; flex: 1; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.site-header nav::-webkit-scrollbar { display: none; }
.site-header ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0 24px 0 0; }
.site-header li { margin: 0; }
.site-header li a { display: flex; align-items: center; min-height: 44px; padding: 7px 11px; border-radius: 999px; color: #cbbfe3; text-decoration: none; font-size: 14.5px; white-space: nowrap; }
.site-header li a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-header li a[aria-current] { color: #1d1233; background: var(--grad); font-weight: 650; }
@media (max-width: 560px) {
  .bar { gap: 9px; }
  .site-header nav { -webkit-mask: none; mask: none; }
  .site-header li a { padding-inline: 8px; }
}

/* home hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, #150a2e 0%, #3a1463 38%, #a3237f 68%, #ff7a4a 100%); }
.scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 420px; }
.hero-inner { position: relative; padding-top: 38px; padding-bottom: 132px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #ffd98a; border: 1px solid rgba(255, 217, 138, 0.4); padding: 4px 12px; border-radius: 999px; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.4rem, 7.5vw, 4.6rem); max-width: 14ch; margin: 0 0 14px; text-shadow: 0 2px 30px rgba(21, 10, 46, 0.5); }
.hero h1 span { text-shadow: none; background: linear-gradient(95deg, #ff7ab8, #ffb35c 60%, #ffe27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 1.15rem; color: #f0e6fc; max-width: 52ch; text-shadow: 0 1px 8px #150a2e; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--grad); color: #1d1233; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(255, 79, 160, 0.35); transition: transform 0.15s; }
.btn:hover { transform: translateY(-2px); color: #1d1233; }
.btn-ghost { background: rgba(21, 10, 46, 0.45); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: none; }
.btn-ghost:hover { color: #fff; }
@media (max-width: 560px) {
  .bar { gap: 10px; }
  .hero-inner { padding-top: 24px; padding-bottom: 52px; }
  .scene { height: 220px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lede { font-size: 1rem; }
}

/* key facts strip */
.facts { background: #100724; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts a { padding: 16px 12px; text-decoration: none; color: #fff; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.facts a:first-child { border-left: 0; padding-left: 0; }
.facts span { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: #a898c6; }
.facts b { font: 800 1.15rem/1.3 var(--display); }
.facts a:hover b { color: #ffb35c; }
@media (max-width: 640px) { .facts-row { grid-template-columns: 1fr 1fr; } .facts a:nth-child(odd) { border-left: 0; padding-left: 0; } .facts a:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); } }

/* search */
.search, [data-site-search] { margin: 20px 0; max-width: 720px; scroll-margin-top: 76px; }
.search label, [data-site-search] label { display: block; font: 800 1.1rem var(--display); margin-bottom: 8px; }
[data-site-search] input { width: 100%; min-height: 48px; font: inherit; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
[data-search-status] { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
[data-search-status]:empty { margin: 0; }
.search-retry { min-height: 44px; margin-top: 8px; }
[data-search-results] { list-style: none; margin: 8px 0 0; padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
[data-search-results] li { padding: 4px 12px 10px; margin: 0; border-radius: 10px; }
[data-search-results] li:hover, [data-search-results] li:focus-within { background: var(--surface-2); }
[data-search-results] a { display: flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
[data-search-results] p { margin: 0; font-size: 14.5px; color: var(--muted); }
.hero [data-search-status] { color: #f0e6fc; }
.quick-jumps ul, ul.quick-jumps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 22px; padding: 0; }
.quick-jumps li { margin: 0; }
.quick-jumps a, .search-retry { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--link); font: inherit; font-weight: 650; text-decoration: none; }
.quick-jumps a:hover, .search-retry:hover { border-color: var(--pink); }
.search-retry { cursor: pointer; }
.search-retry[hidden] { display: none; }
.mission-list, .faq details[id] { scroll-margin-top: 76px; }

/* launch storage and store disclosures */
.storage-check, [data-storage-check] { max-width: 660px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 16px; margin: 12px 0 22px; box-shadow: var(--shadow); }
[data-storage-check] fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
[data-storage-check] legend { padding: 0; margin-bottom: 6px; font: 800 1.15rem var(--display); }
.storage-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
[data-storage-check] label { display: block; font-weight: 650; font-size: 15px; }
[data-storage-check] input[type=number] { width: 100%; min-height: 44px; margin-top: 6px; padding: 8px 10px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font: inherit; }
[data-storage-check] button { margin-top: 12px; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
[data-storage-check] output { display: block; margin-top: 10px; font-weight: 700; }
[data-storage-check] output:empty { margin-top: 0; }
.affiliate-note { color: var(--muted); font-size: 14.5px; }
@media (max-width: 440px) { .storage-fields { grid-template-columns: 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.18s, border-color 0.18s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity 0.18s; }
.card:hover { transform: translateY(-4px); border-color: var(--pink); color: var(--ink); }
.card:hover::before { opacity: 1; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #1d1233; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; line-height: 1.5; flex: 1; }
.card-go { font-size: 14px; font-weight: 700; color: var(--link); }

/* regions */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .regions { grid-template-columns: 1fr; } }
.region { display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 16px; border-radius: 18px; color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform 0.18s; }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(16, 7, 36, 0.7)); }
.region b, .region span { position: relative; z-index: 1; }
.region b { font: 800 1.25rem/1.2 var(--display); }
.region span { font-size: 13.5px; opacity: 0.92; }
.region:hover { transform: translateY(-4px) scale(1.01); color: #fff; }
.r1 { background: linear-gradient(140deg, #ff4fa0, #7b2ff7); }
.r2 { background: linear-gradient(140deg, #19c3c9, #1565c0); }
.r3 { background: linear-gradient(140deg, #6bbf59, #0b5d4b); }
.r4 { background: linear-gradient(140deg, #ffb35c, #c2410c); }
.r5 { background: linear-gradient(140deg, #f2c94c, #9a5b13); }
.r6 { background: linear-gradient(140deg, #5b8def, #2b2470); }

/* news */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-head a { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.news { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.news li { padding: 14px 18px; margin: 0; border-bottom: 1px solid var(--line); }
.news li:last-child { border-bottom: 0; }
.news a { font-weight: 650; text-decoration: none; color: var(--ink); display: block; }
.news a:hover { color: var(--link); }
.news span { font-size: 13px; color: var(--muted); }

/* article pages */
.page-hero { color: #fff; background: radial-gradient(900px 300px at 85% 120%, rgba(255, 122, 74, 0.55), transparent 70%), radial-gradient(700px 280px at 60% 130%, rgba(255, 79, 160, 0.5), transparent 70%), linear-gradient(180deg, #150a2e, #2c1052); padding: 30px 0 34px; border-bottom: 3px solid transparent; border-image: var(--grad) 1; }
.page-hero h1 { max-width: 22ch; }
.crumbs, .meta { color: #cbbfe3; font-size: 14px; margin: 0; }
.crumbs a, .meta a { color: inherit; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 10px; border-radius: 999px; background: rgba(255, 217, 138, 0.16); color: #ffd98a; border: 1px solid rgba(255, 217, 138, 0.35); margin-right: 6px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 740px) 250px; gap: 56px; justify-content: space-between; padding-top: 28px; padding-bottom: 24px; }
.side { position: sticky; top: 82px; align-self: start; display: grid; gap: 14px; font-size: 14.5px; }
.toc, .legend { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow); }
.toc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--link); border-color: var(--pink); }
.legend p { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
@media (max-width: 980px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } .side { display: none; } }

.answer { position: relative; background: var(--surface); border-radius: 18px; padding: 18px 22px; margin: 0 0 28px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.answer::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grad); }
.answer p { margin: 4px 0 0; font-size: 1.12rem; line-height: 1.55; }
.answer-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink); }
article > h2:first-of-type { margin-top: 0.4em; }
article h2 { padding-top: 0.2em; }

.tag { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 1px 8px; border-radius: 999px; vertical-align: 0.1em; white-space: nowrap; }
.tag-confirmed { color: var(--ok); background: var(--ok-bg); }
.tag-reported { color: var(--warn); background: var(--warn-bg); }
.tag-unknown { color: var(--unk); background: var(--unk-bg); }
.note { border-left: 4px solid var(--teal); background: var(--surface); padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 0 0 1em; box-shadow: var(--shadow); }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 8px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 650; padding: 15px 28px 15px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 600 1.4rem/1 var(--display); color: var(--pink); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.sources { font-size: 15px; color: var(--muted); }
.related { padding-bottom: 56px; }
main > .wrap:last-child { padding-bottom: 56px; }

.ad { margin: 30px 0; min-height: 100px; }
.ad-placeholder { display: grid; place-items: center; border: 1.5px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 13px; }

.site-footer { background: #100724; color: #a898c6; padding: 36px 0; font-size: 14px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot p { margin: 10px 0 0; max-width: 46ch; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot a:not(.brand) { color: #cbbfe3; text-decoration: none; }
.foot a:not(.brand):hover { color: #ffb35c; }
@media (max-width: 720px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
