:root {
  --bg: #090b10;
  --panel: #111620;
  --panel-soft: #171d2a;
  --text: #eef2fb;
  --muted: #aab6cb;
  --line: #2a3244;
  --accent: #ffd34a;
  --accent-ink: #2b2200;
  --link: #8fc9ff;
  --max: 1560px;
  --radius: 14px;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.24);
}

html[data-theme="light"] {
  --bg: #f3f7fc;
  --panel: #ffffff;
  --panel-soft: #f4f8ff;
  --text: #0f172a;
  --muted: #4b5563;
  --line: #d6e0ee;
  --accent: #ffca28;
  --accent-ink: #2a1e00;
  --link: #0b63d4;
  --shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

@keyframes bgDrift {
  0% {
    background-position: 0% 0%, 100% 0%, center;
  }

  50% {
    background-position: 10% -5%, 94% 6%, center;
  }

  100% {
    background-position: 0% 0%, 100% 0%, center;
  }
}

@keyframes orbFloat {
  0% {
    transform: translate3d(-3%, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, -3%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-1%, 2%, 0) scale(0.96);
  }
}

@keyframes floatY {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes chipPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 211, 74, 0.38);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(255, 211, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 211, 74, 0);
  }
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 480px at 8% -12%, rgba(255, 211, 74, 0.2), transparent 58%),
    radial-gradient(820px 520px at 100% 0%, rgba(110, 173, 255, 0.17), transparent 57%),
    var(--bg);
  animation: bgDrift 18s ease-in-out infinite;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

.site-main {
  position: relative;
  isolation: isolate;
}

.site-main::before {
  content: "";
  position: fixed;
  inset: -25% auto auto -20%;
  width: 56vmax;
  height: 56vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 211, 74, 0.1), rgba(255, 211, 74, 0) 72%);
  filter: blur(8px);
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
  animation: orbFloat 22s ease-in-out infinite;
}

.site-header {
  overflow: visible;
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  background: rgba(9, 12, 18, 0.78);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  overflow: visible;
  line-height: 1;
  gap: 0.8rem;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
}

.brand-text {
  font-size: clamp(1.55rem, 1.2vw + 1rem, 1.95rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 320px;
  height: 110px;
  flex: 0 0 320px;
  object-fit: contain;
  object-position: center center;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-top: 4px;
  margin-bottom: 2px;
  overflow: visible;
  transform: scale(var(--brand-logo-scale, 1));
  transform-origin: center center;
  transition: transform 0.2s ease;
}

html[data-theme="dark"] .brand-logo {
  --brand-logo-scale: 1.16;
}

.main-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: #d9e3f5;
  font-size: 0.92rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  text-decoration: none;
  border-color: rgba(143, 201, 255, 0.24);
  background: rgba(143, 201, 255, 0.1);
}

.main-nav a.is-active {
  border-color: rgba(255, 211, 74, 0.45);
  background: rgba(255, 211, 74, 0.16);
  color: #fff3c1;
}

.header-cta {
  display: inline-flex;
  gap: 0.48rem;
  align-items: center;
}

.link-btn,
.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.4rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.link-btn {
  color: #d2def2;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.link-btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.solid-btn {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: #f6bf11;
}

.solid-btn:hover {
  text-decoration: none;
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #d8e4f8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(143, 201, 255, 0.34);
  transform: translateY(-2px);
}

.theme-toggle-icon {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  pointer-events: none;
}

.theme-toggle-fab {
  position: fixed;
  top: 0.72rem;
  right: 0.9rem;
  z-index: 150;
}

.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;
}

.menu-toggle {
  display: none;
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  position: relative;
  z-index: 120;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: #d6deeb;
  border-radius: 999px;
  flex: 0 0 auto;
}

.page-hero {
  margin: 1.25rem auto 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 211, 74, 0.16), rgba(143, 201, 255, 0.12));
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1.2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-media {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
}

.hero-visual {
  width: min(100%, 520px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 10, 16, 0.55);
  box-shadow: var(--shadow);
}

.float-slow {
  animation: floatY 6.8s ease-in-out infinite;
}

.hero-chip {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(9, 13, 20, 0.82);
  color: #f6f9ff;
  animation: chipPulse 3.8s ease-out infinite;
}

.chip-one {
  left: 0.35rem;
  top: 1rem;
}

.chip-two {
  right: 0.45rem;
  bottom: 1rem;
}

.page-hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.18;
}

.page-hero p {
  margin: 0.7rem 0 0;
  max-width: 86ch;
  color: #dae5f8;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.9rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.2rem 0.62rem;
  background: rgba(0, 0, 0, 0.2);
  color: #dce7fa;
  font-size: 0.78rem;
}

.section {
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 29, 42, 0.95), rgba(17, 22, 32, 0.95));
  padding: 1.05rem;
  box-shadow: var(--shadow-soft);
}

.section h2 {
  margin: 0 0 0.45rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}

.section h3 {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.01rem;
}

.section p {
  margin: 0.25rem 0;
  color: #d6e0f2;
}

.kpi-grid,
.card-grid,
.pricing-grid,
.link-grid,
.media-grid {
  display: grid;
  gap: 0.72rem;
}

.kpi-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.kpi-card,
.info-card,
.price-card,
.link-card,
.image-frame,
.blog-list article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 13, 20, 0.55);
  padding: 0.8rem;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.kpi-card:hover,
.info-card:hover,
.price-card:hover,
.link-card:hover,
.image-frame:hover,
.blog-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(143, 201, 255, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.kpi-card strong {
  display: block;
  font-size: 1.35rem;
  color: #fff4c3;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card h3,
.link-card h3 {
  margin: 0;
}

.info-card p,
.link-card p {
  margin-top: 0.35rem;
}

.media-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-frame {
  margin: 0;
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 9, 15, 0.65);
}

.image-frame figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #c8d7ec;
}

.full-width {
  width: 100%;
}

.landing-hero {
  padding: 1.8rem 1.6rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 211, 74, 0.2), transparent 35%),
    radial-gradient(circle at 88% 12%, rgba(143, 201, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 211, 74, 0.14), rgba(143, 201, 255, 0.08));
}

.landing-hero-copy p {
  max-width: 82ch;
}

.landing-eyebrow,
.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 211, 74, 0.32);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: rgba(255, 211, 74, 0.12);
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1.05rem;
}

.landing-actions-center {
  justify-content: center;
}

.landing-language-strip {
  margin-top: 1rem;
}

.landing-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.72rem;
  margin-top: 1rem;
}

.landing-stat-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.82rem 0.88rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 13, 20, 0.28));
  box-shadow: var(--shadow-soft);
}

.landing-stat-card strong {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff2bf;
}

.landing-stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.landing-hero-media {
  min-height: 360px;
}

.landing-console {
  width: min(100%, 620px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(19, 25, 37, 0.94), rgba(10, 14, 22, 0.88));
  box-shadow: var(--shadow);
}

.landing-hero-panel {
  padding: 1.12rem;
}

.landing-mini-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 74, 0.22);
  padding: 0.24rem 0.6rem;
  background: rgba(255, 211, 74, 0.1);
  color: #ffe493;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-hero-panel h2 {
  margin: 0.8rem 0 0;
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  line-height: 1.08;
}

.landing-console-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  margin-bottom: 0.9rem;
}

.landing-console-badge,
.landing-chip-list span,
.landing-protocol-strip span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.26rem 0.62rem;
  background: rgba(255, 255, 255, 0.05);
  color: #e6edf9;
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-console-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.landing-node,
.landing-role-card,
.landing-capability-card,
.landing-control-card,
.landing-step-card,
.landing-cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 13, 20, 0.32));
  box-shadow: var(--shadow-soft);
}

.landing-node {
  padding: 0.82rem;
}

.landing-node-focus {
  border-color: rgba(255, 211, 74, 0.36);
  background: linear-gradient(180deg, rgba(255, 211, 74, 0.16), rgba(143, 201, 255, 0.08));
}

.landing-node-label {
  display: block;
  margin-bottom: 0.38rem;
  color: #ffd977;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-node strong,
.landing-role-card h3,
.landing-capability-card h3,
.landing-control-card h3,
.landing-step-card h3 {
  display: block;
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.25;
}

.landing-node p,
.landing-role-card p,
.landing-capability-card p,
.landing-control-card p,
.landing-step-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.landing-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  margin-top: 0.86rem;
}

.landing-metric-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.landing-metric-card span {
  display: block;
  color: #8fc9ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-metric-card strong {
  display: block;
  margin-top: 0.24rem;
  color: #f7fbff;
  font-size: 0.98rem;
}

.landing-metric-card small {
  display: block;
  margin-top: 0.18rem;
  color: #b2c1d9;
  font-size: 0.78rem;
}

.landing-protocol-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
  margin-top: 0.88rem;
}

.landing-summary-list,
.landing-proof-list {
  display: grid;
  gap: 0.72rem;
}

.landing-summary-list {
  margin-top: 0.95rem;
}

.landing-summary-row,
.landing-proof-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 0.88rem 0.92rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 13, 20, 0.28));
  box-shadow: var(--shadow-soft);
}

.landing-summary-row strong,
.landing-proof-item h3 {
  display: block;
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.landing-summary-row p,
.landing-proof-item p {
  margin: 0.34rem 0 0;
  color: var(--muted);
}

.landing-section {
  overflow: hidden;
}

.landing-section-head {
  max-width: 980px;
  margin-bottom: 1rem;
}

.landing-role-grid,
.landing-capability-grid,
.landing-control-grid {
  display: grid;
  gap: 0.78rem;
}

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

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

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

.landing-control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-role-card,
.landing-capability-card,
.landing-control-card {
  padding: 0.92rem;
}

.landing-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  margin-top: 0.72rem;
}

