.flag-white {
  fill: var(--color-white);
}

.flag-red {
  fill: var(--color-flag-red);
}

.flag-blue {
  fill: var(--color-flag-blue);
}

.flag-green {
  fill: var(--color-flag-green);
}

.sub {
  max-width: 34em;
}

.cta-row,
.trust-row,
.plat-row,
.flag-row {
  max-width: 100%;
}

.win {
  max-width: 100%;
}

.feature-section {
  background-image: radial-gradient(var(--texture-dot) 1px, var(--color-transparent) 1.5px);
  background-size: 16px 16px;
}

.feature-eyebrow {
  border-color: var(--line-on-ink);
  background: var(--fill-ink-soft);
  color: var(--color-accent);
}

.feature-section .section-head p {
  color: var(--color-on-ink-muted);
}

.feature-index button {
  border-radius: 0;
}

.feature-detail [role="tabpanel"][hidden] {
  display: none;
}

.feature-detail h3 {
  color: var(--color-on-ink);
}

.feature-detail p {
  color: var(--color-on-ink-muted);
}

.feature-detail p:last-child {
  margin-bottom: 0;
}

.feature-detail-head {
  display: flex;
  min-height: 82px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-on-ink);
  padding-bottom: 18px;
}

.feature-code {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.09em;
}

.feature-line-art {
  width: min(180px, 48%);
  color: var(--color-accent);
  opacity: 0.78;
}

.route-preview-section {
  background: var(--color-page);
}

.route-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  margin-bottom: 32px;
}

.route-intro p {
  color: var(--color-text-muted);
}

.server-status-block {
  margin-top: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: clamp(22px, 4vw, 36px);
}

.server-status-copy {
  max-width: 720px;
  margin-bottom: 24px;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 100%;
}

.srv-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 12px 14px;
}

.srv-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--fill-success);
  animation: server-breathe 1800ms ease-in-out infinite;
}

.srv-flag {
  width: 24px;
  height: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
}

.srv-name {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text);
  font-weight: 700;
}

.srv-type {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  color: var(--color-text-muted);
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

@keyframes server-breathe {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.section-link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.pricing-preview-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-soft);
}

.plan-summary {
  margin-bottom: 22px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.6fr);
  gap: 30px;
  margin-top: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: clamp(24px, 4vw, 38px);
}

.traffic-pack-panel h3 {
  margin-top: 16px;
}

.traffic-pack-panel p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.traffic-pack-facts {
  display: flex;
  align-content: center;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.traffic-pack-facts .fact-chip {
  width: 100%;
  background: var(--color-surface-soft);
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.pricing-notes > div {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 24px;
}

.pricing-notes h3 {
  font-size: 20px;
}

.pricing-notes p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.article-preview-section {
  background: var(--color-page);
}

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

.article-context {
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-top: 32px;
  padding-bottom: 32px;
}

.article-context h3 {
  max-width: 760px;
}

.article-context p {
  max-width: 920px;
  color: var(--color-text-muted);
}

.article-context p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .route-intro,
  .traffic-pack-panel {
    grid-template-columns: 1fr;
  }

  .server-status {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-browser {
    display: block;
  }

  .feature-index {
    display: grid;
    overflow: visible;
    margin-bottom: 18px;
  }

  .feature-index button {
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid var(--line-on-ink);
    border-left: 3px solid var(--line-on-ink);
  }

  .feature-index button[aria-selected="true"],
  .feature-index button.is-active {
    border-bottom-color: var(--line-on-ink);
    border-left-color: var(--color-accent);
  }

  .feature-index > .feature-detail {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .feature-detail-head {
    min-height: 0;
    flex-direction: column;
  }

  .feature-line-art {
    width: 160px;
    max-width: 100%;
  }

  .pricing-notes,
  .article-preview-section .article-grid {
    grid-template-columns: 1fr;
  }

  .section-link-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .srv-type {
    grid-column: 3;
  }

  .srv-ms,
  .srv-bw {
    grid-row: 1;
  }

  .srv-ms {
    grid-column: 4;
  }

  .srv-bw {
    grid-column: 4;
    grid-row: 2;
  }

  .traffic-pack-panel,
  .pricing-notes > div,
  .server-status-block {
    padding: 20px;
  }
}

@media (max-width: 390px) {
  .srv-row {
    gap: 7px;
    padding-inline: 10px;
  }

  .srv-flag {
    display: none;
  }

  .srv-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .srv-type {
    grid-column: 2;
  }

  .srv-ms,
  .srv-bw {
    grid-column: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .srv-dot {
    animation: none;
    opacity: 1;
    transform: none;
  }
}