:root {
  --omo-orange: #ff6b00;
  --omo-orange-deep: #c2410c;
  --omo-cyan: #22d3ee;
  --omo-ink: #0b1220;
  --omo-slate: #1e293b;
  --omo-mist: #e2e8f0;
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: #c2410c;
  --md-primary-fg-color--light: #ea580c;
  --md-primary-fg-color--dark: #9a3412;
  --md-accent-fg-color: #0891b2;
  --md-typeset-a-color: #c2410c;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #ea580c;
  --md-primary-fg-color--light: #fb923c;
  --md-primary-fg-color--dark: #c2410c;
  --md-accent-fg-color: #22d3ee;
  --md-typeset-a-color: #fb923c;
  --md-default-bg-color: #0b1220;
  --md-default-bg-color--light: #111827;
  --md-default-bg-color--lighter: #1e293b;
  --md-default-bg-color--lightest: #334155;
}

.md-header {
  background: linear-gradient(120deg, #9a3412 0%, #c2410c 45%, #155e75 100%);
}

.md-tabs {
  background: rgba(15, 23, 42, 0.92);
}

[data-md-color-scheme="default"] .md-tabs {
  background: #9a3412;
}

.md-typeset h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.md-typeset .shot {
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.32);
  margin: 0.5rem 0 0.35rem;
  width: 100%;
}

.md-typeset .shot-caption {
  color: var(--md-default-fg-color--light);
  font-size: 0.85em;
  margin: 0.35rem 0 1.25rem;
  text-align: center;
}

.md-typeset table:not([class]) th {
  background: rgba(194, 65, 12, 0.12);
}

.md-typeset .admonition.tip,
.md-typeset details.tip {
  border-color: #0891b2;
}

.md-typeset .admonition.tip > .admonition-title,
.md-typeset details.tip > summary {
  background: rgba(8, 145, 178, 0.12);
}

.md-typeset kbd {
  border-radius: 4px;
}

/* ——— Home landing ——— */

.omo-home > h1 {
  display: none;
}

.omo-hero {
  position: relative;
  margin: -1.2rem -0.8rem 2rem;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 0 0 18px 18px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 107, 0, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(8, 145, 178, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(194, 65, 12, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.04), transparent 70%);
  animation: omo-hero-in 0.7s ease-out both;
}

[data-md-color-scheme="slate"] .omo-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 107, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 35% at 10% 70%, rgba(194, 65, 12, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%);
}

.omo-hero__brand {
  margin: 0 0 1rem;
}

.omo-hero__brand img {
  display: inline-block;
  width: min(340px, 78vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(194, 65, 12, 0.25));
  animation: omo-float 5s ease-in-out infinite;
}

.omo-hero__tagline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(105deg, var(--omo-orange-deep), #ea580c 40%, #0e7490);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-md-color-scheme="slate"] .omo-hero__tagline {
  background: linear-gradient(105deg, #fb923c, #fdba74 45%, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.omo-hero__lede {
  margin: 0 auto 1.4rem;
  max-width: 40rem;
  color: var(--md-default-fg-color--light);
  font-size: 0.98rem;
  line-height: 1.55;
}

.omo-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 0 1.35rem;
}

.omo-hero__cta .md-button {
  margin: 0;
}

.omo-install {
  margin: 0 auto;
  max-width: 42rem;
  text-align: left;
}

.omo-install .highlight,
.omo-install pre {
  margin: 0;
  border: 1px solid rgba(194, 65, 12, 0.22);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.omo-stage {
  margin: 0 0 2.5rem;
  animation: omo-rise 0.8s ease-out 0.12s both;
}

.omo-stage .shot {
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.omo-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  margin: 0.5rem 0 2rem;
}

@media (max-width: 720px) {
  .omo-gallery {
    grid-template-columns: 1fr;
  }
}

.omo-gallery__item .shot {
  margin-bottom: 0.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.omo-gallery__item:hover .shot {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.36);
}

.omo-plugins {
  margin: 0.75rem 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 107, 0, 0.06), rgba(8, 145, 178, 0.07));
  text-align: center;
  line-height: 1.9;
  font-family: var(--md-code-font-family);
  font-size: 0.86rem;
}

.omo-footer-links {
  margin: 2rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  text-align: center;
  color: var(--md-default-fg-color--light);
  font-size: 0.9rem;
}

.md-typeset .grid.cards > ul > li {
  border-radius: 12px;
  border-color: rgba(148, 163, 184, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.md-typeset .grid.cards > ul > li:hover {
  border-color: rgba(194, 65, 12, 0.45);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

@keyframes omo-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes omo-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes omo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .omo-hero,
  .omo-stage,
  .omo-hero__brand img,
  .omo-gallery__item .shot,
  .md-typeset .grid.cards > ul > li {
    animation: none !important;
    transition: none !important;
  }
}
