@font-face {
  font-family: "Maximum Voltage";
  src: url("/fonts/maximum-voltage-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --content: 78rem;
  --surface: #0b0f14;
  --line: #26364e;
  --line-strong: #294368;
  --muted: #aab7ce;
  --soft: #d1ddf3;
  --ink: #e8edf7;
  --paper: #f8faff;
  --accent: #69baff;
  --accent-deep: #3068aa;
  --live: #3dcf8e;
  --bg: #050608;
  --font: "Outfit", system-ui, sans-serif;
  --font-display: "Sora", "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% -8%, #165eff30, transparent 40%),
    radial-gradient(circle at 84% 8%, #0f7bff21, transparent 30%),
    linear-gradient(180deg, #03060a, #020408);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(#c4d3ff12 1px, transparent 1px),
    linear-gradient(90deg, #c4d3ff12 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 75%);
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-strong);
  background: #080b11d9;
  backdrop-filter: blur(18px);
}

.page-home .top-overlay {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  border-bottom-color: transparent;
  background: linear-gradient(180deg, #050608e6 0%, #05060866 70%, transparent 100%);
  backdrop-filter: blur(10px);
}

.top-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--paper);
}

.brand-icon {
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  padding: 5px;
  border-radius: 11px;
  background: #fff;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-brand .brand-icon {
  width: 48px;
  height: 48px;
  padding: 6px;
  border-radius: 13px;
}

.hero-brand .eyebrow {
  margin: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1.02rem;
  font-weight: 700;
}

.brand small {
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.top-nav {
  display: none;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.75rem);
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--paper);
}

.top-nav a:hover {
  text-decoration: underline;
  color: var(--paper);
}

.cta-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  background: linear-gradient(145deg, #142745, #0d1728);
  color: #edf7ff;
  font-size: 0.875rem;
  font-weight: 650;
  box-shadow: inset 0 1px #ffffff12;
}

.cta-quiet:hover {
  color: #fff;
}

@media (min-width: 860px) {
  .top-nav {
    display: flex;
  }
}

main {
  width: min(calc(100% - 2rem), var(--content));
  margin: 1rem auto 0;
}

.page-home main {
  width: 100%;
  margin: 0;
}

.stage {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 1.65rem;
  background:
    radial-gradient(ellipse at 76% 46%, #123d76c7, transparent 48%),
    linear-gradient(165deg, #0c1524dc, #070a10ed 72%);
  box-shadow: 0 24px 60px -38px #000, inset 0 1px #ffffff0d;
}

.hero {
  padding: clamp(2rem, 4vw, 3.5rem);
  color: var(--paper);
  animation: enter 0.55s ease-out both;
}

.hero-screen {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  padding: 5.75rem clamp(1.25rem, 4vw, 3rem) 2rem;
  color: var(--paper);
  overflow: hidden;
  animation: enter 0.7s ease-out both;
}

.developer-hero {
  column-gap: clamp(1.5rem, 4vw, 4rem);
  row-gap: 1.5rem;
}

@media (min-width: 900px) {
  .developer-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    width: min(100%, var(--content));
    margin-inline: auto;
  }
}

.hero-screen-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.brand-lockup {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.developer-hero h1 {
  margin: 0;
  max-width: none;
  font-family: "Maximum Voltage", var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.02em;
}

.hero-screen h1 span {
  color: var(--accent);
}

.hero-screen .lede {
  max-width: 30rem;
  margin: 1.1rem 0 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.55;
}

.page-home #products {
  scroll-margin-top: 4.75rem;
}

.band {
  width: 100%;
  border-top: 1px solid var(--line);
  padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2rem);
}

.band-soft {
  background: linear-gradient(180deg, #070b12 0%, #050608 100%);
}

.band-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.band .lede {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--soft);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.55;
}

.eyebrow.plain {
  display: block;
  margin: 0 0 0.65rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.must-grid-icons {
  margin-top: 1.75rem;
}

.must-grid-icons li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
}

.must-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  color: var(--accent);
  background: #69baff14;
  border: 1px solid #69baff33;
}

.must-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.page-home .foot {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem clamp(1.25rem, 4vw, calc((100% - min(100%, var(--content))) / 2 + 1.25rem)) 2.5rem;
}