.landing-workflow-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1rem;
  align-items: start;
}

.landing-proof-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1rem;
  align-items: stretch;
}

.landing-proof-visual {
  height: 100%;
  align-self: stretch;
}

.landing-proof-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.landing-proof-copy h2 {
  margin: 0;
}

.landing-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.landing-step-list,
.landing-visual-stack {
  display: grid;
  gap: 0.72rem;
}

.landing-step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
}

.landing-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 211, 74, 0.16);
  color: #ffe493;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  flex: 0 0 42px;
}

.landing-visual-card {
  height: 100%;
  align-self: stretch;
}

.landing-control-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
}

.landing-control-card-visual img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 16, 0.52);
}

.landing-cta-section {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 211, 74, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(15, 19, 27, 0.96), rgba(11, 15, 22, 0.96));
}

.landing-cta-panel {
  padding: 1.2rem;
  text-align: center;
}

.landing-cta-panel p {
  max-width: 920px;
  margin: 0.45rem auto 0;
}

.home-hero {
  align-items: stretch;
}

.home-hero-copy {
  display: grid;
  align-content: center;
  gap: 0.2rem;
}

.home-hero-copy h1 {
  max-width: 12ch;
}

.home-hero-copy p {
  max-width: 64ch;
}

.home-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.home-hero-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.82rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.home-summary-card,
.home-focus-card,
.home-support-item,
.home-support-group,
.home-stat-card {
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-elevated);
  box-shadow: var(--shadow-card);
}

.home-summary-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  align-content: start;
}

.home-summary-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.home-summary-list {
  display: grid;
  gap: 0.78rem;
}

.home-summary-item {
  display: grid;
  gap: 0.3rem;
}

.home-summary-item strong,
.home-focus-card h3,
.home-support-item h3,
.home-support-group h3 {
  font-family: var(--font-display);
  font-size: 1.03rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-summary-item p,
.home-focus-card p,
.home-support-item p,
.home-support-group p {
  margin: 0;
  color: var(--text-soft);
}

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.home-stat-card {
  padding: 0.88rem 0.92rem;
}

.home-stat-card strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff2bf;
}

.home-stat-card span {
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.home-section {
  padding: clamp(1.15rem, 2vw, 1.45rem);
}

.home-section-head {
  max-width: 760px;
}

.home-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
}

.home-focus-card {
  padding: 1rem;
}

.home-focus-card h3 {
  margin: 0;
}

.home-support-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1rem;
  align-items: start;
}

.home-support-copy {
  display: grid;
  gap: 0.95rem;
}

.home-support-copy h2 {
  margin: 0;
}

.home-support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.home-support-item,
.home-support-group {
  padding: 1rem;
}

.home-support-item h3,
.home-support-group h3 {
  margin: 0 0 0.32rem;
}

.home-support-panel {
  display: grid;
  gap: 0.82rem;
}

.home-link-row {
  display: grid;
  gap: 0.55rem;
}

.home-link-row .link-btn {
  width: 100%;
}

.home-cta-panel {
  padding: clamp(1.2rem, 2.4vw, 1.55rem);
}

html[data-theme="light"] .home-hero-strip span,
html[data-theme="light"] .home-summary-card,
html[data-theme="light"] .home-focus-card,
html[data-theme="light"] .home-support-item,
html[data-theme="light"] .home-support-group,
html[data-theme="light"] .home-stat-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.56)),
    var(--surface-elevated);
}

html[data-theme="light"] .home-summary-item p,
html[data-theme="light"] .home-focus-card p,
html[data-theme="light"] .home-support-item p,
html[data-theme="light"] .home-support-group p,
html[data-theme="light"] .home-stat-card span {
  color: var(--text-soft);
}

html[data-theme="light"] .landing-stat-card,
html[data-theme="light"] .landing-node,
html[data-theme="light"] .landing-role-card,
html[data-theme="light"] .landing-capability-card,
html[data-theme="light"] .landing-control-card,
html[data-theme="light"] .landing-step-card,
html[data-theme="light"] .landing-cta-panel,
html[data-theme="light"] .landing-console {
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .landing-summary-row,
html[data-theme="light"] .landing-proof-item {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 255, 0.92));
}

html[data-theme="light"] .landing-console {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 255, 0.92));
}

html[data-theme="light"] .landing-console-badge,
html[data-theme="light"] .landing-chip-list span,
html[data-theme="light"] .landing-protocol-strip span {
  background: rgba(15, 23, 42, 0.04);
  color: #253248;
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .landing-metric-card {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .landing-metric-card strong {
  color: #182235;
}

html[data-theme="light"] .landing-metric-card small,
html[data-theme="light"] .landing-stat-card span {
  color: #5a667a;
}

html[data-theme="light"] .landing-stat-card strong {
  color: #6f5400;
}

html[data-theme="light"] .landing-node-label,
html[data-theme="light"] .landing-step-number {
  color: #7a5800;
}

html[data-theme="light"] .landing-mini-kicker {
  background: rgba(255, 211, 74, 0.16);
  border-color: rgba(122, 88, 0, 0.14);
  color: #7a5800;
}

html[data-theme="light"] .landing-cta-section {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 211, 74, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 255, 0.96));
}

@media (max-width: 980px) {
  .landing-hero {
    padding: 1.2rem 1rem;
  }

  .landing-hero-media {
    min-height: auto;
  }

  .landing-console-flow,
  .landing-metric-strip,
  .landing-role-grid,
  .landing-capability-grid,
  .landing-control-grid,
  .landing-workflow-shell,
  .landing-proof-shell {
    grid-template-columns: 1fr;
  }

  .landing-step-card {
    grid-template-columns: 1fr;
  }

  .landing-step-number {
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 640px) {
  .landing-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-actions .link-btn,
  .landing-actions .solid-btn {
    width: 100%;
  }

  .landing-console {
    padding: 0.82rem;
  }
}

.contact-shell {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 1rem;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-coverage-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 17, 27, 0.92), rgba(10, 14, 23, 0.98));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.contact-form-head {
  position: relative;
  padding: 1.35rem 1.4rem 2rem;
  background:
    linear-gradient(135deg, rgba(255, 211, 74, 0.94), rgba(255, 178, 41, 0.88)),
    linear-gradient(135deg, rgba(255, 211, 74, 0.22), rgba(255, 178, 41, 0.16));
  color: #241b00;
}

.contact-form-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26px;
  background: var(--panel);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(36, 27, 0, 0.2);
  background: rgba(255, 255, 255, 0.26);
  padding: 0.24rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form-head h1 {
  margin: 0.65rem 0 0.3rem;
  color: #171109;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.04;
}

.contact-form-head p {
  margin: 0;
  color: rgba(36, 27, 0, 0.82);
  max-width: 58rem;
}

.contact-form-body {
  padding: 1.3rem 1.4rem 1.4rem;
}

.contact-status {
  margin-bottom: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(111, 246, 176, 0.45);
  background: rgba(111, 246, 176, 0.1);
  color: #d7ffea;
  font-size: 0.94rem;
}

.contact-status.is-success {
  border-color: rgba(111, 246, 176, 0.45);
  background: rgba(111, 246, 176, 0.1);
  color: #d7ffea;
}

.contact-status.is-error {
  border-color: rgba(255, 117, 117, 0.35);
  background: rgba(255, 117, 117, 0.12);
  color: #ffd0d0;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-field {
  display: grid;
  gap: 0.4rem;
}

.contact-field span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff0b7;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.82rem 0.95rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.8rem;
}

.contact-field select option,
.contact-field select optgroup {
  background: #07111f;
  color: #e6edf7;
}

html[data-theme="dark"] .contact-field select {
  color-scheme: dark;
}

.contact-field textarea {
  min-height: 156px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(170, 182, 203, 0.82);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(255, 211, 74, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 211, 74, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.contact-form-actions {
  display: grid;
  gap: 0.55rem;
  align-items: start;
}

.contact-submit {
  min-width: 180px;
  padding-inline: 1.05rem;
}

.contact-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.contact-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-info-stack {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  padding: 1.2rem;
}

.contact-info-card h2 {
  margin: 0 0 1rem;
  font-size: 1.28rem;
}

.contact-info-list {
  display: grid;
  gap: 0.95rem;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.contact-info-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(255, 211, 74, 0.24);
  background: rgba(255, 211, 74, 0.1);
  color: #ffe493;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
}

.contact-info-copy {
  min-width: 0;
}

.contact-info-copy h3 {
  margin: 0 0 0.15rem;
  font-size: 1rem;
}

.contact-info-copy p,
.contact-info-copy small {
  display: block;
  margin: 0;
}

.contact-info-copy p {
  color: var(--text);
  word-break: break-word;
}

.contact-info-copy small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-link-list {
  display: grid;
  gap: 0.68rem;
}

.contact-link-btn {
  width: 100%;
}

.contact-coverage-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
}

.contact-coverage-copy h2 {
  margin: 0.38rem 0 0.4rem;
  font-size: clamp(1.65rem, 3.4vw, 2.2rem);
  line-height: 1.08;
}

.contact-coverage-copy p {
  margin: 0 0 0.9rem;
}

.contact-coverage-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.contact-coverage-list li + li {
  margin-top: 0.38rem;
}

.contact-coverage-media {
  margin: 0;
  height: 100%;
}

.contact-coverage-media img {
  min-height: 100%;
}

html[data-theme="light"] .contact-form-card,
html[data-theme="light"] .contact-info-card,
html[data-theme="light"] .contact-coverage-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
}

html[data-theme="light"] .contact-form-head::after {
  background: var(--panel);
}

html[data-theme="light"] .contact-status.is-success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.08);
  color: #0f5f33;
}

html[data-theme="light"] .contact-status.is-error {
  border-color: rgba(220, 38, 38, 0.2);
  background: rgba(220, 38, 38, 0.08);
  color: #991b1b;
}

