/* ==========================================================================
   TokGrab Docs — "Cyber Technical Manual"
   Graphite canvas · cyber-gold accent · mono eyebrows · technical hierarchy.
   Scheme-aware: dark (slate) is the primary experience, light is supported.
   ========================================================================== */

:root {
  --tx-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --tx-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --tx-gold: #f6b900;
  --tx-gold-soft: rgba(246, 185, 0, 0.16);
  --tx-gold-ink: #241a00;
  --tx-pink: #ff4f96;

  --tx-radius: 16px;
  --tx-radius-sm: 11px;

  --md-primary-fg-color: #f6b900;
  --md-primary-fg-color--light: #ffd65c;
  --md-primary-fg-color--dark: #c58a00;
  --md-primary-bg-color: #241a00;
  --md-accent-fg-color: #ff4f96;
}

/* --- Dark canvas (primary) ------------------------------------------------ */
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #090c13;
  --md-default-bg-color--light: #0f141d;
  --md-default-bg-color--lighter: #151b27;
  --md-default-fg-color: rgba(233, 238, 247, 0.92);
  --md-default-fg-color--light: rgba(233, 238, 247, 0.64);
  --md-default-fg-color--lighter: rgba(233, 238, 247, 0.3);
  --md-typeset-a-color: #ffd24a;

  --tx-panel: rgba(255, 255, 255, 0.028);
  --tx-panel-2: rgba(255, 255, 255, 0.055);
  --tx-border: rgba(255, 255, 255, 0.09);
  --tx-border-strong: rgba(246, 185, 0, 0.4);
  --tx-gridline: rgba(255, 255, 255, 0.045);
  --tx-shadow: 0 24px 52px rgba(0, 0, 0, 0.5);
}

/* --- Light canvas --------------------------------------------------------- */
[data-md-color-scheme="default"] {
  --md-default-bg-color: #f7f8fb;
  --md-default-bg-color--light: #ffffff;
  --md-default-fg-color: rgba(12, 18, 32, 0.9);
  --md-default-fg-color--light: rgba(12, 18, 32, 0.62);
  --md-default-fg-color--lighter: rgba(12, 18, 32, 0.28);
  --md-typeset-a-color: #9a6a00;

  --tx-panel: rgba(16, 24, 44, 0.015);
  --tx-panel-2: rgba(16, 24, 44, 0.04);
  --tx-border: rgba(16, 24, 44, 0.11);
  --tx-border-strong: rgba(198, 138, 0, 0.45);
  --tx-gridline: rgba(16, 24, 44, 0.05);
  --tx-shadow: 0 22px 48px rgba(16, 24, 44, 0.12);
}

/* --- Typography ---------------------------------------------------------- */
.md-header__title,
.md-tabs__link,
.md-nav__title,
.md-nav__link,
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4 {
  font-family: var(--tx-display);
}

.md-typeset code,
.md-typeset pre code,
.md-nav,
.md-sidebar,
.md-tabs {
  font-family: var(--tx-mono);
}

.md-typeset h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.md-typeset h1 .twemoji svg {
  width: 0.78em;
  height: 0.78em;
  color: var(--tx-gold);
}

.md-typeset h2 {
  position: relative;
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-top: 2.1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--tx-border);
}

.md-typeset h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 2.8rem;
  height: 2px;
  background: linear-gradient(90deg, var(--tx-gold), transparent);
}

.md-typeset h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.md-typeset p,
.md-typeset li {
  font-size: 1rem;
  line-height: 1.8;
}

/* --- Header & tabs -------------------------------------------------------- */
.md-header {
  background: color-mix(in srgb, var(--md-default-bg-color) 86%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  box-shadow: none;
  border-bottom: 1px solid var(--tx-border);
}

.md-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tx-gold), transparent);
  opacity: 0.35;
}

.md-tabs {
  background: var(--tx-gold);
  color: var(--tx-gold-ink);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.md-tabs__link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.82;
}

.md-tabs__link--active,
.md-tabs__link:hover {
  opacity: 1;
}

