/* Palette tokens from docs/img/omnitax.svg (same Abrinca family as sylphd) */
:root {
  --omnitax-tile-bg: #293673;
  --omnitax-blue: #6b8cff;
  --omnitax-coral: #ff805c;
  --omnitax-mint: #7dfc94;
}

/* Home page lead block with animated hover logo (docs/index.md) */
.omnitax-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.75rem 0 1.25rem;
}

.omnitax-hero-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 14px;
}

[data-md-color-scheme="slate"] .omnitax-hero-logo {
  box-shadow: 0 0 0 1px rgba(107, 140, 255, 0.22);
}

.omnitax-hero p {
  margin: 0;
}

/* Header logo tile: crisp rounded corners and subtle separation in dark mode */
.md-header__button.md-logo img {
  border-radius: 6px;
}

[data-md-color-scheme="slate"] .md-header__button.md-logo img {
  box-shadow: 0 0 0 1px rgba(107, 140, 255, 0.22);
}

/* Tabular figures and compact cells so wide benchmark tables fit cleanly */
.md-typeset table:not([class]) {
  font-variant-numeric: tabular-nums;
}

.md-typeset table:not([class]) th {
  min-width: 0;
}

.md-typeset table:not([class]) :is(th, td) {
  padding: 0.6em 0.75em;
}

@media (max-width: 480px) {
  .omnitax-hero {
    align-items: flex-start;
    gap: 0.85rem;
  }

  .omnitax-hero-logo {
    width: 52px;
    height: 52px;
    border-radius: 11px;
  }
}
