.home-icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-hero {
  padding-top: 54px;
  padding-bottom: 48px;
}

.home-hero .hero-copy {
  align-self: center;
}

.home-hero .hero-copy h1 {
  max-width: 460px;
}

.home-hero .hero-actions {
  margin-top: 0;
  margin-bottom: 24px;
}

.home-hero-badges {
  margin-top: 22px;
}

.home-platform-list {
  margin-top: 26px;
}

.home-platform-list > li:not(.platform-label) {
  min-height: 36px;
  padding: 0;
}

.home-platform-list > li > a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px 4px 5px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  text-decoration: none;
}

.home-platform-list > li > a:hover {
  color: var(--color-accent-dark);
}

.home-platform-list .platform-icon svg {
  fill: currentColor;
}

.home-fact-section {
  padding-top: 0;
  padding-bottom: 0;
}

.home-fact-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  background: var(--color-page);
  box-shadow: var(--shadow-card);
}

.home-fact-band span {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid var(--color-border);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
}

.home-fact-band span:last-child {
  border-right: 0;
}

.home-fact-band b {
  display: block;
  margin-bottom: 2px;
  color: var(--color-accent-dark);
  font-size: 10px;
  letter-spacing: .06em;
}

.home-downloads {
  padding-top: clamp(76px, 9vw, 116px);
}

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

.home-platform-card {
  min-height: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-page);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.home-platform-card h3 {
  margin-top: 5px;
}

.home-platform-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-platform-card .button {
  grid-column: 2;
  width: fit-content;
  margin-top: 4px;
}

.home-platform-emblem {
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid var(--color-accent-mid);
  border-radius: var(--radius-inner);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.home-platform-emblem svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.home-platform-emblem svg[viewBox="0 0 448 512"] {
  width: 23px;
  height: 27px;
}

.home-section-link {
  margin: 34px 0 0;
  text-align: right;
}

.home-section-link a {
  color: var(--color-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.home-feature-tabs {
  max-width: 1100px;
}

.home-feature-tablist {
  max-width: 760px;
  margin-bottom: 34px;
}

.home-feature-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
  min-height: 480px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-page);
  color: var(--color-text);
  box-shadow: var(--shadow-window);
}

.home-feature-panel[hidden] {
  display: none;
}

.home-feature-panel::before,
.home-feature-panel::after {
  position: absolute;
  z-index: 0;
  border: 1px solid var(--color-arc-accent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-feature-panel::before {
  width: 520px;
  height: 520px;
  right: -210px;
  bottom: -250px;
}

.home-feature-panel::after {
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -180px;
  border-color: var(--color-arc-rose);
}

.home-feature-panel-reverse .home-feature-copy {
  order: 2;
}

.home-feature-panel-reverse .home-setting-card {
  order: 1;
}

.home-feature-panel-reverse::before {
  right: auto;
  left: -210px;
}

.home-feature-panel-reverse::after {
  right: auto;
  left: -140px;
}

.home-feature-copy,
.home-setting-card {
  position: relative;
  z-index: 1;
}

.home-feature-copy h3 {
  margin-top: 8px;
  font-size: clamp(24px, 2.5vw, 32px);
}

.home-feature-copy p:not(.eyebrow) {
  color: var(--color-muted);
}

.home-feature-copy a {
  font-weight: 700;
  text-decoration: none;
}

.home-setting-card {
  min-width: 0;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  background: var(--color-page);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.home-setting-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.home-setting-head strong {
  font-family: var(--font-display);
  font-size: 18px;
}

.home-setting-row,
.home-toggle-row,
.home-core-option {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding-inline: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-panel);
  color: var(--color-text);
}

.home-setting-row b,
.home-core-option b {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 650;
}

.home-setting-row.is-selected,
.home-core-option.is-selected,
.home-toggle-row.is-selected {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.home-setting-row.is-selected b,
.home-core-option.is-selected b {
  color: var(--color-accent-dark);
}

.home-field-label {
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
}

.home-field {
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-panel);
}

.home-field-short {
  max-width: 180px;
}

.home-setting-action {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding-inline: 14px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-control);
  background: var(--color-page);
  color: var(--color-accent-dark);
  font-weight: 700;
}

.home-toggle-row i {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-panel-strong);
}

.home-toggle-row i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-page);
  box-shadow: var(--shadow-pill);
  content: "";
}

.home-toggle-row.is-selected i {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.home-toggle-row.is-selected i::after {
  right: 3px;
  left: auto;
}

.home-setting-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  background: var(--color-panel);
  color: var(--color-muted);
  font-size: 13px;
}

.home-step-list {
  display: grid;
  gap: 22px;
  counter-reset: home-step;
}

.home-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 4vw, 40px);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-page);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.home-step-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.home-step p {
  color: var(--color-muted);
}

.home-step p:last-child {
  margin-bottom: 0;
}

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

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

.home-ecosystem-main {
  padding: clamp(28px, 5vw, 46px);
}

.home-ecosystem-main p,
.home-ecosystem-stack p,
.home-trust-notes p {
  color: var(--color-muted);
}

.home-ecosystem-main p:last-child,
.home-ecosystem-stack p:last-child,
.home-trust-notes p:last-child {
  margin-bottom: 0;
}

.home-ecosystem-stack {
  display: grid;
  gap: 18px;
}

.home-trust-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.home-trust-notes article {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-inner);
  background: var(--color-page);
  color: var(--color-text);
}

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

.home-blog .article-card h3 {
  font-size: 20px;
}

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

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

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

  .home-feature-panel {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    min-height: 0;
  }

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

@media (max-width: 900px) {
  .home-platform-grid,
  .home-ecosystem-layout {
    grid-template-columns: 1fr;
  }

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

  .home-feature-panel-reverse .home-feature-copy,
  .home-feature-panel-reverse .home-setting-card {
    order: initial;
  }

  .home-setting-card {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .home-hero {
    padding-top: 38px;
  }

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

  .home-fact-band span {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .home-fact-band span:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .home-fact-band span:last-child {
    border-bottom: 0;
  }

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

  .home-platform-card .button {
    grid-column: 1;
  }

  .home-feature-tablist {
    border-radius: var(--radius-inner);
  }

  .home-feature-tablist [role="tab"] {
    flex-basis: calc(50% - 4px);
  }

  .home-feature-panel {
    gap: 28px;
    padding: 22px;
  }

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

  .home-step-number {
    width: 48px;
    height: 48px;
  }

  .home-section-link {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .home-platform-list > li:not(.platform-label) {
    flex: 1 1 calc(50% - 8px);
  }

  .home-platform-list > li > a {
    width: 100%;
  }

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

  .home-feature-panel,
  .home-setting-card {
    padding: 18px;
  }

  .home-setting-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-setting-row,
  .home-toggle-row,
  .home-core-option {
    padding-inline: 12px;
  }
}