.home-hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
}

.home-hero-grid {
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  gap: clamp(34px, 5vw, 68px);
}

.home-hero .hero-copy h1 {
  font-size: clamp(52px, 5.1vw, 70px);
}

.home-hero .hero-lead {
  margin-top: 20px;
  margin-bottom: 0;
}

.home-hero .client-window {
  transform: rotate(-.7deg) translateY(0);
  animation: home-window-float 7s ease-in-out infinite;
}

.hero-platforms {
  gap: 8px 15px;
  margin-top: 17px;
  padding-top: 14px;
}

.hero-platforms .platform-mark {
  font-size: 11px;
}

.hero-platforms .platform-mark svg {
  width: 18px;
  height: 18px;
}

.hero-flags {
  gap: 6px;
  margin-top: 11px;
}

.hero-flags .flag-pill {
  min-height: 27px;
  padding-top: 3px;
  padding-right: 9px;
  padding-bottom: 3px;
  font-size: 11px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading > p,
.section-heading > div > p {
  color: var(--color-muted);
}

.ledger-heading {
  max-width: 850px;
}

.split-heading,
.article-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, .85fr) minmax(280px, .65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.split-heading p,
.article-heading p {
  margin-bottom: 0;
}

.location-guidance {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 24px;
}

.location-guidance p {
  max-width: 900px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.text-link {
  display: inline-flex;
  min-height: 36px;
  flex: 0 0 auto;
  align-items: center;
  color: var(--color-brand);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--color-warning);
  text-underline-offset: .22em;
}

.status-shell {
  display: grid;
  grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}

.status-copy h3 {
  font-size: 22px;
}

.status-copy p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.srv-row {
  display: grid;
  min-width: 0;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  gap: 9px;
  align-items: center;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
  background: var(--color-panel);
  box-shadow: 0 1px 2px var(--color-shadow-soft);
}

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

.srv-flag {
  display: inline-flex;
  width: 22px;
  height: 16px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-flag-edge);
  border-radius: var(--radius-small);
}

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

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

.srv-ms,
.srv-bw {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-heading {
  max-width: 850px;
}

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

.pack-note {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-panel-soft);
}

.pack-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-brand);
}

.pack-note p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.fact-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  overflow: hidden;
  background: var(--color-panel);
  box-shadow: var(--shadow-panel);
}

.fact-cell {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--color-line);
}

.fact-cell:last-child {
  border-right: 0;
}

.fact-cell strong,
.fact-cell span {
  display: block;
}

.fact-cell strong {
  margin-bottom: 8px;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.15;
}

.fact-cell > span {
  color: var(--color-muted);
  font-size: 13px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: var(--color-line);
}

.reason-grid article {
  padding: 28px;
  background: var(--color-panel);
}

.reason-grid h3 {
  font-size: 22px;
}

.reason-grid p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-reading {
  max-width: 850px;
}

.faq-more,
.article-more {
  margin-top: 28px;
  margin-bottom: 0;
}

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

.home-article-grid .article-card h3 {
  font-size: 19px;
}

@keyframes home-window-float {
  0%,
  100% {
    transform: rotate(-.7deg) translateY(0);
  }

  50% {
    transform: rotate(.2deg) translateY(-8px);
  }
}

@keyframes server-dot-breathe {
  0%,
  100% {
    opacity: .55;
    transform: scale(.86);
  }

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

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

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

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

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

  .home-hero .hero-device {
    order: 0;
  }

  .home-hero .hero-copy {
    order: 1;
  }

  .home-hero .client-window {
    max-width: 700px;
    margin-inline: auto;
  }

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

  .fact-cell:nth-child(2) {
    border-right: 0;
  }

  .fact-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-line);
  }
}

@media (max-width: 768px) {
  .home-hero .hero-copy h1 {
    font-size: clamp(28px, 9.8vw, 40px);
  }

  .home-hero .client-window {
    animation: none;
  }

  .split-heading,
  .article-heading,
  .status-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .location-guidance,
  .pack-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .reason-grid,
  .home-article-grid {
    grid-template-columns: 1fr;
  }

  .fact-cell {
    min-height: 112px;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .home-hero .hero-device {
    margin-bottom: 6px;
  }

  .hero-platforms {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-flags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-flags .flag-pill {
    width: 100%;
    justify-content: flex-start;
  }

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

  .fact-cell,
  .fact-cell:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .fact-cell:last-child {
    border-bottom: 0;
  }

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

  .srv-type {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .client-window,
  .srv-dot {
    animation: none;
  }
}