.hero {
  position: relative;
  padding: 56px 0 96px;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 28px;
}

.hero-grid::before {
  content: "";
  position: absolute;
  top: -56px;
  bottom: -96px;
  left: 0;
  right: -1px;
  background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px);
  background-size: calc((100% - 1px) / 4) 100%;
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 28px;
}

.hero-art {
  order: -1;
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: invert(var(--invert));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.3;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.display {
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(56px, 10.8vw, 116px);
}

.hero .lede {
  max-width: 560px;
  font-size: 17px;
}

.actions {
  display: grid;
  justify-self: stretch;
  gap: 12px;
}

.section {
  padding-block: 96px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.section h2 {
  margin-top: var(--flow, 36px);
  font-size: clamp(52px, 9vw, 96px);
}

#compare {
  --flow: 40px;
}

.install {
  --flow: 24px;
  border-top: 1px solid var(--hairline);
}

.networks .lede {
  display: none;
  max-width: 520px;
  margin-top: 32px;
  font-size: 17px;
}

.net-group {
  margin-top: 36px;
}

.net-group + .net-group {
  margin-top: 10px;
}

.net-group h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin-top: 10px;
}

.chips li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 16px 0 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  font-size: 15px;
  font-weight: 300;
  white-space: nowrap;
}

.chip img,
.chip .glyph {
  width: 26px;
  height: 26px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
}

.chip .glyph {
  display: grid;
  place-items: center;
  background: var(--lavender);
}

.chip .glyph .icon {
  width: 18px;
  height: 18px;
}

.chip.off {
  border-color: var(--muted);
  color: var(--muted);
}

.chip.off img {
  opacity: 0.55;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--muted);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
}

