.community-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}

.community-nav a {
  font-size: 1rem;
  white-space: nowrap;
}

.community-home .hero {
  --wm: clamp(194px, 21vw, 258px);
  min-height: 0;
  padding: 87px 20px 53px;
}

.community-home .centre {
  width: min(100%, 746px);
}

.launch-headline {
  max-width: 23em;
  margin: 12px 0 0;
  color: var(--ink);
  font: 1000 clamp(1.55rem, 1.15rem + 1.5vw, 2.48rem)/1.05 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.launch-byline {
  display: block;
  margin-top: 8px;
  color: var(--leaf);
  font-size: .76em;
  letter-spacing: -.025em;
}

.launch-description {
  margin: 10px 0 0;
  color: var(--ink-2);
  font: 700 1.075rem/1.4 var(--body);
}

.launch-paths {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 27px;
  text-align: left;
}

.launch-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 102px;
  padding: 15px 16px 15px 19px;
  background: #fffdfa;
  border: 2px solid var(--ink);
  border-radius: var(--r-note);
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}

.launch-path-community {
  background: #fae6a0;
}

.launch-path:hover {
  background-image: none;
  box-shadow: 1px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.path-copy {
  display: grid;
  gap: 5px;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.3;
}

.path-copy strong {
  font-size: clamp(1.12rem, 1rem + .45vw, 1.48rem);
  font-weight: 1000;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.path-arrow {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 50% 45% 48% 44%;
  font-size: 1.25rem;
  line-height: 1;
}

.launch-path-download .path-arrow {
  color: #fffdfa;
  background: var(--ink);
}

.community-stories.sec {
  padding: 49px 0 57px;
  background: #eae5d8;
  border-top: 1px solid #d7d1c0;
}

.community-stories + .essentials.sec {
  padding-top: 58px;
}

.stories-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px 28px;
  margin-bottom: 23px;
}

.stories-intro h2 {
  margin-bottom: 7px;
  text-align: left;
}

.stories-intro p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.025rem;
  line-height: 1.45;
}

.stories-link {
  flex: 0 0 auto;
  margin-bottom: 2px;
  font-size: .975rem;
}

.release-carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.release-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 14px;
}

.release-filter {
  min-height: 38px;
  max-width: 100%;
  padding: 5px 8px;
  background: #fffdfa;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-note);
  font: 800 .9rem/1.2 var(--body);
}

.release-notes-link {
  font-size: .95rem;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls[hidden],
.release-filter[hidden],
.contribution[hidden] {
  display: none;
}

.carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: #fffdfa;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 50% 46% 48% 45%;
  font: 900 1.25rem/1 var(--body);
  cursor: pointer;
}

.carousel-arrow:not([aria-disabled="true"]):hover {
  background: var(--lamp);
}

.carousel-arrow[aria-disabled="true"] {
  opacity: .45;
  cursor: default;
}

.contribution-track {
  --story-gap: 17px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--story-gap) - var(--story-gap)) / 3);
  gap: var(--story-gap);
  padding: 0 0 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.contribution-track > .contribution {
  min-width: 0;
  scroll-snap-align: start;
}

.contribution:not([hidden]) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffdfa;
  border: 1.5px solid #bcb6a5;
  border-radius: 17px 22px 17px 20px;
  box-shadow: 0 5px 0 #d8d1c0;
}

.contribution-image {
  position: relative;
  display: grid;
  aspect-ratio: 2.05;
  place-items: center;
  overflow: hidden;
  background: #f2ede1;
  border-bottom: 1px solid #e3ded0;
}

.contribution-image img {
  position: absolute;
  max-width: none;
  height: auto;
}

.contribution-chat-home img {
  top: 0;
  left: -88%;
  width: 196%;
  transform: translateY(-33%);
}

.contribution-mac-setup img {
  top: 0;
  left: -40%;
  width: 180%;
  transform: translateY(-8%);
}

.contribution-video img {
  top: 0;
  left: -44%;
  width: 225%;
  transform: translateY(-26%);
}