@media (max-width: 899px) {
  .page-home .top-overlay {
    position: sticky;
    inset: 0 0 auto;
    border-bottom-color: var(--line);
    background: #080b11f2;
  }

  .page-home .top-inner {
    flex-direction: column;
    gap: 0;
    padding-top: 0.25rem;
  }

  .page-home .top-inner .brand {
    min-height: 2.75rem;
  }

  .page-home .top-nav {
    display: grid;
    width: min(100%, 26rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    font-size: clamp(0.8rem, 3.6vw, 0.9rem);
  }

  .page-home .top-nav a {
    display: grid;
    min-height: 2.75rem;
    place-items: center;
    text-align: center;
  }

  .page-home .top .cta-quiet,
  .developer-hero .brand-lockup {
    display: none;
  }

  .developer-hero {
    justify-items: center;
    gap: 0.625rem;
    padding: 1.25rem 1rem 0.875rem;
    text-align: center;
  }

  .developer-hero .hero-screen-copy {
    width: min(100%, 30rem);
  }

  .developer-hero h1 {
    font-size: clamp(2rem, 9vw, 3.85rem);
    text-wrap: balance;
  }

  .developer-hero h1 span {
    display: block;
  }

  .developer-hero .lede {
    max-width: 34ch;
    margin: 0.625rem auto 0;
    font-size: 1rem;
  }

  .developer-hero .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .developer-hero .hero-actions a {
    min-height: 3rem;
    padding-inline: 0.5rem;
    text-align: center;
  }

  .page-home .band {
    padding: 2.25rem 1rem;
  }

  .page-home #products {
    padding-top: 1.5rem;
    scroll-margin-top: 6.25rem;
  }

  .page-home .band h2 {
    line-height: 1.16;
  }

  .page-home .band .lede {
    font-size: 1rem;
  }
}

@media (max-width: 599px) {
  .page-home #addresses table {
    min-width: 0;
    table-layout: fixed;
    overflow-wrap: anywhere;
  }

  .page-home #addresses th {
    width: 40%;
  }

  .page-home #addresses :is(th, td) {
    padding: 0.65rem 0.7rem;
    vertical-align: top;
  }

  .page-home .foot {
    display: grid;
    gap: 0;
    padding: 1.5rem 1rem max(1rem, env(safe-area-inset-bottom));
  }

  .page-home .foot > span {
    margin-bottom: 0.5rem;
  }

  .page-home .foot a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
  }
}

@media (max-width: 359px) {
  .page-home #products h2 {
    font-size: 1.4rem;
  }
}

.dev-orbit {
  position: relative;
  justify-self: center;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  container-type: inline-size;
  z-index: 1;
}

.hero-screen .dev-orbit {
  width: min(100%, 21rem);
}

@media (max-width: 899px) {
  .hero-screen .dev-orbit {
    width: min(100%, clamp(8rem, 41vw, 12rem));
  }
}

.dev-orbit-scene,
.dev-orbit-scene::before,
.dev-orbit-ring,
.dev-orbit-core {
  position: absolute;
}

.dev-orbit-scene {
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, #237bd542, #1762ae17 48%, transparent 69%);
}

.dev-orbit-scene::before {
  content: "";
  inset: 1%;
  border-radius: 50%;
  border: 1px dashed #9ecbff24;
}

.dev-orbit-ring {
  border: 1px solid #9ecbff45;
  border-radius: 50%;
  --rotation: var(--travel);
}

.dev-orbit-ring,
.dev-orbit-node {
  animation: dev-orbit-spin var(--period) linear infinite;
}

.dev-orbit-ring-outer {
  inset: 10%;
  --period: 62s;
  --travel: 1turn;
}

.dev-orbit-ring-inner {
  inset: 28%;
  --period: 40s;
  --travel: -1turn;
}

.dev-orbit-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  translate: -50% -50%;
  width: 12cqi;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: var(--tone);
  border: 1px solid #82acdf58;
  border-radius: 30%;
  background: linear-gradient(145deg, #1c304d, #0c1627);
  box-shadow: 0 8px 18px #03061080, inset 0 1px #ffffff16;
  --rotation: calc(-1 * var(--travel));
}

.dev-orbit-node svg {
  display: block;
  width: 58%;
  height: auto;
}

.dev-orbit-core {
  inset: 38%;
  display: grid;
  place-items: center;
  border: 1px solid #a9d1ff9c;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff, #d6eaff);
  box-shadow: 0 0 0 2cqi #8abfff16, 0 0 46px #458fff66;
}

.dev-orbit-core img {
  display: block;
  width: 76%;
  height: auto;
}

@keyframes dev-orbit-spin {
  to { transform: rotate(var(--rotation)); }
}