.net-note {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.install-head .lede {
  margin-top: 24px;
  font-size: 16px;
}

.hosts-picker {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.hosts-picker::-webkit-scrollbar {
  display: none;
}

.host-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 44px;
  padding: 0 14px 0 8px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  color: var(--muted);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.host-btn img {
  width: 22px;
  height: 22px;
}

.host-btn .icon {
  width: 18px;
  height: 18px;
  color: var(--ink);
}

.host-btn:hover {
  color: var(--ink);
  border-color: var(--line);
}

.host-btn[aria-pressed="true"] {
  background: var(--wash);
  border-color: var(--line);
  box-shadow: inset 0 0 0 0.5px var(--line);
  color: var(--ink);
}

.install-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.side-step + .side-step {
  margin-top: 24px;
}

.aside-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.side-head {
  display: none;
  gap: 12px;
  align-items: center;
}

.side-head h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.side-head p {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
}

.side-step .cmd {
  margin-top: 24px;
  font-size: 12px;
}

.glyph-dot {
  display: block;
  --art: 36px;
  --dot-size: 20px;
  --dot-at: 14px;
  --glyph: 30px;
  position: relative;
  flex: none;
  width: var(--art);
  height: var(--art);
}

.glyph-dot::after {
  content: "";
  position: absolute;
  left: var(--dot-at);
  top: var(--dot-at);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: var(--dot);
  opacity: var(--dot-opacity, 1);
}

.glyph-dot .icon {
  position: relative;
  z-index: 1;
  width: var(--glyph);
  height: var(--glyph);
}

.dot-mint {
  --dot: var(--mint);
}

.dot-sky {
  --dot: var(--sky);
}

.dot-lavender {
  --dot: var(--lavender);
}

.dot-butter {
  --dot: var(--butter);
}

.dot-peach {
  --dot: var(--peach);
}

.host-cards {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.host-card {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  grid-template-areas: "mark name arrow" "mark sub arrow";
  align-items: center;
  gap: 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.host-mark {
  grid-area: mark;
  position: relative;
  width: 52px;
  height: 52px;
}

.host-mark img {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
}

.host-mark::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dot);
  opacity: 0.5;
}

.host-name {
  grid-area: name;
  align-self: end;
  font-size: 20px;
  font-weight: 300;
  white-space: nowrap;
}

.host-sub {
  grid-area: sub;
  align-self: start;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
}

.host-card .arrow {
  grid-area: arrow;
  width: 18px;
  height: 18px;
}

.dot-claude {
  --dot: var(--peach);
}

.dot-codex {
  --dot: var(--mint);
}

.dot-grok {
  --dot: var(--sky);
}

.dot-muse {
  --dot: var(--lavender);
}

.dot-hermes {
  --dot: var(--butter);
}

.safety {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.safety-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 28px 0;
}

.safety-item + .safety-item {
  border-top: 1px solid var(--hairline);
}

.safety-item .glyph-dot {
  --art: 48px;
  --dot-size: 26px;
  --dot-at: 18px;
  --glyph: 40px;
}

.safety-item h3 {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.safety-item p {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
}

.safety-more {
  margin-top: 20px;
  font-size: 14px;
}

.safety-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color var(--ease);
}

.safety-more a:hover {
  color: var(--ink);
}

.safety-more .icon {
  width: 16px;
  height: 16px;
}

.contribute {
  padding-block: 96px;
}

.contribute-grid {
  display: grid;
  gap: 36px;
}

.contribute h2 {
  margin-top: 36px;
  font-size: clamp(72px, 12.3vw, 132px);
}

.contribute .lede {
  margin-top: 36px;
  max-width: 540px;
  font-size: 17px;
}

.contribute-side {
  display: grid;
  gap: 36px;
}

.crowd {
  display: flex;
  align-items: center;
}

.crowd i {
  width: 38px;
  height: 38px;
  margin-right: -10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--lavender);
}

.crowd i:nth-child(2) {
  background: var(--mint);
}

.crowd i:nth-child(3) {
  background: var(--peach);
}

.crowd i:nth-child(4) {
  background: var(--sky);
}

.crowd i:nth-child(5) {
  background: var(--butter);
}

.crowd i:nth-child(6) {
  display: none;
  background: var(--lavender);
}

.crowd span {
  margin-left: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.contribute-side .pill {
  width: 100%;
}

.paths {
  display: grid;
  gap: 12px;
}

.path-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.path-card .glyph-dot {
  --art: 44px;
  --dot-size: 26px;
  --dot-at: 16px;
  --glyph: 38px;
  --dot-opacity: 0.8;
}

.path-card h3 {
  font-size: 18px;
  font-weight: 300;
}

.path-card p {
  display: none;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
}

.path-card .arrow {
  width: 18px;
  height: 18px;
}

@media (min-width: 720px) {
  .actions {
    display: flex;
    flex-wrap: wrap;
    justify-self: start;
  }

  .networks .lede {
    display: block;
  }

  .install-head .lede {
    max-width: 560px;
  }

  .aside-label {
    display: none;
  }

  .side-head {
    display: flex;
  }

  .side-step .cmd {
    margin-top: 14px;
    font-size: 13px;
  }

  .side-step + .side-step {
    margin-top: 32px;
  }

  .paths {
    grid-template-columns: repeat(3, 1fr);
  }

  .host-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .crowd i:nth-child(6) {
    display: block;
  }
}

@media (min-width: 1080px) {
  .hero {
    padding: 140px 0 180px;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
    background-size: 100% 100px;
    background-position: 0 40px;
    pointer-events: none;
  }

  .hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hero-grid::before {
    top: -140px;
    bottom: -180px;
    background-size: calc((100% - 1px) / 12) 100%;
  }

  .hero-copy {
    flex: none;
    width: 700px;
    gap: 36px;
  }

  .badge {
    gap: 10px;
    padding: 8px 16px 8px 10px;
    font-size: 13px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .hero .lede {
    font-size: 20px;
  }

  .actions {
    gap: 14px;
  }

  .hero-art {
    order: 0;
    flex: none;
    width: 500px;
    height: 520px;
  }

  .hero-art img {
    position: absolute;
    left: -30px;
    top: 50px;
    width: 560px;
    max-width: none;
  }

  .section,
  .contribute {
    padding-block: 180px;
  }

  .eyebrow {
    font-size: 13px;
  }

  .section h2 {
    margin-top: 20px;
  }

  .networks .lede {
    max-width: 520px;
  }

  .net-group {
    margin-top: 72px;
  }

  .net-group + .net-group {
    margin-top: 44px;
  }

  .chips {
    gap: 16px 20px;
    margin-top: 16px;
  }

  .chips li {
    gap: 10px;
  }

  .chip {
    height: 60px;
    padding: 0 22px 0 14px;
    font-size: 18px;
  }

  .chip img,
  .chip .glyph {
    width: 32px;
    height: 32px;
  }

  .chip .glyph .icon {
    width: 22px;
    height: 22px;
  }

  .tag {
    font-size: 12px;
  }

  .net-note {
    margin-top: 96px;
    font-size: 13px;
  }

  .install-head {
    display: grid;
    grid-template-columns: 1fr 380px;
    align-items: end;
  }

  .install-head .lede {
    margin-top: 0;
    font-size: 17px;
  }

  .hosts-picker {
    gap: 10px;
    margin-top: 56px;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
  }

  .host-btn {
    gap: 10px;
    padding: 0 18px 0 10px;
    font-size: 15px;
  }

  .host-btn img {
    width: 24px;
    height: 24px;
  }

  .host-btn .icon {
    width: 22px;
    height: 22px;
  }

  .install-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    margin-top: 56px;
  }

  .host-cards {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 72px;
  }

  .host-card {
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto auto;
    grid-template-areas: "mark mark" "name arrow" "sub sub";
    align-items: center;
    gap: 0 10px;
    height: 360px;
    padding: 28px;
    border-radius: 28px;
  }

  .host-mark {
    align-self: start;
    width: 96px;
    height: 96px;
  }

  .host-mark img {
    width: 64px;
    height: 64px;
  }

  .host-mark::after {
    left: 30px;
    top: 30px;
    width: 66px;
    height: 66px;
  }

  .host-name {
    font-size: 26px;
    letter-spacing: -0.027em;
  }

  .host-sub {
    margin-top: 10px;
    font-size: 12px;
  }

  .host-card .arrow {
    align-self: center;
  }

  .safety {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .safety-item {
    display: block;
    padding: 56px 40px 56px 0;
  }

  .safety-item + .safety-item {
    border-top: 0;
  }

  .safety-item:not(:nth-of-type(3n + 1)) {
    border-left: 1px solid var(--hairline);
    padding-left: 40px;
  }

  .safety-item:nth-of-type(n + 4) {
    border-top: 1px solid var(--hairline);
  }

  .safety-item .glyph-dot {
    --art: 56px;
    --dot-size: 30px;
    --dot-at: 22px;
    --glyph: 48px;
    margin-bottom: 20px;
  }

  .safety-item h3 {
    font-size: 24px;
  }

  .safety-item p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.55;
  }

  .contribute-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 72px 0;
  }

  .contribute-grid > div:first-child {
    max-width: 720px;
  }

  .contribute-grid .paths {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contribute-side {
    grid-column: 2;
    grid-row: 1;
    gap: 24px;
    justify-items: end;
  }

  .contribute h2 {
    margin-top: 28px;
  }

  .contribute .lede {
    margin-top: 28px;
    font-size: 20px;
  }

  .crowd i {
    width: 44px;
    height: 44px;
  }

  .crowd span {
    font-size: 13px;
  }

  .contribute-side .cmd {
    width: 280px;
  }

  .contribute-side .pill {
    width: auto;
  }

  .paths {
    gap: 24px;
  }

  .path-card {
    grid-template-columns: 64px 1fr auto;
    gap: 24px;
    padding: 32px;
    border-radius: 28px;
  }

  .path-card .glyph-dot {
    --art: 64px;
    --dot-size: 36px;
    --dot-at: 24px;
    --glyph: 56px;
  }

  .path-card h3 {
    font-size: 22px;
    letter-spacing: -0.023em;
  }

  .path-card p {
    display: block;
  }

  .path-card .arrow {
    width: 20px;
    height: 20px;
  }
}