.contribution-guides img {
  top: 0;
  left: -1%;
  width: 198%;
  transform: translateY(-9%);
}

.contribution-table img {
  top: 0;
  left: -86%;
  width: 204%;
  transform: translateY(-30%);
}

.contribution-dentists img {
  top: 0;
  left: -37%;
  width: 178%;
  transform: translateY(-32%);
}

.contribution-storm img,
.contribution-settings img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contribution-settings img {
  object-position: center bottom;
}

.contribution-attribution {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 2px 5px;
  color: var(--ink-2);
  background: #fffdfa;
  font-size: .625rem;
  line-height: 1.2;
}

.contribution-illustration > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 10px 16px;
}

.contribution-illustration img {
  position: static;
  width: clamp(68px, 9vw, 110px);
  height: auto;
}

.contribution-illustration span {
  font: 950 clamp(.9rem, 1.25vw, 1.3rem)/1.2 var(--display);
}

.tone-gold {
  background: #fae8ae;
}

.tone-sage {
  background: #dbe5d3;
}

.tone-mist {
  background: #dbe7ee;
}

.contribution-copy {
  display: flex;
  flex: auto;
  flex-direction: column;
  align-items: flex-start;
  padding: 11px 14px 12px;
}

.contribution-copy h3 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.contribution-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 8px;
  width: 100%;
  margin-top: auto;
  font-size: .875rem;
  line-height: 1.4;
}

.contribution-credit {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contribution-version {
  flex: none;
  color: var(--ink-2);
  font-size: .78rem;
  font-weight: 800;
}

.community-welcome {
  padding: clamp(42px, 6vw, 78px) 0 clamp(34px, 4.4vw, 58px);
  background: #fae8ae;
}

.prompt-wrap {
  max-width: 756px;
}

.prompt-wrap h1 {
  max-width: 16em;
  margin: 0 0 18px;
  font-size: clamp(2rem, 1.2rem + 3.1vw, 3.65rem);
  letter-spacing: -.035em;
  text-transform: none;
  text-wrap: pretty;
}

.prompt-instruction {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-2);
  font: 800 1.0625rem/1.4 var(--body);
}

.prompt-card {
  overflow: hidden;
  background: #fffdfa;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-note);
  box-shadow: 3px 4px 0 var(--ink);
}

.prompt-card textarea {
  display: block;
  width: 100%;
  min-height: 10.5rem;
  padding: 16px 18px 8px;
  resize: vertical;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 650 1rem/1.45 var(--body);
}

.prompt-card textarea:focus-visible {
  outline-offset: -4px;
}

.prompt-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 17px 16px;
}

.prompt-actions:has(button[hidden]) {
  display: none;
}

.copy-status {
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.3;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 23px;
  max-width: 756px;
  padding-top: 24px;
  padding-bottom: 28px;
  font-size: .95rem;
}

@media (max-width: 759px) {
  .nav.community-nav {
    display: flex;
  }

  .community-nav a {
    font-size: .875rem;
  }

  .community-home .hero {
    --wm: clamp(160px, 45vw, 214px);
    padding-top: 69px;
    padding-bottom: 33px;
  }

  .launch-paths {
    width: min(100%, 410px);
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 21px;
  }

  .launch-path {
    min-height: 69px;
    padding: 10px 12px 10px 14px;
  }

  .path-arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .stories-intro {
    align-items: start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
  }

  .community-stories.sec {
    padding: 35px 0 42px;
  }

  .contribution-track {
    --story-gap: 13px;
    grid-auto-columns: calc((100% - var(--story-gap)) / 2);
  }

}

@media (max-width: 520px) {
  .community-nav .github-nav {
    display: none;
  }

  .contribution-track {
    grid-auto-columns: 88%;
  }

  .prompt-card textarea {
    min-height: 13.5rem;
    padding-inline: 13px;
  }

  .prompt-actions {
    padding-inline: 12px;
  }

  .headline-break {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-path {
    transition: none;
  }
}
