:root {
  --hero-stage-height: 640px;
  --table-min-width: 720px;
  --promo-bg: #16222E;
  --promo-text: #F7FBFF;
  --tier-current-ring: rgba(195, 33, 206, .28);
  --ticker-gap: 34px;
}
.hero {
  position: relative;
  min-height: 740px;
  padding-top: 36px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  overflow-x: clip;
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 52px;
  align-items: center;
}
.hero-copy,
.hero-visual {
  min-width: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-badge {
  margin-bottom: 18px;
}
.hero-title {
  margin-bottom: 16px;
  font-size: 60px;
}
.hero-lead {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions {
  margin-top: 24px;
  margin-bottom: 20px;
}
.trust-list {
  max-width: 610px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.trust-list li {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-muted);
  font-size: 13px;
}
.trust-list svg {
  flex: 0 0 auto;
  color: var(--color-success);
}
.hero-furniture {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}
.furniture-label {
  margin-bottom: 7px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}
.platform-strip,
.flag-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.platform-mark,
.flag-mark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}
.platform-mark svg,
.flag-mark svg {
  flex: 0 0 auto;
}
.platform-mark svg {
  color: var(--color-teal);
}
.flag-shape {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 3px;
}
.hero-visual {
  display: flex;
  justify-content: flex-end;
}
.device-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: var(--hero-stage-height);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background-color: var(--color-panel-strong);
  background-image: radial-gradient(var(--color-border) 1px, transparent 1px);
  background-size: 20px 20px;
  box-shadow: var(--shadow-soft);
}
.device-links {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.device-link {
  fill: none;
  stroke: var(--color-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  opacity: .38;
}
.device-node {
  fill: var(--color-teal);
  opacity: .38;
}
.control-card {
  position: absolute;
  z-index: 2;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}
.route-control {
  top: 52px;
  left: 42px;
  width: 268px;
  animation: device-float 8s ease-in-out infinite;
}
.switch-control {
  top: 256px;
  right: 38px;
  width: 238px;
  animation: device-float 7s ease-in-out .9s infinite;
}
.usage-control {
  bottom: 52px;
  left: 60px;
  width: 272px;
  animation: device-float 6.4s ease-in-out 1.7s infinite;
}
.control-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.control-title {
  font-size: 13.5px;
  font-weight: 800;
}
.control-tag {
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--color-bg);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.route-options {
  padding: 0;
  display: grid;
  gap: 4px;
  list-style: none;
}
.route-options li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}
.route-options li.is-selected {
  background: var(--color-bg);
}
.route-name {
  flex: 1;
}
.route-radio {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
}
.route-radio.is-selected {
  position: relative;
  border-color: var(--color-success);
  background: var(--color-success);
}
.route-radio.is-selected::after {
  position: absolute;
  inset: 4px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  content: "";
}
.switch-body {
  padding: 10px 0 14px;
  display: flex;
  justify-content: center;
}
.device-toggle {
  position: relative;
  width: 60px;
  height: 32px;
  border: 2px solid var(--color-teal);
  border-radius: var(--radius-pill);
  background: var(--color-white);
}
.device-toggle::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--color-teal);
  content: "";
}
.connection-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12.5px;
  font-weight: 700;
}
.connection-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  animation: state-breathe 3.2s ease-in-out infinite;
}
.usage-body {
  display: flex;
  align-items: center;
  gap: 16px;
}
.usage-ring {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}
.ring-track {
  fill: none;
  stroke: var(--color-panel-strong);
  stroke-width: 11;
}
.ring-arc {
  fill: none;
  stroke: url(#usageGradient);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 198 302;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}
.ring-start {
  stop-color: var(--color-ring-start);
}
.ring-end {
  stop-color: var(--color-ring-end);
}
.usage-key {
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}
.usage-key li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.usage-swatch {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 3px;
}
.usage-swatch.used {
  background: var(--color-ring-start);
}
.usage-swatch.available {
  background: var(--color-panel-strong);
}
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-connector::before {
  width: 1.5px;
  height: 44px;
  background: var(--color-border);
  content: "";
}
.flow-medallion {
  width: 34px;
  height: 34px;
  margin: 2px 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-teal);
  box-shadow: var(--shadow-soft);
}
.flow-panel {
  padding: 48px 56px;
}
.tabs {
  min-width: 0;
}
.tab-list {
  max-width: 100%;
  padding: 6px;
  display: inline-flex;
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel-strong);
  -webkit-overflow-scrolling: touch;
}
.tab-list [role="tab"] {
  min-width: 24px;
  min-height: 40px;
  padding: 8px 18px;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-muted);
  font-weight: 750;
}
.tab-list [role="tab"][aria-selected="true"],
.tab-list [role="tab"].is-active {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}
.tab-panel {
  padding-top: 28px;
}
.tab-panel[hidden] {
  display: none;
}
.toc-tabs {
  position: sticky;
  z-index: 40;
  top: 12px;
  max-width: 100%;
  margin-bottom: 34px;
  padding: 7px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.toc-tabs::-webkit-scrollbar {
  display: none;
}
.toc-tabs a {
  min-width: max-content;
  min-height: 38px;
  padding: 7px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 750;
}
.toc-tabs a:hover,
.toc-tabs a.is-current,
.toc-tabs a[aria-current="location"] {
  background: var(--color-panel-strong);
  color: var(--color-accent-dark);
}
.toc-sticky-host {
  position: sticky;
  z-index: 39;
  top: var(--toc-host-top);
}
body:has(.toc-tabs) section[id] {
  scroll-margin-top: var(--toc-offset);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  overflow: clip;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
}
.faq-item summary {
  min-height: 58px;
  padding: 17px 54px 17px 20px;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 750;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  position: absolute;
  right: 20px;
  color: var(--color-accent-dark);
  font-size: 24px;
  line-height: 1;
  content: "+";
  transition: transform var(--transition-fast);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 20px 20px;
  color: var(--color-muted);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.price-card {
  position: relative;
  min-width: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-soft);
}
.price-card.is-current {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 5px var(--tier-current-ring), var(--shadow-card);
}
.value-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.price-card-name {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 800;
}
.price {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
}
.price small {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 650;
}
.price-features {
  margin-bottom: 25px;
  padding-left: 20px;
  color: var(--color-muted);
}
.price-card .button {
  width: 100%;
  margin-top: auto;
}
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  -webkit-overflow-scrolling: touch;
}
.data-table,
.server-table,
.comparison-table {
  width: 100%;
  min-width: var(--table-min-width);
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td,
.server-table th,
.server-table td,
.comparison-table th,
.comparison-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}
.data-table th,
.server-table th,
.comparison-table th {
  background: var(--color-panel-strong);
  color: var(--color-text);
  font-weight: 800;
}
.data-table td:first-child,
.server-table td:first-child,
.comparison-table td:first-child {
  color: var(--color-text);
  font-weight: 700;
}
.data-table tr:last-child td,
.server-table tr:last-child td,
.comparison-table tr:last-child td {
  border-bottom: 0;
}
.region-row th {
  background: var(--color-bg);
  color: var(--color-accent-dark);
}
.prose > .data-table {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  min-width: 0;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}
.platform-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-panel-strong);
  color: var(--color-teal);
}
.platform-icon svg {
  width: 25px;
  height: 25px;
}
.platform-name {
  font-weight: 800;
}
.platform-card .button {
  width: 100%;
  margin-top: auto;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.article-card {
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.article-meta {
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}
.article-card h3 {
  font-size: 21px;
}
.article-card p {
  color: var(--color-muted);
}
.article-link {
  min-height: 32px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--color-accent-dark);
  font-weight: 750;
}
.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-panel-strong);
}
.callout-title {
  margin-bottom: 4px;
  font-weight: 800;
}
.end-promo {
  margin-top: 56px;
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius-xl);
  background: var(--promo-bg);
  color: var(--promo-text);
  box-shadow: var(--shadow-card);
}
.end-promo h2,
.end-promo h3 {
  color: var(--promo-text);
}
.end-promo p {
  margin-bottom: 0;
  color: var(--color-border);
}
.ticker {
  max-width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: var(--color-panel);
}
.ticker-track {
  width: max-content;
  padding-block: 15px;
  display: flex;
  gap: var(--ticker-gap);
  will-change: transform;
}
.ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--ticker-gap);
}
.ticker-item {
  white-space: nowrap;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.ticker-item::before {
  margin-right: 12px;
  color: var(--color-success);
  content: "●";
}
.preview-main {
  padding-bottom: 96px;
}
.preview-section {
  padding-top: 84px;
  padding-bottom: 20px;
}
.preview-section-title {
  margin-bottom: 30px;
}
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.swatch {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}
.swatch-color {
  height: 84px;
}
.swatch-bg {
  background: var(--color-bg);
}
.swatch-panel {
  background: var(--color-panel);
}
.swatch-panel-strong {
  background: var(--color-panel-strong);
}
.swatch-accent {
  background: var(--color-accent);
}
.swatch-accent-dark {
  background: var(--color-accent-dark);
}
.swatch-text {
  background: var(--color-text);
}
.swatch-muted {
  background: var(--color-muted);
}
.swatch-success {
  background: var(--color-success);
}
.swatch-warning {
  background: var(--color-warning);
}
.swatch-error {
  background: var(--color-error);
}
.swatch-info {
  padding: 12px;
  display: grid;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
}
.type-specimen {
  padding: 38px;
}
.type-display {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.12;
}
.type-body {
  max-width: 720px;
  color: var(--color-muted);
  font-size: 18px;
}
.type-mono {
  color: var(--color-teal);
  font-family: var(--font-mono);
}
.preview-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.preview-component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.preview-card-pad {
  padding: 26px;
}
.static-footer {
  margin-top: 90px;
}
.flag-red {
  fill: var(--color-flag-red);
}
.flag-white {
  fill: var(--color-white);
}
.flag-navy {
  fill: var(--color-flag-navy);
}
.flag-blue {
  fill: var(--color-flag-blue);
}
.flag-border {
  fill: none;
  stroke: var(--color-border);
}
@keyframes device-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes state-breathe {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .5;
    transform: scale(.8);
  }
}
@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    justify-content: center;
  }
  .pricing-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .swatch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  :root {
    --hero-stage-height: 510px;
    --table-min-width: 680px;
  }
  .hero {
    padding-top: 34px;
    padding-bottom: 52px;
  }
  .hero-grid {
    gap: 38px;
  }
  .hero-title {
    font-size: clamp(28px, 10vw, 40px);
  }
  .hero-lead {
    font-size: 15px;
    line-height: 1.65;
  }
  .trust-list li {
    max-width: 100%;
    white-space: normal;
  }
  .platform-strip,
  .flag-strip {
    gap: 10px 14px;
  }
  .ticker-track {
    width: 100%;
    padding-inline: var(--gutter);
    transform: none !important;
  }
  .ticker-group {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .ticker-group:nth-child(n + 2) {
    display: none;
  }
  .device-stage {
    max-width: 410px;
  }
  .route-control {
    top: 28px;
    left: 18px;
    width: min(244px, calc(100% - 54px));
  }
  .switch-control {
    top: 205px;
    right: 16px;
    width: 210px;
  }
  .usage-control {
    bottom: 28px;
    left: 22px;
    width: min(250px, calc(100% - 50px));
  }
  .flow-panel {
    padding: 30px 22px;
  }
  .pricing-grid,
  .article-grid,
  .platform-grid,
  .preview-component-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-card.is-current {
    padding-top: 62px;
  }
  .end-promo {
    padding: 28px 22px;
    grid-template-columns: minmax(0, 1fr);
  }
  .end-promo .button {
    width: 100%;
  }
  .type-specimen {
    padding: 25px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .route-control,
  .switch-control,
  .usage-control,
  .connection-dot {
    animation: none;
  }
}