:root {
  color-scheme: dark;
  --bg: #09090b;
  --bg-soft: #09111d;
  --panel: rgba(12, 23, 38, .78);
  --panel-strong: rgba(11, 20, 34, .94);
  --line: rgba(107, 145, 198, .28);
  --text: #f6f9ff;
  --soft: #aec0d8;
  --muted: #71829b;
  --amber: #ffaa2a;
  --green: #2ff09b;
  --blue: #55a4ff;
  --violet: #9a72ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 170, 42, .16), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(47, 240, 155, .12), transparent 26rem),
    radial-gradient(circle at 54% 0%, rgba(85, 164, 255, .10), transparent 24rem),
    linear-gradient(145deg, #04070c 0%, #08111e 48%, #05080d 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.ambient span {
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(58px);
  opacity: .18;
  animation: drift 18s ease-in-out infinite;
}
.ambient span:nth-child(1) { left: -16rem; top: 10rem; background: var(--amber); }
.ambient span:nth-child(2) { right: -18rem; top: 5rem; background: var(--green); animation-delay: -5s; }
.ambient span:nth-child(3) { left: 36%; bottom: -24rem; background: var(--blue); animation-delay: -9s; }
@keyframes drift { 50% { transform: translate3d(4rem, -2rem, 0) scale(1.08); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  border: 1px solid rgba(109, 145, 196, .22);
  border-radius: 22px;
  background: rgba(5, 10, 18, .74);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255, 170, 42, .34); background: rgba(255, 170, 42, .09); }
.brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: #bdcce0; font-size: 13px; font-weight: 800; padding: 9px 11px; border-radius: 999px; }
nav a:hover { background: rgba(255, 255, 255, .06); color: white; }
.nav-cta { border: 1px solid rgba(255, 170, 42, .48); color: var(--amber); background: rgba(255, 170, 42, .10); }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(12, 23, 38, .78), rgba(6, 12, 22, .92));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 170, 42, .11), transparent 30%, rgba(47, 240, 155, .08) 72%, transparent);
}