html[data-theme="light"] .contact-field span {
  color: #7a5800;
}

html[data-theme="light"] .contact-field input,
html[data-theme="light"] .contact-field select,
html[data-theme="light"] .contact-field textarea {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
}

html[data-theme="light"] .contact-field select option,
html[data-theme="light"] .contact-field select optgroup {
  background: #ffffff;
  color: #1f2937;
}

html[data-theme="light"] .contact-field select {
  color-scheme: light;
}

html[data-theme="light"] .contact-field input::placeholder,
html[data-theme="light"] .contact-field textarea::placeholder {
  color: rgba(75, 85, 99, 0.9);
}

html[data-theme="light"] .contact-info-badge {
  border-color: rgba(255, 202, 40, 0.35);
  background: rgba(255, 202, 40, 0.12);
  color: #7a5800;
}

@media (max-width: 980px) {
  .contact-grid,
  .contact-coverage-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-shell {
    padding-top: 0.86rem;
  }

  .contact-form-head,
  .contact-form-body,
  .contact-info-card,
  .contact-coverage-card {
    padding: 1rem;
  }

  .contact-form-head {
    padding-bottom: 1.7rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }
}

.price-card.highlight {
  border-color: rgba(255, 211, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 211, 74, 0.2), var(--shadow);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.pricing-grid-pricing {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.pricing-grid-pricing .price-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.price-card-head {
  display: flex;
  flex-direction: column;
}

.price-badge-slot {
  min-height: 34px;
  margin-bottom: 0.24rem;
  display: flex;
  align-items: flex-start;
}

.price-name {
  margin: 0;
  font-size: 1.14rem;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 211, 74, 0.55);
  border-radius: 999px;
  padding: 0.16rem 0.54rem;
  margin-bottom: 0.52rem;
  color: #fff1be;
  background: rgba(255, 211, 74, 0.12);
  font-size: 0.74rem;
  font-weight: 700;
}

.price-badge-placeholder {
  visibility: hidden;
}

.price-value {
  margin: 0.4rem 0;
  color: #fff2be;
  font-size: 1.9rem;
  font-weight: 800;
}

.price-points {
  margin: 0.4rem 0 0.32rem;
  display: grid;
  gap: 0.2rem;
}

.price-value-tight {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.price-label {
  display: inline-block;
  min-width: 68px;
  margin-right: 0.36rem;
  color: #c9daef;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-savings {
  margin: 0.12rem 0 0;
  color: #ffe5a2;
  font-size: 0.8rem;
}

.price-period {
  color: #d0dbed;
  font-size: 0.95rem;
}

.price-tagline {
  margin: 0 0 0.5rem;
  color: #c7d6ec;
  font-size: 0.9rem;
  min-height: 3.4rem;
}

ul.clean {
  list-style: none;
  margin: 0.55rem 0;
  padding: 0;
}

ul.clean li {
  margin: 0.33rem 0;
  padding-left: 1rem;
  position: relative;
  color: #d6e2f4;
}

ul.clean li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.price-feature-list {
  margin-top: 0;
  align-self: stretch;
}

.price-cta {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.75rem;
}

.price-cta .price-btn {
  width: 100%;
  justify-content: center;
  min-height: 42px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

th,
td {
  border: 1px solid rgba(255, 255, 255, 0.11);
  padding: 0.54rem 0.56rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(255, 255, 255, 0.08);
}

.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
  width: 46%;
}

.pricing-compare-table th:not(:first-child),
.pricing-compare-table td:not(:first-child) {
  text-align: center;
  width: 18%;
}

.plan-availability {
  font-weight: 800;
  font-size: 1rem;
}

.availability-yes {
  color: #6ff6b0;
}

.availability-no {
  color: #8fa3be;
}

.availability-text {
  color: var(--text);
  font-weight: 700;
}

.docs-layout {
  display: grid;
  grid-template-columns: clamp(250px, 17vw, 300px) minmax(0, 1fr);
  gap: 1rem;
  width: min(1700px, calc(100% - 1rem));
}

.docs-sidebar {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(0, 0, 0, 0.22);
  position: sticky;
  top: 88px;
  height: fit-content;
}

.docs-sidebar h4 {
  margin: 0.15rem 0 0.4rem;
}

.docs-sidebar a {
  display: block;
  color: #c2d2e9;
  border-radius: 8px;
  padding: 0.24rem 0.35rem;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docs-sidebar a:hover {
  text-decoration: none;
  background: rgba(143, 201, 255, 0.12);
}

.docs-sidebar a.is-active {
  background: rgba(255, 211, 74, 0.15);
  border: 1px solid rgba(255, 211, 74, 0.3);
  color: #fff1be;
}

.docs-sidebar.docs-sidebar-static {
  max-height: calc(100vh - 104px);
  overflow: auto;
  overscroll-behavior: contain;
}

.docs-group {
  margin: 0.42rem 0 0;
}

.docs-group-links {
  margin-top: 0.16rem;
}

.docs-group-links a {
  padding-left: 0.56rem;
}

.docs-group-title {
  margin: 0;
  color: #9fb2ce;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 0.24rem 0.35rem;
  user-select: none;
}

.docs-group-title::-webkit-details-marker {
  display: none;
}

.docs-group-title::after {
  content: ">";
  font-size: 0.84rem;
  line-height: 1;
  color: #8fa3be;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}

.docs-group[open] .docs-group-title::after {
  transform: rotate(90deg);
}

.docs-group-title:hover {
  background: rgba(143, 201, 255, 0.08);
}

.doc-content {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.2rem 1.35rem;
  background: rgba(0, 0, 0, 0.2);
}

.doc-content h1,
.doc-content h2,
.doc-content h3,
.doc-content p,
.doc-content li,
.image-frame figcaption,
.doc-example-card {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.doc-example-block {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.doc-example-block h2 {
  margin: 0 0 0.4rem;
}

.doc-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.72rem;
  align-items: stretch;
}

.doc-example-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 13, 20, 0.55);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.doc-example-card h3 {
  margin: 0;
}

.doc-example-card p {
  margin: 0;
}

.doc-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
}

.doc-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.72rem;
}

.doc-download-grid .doc-example-card {
  display: flex;
  flex-direction: column;
}

.doc-download-grid .solid-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.doc-code {
  margin: 0;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 7, 12, 0.7);
  color: #d8e5f8;
  overflow: auto;
  white-space: pre;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

.doc-option-intro,
.doc-option-outro {
  color: var(--muted);
  font-size: 0.93rem;
}

.doc-option-list {
  display: grid;
  gap: 0.65rem;
}

.doc-option-item {
  display: grid;
  grid-template-columns: minmax(0, 168px) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.78rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(4, 7, 12, 0.34);
}

.doc-option-term {
  min-width: 0;
}

.doc-option-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 74, 0.35);
  background: rgba(255, 211, 74, 0.12);
  color: #fff1be;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.doc-option-copy {
  min-width: 0;
}

.doc-option-copy p {
  margin: 0;
}

.doc-option-note {
  margin-top: 0.32rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.doc-option-list + .doc-code,
.doc-code + .doc-option-list {
  margin-top: 0.1rem;
}

.doc-media-grid {
  margin-top: 0.2rem;
}

.inline-code {
  display: inline-block;
  padding: 0.06rem 0.42rem;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 7, 12, 0.7);
  color: #f1f6ff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.82em;
}

.overview-sidebar a {
  font-size: 0.84rem;
}

.overview-content h2 {
  margin-top: 1.05rem;
}

.scenario-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
  margin-top: 0.25rem;
}

.scenario-node {
  border: 1px solid rgba(143, 201, 255, 0.42);
  border-radius: 12px;
  padding: 0.7rem;
  background: rgba(11, 18, 30, 0.78);
  color: #d9e8ff;
  min-height: 72px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: 0 0 24px rgba(143, 201, 255, 0.1);
}

.scenario-node.origin {
  border-color: rgba(73, 177, 255, 0.5);
}

.scenario-node.target {
  border-color: rgba(255, 211, 74, 0.5);
}

.scenario-node.target span {
  color: #c8d9f4;
  font-size: 0.86rem;
  margin-top: 0.15rem;
}

.scenario-arrow {
  position: relative;
  width: 62px;
  height: 2px;
  background: linear-gradient(90deg, #55bbff, #ffd34a);
}

.scenario-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffd34a;
}

.report-preview {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.7rem;
}

.report-preview-tabs {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 13, 20, 0.65);
  padding: 0.55rem;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.report-preview-tabs button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #d5e3f8;
  text-align: left;
  padding: 0.34rem 0.48rem;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: normal;
  cursor: default;
}

.report-preview-tabs button.is-active {
  border-color: rgba(255, 211, 74, 0.5);
  background: rgba(255, 211, 74, 0.14);
  color: #fff1bc;
}

.report-preview-content {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(10, 13, 20, 0.58);
  padding: 0.6rem;
}

.report-preview-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.55rem;
}

.report-preview-header span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: #d6e2f4;
  font-size: 0.8rem;
}
.doc-search-input {
  width: 100%;
  max-width: 420px;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  color: #eef2fb;
  outline: none;
}

.doc-search-input:focus {
  border-color: rgba(143, 201, 255, 0.56);
  box-shadow: 0 0 0 1px rgba(143, 201, 255, 0.32);
}

