/* G6Core: clean light UI, synthwave accents taken from the logo. Dark mode follows the system. */
:root {
  --ink: #0e0b1a;
  --ink-2: #2d2942;
  --muted: #6c6884;
  --faint: #9a97ad;
  --line: #ece9f4;
  --line-2: #ddd9ea;
  --soft: #f7f5fc;
  --soft-2: #efecf8;
  --bg: #ffffff;
  --surface: #ffffff;
  --track: #e8e4f3;
  --violet: #8b3dff;
  --pink: #ff2e9a;
  --orange: #ff9a2e;
  --green: #14a56a;
  --amber: #e89a0c;
  --grad: linear-gradient(90deg, #8b3dff 0%, #ff2e9a 55%, #ff9a2e 100%);
  --grad-v: linear-gradient(180deg, #8b3dff 0%, #ff2e9a 55%, #ff9a2e 100%);
  --nav-bg: rgba(255, 255, 255, .82);
  --on-ink: #ffffff;
  --ok-bg: #e7f8f0; --ok-fg: #0c7a4f;
  --part-bg: #fff4de; --part-fg: #8a5600;
  --plan-bg: #f0edf9; --plan-fg: #5a557a;
  --act-bg: #fdeaf5; --act-fg: #b50f69;
  --warn-bg: #fff7ea; --warn-line: #f6dcae; --warn-fg: #7a4d00;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(30, 14, 70, .04), 0 8px 24px rgba(30, 14, 70, .06);
  --shadow-lg: 0 2px 4px rgba(30, 14, 70, .05), 0 28px 64px rgba(60, 20, 120, .16);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f1eefb; --ink-2: #cfcae3; --muted: #9b96b4; --faint: #6f6a88;
    --line: #25203a; --line-2: #342e50; --soft: #15111f; --soft-2: #1d1830; --bg: #0a0812; --surface: #120e1e; --track: #2a2442;
    --nav-bg: rgba(10, 8, 18, .8); --on-ink: #0e0b1a;
    --ok-bg: #0e2a20; --ok-fg: #55d9a0; --part-bg: #2b2008; --part-fg: #ffc866;
    --plan-bg: #1e1932; --plan-fg: #a9a3c8; --act-bg: #2e1024; --act-fg: #ff80c0;
    --warn-bg: #241a0a; --warn-line: #4d3813; --warn-fg: #ffc866;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 64px rgba(0, 0, 0, .55);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f1eefb; --ink-2: #cfcae3; --muted: #9b96b4; --faint: #6f6a88;
  --line: #25203a; --line-2: #342e50; --soft: #15111f; --soft-2: #1d1830; --bg: #0a0812; --surface: #120e1e; --track: #2a2442;
  --nav-bg: rgba(10, 8, 18, .8); --on-ink: #0e0b1a;
  --ok-bg: #0e2a20; --ok-fg: #55d9a0; --part-bg: #2b2008; --part-fg: #ffc866;
  --plan-bg: #1e1932; --plan-fg: #a9a3c8; --act-bg: #2e1024; --act-fg: #ff80c0;
  --warn-bg: #241a0a; --warn-line: #4d3813; --warn-fg: #ffc866;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 64px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.025em; margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid rgba(139, 61, 255, .5); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { background: var(--soft); border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-grad { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 24px rgba(255, 46, 154, .3); }
.btn-grad:hover { background: var(--grad); filter: brightness(1.06); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-danger { color: #c62a3a; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; padding: 7px 13px; border-radius: 999px; transition: background .15s; }
.nav-links a:hover { background: var(--soft); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background .15s; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-moon { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .i-sun { display: none; }
  :root:not([data-theme="light"]) .icon-btn .i-moon { display: block; }
}

/* Burger menu (shown on tablet/mobile only) */
.nav-burger { display: none; }
.nav-burger .b-close { display: none; }
.nav-open .nav-burger .b-open { display: none; }
.nav-open .nav-burger .b-close { display: block; }

/* ---------- Hero (dark immersive panel + glass cards) ---------- */
.hero { padding: 12px 12px 0; }
.hero-panel { position: relative; isolation: isolate; overflow: hidden; width: min(1400px, 100%); margin-inline: auto; border-radius: 32px; color: #fff; padding: 76px 0 160px;
  background: #1a0838 url("../img/hero.webp") 60% 100% / cover no-repeat; }
.hero-panel::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14, 4, 38, .86) 0%, rgba(14, 4, 38, .66) 38%, rgba(14, 4, 38, .18) 68%, rgba(14, 4, 38, 0) 100%), linear-gradient(180deg, rgba(14, 4, 38, .45), rgba(14, 4, 38, 0) 30%), linear-gradient(0deg, rgba(14, 4, 38, .5), rgba(14, 4, 38, 0) 24%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: start; }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-right: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 46, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 46, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 46, 154, 0); } }
.hero-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cta-pill { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 24px 0 10px; border-radius: 999px; background: #05030d; color: #fff; border: 2px solid rgba(255, 255, 255, .3); font-weight: 700; font-size: 16px; text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.cta-pill:hover { border-color: rgba(255, 255, 255, .65); transform: translateY(-1px); }
.cta-pill.grad { border-color: transparent; background: linear-gradient(#05030d, #05030d) padding-box, var(--grad) border-box; }
.cta-pill.grad:hover { filter: brightness(1.15); }
.cta-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.cta-ico svg { width: 18px; height: 18px; fill: currentColor; }
.cta-ico.x { background: #fff; color: #000; }
.cta-ico.gh svg { width: 32px; height: 32px; fill: #fff; }
.cta-ico.dc { background: #5865f2; color: #fff; }
.cta-ico.dc svg { width: 20px; height: 20px; }
.pill-count { margin-left: 2px; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; }
.hero h1 { font-size: clamp(44px, 6.2vw, 80px); font-weight: 900; letter-spacing: -.045em; line-height: .98; margin: 28px 0 22px; }
.hero h1 span { display: block; }
.hero h1 .warm { background: linear-gradient(90deg, #ffd36e, #ff7a5c 55%, #ff2e9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18px; color: rgba(255, 255, 255, .84); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-side { display: grid; gap: 14px; }
.glass { padding: 22px 24px; border-radius: 26px; background: rgba(18, 8, 40, .52); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.glass-label { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.glass-label svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glass h2 { font-size: 28px; font-weight: 800; margin: 12px 0 14px; letter-spacing: -.03em; }
.glass .bar { background: rgba(255, 255, 255, .18); }
.glass .g-row { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 0; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.glass .g-next { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .85); }
.glass .g-next b { display: block; color: #fff; font-size: 15px; margin-top: 2px; }
.pin-msg { display: flex; gap: 12px; margin-top: 14px; }
.pin-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 800; font-size: 13px; font-style: italic; }
.pin-bubble { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .07); }
.pin-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; }
.pin-head b { font-weight: 700; }
.pin-head time { margin-left: auto; color: rgba(255, 255, 255, .6); font-size: 12px; }
.team-badge { padding: 2px 8px; border-radius: 999px; background: var(--grad); font-size: 10.5px; font-weight: 800; letter-spacing: .06em; }
.pin-text { margin-top: 6px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 16px; margin-top: 12px; }
.tint { background: var(--soft); border-block: 1px solid var(--line); }

/* ---------- Overall progress card (overlaps the hero) ---------- */
.overall-wrap { position: relative; z-index: 2; margin-top: -112px; }
.overall { padding: 34px 36px 32px; box-shadow: var(--shadow-lg); }
.overall-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 40px; }
.ov-main { flex: 1 1 300px; min-width: 0; }
.big-score { font-family: var(--display); font-weight: 900; font-size: clamp(84px, 12vw, 148px); letter-spacing: -.05em; line-height: .95; margin: 6px 0 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-score .of { font-size: .38em; letter-spacing: -.02em; margin-left: 6px; }
.ov-sub { font-weight: 600; color: var(--ink-2); }
.ov-leader { color: var(--muted); margin-top: 6px; max-width: 520px; }
.ov-stats { flex: 1 1 460px; max-width: 580px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ov-stat { padding: 16px 16px 14px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.ov-stat b { display: block; font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: break-word; }
.ov-stat b.long { font-size: 16px; line-height: 1.25; padding-top: 3px; }
.ov-stat small { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.mega { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.seg { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.seg .tick { font-size: 12px; font-weight: 700; color: var(--faint); }
.seg.done .tick, .seg.partial .tick { color: var(--pink); }
.seg .track { height: 8px; border-radius: 999px; background: var(--track); overflow: hidden; }
.seg .track i { display: block; height: 100%; background: var(--grad); clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2, .8, .2, 1); }
.seg .lab { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.seg .lab::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--track); }
.seg.done .lab::before, .seg.partial .lab::before { background: var(--pink); }
.seg .sub { padding-left: 15px; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.4; }

.bar { height: 12px; background: var(--track); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bar.thin { height: 8px; }

.soon { margin-top: 14px; color: var(--faint); font-size: 14px; }

.notice { display: flex; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-fg); font-size: 14px; }
.notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice b { font-weight: 700; }

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; display: grid; gap: 24px; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--track); }
.phase { position: relative; padding: 28px; }
.phase::before { content: ""; position: absolute; left: -44px; top: 30px; width: 29px; height: 29px; border-radius: 50%; background: var(--surface); border: 4px solid var(--track); }
.phase.done::before { background: var(--grad); border-color: transparent; }
.phase.active::before { border-color: var(--pink); box-shadow: 0 0 0 6px rgba(255, 46, 154, .16); }
.phase.active { border-color: rgba(255, 46, 154, .35); box-shadow: var(--shadow-lg); }
.phase-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.phase-head .label { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.phase h3 { font-size: 24px; font-weight: 800; margin-top: 4px; }
.phase .summary { color: var(--muted); margin-top: 10px; max-width: 680px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.done { background: var(--ok-bg); color: var(--ok-fg); }
.badge.active, .badge.partial { background: var(--act-bg); color: var(--act-fg); }
.badge.partial { background: var(--part-bg); color: var(--part-fg); }
.badge.planned, .badge.todo { background: var(--plan-bg); color: var(--plan-fg); }
.phase-progress { display: flex; align-items: center; gap: 14px; margin: 20px 0 6px; }
.phase-progress .bar { flex: 1; }
.phase-progress b { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.ms-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 4px; }
.ms { display: grid; grid-template-columns:  28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 12px; border-radius: 12px; }
.ms:hover { background: var(--soft); }
.ms .ico { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.ms .ico svg { width: 13px; height: 13px; }
.ms.done .ico { background: var(--ok-bg); color: var(--ok-fg); }
.ms.partial .ico { background: var(--part-bg); color: var(--part-fg); }
.ms.todo .ico { background: var(--plan-bg); color: var(--plan-fg); }
.ms .t { font-weight: 600; }
.ms.todo .t { color: var(--ink-2); font-weight: 500; }
.ms .n { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.empty { padding: 36px; text-align: center; color: var(--muted); }
.meta-updated { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- Updates ---------- */
.updates { display: grid; gap: 14px; max-width: 760px; }
.update { padding: 22px 24px; }
.update time { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.update h3 { font-size: 19px; font-weight: 700; margin: 6px 0 8px; letter-spacing: -.015em; }
.update p { color: var(--ink-2); }

/* ---------- Vision / platforms ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
@media (min-width: 900px) {
  #about .grid-3 { grid-template-columns: repeat(6, 1fr); }
  #about .feature { grid-column: span 2; }
  #about .feature:nth-child(n+4) { grid-column: span 3; }
}
.feature { padding: 24px; }
.feature .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.feature p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.about-intro { max-width: 760px; font-size: 18px; color: var(--ink-2); margin-bottom: 32px; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.platform { display: flex; align-items: center; gap: 14px; padding: 20px; text-decoration: none; transition: transform .15s, border-color .15s; }
a.platform:hover { transform: translateY(-2px); border-color: var(--pink); }
.platform .pi { width: 42px; height: 42px; border-radius: 12px; background: var(--soft-2); display: grid; place-items: center; flex: none; }
.platform .pi svg { width: 20px; height: 20px; fill: currentColor; }
.platform b { display: block; font-size: 15px; }
.platform span { font-size: 13px; color: var(--muted); }
.platform.off { opacity: .6; }
.platform.discord .pi { background: #5865f2; color: #fff; }
.platform.x .pi { background: #0e0b1a; color: #fff; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; background: var(--soft); }
.foot { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot img { height: 40px; width: auto; }
.foot .tag { margin-top: 12px; font-weight: 600; }
.disclaimer { max-width: 560px; color: var(--muted); font-size: 13px; }
.foot-links { display: flex; gap: 14px; font-size: 14px; font-weight: 500; margin-top: 4px; }
.foot-links a { display: inline-block; padding: 9px 4px; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--pink); }

/* Long unbroken text (URLs, pasted strings) must wrap instead of stretching the layout */
.hero-inner > *, .overall-head > *, .phase-head > *, .glass > *, .pin-bubble { min-width: 0; }
.phase h3, .phase .summary, .ms .t, .ms .n, .update h3, .update p, .pin-text, .pin-head, .lede, .ov-sub, .kicker, .seg .lab, .seg .sub, .ov-stat b, .platform b, .platform span, .feature h3, .feature p { overflow-wrap: anywhere; }
.phase, .update, .glass, .platform, .overall { min-width: 0; }

/* ---------- Motion: things that feel alive (all disabled by prefers-reduced-motion above) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pin-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 46, 154, .5); } 100% { box-shadow: 0 0 0 14px rgba(255, 46, 154, 0); } }
@keyframes ring-amber { 0% { box-shadow: 0 0 0 0 rgba(232, 154, 12, .5); } 100% { box-shadow: 0 0 0 10px rgba(232, 154, 12, 0); } }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); } 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
@keyframes shimmer { from { background-position: -200px 0; } to { background-position: calc(100% + 200px) 0; } }
@keyframes breathe { 0%, 100% { opacity: .9; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .5; transform: translate(-50%, -50%) scale(1.1); } }

/* Scroll reveal (only hidden when JS is running, see theme.js) */
.js .reveal { opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1), translate .25s, box-shadow .25s, border-color .25s;
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero copy rises in on load, one piece after another */
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-copy > :nth-child(6) { animation-delay: .4s; }
.hero-side:not([hidden]) .glass { animation: pin-in .7s .3s ease both; }
.hero-panel::after { content: ""; position: absolute; z-index: -1; left: 92%; top: 62%; width: 520px; height: 520px; max-width: 80vw; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 150, 60, .5), rgba(255, 46, 154, .25) 45%, transparent 70%); animation: breathe 6s ease-in-out infinite; }

/* Pulses on everything that is "happening now" */
.phase.active::before { animation: ring 2.4s ease-out infinite; }
.ms.partial .ico { animation: ring-amber 2.4s ease-out infinite; }
.seg.partial .lab::before { animation: pulse 2s infinite; }
.seg.partial .tick { animation: blink-soft 2.4s ease-in-out infinite; }
@keyframes blink-soft { 50% { opacity: .45; } }
.live-dot.green { background: #16a56a; animation: pulse-green 2s infinite; }
.pill-count::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #3ddc84; animation: pulse-green 2s infinite; vertical-align: 1px; }
.nav-updated { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.nav-updated .live-dot { width: 8px; height: 8px; }

/* A light sweep travels along every progress bar */
.bar > i, .seg .track i { position: relative; overflow: hidden; }
.bar > i::after, .seg .track i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .5) 50%, transparent 80%); background-size: 180px 100%; background-repeat: no-repeat; animation: shimmer 2.8s infinite; }

/* Hover: cards lift (uses `translate`, so it never fights the reveal transform) */
.phase, .update, .feature, .platform, .ov-stat { transition: box-shadow .25s, border-color .25s, translate .25s; }
.phase:hover, .update:hover, .feature:hover, .platform:hover, .ov-stat:hover { translate: 0 -3px; box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.cta-pill.grad:hover { box-shadow: 0 0 28px rgba(255, 46, 154, .4); }
.cta-pill:hover .cta-ico { transform: scale(1.08) rotate(-4deg); }
.cta-ico { transition: transform .2s; }
.btn-grad { transition: transform .15s, filter .15s, box-shadow .2s; }
.btn-grad:hover { box-shadow: 0 10px 30px rgba(255, 46, 154, .42); transform: translateY(-1px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-updated { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-panel { padding: 52px 0 120px; border-radius: 26px; background-position: 72% 100%; }
  .hero-panel::before { background: linear-gradient(180deg, rgba(14, 4, 38, .72) 0%, rgba(14, 4, 38, .6) 50%, rgba(14, 4, 38, .38) 100%); }
  .overall-wrap { margin-top: -84px; }
  .ov-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .mega { grid-auto-flow: row; gap: 18px; }
  .seg { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; }
  .seg .track { grid-column: 1 / -1; order: 3; }
  .seg .lab { order: 1; }
  .seg .tick { order: 2; }
  .seg .sub { order: 4; grid-column: 1 / -1; }
  .nav-burger { display: grid; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: calc(100% + 6px); margin: 0; padding: 8px; flex-direction: column; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); animation: rise .25s ease both; }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
}
@media (max-width: 560px) {
  section { padding: 52px 0; }
  .cta-pill { height: 48px; font-size: 15px; padding-right: 18px; gap: 10px; }
  .cta-ico { width: 30px; height: 30px; }
  .cta-ico.gh svg { width: 28px; height: 28px; }
  .ov-stat { padding: 14px 12px 12px; }
  .ov-stat b.long { font-size: 14.5px; overflow-wrap: anywhere; }
  .overall { padding: 24px 20px; }
  .phase { padding: 20px; }
  .timeline { padding-left: 32px; }
  .timeline::before { left: 8px; }
  .phase::before { left: -32px; width: 22px; height: 22px; border-width: 3px; top: 26px; }
  .ms { grid-template-columns: 28px minmax(0, 1fr); }
  .ms .badge { grid-column: 2; justify-self: start; }
}