/* Tab icons (order = nav order: Start · Install · Configure · Manage · Help) */
.md-tabs__link::before {
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.5em;
  margin-top: -0.14em;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.md-tabs__item:nth-child(1) .md-tabs__link::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E"); }
.md-tabs__item:nth-child(2) .md-tabs__link::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
.md-tabs__item:nth-child(3) .md-tabs__link::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h10M18 18h2'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h10M18 18h2'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E"); }
.md-tabs__item:nth-child(4) .md-tabs__link::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.md-tabs__item:nth-child(5) .md-tabs__link::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M5.6 5.6l4 4M14.4 14.4l4 4M18.4 5.6l-4 4M9.6 14.4l-4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M5.6 5.6l4 4M14.4 14.4l4 4M18.4 5.6l-4 4M9.6 14.4l-4 4'/%3E%3C/svg%3E"); }

/* --- Sidebars & nav ------------------------------------------------------- */
.md-sidebar--primary,
.md-sidebar--secondary {
  padding-top: 0.5rem;
}

.md-nav--primary .md-nav__title,
.md-nav--secondary .md-nav__title {
  display: none;
}

.md-nav--primary .md-nav__item,
.md-nav--secondary .md-nav__item {
  font-size: 0.86rem;
}

.md-nav__link {
  transition: color 0.16s ease;
}

.md-nav__link:hover,
.md-nav__link--active {
  color: var(--tx-gold);
}

.md-nav__item--section > .md-nav__link:not(.md-nav__link--active) {
  font-family: var(--tx-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--md-default-fg-color--light);
}

.md-sidebar__scrollwrap::-webkit-scrollbar {
  width: 8px;
}

.md-sidebar__scrollwrap::-webkit-scrollbar-thumb {
  background: var(--tx-border);
  border-radius: 8px;
}

/* --- Layout --------------------------------------------------------------- */
.md-main__inner {
  margin-top: 0.5rem;
  max-width: 1500px;
}

.md-content {
  max-width: 860px;
}

.md-content__inner {
  padding-bottom: 4rem;
}

:focus-visible {
  outline: 2px solid var(--tx-gold);
  outline-offset: 2px;
}

/* --- Tables --------------------------------------------------------------- */
.md-typeset table:not([class]) {
  border-radius: var(--tx-radius);
  overflow: hidden;
  box-shadow: var(--tx-shadow);
}

.md-typeset table:not([class]) th {
  background: var(--tx-gold-soft);
}

/* --- Admonitions ---------------------------------------------------------- */
.md-typeset .admonition,
.md-typeset details {
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius);
  box-shadow: var(--tx-shadow);
}

/* --- Icon system (mask-based, colour-agnostic) ---------------------------- */
.tx-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--tx-border);
  background: linear-gradient(180deg, var(--tx-panel-2), transparent);
  color: var(--tx-gold);
  margin-bottom: 0.85rem;
}

.tx-icon::before {
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  background-color: currentColor;
  -webkit-mask: var(--tx-ico) center / contain no-repeat;
  mask: var(--tx-ico) center / contain no-repeat;
}

