*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.homepage-community,
.community-page {
  position: relative;
  overflow: hidden;
}

.homepage-community {
  padding: 88px 0;
  border-block: 1px solid rgba(139, 196, 214, 0.11);
  background:
    radial-gradient(circle at 82% 20%, rgba(207, 175, 112, 0.09), transparent 25rem),
    linear-gradient(180deg, rgba(7, 19, 31, 0.45), rgba(4, 10, 18, 0.9));
}

.homepage-community .learn-section-heading {
  margin-bottom: 34px;
}

.community-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(207, 175, 112, 0.38);
  border-radius: 999px;
  color: var(--home-gold, #cfaf70);
  background: rgba(207, 175, 112, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.community-grid,
.community-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-empty,
.community-record-card,
.community-spotlight-card,
.community-info-card,
.community-submit-panel {
  border: 1px solid rgba(139, 196, 214, 0.16);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(10, 28, 43, 0.88), rgba(5, 15, 25, 0.94));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.community-empty {
  grid-column: 1 / -1;
  min-height: 210px;
  display: grid;
  place-content: center;
  padding: 42px;
  text-align: center;
}

.community-empty-mark,
.community-record-label {
  color: var(--home-teal, #14f1c4);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.community-empty h3,
.community-record-card h3,
.community-spotlight-card h3,
.community-info-card h3,
.community-submit-panel h2 {
  margin: 10px 0 8px;
  color: #f4f8fb;
  line-height: 1.12;
}

.community-empty p,
.community-record-note,
.community-spotlight-card p,
.community-info-card p,
.community-info-card li,
.community-submit-panel p,
.community-submit-panel li {
  color: #9bb2c0;
  line-height: 1.65;
}

.community-empty p {
  max-width: 560px;
  margin: 0 auto;
}

.community-record-card,
.community-spotlight-card {
  overflow: hidden;
}

.community-record-card img,
.community-spotlight-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.community-record-body,
.community-spotlight-body {
  padding: 24px;
}

.community-record-label {
  margin: 0;
}

.community-record-value {
  margin: 10px 0 0;
  color: #f4f8fb;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
}

.community-scientific {
  margin: -2px 0 14px;
  color: #8ba8b8;
  font-style: italic;
}

.community-review-badge {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(20, 241, 196, 0.28);
  border-radius: 999px;
  color: #8ff9df;
  background: rgba(20, 241, 196, 0.07);
  font-size: 0.72rem;
  font-weight: 750;
}

.community-credit {
  margin: 18px 0 0 !important;
  font-size: 0.78rem;
}

.community-credit a {
  color: #14f1c4;
}

.community-section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.community-section-actions p {
  flex: 1 1 300px;
  margin: 0;
  color: #8ba8b8;
  font-size: 0.86rem;
}

.community-page {
  padding-bottom: 96px;
}

.community-hero {
  padding: clamp(72px, 10vw, 132px) 0 76px;
}

.community-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: clamp(34px, 7vw, 90px);
}

.community-hero h1 {
  max-width: 850px;
  margin: 18px 0 24px;
  color: #f4f8fb;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.community-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #a8bdc8;
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.community-hero-note {
  padding: 28px;
  border-top: 1px solid rgba(20, 241, 196, 0.5);
  background: linear-gradient(130deg, rgba(20, 241, 196, 0.08), transparent);
}

.community-hero-note strong {
  display: block;
  margin-bottom: 8px;
  color: #f4f8fb;
  font-size: 1.15rem;
}

.community-hero-note p {
  margin: 0;
  color: #8ba8b8;
  line-height: 1.6;
}

.community-content-section {
  padding: 74px 0;
  border-top: 1px solid rgba(139, 196, 214, 0.11);
}

.community-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}

.community-section-heading h2 {
  max-width: 760px;
  margin: 10px 0 0;
  color: #f4f8fb;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.community-section-heading > p {
  margin: 0;
  color: #8ba8b8;
  line-height: 1.65;
}

.community-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.community-info-card {
  padding: 28px;
}

.community-info-card-number {
  color: #cfaf70;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.community-info-card ul,
.community-submit-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.community-submit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 40px;
  padding: clamp(28px, 5vw, 54px);
}

.community-submit-panel h2 {
  max-width: 640px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
}

.community-submit-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.community-submit-actions .home-button {
  justify-content: space-between;
  width: 100%;
}

.community-small-print {
  margin-top: 26px;
  color: #718d9d;
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .community-grid,
  .community-spotlight-grid,
  .community-info-grid {
    grid-template-columns: 1fr;
  }

  .community-hero-grid,
  .community-section-heading,
  .community-submit-panel {
    grid-template-columns: 1fr;
  }

  .community-hero h1 {
    font-size: clamp(3rem, 13vw, 5rem);
  }
}

@media (max-width: 560px) {
  .homepage-community {
    padding: 64px 0;
  }

  .community-page {
    padding-bottom: 68px;
  }

  .community-hero {
    padding-top: 60px;
  }

  .community-content-section {
    padding: 58px 0;
  }

  .community-empty,
  .community-info-card,
  .community-record-body,
  .community-spotlight-body,
  .community-submit-panel {
    padding: 24px;
  }
}
