@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap');

/* Landing page title */
.landing-title {
  text-align: center;
}

:root {
  --md-text-font: "JetBrains Mono", monospace;
  --md-code-font: "JetBrains Mono", monospace;
  --md-typeset-font-size: 0.65rem;
}

.md-typeset {
  font-size: 0.65rem !important;
}

.md-header__button.md-logo img {
  height: 40px;
  width: auto;
}

.powered-by {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--md-default-fg-color--lightest);
  text-align: center;
}

.powered-by-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--md-default-fg-color--light);
  margin-bottom: 1rem;
}

.powered-by-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.powered-by-row img {
  height: 28px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.powered-by-row img:hover {
  opacity: 1;
}

/* Landing page feature card icon colors */
.feature-cards > ul > li:nth-child(1) svg { color: #4caf50; }  /* key-remove: green - automation */
.feature-cards > ul > li:nth-child(2) svg { color: #ffc107; }  /* star-shooting: amber - quality */
.feature-cards > ul > li:nth-child(3) svg { color: #9c27b0; }  /* incognito: purple - privacy */
.feature-cards > ul > li:nth-child(4) svg { color: #2196f3; }  /* shield-lock: blue - security */
.feature-cards > ul > li:nth-child(5) svg { color: #f44336; }  /* heart-pulse: red - health */
.feature-cards > ul > li:nth-child(6) svg { color: #00bcd4; }  /* key-change: cyan - rotation */

/* Default card icon color for other pages */
.grid.cards:not(.feature-cards) li svg { color: #ff5722; }

/* Inline app icons */
.inline-icon {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 0.15em;
}


.cta-center {
  text-align: center;
  margin: 2.5rem 0;
}

.cta-center .md-button--primary {
  background-color: rgba(255, 87, 34, 0.7);
  border-color: rgba(255, 87, 34, 0.7);
  transition: background-color 0.2s, border-color 0.2s;
}

.cta-center .md-button--primary:hover {
  background-color: #ff5722;
  border-color: #ff5722;
}

/* Step cards for sequential flows */
.step-card {
  padding: 1rem 1.25rem;
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  background: var(--md-code-bg-color);
  margin-bottom: 1.5rem;
}

.step-card h3 {
  margin: 0 0 0.5rem 0 !important;
  font-size: 0.75rem !important;
}

.step-card p {
  margin: 0 0 0.5rem 0;
  color: var(--md-default-fg-color--light);
}

.step-card a {
  font-size: 0.6rem;
}

.step-card h3 svg {
  color: var(--md-default-fg-color--light);
}

/* Force all tables to full width with even columns */
.md-typeset__scrollwrap {
  margin: 0 !important;
}

.md-typeset__table {
  width: 100% !important;
  display: block !important;
}

.md-typeset table:not([class]) {
  width: 100% !important;
  table-layout: fixed !important;
  display: table !important;
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  width: 33.33% !important;
}

.md-typeset table:not([class]) th {
  color: #ff5722 !important;
}

/* Force nested grid cards horizontal */
.step-card .grid.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step-card .grid.cards > ul {
  display: contents;
}

.step-card .grid.cards li {
  margin: 0;
}

/* Navigation flow indicator */
.nav-flow {
  display: inline-block;
  padding: 0.5em 1em;
  background: var(--md-code-bg-color);
  border-radius: 0.25rem;
  border-left: 3px solid #ff5722;
}

/* Status badges row */
.status-badges {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.status-badges img {
  height: 24px;
  border-radius: 4px;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0.9;
}

.status-badges img:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Header inline badges */
.header-badge {
  height: 16px;
  vertical-align: middle;
  margin-left: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.header-badge:hover {
  opacity: 1;
}

/* Header with inline badge */
.header-with-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-with-badge img {
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
  transform: translateY(4px);
}

.header-with-badge img:hover {
  opacity: 1;
}

/* Experimental badge - inline next to a heading */
.experimental-badge {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.55em;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  border-radius: 0.25rem;
  background: rgba(255, 87, 34, 0.15);
  color: #ff5722;
  border: 1px solid rgba(255, 87, 34, 0.4);
  opacity: 0.7;
}

/* Under construction placeholder */
.under-construction {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--md-default-fg-color--light);
}

.under-construction .twemoji,
.under-construction svg {
  font-size: 4rem;
  width: 4rem;
  height: 4rem;
  color: #ff5722;
  margin-bottom: 1rem;
}