.breadcrumb {
  color: #a9bdd6;
  font-size: 0.86rem;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
  margin: 0.45rem 0;
  background: rgba(0, 0, 0, 0.22);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.blog-list article {
  margin-top: 0.6rem;
}

.post-meta {
  color: #a8bcda;
  font-size: 0.82rem;
}

.notice {
  border: 1px solid rgba(255, 211, 74, 0.42);
  border-radius: 12px;
  background: rgba(255, 211, 74, 0.1);
  color: #ffeeb1;
  padding: 0.62rem 0.7rem;
  margin-top: 0.7rem;
}

.portal-section {
  display: grid;
  gap: 0.75rem;
}

.portal-auth-shell {
  width: min(560px, calc(100% - 2.4rem));
  margin: 1.2rem auto 1.6rem;
  min-height: calc(100vh - 240px);
  align-content: center;
}

.portal-alert {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.56rem 0.66rem;
  font-size: 0.9rem;
}

.portal-alert-error {
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.14);
  color: #ffd7d7;
}

.portal-alert-success {
  border-color: rgba(111, 246, 176, 0.45);
  background: rgba(111, 246, 176, 0.12);
  color: #d2ffe9;
}

.portal-auth-grid {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.portal-auth-card {
  padding: 0.86rem;
}

.portal-auth-card h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1.05;
}

.portal-auth-card p {
  margin: 0.2rem 0 0.65rem;
}

.portal-auth-card .portal-form input,
.portal-auth-card .portal-inline-form input {
  padding: 0.42rem 0.5rem;
}

.portal-auth-card .solid-btn {
  margin-top: 0.28rem;
}

.portal-auth-switch {
  margin-top: 0.72rem;
  margin-bottom: 0;
  font-size: 0.93rem;
  text-align: center;
  color: #d4e0f2;
}

.portal-auth-switch a {
  font-weight: 700;
}

.portal-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0.8rem;
}

.portal-tabs {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.62rem;
  background: rgba(0, 0, 0, 0.2);
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.portal-tab-group {
  display: grid;
  gap: 0.3rem;
}

.portal-tab-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93a9c7;
  padding: 0.3rem 0.4rem;
}

.portal-tab-sublist {
  display: grid;
  gap: 0.32rem;
  padding-left: 0.2rem;
}

.portal-tabs a {
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.46rem;
  color: #d6e2f4;
}

.portal-tab-sub {
  padding-left: 0.7rem;
  font-size: 0.9rem;
}

.portal-tabs a:hover {
  text-decoration: none;
  background: rgba(143, 201, 255, 0.12);
}

.portal-tabs a.is-active {
  border-color: rgba(255, 211, 74, 0.5);
  background: rgba(255, 211, 74, 0.16);
  color: #fff1be;
}

.portal-tabs .link-btn {
  width: 100%;
}

.portal-content {
  min-width: 0;
}

.portal-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(10, 13, 20, 0.55);
  padding: 0.86rem;
}

.portal-card h2 {
  margin-top: 0;
}

.portal-card h3 {
  margin-top: 0;
}

.portal-form {
  display: grid;
  gap: 0.46rem;
}

.portal-inline-form {
  margin-top: 0.74rem;
  display: grid;
  gap: 0.42rem;
}

.portal-form label,
.portal-inline-form label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #cfe0f7;
}

.portal-form input,
.portal-form select,
.portal-inline-form input {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.24);
  color: #edf4ff;
  padding: 0.42rem 0.5rem;
}

.portal-form select {
  background-color: rgba(5, 10, 18, 0.86);
  color: #edf4ff;
}

.portal-form select option,
.portal-form select optgroup {
  background-color: #0b1629;
  color: #edf4ff;
}

.portal-form select:disabled {
  background-color: rgba(21, 29, 45, 0.7);
  color: #a9bfde;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-inline-form input:focus {
  outline: none;
  border-color: rgba(143, 201, 255, 0.54);
}

.portal-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
}

.portal-grid-2 > div {
  display: grid;
  gap: 0.35rem;
}

.portal-profile-layout {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.25rem;
}

.portal-profile-group {
  border: 1px solid rgba(143, 201, 255, 0.24);
  border-radius: 12px;
  padding: 0.7rem;
  background: linear-gradient(180deg, rgba(18, 28, 44, 0.7), rgba(10, 16, 28, 0.52));
}

.portal-profile-group h3 {
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
  color: #dbe8fc;
}

.portal-grid-profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.65rem;
}

.portal-grid-profile > div {
  min-width: 0;
}

.portal-span-2 {
  grid-column: 1 / -1;
}

.portal-license-table {
  overflow: auto;
}

.portal-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.68rem;
  margin-top: 0.86rem;
}

.portal-form-panel {
  align-content: start;
}

.portal-form-stack {
  max-width: 520px;
}

.portal-form-inline {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: end;
}

.portal-form-panel .solid-btn {
  margin-top: 0.24rem;
}

.portal-form-help {
  margin: 0;
  font-size: 0.82rem;
  color: #a9bfde;
}

.portal-checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-weight: 600;
}

.portal-checkbox-inline input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
}

.portal-search-results-wrap {
  margin-top: -0.2rem;
}

.portal-search-results {
  width: 100%;
  min-height: 7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 15, 28, 0.98);
  color: #d9e8ff;
  padding: 0.24rem;
}

.portal-search-results option {
  padding: 0.2rem 0.35rem;
}

.portal-price-preview {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 211, 74, 0.32);
  background: rgba(255, 211, 74, 0.1);
  color: #ffe9a0;
  font-size: 0.84rem;
  line-height: 1.3;
}

.portal-runner-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.portal-license-detail-rows {
  grid-template-columns: 1fr;
}

.portal-license-detail-rows .portal-form-stack {
  max-width: none;
}

.portal-license-detail-card h4 {
  margin: 0.25rem 0 0;
}

.portal-license-detail-table th {
  width: 220px;
  white-space: nowrap;
}

.portal-license-detail-table td {
  word-break: break-word;
}

.portal-runner-card {
  display: grid;
  gap: 0.55rem;
  border: 1px solid rgba(143, 201, 255, 0.18);
  border-radius: 12px;
  padding: 0.7rem;
  background: linear-gradient(180deg, rgba(12, 20, 35, 0.82), rgba(8, 14, 24, 0.68));
}

.portal-runner-card-head {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
}

.portal-runner-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portal-inline-code {
  display: inline-flex;
  align-items: center;
  margin-top: 0.28rem;
  padding: 0.24rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.24);
  color: #dbe8fc;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

