/* Omega Ecosystem — styles */

:root {
  /* Brand: deep canvas + purple / blue (Omega ecosystem reference design) */
  --omega-ink: #05060d;
  --omega-base: #0a0b14;
  --omega-mid: #0e0f18;
  --bg: var(--omega-mid);
  --surface: #141522;
  --surface-hover: #1b1d2e;
  --border: rgba(157, 80, 255, 0.2);
  --text: #ffffff;
  --muted: #a8b0c4;
  --purple: #9d50ff;
  --purple-bright: #b87fff;
  --blue: #4e89ff;
  --blue-bright: #7aa8ff;
  --omega-accent: var(--purple);
  --omega-accent-bright: var(--blue-bright);
  --omega-accent-deep: #7a3ad4;
  --omega-secondary: var(--blue);
  --omega-secondary-dim: rgba(78, 137, 255, 0.12);
  --accent: var(--purple);
  --accent-dim: rgba(157, 80, 255, 0.14);
  --flutter: #4e89ff;
  --flutter-glow: rgba(78, 137, 255, 0.4);
  --angular: #dd0031;
  --angular-glow: rgba(221, 0, 49, 0.28);
  --code: #c4b5fd;
  --radius: 14px;
  --max: 1100px;
  --grad-brand: linear-gradient(120deg, #9d50ff 0%, #4e89ff 100%);
  --grad-cta: linear-gradient(135deg, #4e89ff 0%, #6ea4ff 45%, #9d50ff 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--omega-base);
  background-image:
    radial-gradient(110% 75% at 50% -28%, rgba(157, 80, 255, 0.28), transparent 52%),
    radial-gradient(75% 55% at 100% 0%, rgba(78, 137, 255, 0.18), transparent 46%),
    radial-gradient(60% 45% at 0% 95%, rgba(157, 80, 255, 0.1), transparent 50%),
    radial-gradient(50% 40% at 85% 75%, rgba(78, 137, 255, 0.06), transparent 50%),
    linear-gradient(180deg, var(--omega-ink) 0%, var(--omega-base) 42%, #080914 100%);
  background-attachment: fixed;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
}

a:hover {
  color: var(--text);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: block;
  padding: 0;
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.92) 0%, rgba(8, 12, 20, 0.78) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 80, 255, 0.18);
  box-shadow: 0 1px 0 rgba(78, 137, 255, 0.08);
}

.site-heading {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.site-nav a:hover {
  color: var(--purple-bright);
}

main {
  overflow-x: hidden;
}

.hero {
  text-align: center;
  padding: 72px 24px 56px;
  max-width: 720px;
  margin: 0 auto;
}

.hero .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(157, 80, 255, 0.55);
  background: linear-gradient(135deg, rgba(157, 80, 255, 0.16), rgba(78, 137, 255, 0.1));
  box-shadow:
    0 0 0 1px rgba(78, 137, 255, 0.15),
    0 0 32px rgba(157, 80, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h2 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
  text-shadow: 0 0 60px rgba(157, 80, 255, 0.2);
}

.hero-workflow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-workflow span.hero-wf-arrow {
  color: rgba(157, 80, 255, 0.65);
  font-weight: 400;
}

.hero-workflow .hero-wf-step {
  color: #e4e8f4;
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-flutter {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 6px 28px rgba(78, 137, 255, 0.35), 0 0 40px rgba(157, 80, 255, 0.15);
}

.btn-flutter:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 32px rgba(78, 137, 255, 0.45), 0 0 48px rgba(157, 80, 255, 0.2);
}

.btn-angular {
  background: rgba(157, 80, 255, 0.08);
  color: #ede9fe;
  border: 1px solid rgba(157, 80, 255, 0.45);
  box-shadow: 0 0 24px rgba(157, 80, 255, 0.12);
}

.btn-angular:hover {
  background: rgba(157, 80, 255, 0.16);
  border-color: var(--purple-bright);
  color: #fff;
}

section {
  padding: 56px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

section h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1rem;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 720px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.pillar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar--omega h4 {
  color: var(--purple-bright);
}

.pillar--flutter h4 {
  color: var(--flutter);
}

.pillar--angular h4 {
  color: #ff6b86;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--muted);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 800px) {
  .stack-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.stack-card {
  background: linear-gradient(165deg, rgba(22, 34, 54, 0.95) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  opacity: 0.85;
}

.stack-card.flutter::before {
  background: linear-gradient(90deg, var(--omega-accent-deep), var(--flutter));
}

.stack-card.angular::before {
  background: linear-gradient(90deg, #9b0022, var(--angular));
}

.stack-card.flutter:hover {
  background: var(--surface-hover);
  border-color: rgba(78, 137, 255, 0.45);
  box-shadow: 0 12px 40px rgba(78, 137, 255, 0.1);
}

.stack-card.angular:hover {
  background: var(--surface-hover);
  border-color: rgba(221, 0, 49, 0.4);
  box-shadow: 0 12px 40px var(--angular-glow);
}

.stack-card .header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.stack-card .logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stack-card.flutter .logo-dot {
  background: var(--flutter);
  box-shadow: 0 0 18px var(--flutter-glow);
}

.stack-card.angular .logo-dot {
  background: var(--angular);
  box-shadow: 0 0 18px var(--angular-glow);
}

.stack-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
}

.stack-card .tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.stack-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.stack-links a:hover {
  text-decoration: none;
}

.stack-card.flutter .stack-links a:hover {
  border-color: rgba(78, 137, 255, 0.55);
  background: rgba(78, 137, 255, 0.12);
}

.stack-card.angular .stack-links a:hover {
  border-color: rgba(221, 0, 49, 0.5);
  background: rgba(221, 0, 49, 0.1);
}

.stack-links a small {
  color: var(--muted);
  font-weight: 400;
}

.concepts {
  background: linear-gradient(
    180deg,
    rgba(78, 137, 255, 0.07) 0%,
    rgba(157, 80, 255, 0.06) 42%,
    transparent 100%
  );
  border-top: 1px solid rgba(78, 137, 255, 0.12);
  border-bottom: 1px solid rgba(157, 80, 255, 0.12);
}

.concept-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 32px;
}

@media (min-width: 600px) {
  .concept-list {
    grid-template-columns: 1fr 1fr;
  }
}

.concept-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-left: 3px solid var(--purple);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.concept-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #f5f3ff;
}

.concept-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.cross-links {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(157, 80, 255, 0.22);
  background: linear-gradient(145deg, rgba(18, 20, 35, 0.98) 0%, rgba(10, 11, 20, 0.94) 100%);
  box-shadow: 0 0 0 1px rgba(78, 137, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cross-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  text-align: center;
  color: #ebe4ff;
}

.cross-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .cross-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.cross-topic {
  flex: 1;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.cross-topic p {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 10px;
}

.cross-topic div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cross-topic a {
  font-size: 0.9rem;
  font-weight: 500;
}

.parity-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 28px auto 0;
  line-height: 1.5;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th,
td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: linear-gradient(180deg, #1c1830 0%, #141528 100%);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

th:nth-child(2),
td:nth-child(2) {
  box-shadow: inset 3px 0 0 rgba(78, 137, 255, 0.22);
}

th:nth-child(3),
td:nth-child(3) {
  box-shadow: inset 3px 0 0 rgba(221, 0, 49, 0.15);
}

tr:last-child td {
  border-bottom: none;
}

td {
  background: rgba(16, 18, 32, 0.78);
}

tbody tr:hover td {
  background: rgba(28, 26, 48, 0.88);
}

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.84em;
  color: var(--code);
}

footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(157, 80, 255, 0.12);
  background: linear-gradient(0deg, var(--omega-ink), transparent);
}

footer a {
  color: var(--blue-bright);
}

footer a:hover {
  color: var(--text);
}
  /* Omega Ecosystem — layout, motion, responsive nav */

html {
  scroll-behavior: smooth;
}

body.is-nav-open {
  overflow: hidden;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(157, 80, 255, 0.28);
}

.site-header.is-scrolled .header-inner {
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  text-decoration: none;
  color: inherit;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.94;
}

.site-heading {
  margin: 0;
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(16, 26, 42, 0.9);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

section[id] {
  scroll-margin-top: 96px;
}

.hero-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.hero-wrap .hero {
  position: relative;
  z-index: 2;
  padding: 32px 8px 16px;
  max-width: 720px;
}

.hero {
  --look-x: 0px;
  --look-y: 0px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: orbFloat 14s ease-in-out infinite;
}

.orb--a {
  width: 240px;
  height: 240px;
  left: -8%;
  top: 0;
  background: radial-gradient(circle at 35% 35%, rgba(157, 80, 255, 0.5), rgba(78, 137, 255, 0.12) 58%, transparent 72%);
}

.orb--b {
  width: 200px;
  height: 200px;
  right: -6%;
  top: 12%;
  background: radial-gradient(circle at 45% 40%, rgba(78, 137, 255, 0.42), transparent 68%);
  animation-delay: -5s;
}

.orb--c {
  width: 160px;
  height: 160px;
  left: 36%;
  bottom: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(157, 80, 255, 0.22), transparent 70%);
  animation-delay: -9s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10px, 14px) scale(1.04);
  }
}

.hero.is-tilted .badge,
.hero.is-tilted h2,
.hero.is-tilted > p,
.hero.is-tilted .hero-actions {
  transform: translate3d(var(--look-x), var(--look-y), 0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pillar.reveal,
.stack-card.reveal,
.concept-item.reveal,
.cross-links.reveal,
.table-wrap.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar.reveal.is-visible,
.stack-card.reveal.is-visible,
.concept-item.reveal.is-visible,
.cross-links.reveal.is-visible,
.table-wrap.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-nav a.is-active {
  color: var(--purple-bright);
}

.btn {
  transition:
    transform 0.15s ease,
    filter 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}

.btn-flutter:hover,
.btn-angular:hover {
  transform: translateY(-2px);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(157, 80, 255, 0.5);
  background: rgba(10, 11, 20, 0.9);
  backdrop-filter: blur(10px);
  color: var(--purple-bright);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.to-top:hover {
  border-color: var(--blue-bright);
  color: var(--text);
}

.to-top:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 85;
    background: rgba(2, 6, 14, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  body.is-nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    height: 100dvh;
    width: min(320px, 88vw);
    max-width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 88px 20px 28px;
    margin: 0;
    background: linear-gradient(205deg, #141e30 0%, #0a101c 100%);
    border-left: 1px solid rgba(157, 80, 255, 0.22);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.55);
    transform: translateX(104%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.is-nav-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 14px 14px;
    border-radius: 10px;
  }

  .site-nav a.is-active {
    background: rgba(157, 80, 255, 0.12);
    border: 1px solid rgba(157, 80, 255, 0.35);
  }
}

@media (min-width: 861px) {
  .site-nav a.is-active {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: rgba(122, 168, 255, 0.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero.is-tilted .badge,
  .hero.is-tilted h2,
  .hero.is-tilted > p,
  .hero.is-tilted .hero-actions {
    transform: none !important;
    transition: none !important;
  }

  .orb {
    animation: none;
    opacity: 0.32;
  }

  .reveal,
  .reveal.is-visible,
  .pillar.reveal,
  .pillar.reveal.is-visible,
  .stack-card.reveal,
  .stack-card.reveal.is-visible,
  .concept-item.reveal,
  .concept-item.reveal.is-visible,
  .cross-links.reveal,
  .cross-links.reveal.is-visible,
  .table-wrap.reveal,
  .table-wrap.reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-nav {
    transition: none !important;
  }

  .nav-backdrop {
    transition: none !important;
  }

  .to-top {
    transition: none !important;
  }
}

.pillars .pillar.reveal:nth-child(1) {
  transition-delay: 0.04s;
}

.pillars .pillar.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.pillars .pillar.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.stack-grid .stack-card.reveal:nth-child(1) {
  transition-delay: 0.05s;
}

.stack-grid .stack-card.reveal:nth-child(2) {
  transition-delay: 0.11s;
}

.concept-list .concept-item.reveal:nth-child(1) {
  transition-delay: 0.02s;
}

.concept-list .concept-item.reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.concept-list .concept-item.reveal:nth-child(3) {
  transition-delay: 0.1s;
}

.concept-list .concept-item.reveal:nth-child(4) {
  transition-delay: 0.14s;
}

.arch-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 1.02rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}

.arch-layers {
  max-width: 680px;
  margin: 0 auto 8px;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.65;
}

.arch-layers li {
  margin-bottom: 12px;
}

.arch-layers strong {
  color: #f0e8ff;
  font-weight: 600;
}

/* Mascots — drop images into assets/mascots/ */
.mascots-section {
  padding-top: 40px;
  padding-bottom: 48px;
}

.mascots-section .section-lead code {
  font-size: 0.88em;
}

.mascot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .mascot-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.mascot-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mascot-frame {
  position: relative;
  aspect-ratio: 1;
  max-height: min(380px, 70vw);
  margin: 0 auto;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(157, 80, 255, 0.1), rgba(78, 137, 255, 0.06));
  border: 2px dashed rgba(157, 80, 255, 0.35);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.mascot-frame:not(:has(img))::after {
  position: absolute;
  inset: auto 16px 20px 16px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  color: var(--muted);
  background: rgba(10, 11, 20, 0.85);
  border: 1px solid rgba(157, 80, 255, 0.2);
  line-height: 1.4;
  pointer-events: none;
}

.mascot-frame--omi:not(:has(img))::after {
  content: "Add image: assets/mascots/omi.webp (or .png)";
}

.mascot-frame--dash:not(:has(img))::after {
  content: "Add image: assets/mascots/dash.webp (or .png)";
}

.mascot-card figcaption {
  text-align: center;
}

.mascot-card figcaption strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mascot-card figcaption span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-star-github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--grad-cta);
  box-shadow: 0 4px 18px rgba(78, 137, 255, 0.3);
  border: none;
  white-space: nowrap;
}

.btn-star-github:hover {
  filter: brightness(1.06);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 520px) {
  .btn-star-github span {
    display: none;
  }
  .btn-star-github {
    padding: 8px 12px;
  }
}

.compare-lead {
  max-width: 720px;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}