.tx-icon--download { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E"); }
.tx-icon--sliders { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h10M18 18h2'/%3E%3Ccircle cx='16' cy='6' r='2'/%3E%3Ccircle cx='10' cy='12' r='2'/%3E%3Ccircle cx='16' cy='18' r='2'/%3E%3C/svg%3E"); }
.tx-icon--dashboard { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.tx-icon--help { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3Cpath d='M5.6 5.6l4 4M14.4 14.4l4 4M18.4 5.6l-4 4M9.6 14.4l-4 4'/%3E%3C/svg%3E"); }
.tx-icon--plug { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2v6M15 2v6'/%3E%3Cpath d='M6 8h12v3a6 6 0 0 1-6 6 6 6 0 0 1-6-6z'/%3E%3Cpath d='M12 17v5'/%3E%3C/svg%3E"); }
.tx-icon--coin { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M9.5 9.5h4a1.8 1.8 0 0 1 0 3.6h-3a1.8 1.8 0 0 0 0 3.6h4'/%3E%3C/svg%3E"); }
.tx-icon--server { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='6' rx='1.8'/%3E%3Crect x='3' y='14' width='18' height='6' rx='1.8'/%3E%3Cpath d='M7 7h.01M7 17h.01'/%3E%3C/svg%3E"); }
.tx-icon--key { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M17 6l2 2M14 9l2 2'/%3E%3C/svg%3E"); }
.tx-icon--palette { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.4 0 2-1 2-2 0-1.4-1.2-1.6-2.2-1.6H11a2 2 0 0 1-2-2V15c0-1.7 1.3-3 3-3h6a3 3 0 0 0 3-3 9 9 0 0 0-9-6z'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E"); }
.tx-icon--shield { --tx-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.4-3 7.6-7 9-4-1.4-7-4.6-7-9V6z'/%3E%3Cpath d='M9.5 12l1.8 1.8 3.2-3.6'/%3E%3C/svg%3E"); }

/* --- Hero ----------------------------------------------------------------- */
.tx-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tx-border);
  border-radius: 22px;
  padding: 2.4rem;
  margin: 0 0 1.5rem;
  background:
    radial-gradient(120% 150% at 0% 0%, var(--tx-gold-soft), transparent 55%),
    linear-gradient(180deg, var(--tx-panel-2), var(--tx-panel));
  box-shadow: var(--tx-shadow);
}

.tx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--tx-gridline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--tx-gridline) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(75% 80% at 18% 0%, #000, transparent 72%);
  mask-image: radial-gradient(75% 80% at 18% 0%, #000, transparent 72%);
}

.tx-hero > * {
  position: relative;
  z-index: 1;
}

.tx-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: var(--tx-gold-soft);
  border: 1px solid rgba(246, 185, 0, 0.28);
  font: 600 0.78rem/1 var(--tx-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tx-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 0.55rem;
  background: var(--tx-gold);
  box-shadow: 0 0 0 4px var(--tx-gold-soft);
}

.tx-lead {
  max-width: 54rem;
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--md-default-fg-color--light);
}

/* --- Buttons -------------------------------------------------------------- */
.tx-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.tx-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.05rem;
  border-radius: 12px;
  background: var(--tx-gold);
  color: var(--tx-gold-ink);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tx-button-row .tx-button:not(:first-child) {
  background: transparent;
  color: inherit;
  border-color: var(--tx-border);
}

.tx-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(246, 185, 0, 0.22);
}

/* --- Cards & grids -------------------------------------------------------- */
.tx-grid {
  display: grid;
  gap: 1rem;
  margin: 1rem 0 1.8rem;
}

.tx-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tx-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tx-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tx-border);
  border-radius: var(--tx-radius);
  padding: 1.2rem 1.25rem;
  background: linear-gradient(180deg, var(--tx-panel-2), var(--tx-panel));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tx-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tx-gold), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.tx-card:hover {
  transform: translateY(-3px);
  border-color: var(--tx-border-strong);
  box-shadow: var(--tx-shadow);
}

.tx-card:hover::before {
  opacity: 1;
}

.tx-card h3,
.tx-card h4,
.tx-card p:last-child {
  margin-bottom: 0;
}

.tx-card h3,
.tx-card h4 {
  margin-top: 0;
}

.tx-card p {
  color: var(--md-default-fg-color--light);
}

.tx-card--accent {
  background: linear-gradient(180deg, var(--tx-gold-soft), var(--tx-panel));
}

.tx-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tx-stat__value {
  font: 700 clamp(1.8rem, 2.6vw, 2.45rem)/1 var(--tx-display);
}

.tx-stat__label {
  font: 600 0.82rem/1.5 var(--tx-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--md-default-fg-color--light);
}

/* --- Entrance reveal ------------------------------------------------------ */
.tx-reveal {
  opacity: 1;
  transform: translateY(0);
}

.tx-motion-ready .tx-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.tx-motion-ready .tx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Misc ----------------------------------------------------------------- */
.tx-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.tx-inline-list li {
  margin: 0;
  padding: 0.38rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--tx-border);
  background: var(--tx-panel);
  font: 500 0.8rem/1 var(--tx-mono);
}

.tx-page-intro {
  margin-bottom: 1.4rem;
  color: var(--md-default-fg-color--light);
}

.md-typeset .tx-link-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.md-typeset .tx-link-card:hover {
  color: inherit;
}

.md-typeset img.tx-shot {
  display: block;
  width: 100%;
  height: auto;
  margin: 1.25rem auto;
  border: 1px solid var(--tx-border);
  border-radius: 12px;
  box-shadow: var(--tx-shadow);
}

/* --- Responsive ----------------------------------------------------------- */
@media screen and (max-width: 76.2344em) {
  .tx-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 59.9844em) {
  .tx-hero {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .tx-grid--2,
  .tx-grid--3 {
    grid-template-columns: 1fr;
  }

  .md-typeset h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tx-reveal,
  .tx-card,
  .tx-button {
    transition: none !important;
  }

  .tx-motion-ready .tx-reveal {
    opacity: 1;
    transform: none;
  }
}
