:root {
  --home-hero-copy-max: 760px;
  --home-status-min: 280px;
  --home-feature-copy-max: 760px;
  --home-band-height: 70px;
  --home-card-gap: 18px;
  --home-icon-size: 42px;
  --home-section-line: 1px;
}

.hero-preview {
  min-height: calc(100svh - var(--header-height));
}

.hero-inner {
  padding-top: clamp(28px, 5vw, 52px);
}

.hero-copy {
  max-width: var(--home-hero-copy-max);
}

.hero-copy strong {
  color: var(--color-text);
}

.hero-stage {
  margin-top: 26px;
}

.client-window {
  text-align: initial;
}

.home-fact-band {
  min-height: var(--home-band-height);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
}

.home-fact-band-inner {
  display: grid;
  min-height: var(--home-band-height);
  align-items: center;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-fact-band-inner span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.home-fact-band-inner span:first-child {
  border-left: 1px solid var(--color-border);
}

.home-fact-band-inner b {
  color: var(--color-accent);
  font-size: 15px;
}

.feature-details {
  min-width: 0;
}

.feature-detail {
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.feature-detail p {
  max-width: var(--home-feature-copy-max);
}

.home-principles {
  max-width: calc(var(--reading-max) + 160px);
  margin-top: 40px;
  margin-left: auto;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-raised);
  padding: clamp(24px, 4vw, 38px);
  color: var(--color-text-muted);
}

.home-principles h3 {
  margin-bottom: 12px;
}

.section-route-preview,
.pricing-preview,
.blog-preview {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
}

.route-guidance {
  display: grid;
  max-width: var(--reading-max);
  gap: 8px;
  margin-top: 28px;
}

.route-guidance h3 {
  margin-bottom: 2px;
}

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

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: start;
  color: var(--color-accent);
  font-weight: 680;
}

.text-link:hover {
  color: var(--color-text);
}

.server-status-block {
  margin-top: 56px;
  border-top: 1px solid var(--color-border);
  padding-top: 36px;
}

.server-status-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.server-status-heading h3 {
  margin-bottom: 0;
}

.server-status-heading > p {
  max-width: 480px;
  margin-bottom: 0;
  text-align: right;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(var(--home-status-min), 1fr));
  gap: 10px;
}

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

.srv-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success-glow);
  animation: srv-breathe 2.6s ease-in-out infinite;
}

.srv-flag {
  width: 26px;
  height: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-xs);
  object-fit: cover;
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  padding: 3px 8px;
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.srv-bw {
  color: var(--color-accent);
}

.client-callout {
  margin-top: 24px;
}

.platform-card .btn-secondary {
  width: 100%;
}

.platform-card p {
  min-height: 66px;
}

.plan-audience {
  min-height: 92px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.traffic-pack-note {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  margin-top: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-raised);
  padding: clamp(24px, 4vw, 38px);
}

.traffic-pack-note h3 {
  margin-bottom: 8px;
}

.traffic-pack-note p:last-child {
  max-width: 820px;
  color: var(--color-text-muted);
}

.faq-layout {
  max-width: calc(var(--reading-max) + 220px);
}

.faq-more,
.blog-more {
  margin-top: 22px;
}

.blog-preview {
  border-bottom: 0;
}

.article-card h3 a {
  transition: color var(--transition-fast);
}

.article-card h3 a:hover {
  color: var(--color-accent);
}

@keyframes srv-breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.82);
  }

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

@media (max-width: 1080px) {
  .home-fact-band-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-fact-band-inner span:nth-child(2) {
    border-right: 0;
  }

  .home-fact-band-inner span:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

  .platform-card p {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .server-status {
    grid-template-columns: 1fr;
  }

  .server-status-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .server-status-heading > p {
    text-align: left;
  }

  .traffic-pack-note {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .traffic-pack-note .btn-secondary {
    justify-self: start;
  }
}

@media (max-width: 768px) {
  .hero-preview {
    min-height: auto;
  }

  .hero-stage {
    margin-top: 28px;
  }

  .home-fact-band-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .feature-detail {
    gap: 18px;
  }

  .feature-detail-icon {
    width: 58px;
    height: 58px;
  }

  .home-principles {
    margin-top: 24px;
  }

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

  .srv-type {
    display: none;
  }

  .plan-audience {
    min-height: auto;
  }
}

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

  .platform-mark {
    justify-content: center;
  }

  .flag-strip {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flag-label {
    justify-content: center;
  }

  .home-fact-band-inner {
    grid-template-columns: 1fr;
  }

  .home-fact-band-inner span,
  .home-fact-band-inner span:first-child {
    border-right: 0;
    border-left: 0;
  }

  .home-fact-band-inner span + span {
    border-top: 1px solid var(--color-border);
  }

  .srv-row {
    grid-template-columns: 8px 26px minmax(0, 1fr) auto;
    gap: 8px;
    padding-inline: 10px;
  }

  .srv-bw {
    display: none;
  }

  .traffic-pack-note .btn-secondary {
    width: 100%;
  }

  .window-body {
    min-height: auto;
  }

  .window-list {
    padding-bottom: 4px;
  }
}

@media (max-width: 380px) {
  .platform-strip,
  .flag-strip {
    grid-template-columns: 1fr;
  }

  .platform-mark,
  .flag-label {
    justify-content: flex-start;
  }

  .srv-ms {
    font-size: 10px;
  }
}

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