.telematics-hero {
  display: grid;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.telematics-hero-copy {
  min-width: 0;
}

.telematics-hero-copy .meta {
  overflow-wrap: anywhere;
}

.telematics-orbit {
  width: min(100%, clamp(10rem, 48vw, 15rem));
}

.telematics-orbit .dev-orbit-scene {
  background: radial-gradient(circle, #1d927c42, #1762ae17 48%, transparent 69%);
}

.telematics-orbit .dev-orbit-node {
  pointer-events: auto;
}

.telematics-orbit .dev-orbit-node svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 800px) {
  .telematics-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }

  .telematics-orbit {
    width: min(100%, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-screen,
  .telematics-hero,
  .dev-orbit-ring,
  .dev-orbit-node {
    animation: none;
  }
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.38rem 0.68rem;
  border: 1px solid #315983;
  border-radius: 999px;
  color: #9acfff;
  background: #0a1a2d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 span {
  color: var(--accent);
}

.hero .lede,
.section .lede {
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--soft);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #1a8cff, #0f7bff 50%, #0a5fd4);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid #3a567d;
  background: #0c1524a8;
  color: var(--paper);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.traits {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
}

.traits li {
  padding: 0.35rem 0.7rem;
  border: 1px solid #315983;
  border-radius: 999px;
  background: #0a1a2d;
  color: #9acfff;
  font-size: 0.78rem;
  font-weight: 650;
}

.section {
  margin-top: 1rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line-strong);
  border-radius: 1.65rem;
  background: linear-gradient(165deg, #0c1524dc, #070a10ed 72%);
  box-shadow: 0 24px 60px -38px #000, inset 0 1px #ffffff0d;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #0d121a;
}

.product-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.product-card-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border: 1px solid #9ecbff;
  border-radius: 1rem;
  background: #e9f3ff;
}

.product-card-icon img {
  object-fit: contain;
}

.product-card-icon svg,
.product-features svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card-icon svg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.4rem;
  height: 1.35rem;
  padding: 0.18rem;
  border-radius: 0.45rem 0 0;
  background: #1765d9;
  color: white;
}

.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--paper);
}

.product-description {
  margin: 0.65rem 0 0;
  color: var(--soft);
}

