/* Homepage hierarchy: append after the shared visual-polish stylesheet. */
[data-route="home"] .hero-focus-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  max-width: 100%;
  margin-top: 24px;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
[data-route="home"] .hero-focus-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding-block: 4px;
  color: rgba(255, 255, 255, .84);
  white-space: nowrap;
  text-underline-offset: 5px;
}
[data-route="home"] .hero-focus-nav a + a::before {
  display: inline-block;
  margin-inline: 12px;
  color: rgba(255, 255, 255, .4);
  content: "·";
}
[data-route="home"] .hero-focus-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}
[data-route="home"] .hero-focus-nav a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

/* Equal desktop cards keep the original copy, colors and list treatment.
   The outer frame and one internal rule per boundary avoid doubled borders. */
[data-route="home"] .platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0;
  border: 2px solid var(--ink);
}
[data-route="home"] .platform-grid > .platform-card {
  min-height: 0;
  min-width: 0;
  padding: var(--rhythm-panel, 32px);
  border: 0;
  border-right: 2px solid var(--ink);
  border-radius: 0;
}
[data-route="home"] .platform-grid > .platform-card:nth-child(even) {
  border-right: 0;
}
[data-route="home"] .platform-grid > .platform-card:nth-child(-n + 2) {
  border-bottom: 2px solid var(--ink);
}
[data-route="home"] .platform-card .platform-number {
  margin-bottom: 24px;
}
[data-route="home"] .platform-card h3 {
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.05;
}
[data-route="home"] .platform-card > p {
  margin-top: 20px;
}
[data-route="home"] .platform-card ul {
  margin-block: 24px 28px;
  padding-top: 20px;
}

.site-footer .footer-address {
  display: block;
  max-width: 36ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .76);
  font-family: "Hanken Grotesk", Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 820px) {
  [data-route="home"] .platform-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  [data-route="home"] .platform-grid > .platform-card {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
  [data-route="home"] .platform-grid > .platform-card:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  [data-route="home"] .hero-focus-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 4px 20px;
    margin-top: 20px;
    font-size: 12px;
  }
  [data-route="home"] .hero-focus-nav a + a::before {
    display: none;
  }
}
