/* Jev Gateway — small tweaks on top of the Material for MkDocs theme. */

:root {
  --md-primary-fg-color: #1c1e21;
  --md-accent-fg-color: #3f51b5;
}

.md-header {
  box-shadow: 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

/* Landing page hero ------------------------------------------------------- */

.jev-hero {
  margin: 0 0 2rem;
  padding: 0;
}

.jev-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.jev-hero p.jev-tagline {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 46rem;
}

.jev-hero .jev-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.jev-hero .jev-actions > a {
  border: 0.1rem solid var(--md-accent-fg-color);
  border-radius: 0.2rem;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  transition: background-color 125ms, color 125ms;
}

.jev-hero .jev-actions > a.md-button--primary {
  background-color: var(--md-accent-fg-color);
  border-color: var(--md-accent-fg-color);
  color: #fff;
}

.jev-hero .jev-actions > a.md-button--primary:hover {
  background-color: #303f9f;
  border-color: #303f9f;
}

.jev-hero .jev-actions > a.md-button {
  background-color: transparent;
  color: var(--md-accent-fg-color);
}

.jev-hero .jev-actions > a.md-button:hover {
  background-color: var(--md-accent-fg-color);
  color: #fff;
}

/* Comparison table on the landing page ------------------------------------- */

.md-typeset table:not([class]) {
  display: table;
  font-size: 0.76rem;
}

.md-typeset table:not([class]) td:first-child {
  white-space: nowrap;
}

/* Let wide API tables scroll instead of squashing. */
.md-typeset__table {
  overflow-x: auto;
}

/* Slightly tighter code blocks. */
.md-typeset pre > code {
  font-size: 0.76em;
}