.portal-inline-actions {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.portal-inline-actions input[type="text"] {
  min-width: 180px;
}

.site-footer {
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(9, 12, 18, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  padding: 1rem 0;
}

.site-footer h3 {
  margin: 0;
  font-size: 0.95rem;
}

.site-footer a {
  display: block;
  margin-top: 0.3rem;
  color: #c2d3e9;
  font-size: 0.88rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  padding: 0.75rem 0 1rem;
  color: #9db1cb;
  font-size: 0.83rem;
}

/* Layout safety: prevent text and media overflow across docs and content pages. */
.hero-shell > *,
.docs-layout > *,
.kpi-grid > *,
.card-grid > *,
.pricing-grid > *,
.link-grid > *,
.media-grid > *,
.doc-examples-grid > * {
  min-width: 0;
}

.section,
.doc-content,
.doc-example-card,
.kpi-card,
.info-card,
.price-card,
.link-card,
.image-frame {
  min-width: 0;
  max-width: 100%;
}

.doc-content {
  overflow-x: hidden;
}

.section p,
.section li,
.doc-content p,
.doc-content li,
.image-frame figcaption {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.image-frame {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
  align-items: stretch;
}

.image-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.image-frame figcaption {
  margin: 0;
  max-width: 100%;
}

.doc-code {
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
}

.docs-language-note,
.doc-code-language-note {
  font-size: 0.88rem;
}

.doc-code-tabset {
  display: grid;
  gap: 0.7rem;
}

.doc-code-language-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.doc-code-language-tab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  color: #dce8fb;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.doc-code-language-tab:hover {
  border-color: rgba(143, 201, 255, 0.34);
  background: rgba(143, 201, 255, 0.1);
  transform: translateY(-1px);
}

.doc-code-language-tab.is-active {
  border-color: rgba(255, 211, 74, 0.54);
  background: rgba(255, 211, 74, 0.16);
  color: #fff1be;
}

.doc-code-language-panel[hidden] {
  display: none;
}

.inline-code {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}



html[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 8% -12%, rgba(255, 186, 58, 0.24), transparent 58%),
    radial-gradient(820px 520px at 100% 0%, rgba(77, 148, 255, 0.18), transparent 57%),
    var(--bg);
  color: var(--text);
}

html[data-theme="light"] .site-main::before {
  background: radial-gradient(circle, rgba(255, 186, 58, 0.18), rgba(255, 186, 58, 0) 72%);
  opacity: 0.54;
}

html[data-theme="light"] .site-header {
  border-bottom: 1px solid #d9e3f0;
  background: rgba(250, 252, 255, 0.92);
}

html[data-theme="light"] .brand,
html[data-theme="light"] .page-hero h1,
html[data-theme="light"] .section h2,
html[data-theme="light"] .section h3,
html[data-theme="light"] .info-card h3,
html[data-theme="light"] .link-card h3,
html[data-theme="light"] .site-footer h3,
html[data-theme="light"] .doc-content h1,
html[data-theme="light"] .doc-content h2,
html[data-theme="light"] .doc-content h3 {
  color: #0f172a;
}

html[data-theme="light"] a {
  color: var(--link);
}

html[data-theme="light"] .main-nav a {
  color: #24324a;
}

html[data-theme="light"] .main-nav a:hover {
  border-color: rgba(11, 99, 212, 0.24);
  background: rgba(11, 99, 212, 0.08);
}

html[data-theme="light"] .main-nav a.is-active {
  color: #2f2400;
  border-color: rgba(255, 202, 40, 0.6);
  background: rgba(255, 202, 40, 0.28);
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .link-btn {
  color: #1f2e45;
  border-color: #c6d4e8;
  background: #eff4fb;
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .link-btn:hover {
  background: #e4edf9;
  border-color: #a9c1e2;
}

html[data-theme="light"] .menu-toggle {
  border-color: #c5d4e8;
  background: #eff4fb;
}

html[data-theme="light"] .menu-toggle span {
  background: #22344f;
}

html[data-theme="light"] .page-hero {
  border-color: #d2deed;
  background: linear-gradient(135deg, rgba(255, 214, 74, 0.34), rgba(128, 179, 255, 0.24));
}

html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section p,
html[data-theme="light"] .section li,
html[data-theme="light"] .doc-content p,
html[data-theme="light"] .doc-content li,
html[data-theme="light"] .image-frame figcaption,
html[data-theme="light"] .post-meta,
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .pill,
html[data-theme="light"] .faq-list summary,
html[data-theme="light"] .faq-list details {
  color: #334155;
}

html[data-theme="light"] .section,
html[data-theme="light"] .doc-content,
html[data-theme="light"] .doc-example-card,
html[data-theme="light"] .kpi-card,
html[data-theme="light"] .info-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .link-card,
html[data-theme="light"] .image-frame,
html[data-theme="light"] .blog-list article,
html[data-theme="light"] .docs-sidebar,
html[data-theme="light"] .report-preview,
html[data-theme="light"] .report-preview-tabs,
html[data-theme="light"] .report-preview-content,
html[data-theme="light"] .faq-list details {
  border-color: #d4dfed;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

html[data-theme="light"] .kpi-card strong,
html[data-theme="light"] .price-value {
  color: #7c5700;
}

html[data-theme="light"] .price-label {
  color: #4b5563;
}

html[data-theme="light"] .price-savings {
  color: #7c5700;
}

html[data-theme="light"] .price-tagline {
  color: #42566f;
}

html[data-theme="light"] .price-badge {
  border-color: rgba(255, 202, 40, 0.7);
  background: rgba(255, 202, 40, 0.22);
  color: #4a3900;
}

html[data-theme="light"] .pill {
  border-color: #cad6e8;
  background: #edf3fb;
}

html[data-theme="light"] .hero-chip,
html[data-theme="light"] .report-preview-header span,
html[data-theme="light"] .report-preview-tabs button {
  border-color: #c6d4e8;
  background: #eef4fd;
  color: #26374f;
}

html[data-theme="light"] .report-preview-tabs button.is-active,
html[data-theme="light"] .docs-sidebar a.is-active {
  border-color: rgba(255, 202, 40, 0.6);
  background: rgba(255, 202, 40, 0.28);
  color: #3b2f00;
}

html[data-theme="light"] .docs-sidebar a {
  color: #334155;
}

html[data-theme="light"] .docs-sidebar a:hover {
  background: rgba(11, 99, 212, 0.1);
}

html[data-theme="light"] .docs-group-title {
  color: #5a6c84;
}

html[data-theme="light"] .docs-group-title::after {
  color: #6d7f96;
}

html[data-theme="light"] .docs-group-title:hover {
  background: rgba(11, 99, 212, 0.08);
}

html[data-theme="light"] .doc-search-input {
  border-color: #c6d4e8;
  background: #f4f8ff;
  color: #0f172a;
}

html[data-theme="light"] .doc-search-input:focus {
  border-color: rgba(11, 99, 212, 0.6);
  box-shadow: 0 0 0 1px rgba(11, 99, 212, 0.28);
}

html[data-theme="light"] .doc-code,
html[data-theme="light"] .inline-code {
  border-color: #cfdaea;
  background: #f4f8ff;
  color: #0f172a;
}

html[data-theme="light"] .doc-option-item {
  border-color: #d3deed;
  background: #f6f9ff;
}

html[data-theme="light"] .doc-option-chip {
  border-color: rgba(255, 202, 40, 0.52);
  background: rgba(255, 202, 40, 0.2);
  color: #4b3800;
}

html[data-theme="light"] .doc-code-language-tab {
  border-color: #c6d4e8;
  background: #eef4fd;
  color: #26374f;
}

html[data-theme="light"] .doc-code-language-tab:hover {
  border-color: rgba(11, 99, 212, 0.24);
  background: rgba(11, 99, 212, 0.08);
}

html[data-theme="light"] .doc-code-language-tab.is-active {
  border-color: rgba(255, 202, 40, 0.6);
  background: rgba(255, 202, 40, 0.28);
  color: #3b2f00;
}

@media (max-width: 760px) {
  .doc-option-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

html[data-theme="light"] table,
html[data-theme="light"] th,
html[data-theme="light"] td {
  border-color: #d2deec;
  color: #17263c;
}

html[data-theme="light"] th {
  background: #edf3fc;
}

html[data-theme="light"] .availability-yes {
  color: #0f8d44;
}

html[data-theme="light"] .availability-no {
  color: #7d8ea6;
}

html[data-theme="light"] .notice {
  border-color: rgba(255, 202, 40, 0.68);
  background: rgba(255, 202, 40, 0.26);
  color: #4a3900;
}

html[data-theme="light"] .portal-alert-error {
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.12);
  color: #7f1d1d;
}

html[data-theme="light"] .portal-alert-success {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.14);
  color: #14532d;
}

html[data-theme="light"] .portal-card,
html[data-theme="light"] .portal-tabs {
  border-color: #d4dfed;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94));
}

html[data-theme="light"] .portal-tab-heading {
  color: #51617a;
}

html[data-theme="light"] .portal-tabs a {
  border-color: #d4dfed;
  color: #334155;
}

html[data-theme="light"] .portal-tabs a:hover {
  background: rgba(11, 99, 212, 0.1);
}

html[data-theme="light"] .portal-tabs a.is-active {
  border-color: rgba(255, 202, 40, 0.6);
  background: rgba(255, 202, 40, 0.28);
  color: #3b2f00;
}

html[data-theme="light"] .portal-form label,
html[data-theme="light"] .portal-inline-form label {
  color: #374151;
}

html[data-theme="light"] .portal-form input,
html[data-theme="light"] .portal-form select,
html[data-theme="light"] .portal-inline-form input {
  border-color: #c6d4e8;
  background: #f4f8ff;
  color: #0f172a;
}

html[data-theme="light"] .portal-form select option,
html[data-theme="light"] .portal-form select optgroup {
  background: #ffffff;
  color: #0f172a;
}

html[data-theme="light"] .portal-form select:disabled {
  background: #e7edf7;
  color: #64748b;
}

html[data-theme="light"] .portal-profile-group {
  border-color: #cfddf0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.94));
}

html[data-theme="light"] .portal-profile-group h3 {
  color: #1f2937;
}

html[data-theme="light"] .portal-auth-switch {
  color: #334155;
}

html[data-theme="light"] .portal-form-help {
  color: #475569;
}

html[data-theme="light"] .portal-checkbox-inline {
  color: #1f2937;
}

html[data-theme="light"] .portal-search-results {
  border-color: #c6d4e8;
  background: #f8fbff;
  color: #23324d;
}

html[data-theme="light"] .portal-price-preview {
  border-color: rgba(234, 179, 8, 0.4);
  background: rgba(254, 240, 138, 0.3);
  color: #713f12;
}

html[data-theme="light"] .portal-runner-card {
  border-color: #cfddf0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.94));
}

html[data-theme="light"] .portal-inline-code {
  border-color: #c6d4e8;
  background: #f4f8ff;
  color: #0f172a;
}

html[data-theme="light"] .site-footer {
  border-top-color: #d6e0ee;
  background: rgba(248, 251, 255, 0.95);
}
.center {
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .brand-logo {
    width: 252px;
    height: 88px;
    flex: 0 0 252px;
  }

  html[data-theme="dark"] .brand-logo {
    --brand-logo-scale: 1.12;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 4.4rem;
  }

  .brand {
    position: relative;
    width: 100%;
    min-width: 0;
    gap: 0;
  }

  .brand-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: calc(100% - 7rem);
    font-size: 1.62rem;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    margin-right: 0;
  }

  .theme-toggle-fab {
    top: 0.92rem;
    right: 0.78rem;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.menu-open .main-nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .site-header.menu-open .main-nav a {
    border-radius: 10px;
  }

  .site-header.menu-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0.3rem;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 190px;
  }

  .chip-two {
    bottom: 0.55rem;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .portal-grid-profile {
    grid-template-columns: 1fr;
  }

  .portal-span-2 {
    grid-column: auto;
  }

  .portal-auth-shell {
    min-height: auto;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-sidebar.docs-sidebar-static {
    max-height: none;
    overflow: visible;
  }

  .scenario-diagram {
    grid-template-columns: 1fr;
  }

  .scenario-arrow {
    width: 2px;
    height: 40px;
    justify-self: center;
    background: linear-gradient(180deg, #55bbff, #ffd34a);
  }

  .scenario-arrow::after {
    right: -4px;
    top: auto;
    bottom: -1px;
    border-top: 8px solid #ffd34a;
    border-bottom: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
  }

  .report-preview {
    grid-template-columns: 1fr;
  }

  .report-preview-tabs {
    max-height: 220px;
    overflow: auto;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 104px;
    height: 46px;
    flex: 0 0 104px;
    object-position: left center;
  }

  html[data-theme="dark"] .brand-logo {
    --brand-logo-scale: 1.08;
  }

  .container {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .header-inner {
    position: relative;
    grid-template-columns: 1fr;
    padding-right: 4rem;
    min-height: 68px;
  }

  .brand {
    position: static;
    width: auto;
    min-width: 0;
    gap: 0;
    min-height: 52px;
    justify-self: start;
  }

  .brand-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    max-width: calc(100% - 10.6rem);
    font-size: 1.42rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-align: center;
    pointer-events: none;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    right: 3.45rem;
    transform: translateY(-50%);
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .theme-toggle-fab {
    top: 0.86rem;
    right: 0.7rem;
  }

  .page-hero,
  .section {
    padding: 0.86rem;
  }

  .hero-chip {
    position: static;
    margin-top: 0.35rem;
    justify-self: start;
    animation: none;
  }

  .report-preview-tabs button {
    font-size: 0.76rem;
    padding: 0.3rem 0.44rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.docs-polyglot-note {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, #1aa8ff 12%);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin: 0.6rem 0 1rem;
}

/* 2026 UI refresh */
:root {
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Bahnschrift", "Aptos", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-mono: "Cascadia Code", "Consolas", "SFMono-Regular", "Courier New", monospace;
  --bg: #08111f;
  --panel: #0f1b30;
  --panel-soft: #13223b;
  --surface: rgba(15, 25, 43, 0.84);
  --surface-elevated: rgba(10, 18, 32, 0.82);
  --surface-soft: rgba(42, 123, 233, 0.1);
  --text: #eef5ff;
  --text-soft: #aab8cf;
  --muted: #8fa2bc;
  --line: #22344b;
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(120, 170, 235, 0.22);
  --accent: #2a7be9;
  --accent-2: #153f87;
  --accent-ink: #ffffff;
  --link: #84c7ff;
  --max: 1380px;
  --radius: 30px;
  --radius-card: 22px;
  --shadow: 0 34px 90px rgba(1, 8, 20, 0.45);
  --shadow-soft: 0 22px 56px rgba(1, 8, 20, 0.28);
  --shadow-card: 0 20px 40px rgba(1, 8, 20, 0.22);
  --ring: 0 0 0 4px rgba(31, 143, 255, 0.18);
}

html[data-theme="light"] {
  --bg: #edf2f8;
  --panel: #ffffff;
  --panel-soft: #f3f7fd;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-elevated: rgba(250, 252, 255, 0.94);
  --surface-soft: rgba(29, 105, 218, 0.08);
  --text: #12243d;
  --text-soft: #5f7088;
  --muted: #72829a;
  --line: #d7e1ef;
  --border: rgba(16, 36, 61, 0.1);
  --border-soft: rgba(16, 36, 61, 0.08);
  --border-strong: rgba(39, 103, 191, 0.16);
  --accent: #1d69da;
  --accent-2: #153f87;
  --accent-ink: #ffffff;
  --link: #0b67d0;
  --shadow: 0 34px 90px rgba(16, 33, 56, 0.16);
  --shadow-soft: 0 22px 56px rgba(16, 33, 56, 0.12);
  --shadow-card: 0 18px 36px rgba(16, 33, 56, 0.1);
  --ring: 0 0 0 4px rgba(21, 116, 234, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(42, 123, 233, 0.16), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(21, 63, 135, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--bg);
  color: var(--text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(42, 123, 233, 0.14), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(21, 63, 135, 0.12), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(88, 116, 255, 0.08), transparent 32%);
  filter: blur(6px);
}

body::after {
  inset: 0 0 auto;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0));
  opacity: 0.18;
}

html[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(18, 36, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 36, 61, 0.05) 1px, transparent 1px);
  opacity: 0.24;
}

img {
  max-width: 100%;
}

a:hover {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max), calc(100% - 2.6rem));
}

.site-main {
  padding: 1.35rem 0 4rem;
}

.site-main::before {
  display: none;
}

.site-header {
  top: 0;
  padding: 1rem 0 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.header-inner {
  position: relative;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 0.95rem 1rem;
  align-items: center;
}

.header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-elevated);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(26px);
}

.header-inner > * {
  position: relative;
  z-index: 1;
}

.site-header.is-scrolled .header-inner::before,
.site-header.menu-open .header-inner::before {
  box-shadow: var(--shadow-soft);
}

.brand {
  gap: 0;
  color: var(--text);
  font-family: var(--font-display);
}

.brand-logo {
  display: block;
  width: 380px;
  height: auto;
  max-width: 100%;
  flex: 0 0 380px;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  overflow: clip;
  transform: none;
}

.brand-text {
  font-size: clamp(1.38rem, 1vw + 1rem, 1.72rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.main-nav {
  justify-content: center;
  gap: 0.34rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  justify-self: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.66rem 1rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.main-nav a:hover,
.docs-sidebar a:hover,
.portal-tabs a:hover,
.portal-tab-sub:hover,
.docs-overview-link-list a:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.main-nav a.is-active,
.docs-sidebar a.is-active,
.portal-tabs a.is-active,
.portal-tab-sub.is-active,
.report-preview-tabs button.is-active,
.doc-code-language-tab.is-active {
  color: var(--text);
  border-color: rgba(31, 143, 255, 0.22);
  background: linear-gradient(135deg, rgba(42, 123, 233, 0.18), rgba(21, 63, 135, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-cta {
  gap: 0.55rem;
}

.link-btn,
.solid-btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.link-btn {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.solid-btn {
  color: var(--accent-ink);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(18, 58, 120, 0.28);
}

.link-btn:hover,
.solid-btn:hover,
.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.theme-toggle,
.menu-toggle {
  border-radius: 18px;
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.theme-toggle {
  width: 46px;
  height: 46px;
}

.theme-toggle-fab {
  top: 1.35rem;
  right: 1.35rem;
}

.theme-toggle-icon {
  font-size: 1.05rem;
}

.menu-toggle span {
  width: 17px;
  background: currentColor;
}

.page-hero,
.section,
.doc-content,
.doc-example-card,
.kpi-card,
.info-card,
.price-card,
.link-card,
.image-frame,
.blog-list article,
.docs-sidebar,
.report-preview,
.report-preview-tabs,
.report-preview-content,
.faq-list details,
.portal-card,
.portal-tabs,
.portal-profile-group,
.portal-runner-card,
.landing-console,
.landing-summary-row,
.landing-role-card,
.landing-capability-card,
.landing-control-card,
.landing-step-card,
.landing-cta-panel,
.pricing-summary-card,
.docs-overview-card,
.docs-overview-stat,
.portal-summary-card,
.portal-auth-step,
.portal-auth-copy,
.table-wrap,
.portal-license-table {
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-elevated);
  box-shadow: var(--shadow-card);
}

.page-hero,
.section {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2vw, 2rem);
}

.page-hero::before,
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(42, 123, 233, 0.08), transparent 45%),
    radial-gradient(circle at top right, rgba(21, 63, 135, 0.12), transparent 28%);
  pointer-events: none;
}

.page-hero > *,
.section > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.section h2,
.section h3,
.doc-content h1,
.doc-content h2,
.doc-content h3,
.portal-card h2,
.portal-card h3,
.site-footer h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  color: var(--text);
}

.page-hero h1,
.doc-content h1 {
  font-size: clamp(2.2rem, 3.2vw, 4rem);
  line-height: 0.98;
}

.page-hero p,
.section p,
.section li,
.doc-content p,
.doc-content li,
.image-frame figcaption,
.site-footer a,
.footer-bottom,
.post-meta,
.breadcrumb,
.faq-list summary,
.portal-form-help,
.portal-auth-switch,
.pricing-summary-card p,
.docs-overview-card span,
.docs-overview-stat p,
.portal-summary-card p,
.portal-auth-copy p,
.portal-auth-step p {
  color: var(--text-soft);
}

.pill-row,
.landing-chip-list,
.landing-protocol-strip,
.portal-runner-meta,
.landing-link-row,
.doc-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill,
.landing-chip-list span,
.landing-protocol-strip span,
.landing-console-badge,
.landing-mini-kicker,
.landing-kicker,
.landing-eyebrow,
.portal-summary-label,
.pricing-summary-label,
.landing-node-label {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.34rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-mini-kicker,
.landing-kicker,
.landing-eyebrow,
.landing-node-label {
  color: var(--text);
}

.hero-shell,
.pricing-hero-grid,
.portal-hero-grid,
.portal-auth-layout,
.landing-workflow-shell,
.landing-proof-shell,
.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 1.25rem;
  align-items: start;
}

.docs-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: visible;
}

.landing-hero,
.pricing-hero,
.portal-hero {
  background:
    radial-gradient(circle at top left, rgba(42, 123, 233, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(21, 63, 135, 0.14), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-elevated);
}

.landing-actions,
.pricing-summary-grid,
.portal-summary-grid,
.landing-stat-strip,
.docs-overview-grid,
.card-grid,
.pricing-grid,
.media-grid,
.doc-examples-grid,
.portal-action-grid,
.portal-runner-grid,
.blog-list,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.landing-actions {
  display: flex;
}

.landing-stat-strip,
.pricing-summary-grid,
.portal-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.landing-stat-card,
.pricing-summary-card,
.portal-summary-card,
.docs-overview-stat {
  border-radius: var(--radius-card);
  padding: 1rem 1.05rem;
}

.landing-stat-card strong,
.pricing-summary-card strong,
.portal-summary-card strong,
.docs-overview-stat strong {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.4vw, 2rem);
  line-height: 1;
  color: var(--text);
}

.landing-stat-card span,
.docs-overview-stat span {
  color: var(--text-soft);
}

.landing-console,
.landing-summary-row,
.landing-proof-item,
.landing-role-card,
.landing-capability-card,
.landing-control-card,
.landing-step-card,
.landing-cta-panel,
.docs-overview-card,
.portal-auth-copy,
.portal-auth-step {
  border-radius: var(--radius-card);
}

.landing-console {
  width: 100%;
  max-width: none;
  padding: 1.25rem;
}

.landing-summary-list,
.landing-proof-list,
.landing-step-list,
.landing-visual-stack,
.portal-auth-steps {
  display: grid;
  gap: 0.8rem;
}

.landing-summary-row,
.landing-proof-item,
.landing-role-card,
.landing-capability-card,
.landing-control-card,
.landing-step-card,
.landing-cta-panel,
.docs-overview-card,
.portal-auth-step {
  padding: 1rem;
}

.landing-capability-grid-tight {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.landing-proof-shell,
.landing-workflow-shell {
  align-items: stretch;
}

.landing-proof-copy,
.hero-copy,
.pricing-hero-copy,
.portal-hero-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.pricing-hero-copy-wide,
.docs-overview-hero-copy {
  max-width: 940px;
}

.docs-overview-hero-stats {
  display: grid;
  gap: 0.85rem;
}

.docs-overview-stat {
  min-height: 0;
}

.docs-overview-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.docs-overview-search {
  display: block;
}

.docs-overview-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.docs-overview-card {
  padding: 1rem;
}

.docs-overview-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.docs-overview-card-head h3 {
  margin: 0;
}

.docs-overview-link-list {
  display: grid;
  gap: 0.72rem;
}

.docs-overview-link-list a {
  display: grid;
  gap: 0.22rem;
  padding: 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: var(--surface-soft);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.docs-overview-link-list a strong {
  color: inherit;
}

.docs-sidebar {
  position: sticky;
  top: 7rem;
  align-self: start;
  max-height: calc(100vh - 8rem);
  overflow: auto;
  border-radius: var(--radius-card);
  padding: 1rem;
}

.docs-sidebar h4 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
}

.docs-sidebar a,
.portal-tabs a,
.portal-tab-sub,
.report-preview-tabs button,
.doc-code-language-tab {
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.docs-sidebar a,
.portal-tabs a,
.portal-tab-sub {
  display: block;
  padding: 0.78rem 0.9rem;
  color: var(--text-soft);
  font-weight: 700;
}

.docs-group {
  margin-top: 0.7rem;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.docs-group-title {
  padding: 0.82rem 0.95rem;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.docs-group-links {
  display: grid;
  gap: 0.38rem;
  padding: 0 0.65rem 0.65rem;
}

.docs-subgroup {
  margin-top: 0.2rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.3rem;
}

.docs-subgroup-title {
  padding: 0.68rem 0.78rem;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.docs-subgroup-links {
  display: grid;
  gap: 0.32rem;
  padding: 0 0.2rem 0.2rem 0.55rem;
}

.doc-content {
  border-radius: var(--radius);
  padding: clamp(1.35rem, 2.4vw, 2.35rem);
}

.doc-content h2 {
  margin-top: 2rem;
}

.doc-content h3 {
  margin-top: 1.3rem;
  font-size: 1.15rem;
}

.doc-example-block + .doc-example-block {
  margin-top: 1.5rem;
}

.doc-examples-grid,
.media-grid,
.portal-action-grid,
.portal-runner-grid,
.blog-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.doc-example-card,
.image-frame,
.blog-list article {
  border-radius: var(--radius-card);
  padding: 1rem;
}

.image-frame {
  gap: 0.8rem;
}

.image-frame img {
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.08);
}

.doc-code,
.inline-code,
.portal-inline-code {
  font-family: var(--font-mono);
}

.doc-code,
.portal-inline-code,
.inline-code {
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(3, 10, 20, 0.34);
}

.doc-code {
  padding: 1rem;
}

.inline-code,
.portal-inline-code {
  padding: 0.28rem 0.5rem;
}

.table-wrap,
.portal-license-table {
  overflow: auto;
  border-radius: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  padding: 0.88rem 1rem;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

ul.clean {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

ul.clean li {
  position: relative;
  padding-left: 1.15rem;
}

ul.clean li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.pricing-grid-pricing {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.price-card {
  border-radius: 26px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-card.highlight {
  background:
    linear-gradient(180deg, rgba(42, 123, 233, 0.12), rgba(21, 63, 135, 0.08)),
    var(--surface-elevated);
}

.price-card-head {
  display: grid;
  gap: 0.8rem;
}

.price-name {
  margin: 0;
}

.price-value {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
}

.price-label,
.price-period,
.price-tagline,
.price-savings {
  color: var(--text-soft);
}

.price-badge {
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-soft);
  color: var(--text);
}

.price-btn {
  width: 100%;
}

.price-feature-list {
  flex: 1 1 auto;
}

.price-cta {
  margin-top: auto;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-card);
}

.faq-list summary {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-list details[open] summary {
  margin-bottom: 0.8rem;
}

.blog-list article {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.portal-section {
  padding: clamp(1.25rem, 1.9vw, 1.8rem);
}

.portal-hero-grid {
  align-items: stretch;
}

.portal-summary-grid {
  align-content: stretch;
}

.portal-summary-card {
  padding: 1rem;
  border-radius: var(--radius-card);
}

.portal-tabs {
  position: sticky;
  top: 6.25rem;
  align-self: start;
  border-radius: 26px;
  padding: 1rem;
  display: grid;
  gap: 0.48rem;
}

.portal-tabs-intro {
  display: grid;
  gap: 0.35rem;
  padding: 0.2rem 0.1rem 0.75rem;
}

.portal-tabs-intro strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.portal-tab-group {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-soft);
}

.portal-tab-heading {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-tab-sublist {
  display: grid;
  gap: 0.38rem;
}

.portal-logout-form {
  margin-top: 0.8rem;
}

.portal-logout-form .link-btn {
  width: 100%;
}

.portal-content {
  display: grid;
  gap: 1rem;
}

.portal-auth-shell {
  min-height: 0;
}

.portal-auth-layout {
  align-items: stretch;
}

.portal-auth-copy,
.portal-auth-card {
  height: 100%;
}

.portal-auth-copy {
  padding: 1.15rem;
}

.portal-auth-card {
  max-width: 540px;
  width: 100%;
  margin-left: auto;
}

.portal-form,
.portal-inline-form {
  display: grid;
  gap: 0.8rem;
}

.portal-inline-form {
  align-items: center;
}

.portal-form label,
.portal-inline-form label {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portal-form input,
.portal-form select,
.portal-inline-form input,
.doc-search-input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.82rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.portal-form input:focus,
.portal-form select:focus,
.portal-inline-form input:focus,
.doc-search-input:focus {
  outline: 0;
  border-color: rgba(31, 143, 255, 0.38);
  box-shadow: var(--ring);
}

.portal-form select option,
.portal-form select optgroup {
  color: #12243d;
}

.portal-alert {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}

.portal-alert-error {
  border-color: rgba(255, 105, 105, 0.3);
  background: rgba(255, 105, 105, 0.1);
  color: #ffc1c1;
}

.portal-alert-success {
  border-color: rgba(77, 205, 136, 0.26);
  background: rgba(77, 205, 136, 0.1);
  color: #c7f6d7;
}

.portal-profile-group,
.portal-runner-card {
  border-radius: var(--radius-card);
  padding: 1rem;
}

.portal-form-stack {
  max-width: none;
}

.portal-inline-actions {
  gap: 0.45rem;
}

.report-preview {
  grid-template-columns: 260px minmax(0, 1fr);
}

.report-preview-tabs {
  border-radius: 22px;
  padding: 0.6rem;
}

.report-preview-tabs button {
  width: 100%;
  margin: 0;
  text-align: left;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  padding: 0.72rem 0.82rem;
  font-weight: 700;
}

.report-preview-content {
  border-radius: 22px;
  padding: 1rem;
}

.site-footer {
  margin-top: 0;
  padding-bottom: 2rem;
  border-top: 0;
  background: transparent;
}

.footer-grid,
.footer-bottom {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--surface-elevated);
  border-left: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
}

.footer-grid {
  border-top: 1px solid var(--border-strong);
  border-radius: 32px 32px 0 0;
  padding: 1.5rem 1.6rem 1.35rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0 0 32px 32px;
  padding: 0.9rem 1.6rem 1.25rem;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html[data-theme="light"] .site-header {
  background: transparent;
  border: 0;
}

html[data-theme="light"] .page-hero,
html[data-theme="light"] .section,
html[data-theme="light"] .doc-content,
html[data-theme="light"] .doc-example-card,
html[data-theme="light"] .price-card,
html[data-theme="light"] .blog-list article,
html[data-theme="light"] .docs-sidebar,
html[data-theme="light"] .faq-list details,
html[data-theme="light"] .portal-card,
html[data-theme="light"] .portal-tabs,
html[data-theme="light"] .portal-profile-group,
html[data-theme="light"] .portal-runner-card,
html[data-theme="light"] .pricing-summary-card,
html[data-theme="light"] .docs-overview-card,
html[data-theme="light"] .docs-overview-stat,
html[data-theme="light"] .portal-summary-card,
html[data-theme="light"] .portal-auth-step,
html[data-theme="light"] .portal-auth-copy,
html[data-theme="light"] .landing-console,
html[data-theme="light"] .landing-summary-row,
html[data-theme="light"] .landing-role-card,
html[data-theme="light"] .landing-capability-card,
html[data-theme="light"] .landing-control-card,
html[data-theme="light"] .landing-step-card,
html[data-theme="light"] .landing-cta-panel,
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .portal-license-table,
html[data-theme="light"] .footer-grid,
html[data-theme="light"] .footer-bottom {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.55)),
    var(--surface-elevated);
  border-color: var(--border-strong);
}

html[data-theme="light"] .page-hero p,
html[data-theme="light"] .section p,
html[data-theme="light"] .section li,
html[data-theme="light"] .doc-content p,
html[data-theme="light"] .doc-content li,
html[data-theme="light"] .image-frame figcaption,
html[data-theme="light"] .site-footer a,
html[data-theme="light"] .footer-bottom,
html[data-theme="light"] .post-meta,
html[data-theme="light"] .breadcrumb,
html[data-theme="light"] .faq-list summary,
html[data-theme="light"] .portal-form-help,
html[data-theme="light"] .portal-auth-switch,
html[data-theme="light"] .pricing-summary-card p,
html[data-theme="light"] .docs-overview-card span,
html[data-theme="light"] .docs-overview-stat p,
html[data-theme="light"] .portal-summary-card p,
html[data-theme="light"] .portal-auth-copy p,
html[data-theme="light"] .portal-auth-step p,
html[data-theme="light"] .landing-stat-card span,
html[data-theme="light"] .landing-summary-row p,
html[data-theme="light"] .landing-proof-item p,
html[data-theme="light"] .landing-capability-card p {
  color: var(--text-soft);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .docs-sidebar a,
html[data-theme="light"] .portal-tabs a,
html[data-theme="light"] .portal-tab-sub,
html[data-theme="light"] .report-preview-tabs button,
html[data-theme="light"] .doc-code-language-tab {
  color: var(--text-soft);
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .docs-sidebar a:hover,
html[data-theme="light"] .portal-tabs a:hover,
html[data-theme="light"] .portal-tab-sub:hover,
html[data-theme="light"] .docs-overview-link-list a:hover,
html[data-theme="light"] .report-preview-tabs button:hover,
html[data-theme="light"] .doc-code-language-tab:hover {
  background: rgba(21, 116, 234, 0.08);
  border-color: rgba(21, 116, 234, 0.18);
  color: var(--text);
}

html[data-theme="light"] .main-nav a.is-active,
html[data-theme="light"] .docs-sidebar a.is-active,
html[data-theme="light"] .portal-tabs a.is-active,
html[data-theme="light"] .portal-tab-sub.is-active,
html[data-theme="light"] .report-preview-tabs button.is-active,
html[data-theme="light"] .doc-code-language-tab.is-active {
  background: linear-gradient(135deg, rgba(29, 105, 218, 0.14), rgba(21, 63, 135, 0.12));
  border-color: rgba(21, 116, 234, 0.2);
  color: var(--text);
}

html[data-theme="light"] .link-btn,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-toggle {
  background: rgba(247, 250, 255, 0.92);
  border-color: var(--border-strong);
  color: var(--text);
}

html[data-theme="light"] .solid-btn {
  color: var(--accent-ink);
}

html[data-theme="light"] .doc-search-input,
html[data-theme="light"] .portal-form input,
html[data-theme="light"] .portal-form select,
html[data-theme="light"] .portal-inline-form input,
html[data-theme="light"] .portal-search-results,
html[data-theme="light"] .doc-code,
html[data-theme="light"] .inline-code,
html[data-theme="light"] .portal-inline-code {
  background: rgba(247, 250, 255, 0.9);
  border-color: var(--border-strong);
  color: var(--text);
}

html[data-theme="light"] th {
  background: rgba(233, 241, 251, 0.92);
  color: var(--text);
}

html[data-theme="light"] tbody tr:hover {
  background: rgba(21, 116, 234, 0.04);
}

html[data-theme="light"] .portal-alert-error {
  color: #8d2338;
}

html[data-theme="light"] .portal-alert-success {
  color: #0f6a42;
}

@media (max-width: 1200px) {
  .docs-layout,
  .pricing-hero-grid,
  .portal-hero-grid,
  .portal-auth-layout,
  .landing-proof-shell,
  .home-support-shell,
  .hero-shell {
    grid-template-columns: 1fr;
  }

  .docs-overview-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--max), calc(100% - 1.7rem));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    padding: 0.88rem;
    gap: 0.85rem;
    padding-right: 4.5rem;
  }

  .brand {
    gap: 0;
  }

  .brand-logo {
    width: 312px;
    flex-basis: 312px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-cta {
    position: relative;
    display: grid;
    grid-column: 1 / -1;
    gap: 0.55rem;
    margin-top: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-header.menu-open .main-nav a,
  .site-header.menu-open .header-cta a {
    width: 100%;
  }

  .docs-layout,
  .portal-shell,
  .report-preview {
    grid-template-columns: 1fr;
  }

  .docs-sidebar,
  .portal-tabs {
    position: static;
    top: auto;
    max-height: none;
  }

  .pricing-grid-pricing,
  .doc-examples-grid,
  .portal-action-grid,
  .portal-runner-grid,
  .blog-list,
  .home-focus-grid,
  .home-support-list,
  .docs-overview-grid {
    grid-template-columns: 1fr;
  }

  .price-card.highlight {
    transform: none;
  }

  .theme-toggle-fab {
    top: 1.05rem;
    right: 0.95rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .site-main {
    padding-top: 1rem;
  }

  .header-inner {
    padding-right: 4rem;
  }

  .brand-logo {
    width: min(248px, calc(100% - 4.9rem));
    flex-basis: min(248px, calc(100% - 4.9rem));
  }

  .page-hero,
  .section,
  .doc-content,
  .portal-tabs,
  .portal-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .link-btn,
  .solid-btn {
    width: 100%;
  }

  .landing-actions,
  .landing-link-row {
    display: grid;
  }

  .home-stat-grid {
    grid-template-columns: 1fr;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 220;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--text);
  box-shadow: var(--shadow-card);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body.menu-open {
  overflow: hidden;
}

.header-inner {
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "brand nav cta controls";
  align-items: center;
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  grid-area: controls;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  grid-area: brand;
  min-width: 0;
  width: clamp(320px, 30vw, 458px);
  max-width: min(100%, 458px);
}

.brand-logo {
  display: block;
  width: clamp(186px, 16vw, 258px);
  height: auto;
  max-width: 100%;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 1vw + 0.92rem, 1.72rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.brand-tagline {
  display: block;
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.main-nav {
  grid-area: nav;
}

.header-cta {
  grid-area: cta;
}

.site-header.menu-open .main-nav,
.site-header.menu-open .header-cta {
  padding: 0.65rem;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface-elevated);
}

.faq-toolbar {
  align-items: stretch;
}

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

.faq-empty-state {
  margin: 0.4rem 0 0;
  border: 1px dashed var(--border-strong);
  border-radius: 20px;
  padding: 1rem 1.05rem;
  background: var(--surface-soft);
  color: var(--text-soft);
}

.docs-overview-toolbar .landing-link-row {
  justify-content: flex-end;
  align-items: end;
}

.docs-overview-grid article[hidden],
[data-faq-item][hidden] {
  display: none !important;
}

.js .reveal {
  opacity: 1;
  transform: translate3d(0, 12px, 0);
  transition: transform 0.45s ease;
}

.js .reveal.is-visible {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "nav"
      "cta";
    padding: 0.88rem 0.88rem 0.78rem;
    gap: 0.72rem;
  }

  .header-controls {
    position: absolute;
    top: 0.88rem;
    right: 0.88rem;
    gap: 0.5rem;
    align-self: auto;
    justify-self: auto;
  }

  .brand {
    width: auto;
    max-width: calc(100% - 7rem);
    gap: 0.74rem;
  }

  .brand-logo {
    width: clamp(128px, 21vw, 172px);
  }

  .brand-copy {
    justify-content: center;
    text-align: center;
    align-items: center;
    min-width: 0;
  }

  .brand-wordmark {
    font-size: clamp(1.16rem, 0.9vw + 0.94rem, 1.44rem);
    white-space: nowrap;
  }

  .brand-tagline {
    font-size: 0.62rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-controls .menu-toggle {
    display: inline-flex;
    position: static;
    top: auto;
    right: auto;
    transform: none;
  }

  .main-nav,
  .header-cta {
    justify-self: stretch;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-cta {
    width: 100%;
    margin-top: 0;
    gap: 0.5rem;
    align-content: start;
  }

  .site-header.menu-open .main-nav {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .site-header.menu-open .main-nav a {
    justify-content: flex-start;
    padding: 0.82rem 0.95rem;
  }

  .site-header.menu-open .header-cta {
    grid-template-columns: 1fr;
  }

  .docs-overview-toolbar .landing-link-row {
    justify-content: flex-start;
  }

  .faq-stat-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.82rem 0.82rem 0.68rem;
  }

  .header-controls {
    top: 0.82rem;
    right: 0.82rem;
    gap: 0.45rem;
  }

  .brand {
    gap: 0.58rem;
    max-width: calc(100% - 5.85rem);
  }

  .brand-logo {
    width: clamp(100px, 28vw, 122px);
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-wordmark {
    font-size: 1.08rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .docs-overview-toolbar .landing-link-row,
  .faq-stat-strip,
  .landing-metric-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 0.74rem 0.74rem 0.62rem;
  }

  .brand {
    gap: 0.5rem;
    max-width: calc(100% - 5.35rem);
  }

  .brand-logo {
    width: clamp(92px, 29vw, 104px);
  }

  .brand-wordmark {
    font-size: 0.98rem;
  }

  .header-controls {
    top: 0.74rem;
    right: 0.74rem;
    gap: 0.4rem;
  }

  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

.doc-route-tabs-block {
  display: grid;
  gap: 1rem;
}

.doc-route-kicker {
  margin: 0;
  color: var(--link);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-route-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.doc-route-tab {
  min-height: 44px;
  padding: 0.72rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.doc-route-tab:hover {
  border-color: rgba(132, 199, 255, 0.28);
  color: var(--text);
  transform: translateY(-1px);
}

.doc-route-tab.is-active {
  border-color: rgba(31, 143, 255, 0.24);
  background: linear-gradient(135deg, rgba(42, 123, 233, 0.18), rgba(21, 63, 135, 0.16));
  color: var(--text);
}

.doc-sink-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.doc-sink-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(42, 123, 233, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-elevated);
  box-shadow: var(--shadow-card);
}

.doc-sink-card span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.34rem 0.68rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc-sink-card strong {
  font-family: var(--font-display);
  font-size: 1.14rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.doc-sink-card p {
  margin: 0;
}

.doc-sink-card .link-btn {
  width: fit-content;
}

@media (max-width: 640px) {
  .doc-route-tabbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .doc-route-tab {
    width: 100%;
    justify-content: center;
  }
}
