.hero-actions {
  margin-top: 8px;
  margin-bottom: 20px;
}

.hero-tags {
  max-width: 610px;
}

.wizard-title-caret {
  width: 8px;
  height: 17px;
  flex: 0 0 auto;
  margin-left: 2px;
  background: var(--color-panel-bright);
  animation: wizard-caret 1100ms steps(1, end) infinite;
}

.wizard__progress span {
  animation: progress-block 1800ms steps(2, end) infinite;
}

.wizard__progress span:nth-child(2) {
  animation-delay: 90ms;
}

.wizard__progress span:nth-child(3) {
  animation-delay: 180ms;
}

.wizard__progress span:nth-child(4) {
  animation-delay: 270ms;
}

.wizard__progress span:nth-child(5) {
  animation-delay: 360ms;
}

.wizard__progress span:nth-child(6) {
  animation-delay: 450ms;
}

.wizard__progress span:nth-child(7) {
  animation-delay: 540ms;
}

.wizard__progress span:nth-child(8) {
  animation-delay: 630ms;
}

.wizard__progress span:nth-child(9) {
  animation-delay: 720ms;
}

.wizard__progress span:nth-child(10) {
  animation-delay: 810ms;
}

.wizard__progress span:nth-child(11) {
  animation-delay: 900ms;
}

.wizard__progress span:nth-child(12) {
  animation-delay: 990ms;
}

@keyframes wizard-caret {
  0%,
  48% {
    opacity: 1;
  }

  49%,
  100% {
    opacity: 0;
  }
}

@keyframes progress-block {
  0%,
  68% {
    opacity: 1;
  }

  69%,
  82% {
    opacity: 0.32;
  }

  83%,
  100% {
    opacity: 1;
  }
}

.home-feature-browser {
  margin-top: 34px;
}

.home-feature-tabs button {
  min-height: 54px;
}

.home-feature-tabs button[aria-selected="true"]::before {
  content: "▶";
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
}

.home-feature-browser [role="tabpanel"] h3 {
  margin-top: 6px;
}

.feature-code {
  margin-bottom: 9px;
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.feature-checks {
  margin: 20px 0 0;
  padding: 13px 13px 13px 36px;
  background: var(--color-paper);
  border-top: 2px solid var(--color-panel-bright);
  border-left: 2px solid var(--color-panel-bright);
  border-right: 2px solid var(--color-border);
  border-bottom: 2px solid var(--color-border);
}

.feature-checks li + li {
  margin-top: 7px;
}

.platform-gates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.platform-gate {
  display: grid;
  min-width: 0;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 13px 18px;
  padding: 23px;
  background: var(--color-panel-soft);
  border-top: 3px solid var(--color-panel-bright);
  border-left: 3px solid var(--color-panel-bright);
  border-right: 3px solid var(--color-border);
  border-bottom: 3px solid var(--color-border);
  box-shadow: var(--hard-shadow-medium);
}

.platform-gate--wide {
  grid-column: 1 / -1;
}

.platform-gate__icon {
  display: grid;
  width: 68px;
  height: 68px;
  grid-row: 1 / 3;
  place-items: center;
  color: var(--color-selection-text);
  background: var(--color-accent-dark);
  border-top: 3px solid var(--color-accent-light);
  border-left: 3px solid var(--color-accent-light);
  border-right: 3px solid var(--color-shadow-deep);
  border-bottom: 3px solid var(--color-shadow-deep);
  box-shadow: 4px 4px 0 var(--color-panel-shadow);
}

.platform-gate__icon svg {
  width: 43px;
  height: 43px;
}

.platform-gate__body h3 {
  margin-top: 0;
  margin-bottom: 9px;
}

.platform-gate__body p {
  margin-bottom: 0;
}

.platform-gate .button {
  justify-self: start;
}

.section-link {
  margin-top: 30px;
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 900;
}

.section-link a {
  color: var(--color-accent-dark);
}

.setup-steps {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.setup-step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  padding: 25px;
  background: var(--color-panel-soft);
  border-top: 3px solid var(--color-panel-bright);
  border-left: 3px solid var(--color-panel-bright);
  border-right: 3px solid var(--color-border);
  border-bottom: 3px solid var(--color-border);
  box-shadow: var(--hard-shadow-medium);
}

.setup-step__number {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--color-selection-text);
  background: var(--color-accent);
  border-top: 3px solid var(--color-accent-light);
  border-left: 3px solid var(--color-accent-light);
  border-right: 3px solid var(--color-accent-dark);
  border-bottom: 3px solid var(--color-accent-dark);
  box-shadow: 5px 5px 0 var(--color-panel-shadow);
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 900;
}

.setup-step h3 {
  margin-top: 0;
}

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

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: 34px;
  margin-top: 30px;
}

.trust-copy {
  padding: clamp(22px, 4vw, 36px);
  background: var(--color-paper);
  border: 2px solid var(--color-border);
  box-shadow: var(--hard-shadow-medium);
}

.trust-copy h3:first-child {
  margin-top: 0;
}

.repository-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.clone-box {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 13px;
  background: var(--color-accent-dark);
  border-top: 3px solid var(--color-accent-light);
  border-left: 3px solid var(--color-accent-light);
  border-right: 3px solid var(--color-shadow-deep);
  border-bottom: 3px solid var(--color-shadow-deep);
  box-shadow: var(--hard-shadow-small);
}

.clone-box code {
  min-width: 0;
  overflow-x: auto;
  color: var(--color-selection-text);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.clone-box .button {
  justify-self: start;
}

.fact-list {
  margin: 22px 0;
  border: 2px solid var(--color-border);
}

.fact-list div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
}

.fact-list div + div {
  border-top: 1px dotted var(--color-panel-shadow);
}

.fact-list dt,
.fact-list dd {
  margin: 0;
  padding: 8px 10px;
}

.fact-list dt {
  color: var(--color-selection-text);
  background: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
}

.fact-list dd {
  background: var(--color-panel-bright);
}

.repository-note {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 13px;
}

.copy-fallback {
  position: fixed;
  top: -200vh;
  left: -200vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.home-post-grid {
  margin-top: 32px;
}

.home-post-grid .post-card {
  grid-template-rows: auto auto 1fr auto;
}

@media (max-width: 900px) {
  .trust-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .repository-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .platform-gates {
    grid-template-columns: minmax(0, 1fr);
  }

  .platform-gate--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    margin-top: 5px;
  }

  .platform-gate {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
  }

  .platform-gate__icon {
    width: 52px;
    height: 52px;
    grid-row: auto;
  }

  .platform-gate__icon svg {
    width: 32px;
    height: 32px;
  }

  .platform-gate .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .setup-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .setup-step__number {
    width: 62px;
    height: 56px;
  }

  .trust-copy {
    padding: 18px;
  }

  .fact-list div {
    grid-template-columns: minmax(0, 1fr);
  }

  .clone-box .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wizard-title-caret,
  .wizard__progress span {
    animation: none;
  }
}