.hero {
  min-height: 720px;
  margin-top: 18px;
  padding: clamp(28px, 6vw, 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(330px, .74fr);
  gap: 34px;
  align-items: center;
}
.hero-copy, .hero-console, .split > *, .showcase > *, .release-panel > *, .trust > *, .final-cta > * { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--amber); font-weight: 950; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: 0; line-height: .96; }
h1 { font-size: clamp(54px, 8vw, 104px); max-width: 780px; }
h2 { font-size: clamp(34px, 5vw, 64px); max-width: 780px; }
.hero-subtitle, .split p, .showcase-copy p, .release-main p, .trust li { color: var(--soft); font-size: clamp(16px, 1.8vw, 20px); line-height: 1.56; }
.hero-subtitle { max-width: 680px; margin: 24px 0; }
.creator-card {
  width: min(100%, 520px);
  border: 1px solid rgba(85, 164, 255, .28);
  border-radius: 18px;
  background: rgba(7, 16, 28, .74);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.creator-card span { color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.creator-card a { color: #fff; font-weight: 950; }
.creator-card em { color: var(--blue); font-style: normal; margin-left: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.centered { justify-content: center; }
.button {
  min-height: 50px;
  border-radius: 14px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, .12);
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button.primary { background: linear-gradient(180deg, #ffbc45, #ff9f21); color: #100d08; border-color: #ffc15e; box-shadow: 0 18px 42px rgba(255, 170, 42, .25); }
.button.ghost { background: rgba(15, 29, 48, .72); color: #e6effc; border-color: rgba(85, 164, 255, .30); }
.button.big { min-height: 58px; padding: 0 28px; font-size: 17px; }
.release-strip {
  margin-top: 18px;
  width: min(100%, 620px);
  border: 1px solid rgba(47, 240, 155, .26);
  background: rgba(47, 240, 155, .07);
  border-radius: 16px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
}
.release-strip span { color: var(--green); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.release-strip strong { font-size: 18px; }
.release-strip small { grid-column: 1 / -1; color: #8ea2ba; }

.hero-console {
  border: 1px solid rgba(107, 145, 198, .36);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(10, 20, 35, .98), rgba(5, 11, 20, .96));
  padding: 18px;
  min-height: 520px;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 80px rgba(0, 0, 0, .34);
}
.console-top { display: flex; align-items: center; gap: 8px; color: #8fa2bc; font-size: 12px; font-weight: 900; }
.console-top span { width: 10px; height: 10px; border-radius: 999px; background: #ff5f57; }
.console-top span:nth-child(2) { background: #ffbd2e; }
.console-top span:nth-child(3) { background: #28c840; }
.console-top b { margin-left: auto; color: #d8e5f5; }
.engine-orb { display: grid; place-items: center; position: relative; min-height: 185px; }
.engine-orb svg { width: 172px; height: 172px; transform: rotate(-90deg); filter: drop-shadow(0 0 32px rgba(85, 164, 255, .22)); }
.engine-orb circle { fill: none; stroke-width: 15; }
.orb-base { stroke: #20324d; }
.orb-blue { stroke: var(--blue); stroke-dasharray: 182 365; animation: spinDash 7s ease-in-out infinite; }
.orb-green { stroke: var(--green); stroke-dasharray: 110 365; animation: spinDash 5.5s ease-in-out infinite reverse; }
@keyframes spinDash { 50% { stroke-dasharray: 260 365; stroke-dashoffset: -60; } }
.engine-orb div { position: absolute; text-align: center; }
.engine-orb strong { display: block; font-size: 44px; }
.engine-orb small { color: var(--muted); }
.telemetry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.telemetry-grid article { border: 1px solid rgba(107, 145, 198, .24); border-radius: 16px; padding: 14px; background: rgba(9, 19, 33, .84); }
.telemetry-grid span { display: block; color: var(--muted); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.telemetry-grid strong { display: block; margin-top: 8px; font-size: 20px; }
.stream { border: 1px solid rgba(107, 145, 198, .20); border-radius: 18px; background: rgba(4, 10, 18, .76); padding: 8px; align-self: stretch; }
.stream p { display: grid; grid-template-columns: 48px 1fr; gap: 10px; margin: 0; padding: 10px; border-bottom: 1px solid rgba(255,255,255,.05); color: #dbe7f5; font-family: Consolas, monospace; font-size: 12px; }
.stream p:last-child { border-bottom: 0; }
.stream time { color: var(--amber); font-weight: 950; }

.proof-bar {
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.proof-bar span {
  border: 1px solid rgba(107, 145, 198, .24);
  border-radius: 14px;
  background: rgba(9, 17, 30, .72);
  color: #cdd9ea;
  padding: 14px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 950;
}

.split, .release-panel, .trust { padding: clamp(28px, 5vw, 58px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; margin-top: 18px; }
.feature-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-cards article, .changes-card, .compare-card {
  border: 1px solid rgba(107, 145, 198, .26);
  border-radius: 20px;
  background: rgba(7, 16, 29, .76);
  padding: 18px;
}
.feature-cards b { color: var(--amber); font-size: 12px; }
.feature-cards strong { display: block; margin-top: 10px; font-size: 20px; }
.feature-cards p { margin: 8px 0 0; color: #aebed4; line-height: 1.5; }
.showcase { margin-top: 18px; padding: 22px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.showcase img { width: 100%; border-radius: 20px; border: 1px solid rgba(107, 145, 198, .28); box-shadow: 0 22px 60px rgba(0, 0, 0, .35); }
.release-main p { min-height: 112px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card-head span { font-weight: 950; font-size: 18px; }
.card-head a { color: var(--blue); font-weight: 900; }
#commitList { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
#commitList li { color: #d7e3f2; line-height: 1.42; }
#commitList small { display: block; margin-top: 4px; color: var(--muted); }
.compare { margin-top: 18px; padding: clamp(22px, 4vw, 42px); display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.compare-arrow { position: relative; z-index: 1; color: var(--amber); font-size: 38px; font-weight: 950; }
.compare-card small { color: var(--muted); font-weight: 950; text-transform: uppercase; }
.compare-card strong { display: block; margin-top: 10px; font-size: 24px; line-height: 1.14; }
.bars { display: grid; gap: 8px; margin-top: 20px; }
.bars i { display: block; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--violet)); }
.before .bars i:nth-child(1) { width: 96%; background: linear-gradient(90deg, #ff5f57, #ff9f21); }
.before .bars i:nth-child(2) { width: 84%; background: linear-gradient(90deg, #ff8a3d, #ffbd2e); }
.before .bars i:nth-child(3) { width: 72%; }
.after .bars i:nth-child(1) { width: 48%; background: linear-gradient(90deg, var(--green), var(--blue)); }
.after .bars i:nth-child(2) { width: 38%; background: linear-gradient(90deg, var(--green), var(--amber)); }
.after .bars i:nth-child(3) { width: 58%; }
.trust ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.trust li { border: 1px solid rgba(107, 145, 198, .22); border-radius: 16px; padding: 15px 16px; background: rgba(7, 16, 29, .68); }
.final-cta { margin: 18px 0; padding: clamp(34px, 6vw, 76px); text-align: center; }
.final-cta h2 { margin: 0 auto; }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto 28px; color: var(--muted); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; font-weight: 800; font-size: 13px; }
.site-footer a { color: #bdd0e8; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  nav a:not(.nav-cta) { display: none; }
  .hero, .split, .showcase, .release-panel, .trust { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .proof-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); text-align: center; }
}

@media (max-width: 620px) {
  main, .site-header, .site-footer { width: min(100% - 20px, 1180px); }
  .site-header { border-radius: 16px; }
  .brand small { display: none; }
  .hero, .split, .release-panel, .trust, .final-cta { padding: 22px; border-radius: 20px; }
  .hero-console { min-height: auto; }
  .feature-cards, .telemetry-grid, .proof-bar { grid-template-columns: 1fr; }
  .creator-card { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
/* overflow guards */
.hero-copy, .hero-console, .creator-card, .release-strip, .feature-cards article, .changes-card, .compare-card, .trust li { min-width: 0; }
.hero-copy *, .hero-console *, .feature-cards *, .release-panel *, .compare-card *, .trust li { overflow-wrap: anywhere; }
.hero-console { width: 100%; }
.telemetry-grid strong, .proof-bar span, .button, .release-strip strong { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 1180px) {
  h1 { font-size: clamp(48px, 9vw, 82px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 24px; }
}
@media (max-width: 620px) {
  h1 { font-size: clamp(40px, 14vw, 58px); }
  h2 { font-size: clamp(30px, 11vw, 46px); }
  .release-strip { grid-template-columns: 1fr; }
  .engine-orb svg { width: 140px; height: 140px; }
  .engine-orb strong { font-size: 36px; }
}

.modes-section { margin-top: 18px; padding: clamp(28px, 5vw, 58px); display: grid; gap: 26px; }
.modes-intro { position: relative; z-index: 1; max-width: 850px; }
.modes-intro p:last-child { color: var(--soft); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; margin: 18px 0 0; }
.mode-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mode-card { --mode: var(--blue); min-height: 220px; border: 1px solid color-mix(in srgb, var(--mode) 42%, rgba(107,145,198,.22)); border-radius: 22px; padding: 20px; background: linear-gradient(150deg, color-mix(in srgb, var(--mode) 14%, rgba(8,17,30,.9)), rgba(5,11,20,.88)); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.mode-card span { width: fit-content; border: 1px solid color-mix(in srgb, var(--mode) 55%, transparent); border-radius: 999px; padding: 6px 10px; color: color-mix(in srgb, var(--mode) 78%, #fff); background: color-mix(in srgb, var(--mode) 13%, transparent); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.mode-card strong { color: #fff; font-size: 24px; line-height: 1.05; }
.mode-card p { margin: 0; color: #b5c5dc; line-height: 1.48; }
.mode-card.auto { --mode: #58b9ff; }
.mode-card.gaming { --mode: #ffaa2a; }
.mode-card.live { --mode: #2ff09b; }
.mode-card.work { --mode: #9a72ff; }
.mode-card.focus { --mode: #ff6674; }
.mode-card.power { --mode: #35d5ff; }
@media (max-width: 980px) { .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .modes-section { padding: 22px; border-radius: 20px; } .mode-grid { grid-template-columns: 1fr; } .mode-card { min-height: auto; } }

/* v0.5.22 shared product polish */
.section-shell,.hero-console,.creator-card,.feature-cards article,.changes-card,.compare-card{backdrop-filter:blur(22px) saturate(1.12);border-color:rgba(156,185,230,.18);box-shadow:0 28px 90px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.055)}
.site-header{background:rgba(9,9,11,.72);border-color:rgba(156,185,230,.18);backdrop-filter:blur(22px) saturate(1.12)}
.button{transition:transform .18s cubic-bezier(.2,.8,.2,1),filter .18s ease,box-shadow .18s ease,border-color .18s ease}.button:active{transform:translateY(1px) scale(.985)}
.hero{background:radial-gradient(circle at 0 0,rgba(255,173,47,.14),transparent 30%),radial-gradient(circle at 82% 18%,rgba(167,139,250,.13),transparent 35%),linear-gradient(145deg,rgba(12,18,30,.76),rgba(6,10,18,.92))}

/* v0.5.22 official visual system: shared premium identity with the launcher */
:root {
  --glass: rgba(12, 18, 31, .68);
  --glass-strong: rgba(9, 14, 25, .84);
  --line-soft: rgba(156, 185, 230, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

body {
  background:
    radial-gradient(circle at 16% 5%, rgba(255, 166, 41, .18), transparent 28rem),
    radial-gradient(circle at 82% 2%, rgba(147, 91, 255, .20), transparent 30rem),
    radial-gradient(circle at 76% 76%, rgba(45, 232, 154, .12), transparent 28rem),
    #09090b;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.017) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 16%, black, transparent 76%);
}

.site-header {
  width: min(1220px, calc(100% - 36px));
  border-radius: 26px;
  background: rgba(9, 9, 11, .62);
  border-color: var(--line-soft);
  box-shadow: 0 24px 80px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.055);
}

.brand { gap: 14px; }
.brand img {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 18px rgba(255,116,33,.34)) drop-shadow(0 0 22px rgba(147,91,255,.22));
  animation: officialLogoSpinElastic 6.8s var(--ease) infinite;
}
.brand:hover img { animation-duration: 6.8s; filter: drop-shadow(0 0 24px rgba(255,116,33,.50)) drop-shadow(0 0 32px rgba(147,91,255,.36)); }
.brand strong {
  font-size: 20px;
  font-weight: 950;
  background: linear-gradient(98deg, #fff 0%, #fff 28%, #ff9f1c 40%, #b875ff 50%, #ffb342 60%, #fff 72%, #fff 100%);
  background-size: 185% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandTextSweep 4.7s cubic-bezier(.45,0,.2,1) infinite;
}
.brand small { color: #a8b8d0; letter-spacing: .08em; }

nav a {
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
nav a:hover {
  transform: translateY(-1px);
  border-color: rgba(156,185,230,.18);
  background: rgba(255,255,255,.065);
}

main { width: min(1220px, calc(100% - 36px)); }
.section-shell {
  border-radius: 32px;
  border-color: var(--line-soft);
  background: linear-gradient(145deg, rgba(13, 20, 34, .70), rgba(6, 10, 18, .90));
  backdrop-filter: blur(24px) saturate(1.12);
  box-shadow: 0 32px 110px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.055);
}

.section-shell::before {
  background:
    radial-gradient(circle at 8% 2%, rgba(255,166,41,.13), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(147,91,255,.13), transparent 34%),
    linear-gradient(120deg, rgba(255,255,255,.035), transparent 32%, rgba(45,232,154,.055) 74%, transparent);
}

.hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .68fr);
  align-items: center;
}
.hero-copy { max-width: 760px; }
h1 { max-width: 740px; font-size: clamp(58px, 7.4vw, 104px); letter-spacing: 0; }
h2 { letter-spacing: 0; }
.eyebrow { color: #ffad2f; }

.hero-console {
  background: linear-gradient(155deg, rgba(12, 19, 33, .88), rgba(5, 10, 18, .94));
  border-color: rgba(156,185,230,.22);
  border-radius: 30px;
}
.telemetry-grid article,
.feature-cards article,
.changes-card,
.compare-card,
.trust li,
.mode-card,
.capability-grid article {
  background: linear-gradient(145deg, rgba(13, 24, 40, .70), rgba(6, 12, 22, .72));
  border-color: rgba(156,185,230,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

.button,
.mode-card,
.feature-cards article,
.capability-grid article,
.compare-card,
.trust li {
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.button:hover,
.mode-card:hover,
.feature-cards article:hover,
.capability-grid article:hover,
.compare-card:hover,
.trust li:hover {
  transform: translateY(-2px);
  border-color: rgba(255,173,47,.34);
  box-shadow: 0 24px 70px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.06);
}

.proof-bar span {
  border-radius: 18px;
  background: rgba(9, 16, 29, .68);
  border-color: rgba(156,185,230,.16);
  backdrop-filter: blur(18px);
}

.capability-section {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 28px;
  align-items: start;
}
.capability-section > * { position: relative; z-index: 1; }
.capability-copy p:last-child {
  color: var(--soft);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.55;
  margin: 18px 0 0;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.capability-grid article {
  min-height: 178px;
  border: 1px solid rgba(156,185,230,.18);
  border-radius: 24px;
  padding: 20px;
}
.capability-grid span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74,158,255,.42);
  background: rgba(74,158,255,.12);
  color: #93c7ff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.capability-grid strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.08;
}
.capability-grid p {
  color: #adbed5;
  line-height: 1.5;
  margin: 10px 0 0;
}

.mode-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mode-card { min-height: 204px; border-radius: 24px; }
.mode-card.competitive { --mode: #35d5ff; }

.showcase img {
  border-radius: 26px;
  border-color: rgba(156,185,230,.18);
}

@keyframes officialLogoSpinElastic {
  0%,48%,100% { transform: rotate(0deg) scale(1); }
  55% { transform: rotate(-7deg) scale(.965); }
  68% { transform: rotate(365deg) scale(1.08); }
  78% { transform: rotate(352deg) scale(.99); }
  88% { transform: rotate(360deg) scale(1.025); }
}
@keyframes brandTextSweep { 0%,14% { background-position: 115% 0; } 56%,100% { background-position: -36% 0; } }

@media (max-width: 1080px) {
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  main, .site-header, .site-footer { width: min(100% - 20px, 1220px); }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: 18px; }
  .capability-section { padding: 22px; border-radius: 22px; }
  .capability-grid, .mode-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .brand img,
  .brand strong { animation: none !important; }
}
