.home-hero {
  padding-top: 30px;
  padding-bottom: 34px;
}

.home-hero .hero__title {
  max-width: 980px;
  font-size: clamp(34px, 5.3vw, 48px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home-hero__signal {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.home-hero__actions {
  margin-top: 20px;
}

.home-hero .hero__sub {
  max-width: 760px;
  margin-top: 18px;
}

.home-hero .chip-row {
  margin-top: 16px;
}

.home-rig {
  margin-top: 22px;
}

.home-rig__diagram {
  width: 100%;
}

.home-rig .conf-card {
  width: 326px;
  margin-inline: auto;
}

.home-rig .conf-card__body {
  padding-top: 11px;
  padding-bottom: 12px;
  font-size: 12px;
  line-height: 1.58;
}

.home-rig .rig__wires {
  height: 82px;
}

.home-rig .plat-row {
  margin-top: 4px;
}

.home-factbar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
}

.home-factbar__inner {
  display: flex;
  min-width: 0;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 12px 30px;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.home-factbar__inner span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.home-factbar__inner strong {
  margin-right: 7px;
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: inherit;
}

.home-arch-tabs__content {
  min-width: 0;
}

.home-arch-tabs .arch-tabs__panel {
  margin-top: 0;
}

.home-arch-tabs .arch-tabs__panel h3 {
  margin-top: 19px;
}

.home-arch-tabs .arch-tabs__panel p + p {
  margin-top: 14px;
}

.home-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-platform-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-bg);
  box-shadow: var(--shadow-tile);
}

.home-platform-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  grid-row: 1 / span 2;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-s);
  color: var(--color-accent);
}

.home-platform-card__code {
  align-self: end;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.home-platform-card h3 {
  margin-top: 3px;
  font-size: 25px;
}

.home-platform-card p {
  grid-column: 1 / -1;
  margin-top: 20px;
  font-size: 15px;
}

.home-platform-card .btn {
  width: fit-content;
  grid-column: 1 / -1;
  margin-top: 22px;
}

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

.home-section-link a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 650;
}

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

.home-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.home-ecosystem__lead h3 {
  margin-top: 20px;
}

.home-ecosystem__lead p {
  margin-top: 15px;
}

.home-ecosystem__notes {
  border-top: 1px solid var(--color-border);
}

.home-note {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.home-note__index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-s);
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 11px;
}

.home-note h3 {
  font-size: 21px;
}

.home-note p {
  margin-top: 9px;
  font-size: 14px;
}

.home-ecosystem__callout {
  margin-top: 28px;
}

@media (max-width: 860px) {
  .home-hero .hero__title {
    font-size: clamp(24px, 9vw, 30px);
  }

  .home-platform-grid,
  .home-ecosystem {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-factbar__inner {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .home-hero .hero__title {
    font-size: clamp(24px, 10.5vw, 30px);
    letter-spacing: -0.03em;
    line-height: 1.02;
  }

  .home-hero__actions {
    order: initial;
    margin-top: 18px;
  }

  .home-rig {
    margin-top: 20px;
  }

  .home-rig .conf-card {
    width: 294px;
  }

  .home-rig .conf-card__body {
    font-size: 11px;
  }

  .home-rig .rig__wires {
    min-height: 62px;
    height: 68px;
  }

  .home-factbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .home-platform-card {
    padding: 20px;
  }

  .home-platform-card__icon {
    width: 48px;
    height: 48px;
  }

  .home-platform-card h3 {
    font-size: 23px;
  }

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

  .home-note {
    gap: 13px;
  }
}

@media (max-width: 380px) {
  .home-rig .conf-card {
    max-width: calc(100% - 10px);
  }

  .home-platform-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-platform-card__icon {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .home-platform-card__code,
  .home-platform-card h3,
  .home-platform-card p,
  .home-platform-card .btn {
    grid-column: 1;
  }
}