.product-license {
  display: grid;
  gap: 0.12rem;
  margin: 1rem 0 0;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.product-license strong {
  color: var(--paper);
  font-size: 1.1rem;
}

.product-features {
  display: grid;
  gap: 0.625rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
  font-size: 0.9rem;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.product-features svg {
  flex: 0 0 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  color: var(--accent);
}

.product-more {
  margin-top: 0.25rem;
}

.product-more summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  min-height: 2.75rem;
  color: var(--accent);
  font-weight: 650;
  cursor: pointer;
}

.product-more summary::-webkit-details-marker {
  display: none;
}

.product-more summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.product-more[open] summary::after {
  transform: rotate(225deg);
}

.product-more-open,
.product-more[open] .product-more-closed {
  display: none;
}

.product-more[open] .product-more-open {
  display: inline;
}

.product-more .product-features {
  margin-top: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #2a6a4a;
  background: rgba(61, 207, 142, 0.12);
  color: var(--live);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.soon {
  border-color: #315983;
  background: #0a1a2d;
  color: #9acfff;
}

.card-actions {
  display: grid;
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 0.65rem;
}

.card-actions .btn-primary {
  min-height: 3rem;
  background: #194580;
}

.card-actions .btn-primary:hover {
  background: #205aa3;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 0.25rem;
  color: var(--accent);
  font-size: 0.8rem;
}

.product-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 0.15rem;
}

.product-links a:hover,
.product-more summary:hover {
  text-decoration: underline;
}

.must-grid {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .must-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .must-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.must-grid li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #0a121ccc;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.tier-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

@media (min-width: 820px) {
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tier {
  padding: 1.25rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 1.25rem;
  background: #0a121ccc;
}

.tier-enterprise {
  background:
    radial-gradient(ellipse at 100% 0%, #165eff28, transparent 50%),
    #0a121ccc;
}

.tier-eyebrow {
  margin: 0;
  color: #9acfff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--paper);
}

.tier-sub {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.tier ul {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.5rem;
}

.tier li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--soft);
  font-size: 0.9rem;
}

.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--live);
  font-weight: 700;
}

.tier-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.tier .btn-primary {
  margin-top: 1.15rem;
}

.table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

thead th {
  background: #0a1524;
  color: var(--paper);
  font-weight: 650;
}

tbody th {
  font-weight: 500;
  color: var(--soft);
}

td {
  color: var(--muted);
}

td a {
  color: var(--accent);
}

td a:hover {
  text-decoration: underline;
}

td .soon-label {
  color: #9acfff;
  font-size: 0.78rem;
  font-weight: 650;
}

.doc-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.doc-list a {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #0a121ccc;
}

.doc-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-copy {
  display: grid;
  gap: 0.25rem;
  overflow-wrap: anywhere;
}

.doc-list strong {
  color: var(--paper);
  font-family: var(--font-display);
}

.doc-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.meta {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.meta code {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84em;
}

.foot {
  width: min(calc(100% - 2rem), var(--content));
  margin: 1.5rem auto 2.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot strong {
  color: var(--paper);
  font-weight: 650;
}

.foot a:hover {
  text-decoration: underline;
}

.gh {
  width: 1rem;
  height: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-playground {
  overflow: hidden;
}

.pg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.pg-head .eyebrow {
  margin: 0 0 0.35rem;
}

.pg-head .lede {
  margin-top: 0.65rem;
}

.pg-sandbox-strip {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.55rem;
}

.pg-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #09111bcc;
  color: var(--soft);
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pg-chip em {
  font-style: normal;
  color: var(--live);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.66rem;
  font-family: var(--font);
}

.pg-layout {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 980px) {
  .pg-layout {
    grid-template-columns: minmax(14rem, 17.5rem) minmax(0, 1fr);
    align-items: start;
  }
}

.pg-sidebar,
.pg-request,
.pg-response-panel,
.pg-codegen {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #081019cc;
}

.pg-sidebar {
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.pg-panel-label {
  margin: 0;
  color: #9acfff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pg-catalog,
.pg-history {
  display: grid;
  gap: 0.35rem;
  max-height: 18rem;
  overflow: auto;
}

.pg-catalog-item,
.pg-history-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 0.55rem;
  align-items: center;
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.pg-catalog-item:hover,
.pg-history-item:hover,
.pg-catalog-item.is-active {
  border-color: var(--line-strong);
  background: #0d1a2bcc;
}

.pg-catalog-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.pg-catalog-copy strong {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 650;
}

.pg-catalog-copy code,
.pg-history-item code {
  color: var(--muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-history-item {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.pg-empty,
.pg-muted {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.pg-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  padding: 0.18rem 0.4rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pg-method-get {
  background: #123528;
  color: #74e0a8;
}

.pg-method-post {
  background: #1a2f55;
  color: #8ec5ff;
}

.pg-method-patch {
  background: #3a2d12;
  color: #f0c674;
}

.pg-method-delete {
  background: #3a1820;
  color: #ff9eae;
}

.pg-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pg-request {
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.pg-request-row {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  gap: 0.55rem;
}

@media (max-width: 640px) {
  .pg-request-row {
    grid-template-columns: 1fr;
  }
}

.pg-method-select,
.pg-path,
.pg-auth-row input,
.pg-body {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: #050a12;
  color: var(--paper);
  font: inherit;
}

.pg-method-select,
.pg-path,
.pg-auth-row input {
  min-height: 2.9rem;
  padding: 0.55rem 0.8rem;
}

.pg-path,
.pg-body,
.pg-pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.pg-send {
  min-width: 6.5rem;
}

.pg-auth-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.pg-auth-row label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.pg-auth-hint {
  color: var(--muted);
  font-size: 0.75rem;
}

@media (max-width: 820px) {
  .pg-auth-row {
    grid-template-columns: auto 1fr;
  }

  .pg-auth-hint {
    grid-column: 1 / -1;
  }
}

.pg-body {
  resize: vertical;
  min-height: 8rem;
  padding: 0.8rem;
  line-height: 1.45;
}

.pg-response-panel,
.pg-codegen {
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.pg-response-head,
.pg-codegen-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  justify-content: space-between;
}

.pg-response-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.pg-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  font-weight: 700;
}

.pg-status-ok {
  background: #123528;
  color: #74e0a8;
}

.pg-status-client {
  background: #3a2d12;
  color: #f0c674;
}

.pg-status-error {
  background: #3a1820;
  color: #ff9eae;
}

.pg-ms {
  color: var(--muted);
  font-size: 0.72rem;
}

.pg-pre {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: #04080f;
  color: #d7e4fb;
  overflow: auto;
  max-height: 22rem;
  white-space: pre;
  line-height: 1.45;
}

.pg-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pg-lang-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 0.3rem 0.65rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
}

.pg-lang-tabs button.is-active,
.pg-lang-tabs button:hover {
  border-color: #3f6ca8;
  color: var(--paper);
  background: #102038;
}

.pg-copy {
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
}

.pg-code {
  max-height: 16rem;
}
