:root {
  color-scheme: light;
  --page: #f7f8f5;
  --paper: #ffffff;
  --ink: #242b28;
  --muted: #79817c;
  --faint: #a2aaa4;
  --line: #e9ede8;
  --green: #387b63;
  --green-dark: #2e6954;
  --green-soft: #edf5f0;
  --lilac: #eeeaf6;
  --shadow: 0 12px 35px rgba(34, 55, 43, 0.055);
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Manrope", "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(56, 123, 99, 0.28);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  width: 240px;
  flex-direction: column;
  padding: 26px 16px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  font-family: var(--display);
  font-size: 1.34rem;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.32rem;
}

.sidebar-label {
  margin: 43px 10px 12px;
  color: #a0a8a1;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.side-nav {
  display: grid;
  gap: 5px;
}

.nav-link {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #69716d;
  cursor: pointer;
  font-size: 0.81rem;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.nav-link:hover {
  background: #f7f9f7;
  color: var(--ink);
}

.nav-link.active {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.nav-icon {
  display: inline-grid;
  width: 20px;
  place-items: center;
  color: currentColor;
  font-size: 1.12rem;
}

.nav-count {
  display: grid;
  min-width: 22px;
  height: 20px;
  place-items: center;
  margin-left: auto;
  border-radius: 6px;
  background: #f0f3f0;
  color: #7f8982;
  font-size: 0.65rem;
}

.sidebar-spacer {
  flex: 1;
  min-height: 30px;
}

.sidebar-invite {
  position: relative;
  margin: 0 2px 14px;
  padding: 16px 13px 14px;
  overflow: hidden;
  border: 1px solid #e4eee7;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3f8f4, #f6f6f0);
}

.invite-spark {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: white;
  color: var(--green);
}

.sidebar-invite strong {
  display: block;
  max-width: 150px;
  font-family: var(--display);
  font-size: 0.78rem;
  line-height: 1.45;
}

.sidebar-invite p {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.sidebar-invite a {
  color: var(--green);
  font-size: 0.69rem;
  font-weight: 700;
}

.profile-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 7px 5px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e5eee8;
  color: var(--green);
  font-weight: 700;
}

.profile-copy {
  display: grid;
  gap: 3px;
}

.profile-copy strong {
  font-size: 0.7rem;
  font-weight: 600;
}

.profile-copy small {
  color: var(--muted);
  font-size: 0.64rem;
}

.profile-arrow {
  margin-left: auto;
  color: var(--faint);
}

.main-column {
  min-height: 100vh;
  margin-left: 240px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(26px, 4.1vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
}

.search-box {
  display: flex;
  width: min(100%, 420px);
  height: 37px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid #ebefeb;
  border-radius: 8px;
  background: #fbfcfa;
}

.search-icon {
  color: #99a29b;
  font-size: 1.08rem;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.73rem;
}

.search-box input::placeholder {
  color: #a1a8a2;
}

.search-box kbd {
  flex: 0 0 auto;
  padding: 3px 5px;
  border: 1px solid #e9ede9;
  border-radius: 4px;
  color: #a2aaa4;
  font-family: var(--sans);
  font-size: 0.58rem;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 19px;
}

.online-now {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #768078;
  font-size: 0.68rem;
  white-space: nowrap;
}

.online-now span,
.open-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fb18b;
}

.sign-in-button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #e4eae5;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.sign-in-button span {
  margin-left: 5px;
  color: var(--green);
}

.content {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 clamp(26px, 4.1vw, 60px);
}

.hero {
  position: relative;
  display: flex;
  min-height: 370px;
  align-items: center;
  justify-content: space-between;
  padding: 42px 34px 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 83% 52%, rgba(224, 239, 226, 0.72), transparent 38%),
    radial-gradient(ellipse at 20% 11%, rgba(242, 236, 222, 0.54), transparent 42%),
    #fbfcf9;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.eyebrow span {
  font-size: 0.8rem;
}

.hero h1 {
  margin: 17px 0 12px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.hero h1 > span {
  color: var(--green);
}

.hero-copy > p {
  max-width: 485px;
  margin: 0;
  color: #768079;
  font-size: 0.84rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 700;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button-primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
}

.button-primary:hover {
  transform: translateY(-1px);
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.button-secondary {
  border: 1px solid #e2e9e2;
  background: rgba(255, 255, 255, 0.78);
  color: #48534b;
}

.button-secondary:hover {
  transform: translateY(-1px);
  border-color: #bfd4c4;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.avatar-stack {
  display: flex;
  padding-left: 2px;
}

.tiny-avatar {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: -3px;
  border: 2px solid #fbfcf9;
  border-radius: 50%;
  color: #56615a;
  font-size: 0.55rem;
  font-weight: 700;
}

.section-heading-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.create-group-action {
  padding: 8px 12px;
  font-size: 0.7rem;
}

.create-group-panel {
  text-align: left;
}

.create-group-form {
  display: grid;
  gap: 8px;
}

.create-group-form label {
  margin-top: 5px;
  color: #657267;
  font-size: 0.68rem;
  font-weight: 700;
}

.create-group-form input,
.create-group-form textarea,
.create-group-form select {
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #e6ebe6;
  border-radius: 7px;
  background: #fbfcfa;
  color: #38443a;
  font: inherit;
  font-size: 0.74rem;
}

.create-group-form textarea {
  min-height: 76px;
  resize: vertical;
}

.create-group-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.create-group-actions .button-secondary {
  padding-inline: 16px;
}

.community-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 75% 22%, rgba(255, 255, 255, 0.72) 0 8%, transparent 8.5%),
    linear-gradient(135deg, #dce9d7, #c8d9c5 55%, #eaded1);
  color: #6c8b6a;
  font-size: 2.7rem;
}

.community-art i {
  position: absolute;
  top: 18px;
  right: 23px;
  color: #fffaf0;
  font-size: 1rem;
}

.avatar-lilac { background: #e9e5f0; }
.avatar-peach { background: #f3e4d7; }
.avatar-mint { background: #dfece3; }
.avatar-blue { background: #dfe9ed; }

.hero-social-proof p {
  margin: 0;
  color: #879089;
  font-size: 0.65rem;
}

.hero-social-proof strong {
  color: #535d56;
}

.hero-art {
  position: absolute;
  top: 27px;
  right: 36px;
  width: min(37%, 340px);
  height: 270px;
}

.hero-orbit {
  position: absolute;
  top: 4px;
  left: 23px;
  width: 245px;
  height: 245px;
  border: 1px solid rgba(99, 138, 109, 0.16);
  border-radius: 50%;
}

.orbit-two {
  top: 30px;
  left: 49px;
  width: 193px;
  height: 193px;
  border-color: rgba(99, 138, 109, 0.13);
}

.art-sun {
  position: absolute;
  top: 62px;
  left: 109px;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: #e4efe3;
  color: #598365;
  font-size: 2.4rem;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.48), 0 0 0 13px rgba(99, 138, 109, 0.1);
}

.art-chat {
  position: absolute;
  display: flex;
  height: 47px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid rgba(225, 232, 224, 0.9);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 9px 22px rgba(44, 69, 51, 0.08);
}

.art-chat span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: #f1f5ee;
  font-size: 0.85rem;
}

.art-chat i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dfe9df;
}

.chat-one { top: 29px; left: 0; transform: rotate(-8deg); }
.chat-two { top: 131px; right: -4px; transform: rotate(7deg); }
.chat-three { bottom: 24px; left: 31px; transform: rotate(5deg); }
.chat-two span { background: #f5efe1; color: #ba9e5b; }
.chat-three span { background: #eee9f3; color: #8974a0; }
.chat-three i { background: #e8e1ef; }

.art-caption {
  position: absolute;
  right: 38px;
  bottom: 2px;
  color: #859188;
  font-family: Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
}

.art-star {
  position: absolute;
  color: #7b9a7e;
}

.star-one { top: 19px; right: 27px; font-size: 1.1rem; }
.star-two { bottom: 78px; left: 4px; font-size: 1.4rem; }

.hero-footnote {
  position: absolute;
  right: 34px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8d968e;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footnote-line {
  width: 23px;
  height: 1px;
  background: #9fb2a1;
}

.groups-section {
  padding: 30px 0 40px;
}

.section-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b968e;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.section-topline span {
  color: var(--green);
  font-size: 0.8rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 7px;
}

.section-heading-actions {
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.section-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.group-total {
  padding-bottom: 3px;
  color: #8a938c;
  font-size: 0.67rem;
  white-space: nowrap;
}

.group-total strong {
  color: var(--green);
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.category-chip {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid #e8ece8;
  border-radius: 99px;
  background: #fff;
  color: #69736c;
  cursor: pointer;
  font-size: 0.66rem;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.category-chip:hover {
  border-color: #c5d8c9;
}

.category-chip.selected {
  border-color: #d4e5d8;
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}

.category-chip > span {
  font-size: 0.83rem;
}

.location-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  margin-bottom: 12px;
}

.location-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #e5ece4;
  border-radius: 9px;
  background: #f3f7f2;
  color: var(--green);
  font-size: 1.1rem;
}

.location-heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.location-heading p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
}

.location-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  align-items: end;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e9ede8;
  border-radius: 10px;
  background: #fff;
}

.filter-field {
  display: grid;
  gap: 6px;
}

.filter-field > span {
  color: #9ba39c;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.filter-field select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #edf0ec;
  border-radius: 6px;
  appearance: none;
  background: #fbfcfa;
  color: #606b63;
  cursor: pointer;
  font-size: 0.67rem;
}

.filter-field select:disabled {
  color: #a8aea9;
  cursor: not-allowed;
}

.clear-filters {
  height: 34px;
  padding: 0 7px;
  border: 0;
  background: transparent;
  color: #839087;
  cursor: pointer;
  font-size: 0.63rem;
  white-space: nowrap;
}

.clear-filters:hover {
  color: var(--green-dark);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 15px;
}

.group-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7ece7;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(33, 55, 41, 0.025);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.group-card:hover {
  transform: translateY(-2px);
  border-color: #d8e3d9;
  box-shadow: var(--shadow);
}

.group-card[hidden] {
  display: none;
}

.card-art {
  position: relative;
  display: grid;
  height: 105px;
  place-items: center;
  overflow: hidden;
  background: #edf2eb;
}

.card-art::before,
.card-art::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
}

.card-art::before {
  width: 132px;
  height: 132px;
}

.card-art::after {
  width: 92px;
  height: 92px;
}

.card-art > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--green);
  font-size: 1.45rem;
  box-shadow: 0 8px 18px rgba(52, 77, 58, 0.08);
}

.card-art > i,
.card-art > b {
  position: absolute;
  z-index: 1;
  color: rgba(74, 111, 81, 0.5);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

.card-art > i {
  top: 18px;
  right: 21%;
}

.card-art > b {
  bottom: 15px;
  left: 21%;
}

.music-art { background: linear-gradient(135deg, #e9efe7, #eff1e6 54%, #e7eee5); }
.openmic-art { background: linear-gradient(135deg, #f5eddf, #f5eee5 56%, #f0e8dc); }
.openmic-art > span { color: #b18f59; }
.openmic-art > i, .openmic-art > b { color: rgba(173, 139, 79, 0.52); }
.poetry-art { background: linear-gradient(135deg, #eee9f3, #f0eaf0 55%, #e9e9f1); }
.poetry-art > span { color: #8d789f; }
.poetry-art > i, .poetry-art > b { color: rgba(133, 108, 153, 0.5); }
.comedy-art { background: linear-gradient(135deg, #f5e9e2, #f6eee6 55%, #f1e9df); }
.comedy-art > span { color: #bf856a; }
.comedy-art > i, .comedy-art > b { color: rgba(183, 121, 94, 0.5); }
.stage-art { background: linear-gradient(135deg, #e8ebf4, #eeecf5 55%, #e8edf1); }
.stage-art > span { color: #7686a7; font-size: 1.2rem; }
.stage-art > i, .stage-art > b { color: rgba(105, 123, 163, 0.52); }
.morning-art { background: linear-gradient(135deg, #f4edda, #f5f0e1 55%, #edf0e3); }
.morning-art > span { color: #b19b57; }
.morning-art > i, .morning-art > b { color: rgba(169, 147, 80, 0.53); }
.fun-art { background: linear-gradient(135deg, #e8eef4, #ecf0ef 55%, #e9eef4); }
.fun-art > span { color: #6e8d9f; }
.fun-art > i, .fun-art > b { color: rgba(94, 132, 151, 0.51); }
.design-art { background: linear-gradient(135deg, #ede8f1, #eeeaf0 55%, #e5edf0); }
.design-art > span { color: #8c789c; }
.design-art > i, .design-art > b { color: rgba(124, 101, 146, 0.5); }
.plant-art { background: linear-gradient(135deg, #e5efe7, #ebf1e5 55%, #e4eee5); }
.plant-art > span { color: #6c9874; }
.plant-art > i, .plant-art > b { color: rgba(83, 139, 89, 0.52); }
.film-art { background: linear-gradient(135deg, #eee9e5, #f0ece6 55%, #e8ece8); }
.film-art > span { color: #967c67; }
.film-art > i, .film-art > b { color: rgba(142, 114, 89, 0.52); }

.card-content {
  padding: 12px 12px 11px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 15px;
}

.open-status,
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #849087;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  white-space: nowrap;
}

.open-status i {
  width: 5px;
  height: 5px;
}

.ticket-status {
  color: #9e8255;
}

.member-count {
  color: #98a19a;
  font-size: 0.59rem;
  white-space: nowrap;
}

.card-content h3 {
  overflow: hidden;
  margin: 10px 0 5px;
  font-family: var(--display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-content > p {
  min-height: 49px;
  margin: 0;
  color: #7e8780;
  font-size: 0.65rem;
  line-height: 1.65;
}

.card-footer {
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #f0f2ef;
}

.topic-tag,
.place-tag {
  padding: 4px 6px;
  border-radius: 5px;
  background: #f1f5f1;
  color: #6b7a6f;
  font-size: 0.53rem;
  white-space: nowrap;
}

.place-tag {
  background: #f5f5f1;
  color: #899087;
}

.join-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 0 4px 4px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font-size: 0.59rem;
  font-weight: 700;
  white-space: nowrap;
}

.join-button:hover {
  color: var(--green-dark);
}

.join-button span {
  font-size: 0.75rem;
}

.disabled-button {
  color: #a19a8a;
  cursor: not-allowed;
  font-size: 0.54rem;
}

.empty-state {
  padding: 55px 20px;
  text-align: center;
}

.empty-state > span {
  color: #81a087;
  font-size: 2rem;
}

.empty-state h3 {
  margin: 10px 0 5px;
  font-family: var(--display);
  font-size: 1rem;
}

.empty-state p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.empty-state button {
  padding: 7px 12px;
  border: 1px solid #dce9de;
  border-radius: 6px;
  background: #fff;
  color: var(--green);
  cursor: pointer;
  font-size: 0.7rem;
}

.content-footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #99a19a;
  font-size: 0.62rem;
}

.content-footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #68746b;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-brand span {
  color: var(--green);
  font-size: 0.95rem;
}

.footer-heart {
  color: #b0828a;
}

.saathi-dialog {
  position: relative;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 31px;
  overflow-y: auto;
  border: 1px solid #e8eee8;
  border-radius: 16px;
  background: white;
  box-shadow: 0 24px 80px rgba(29, 45, 34, 0.19);
  text-align: center;
}

.saathi-dialog.chat-open {
  width: min(600px, calc(100% - 32px));
}

.saathi-dialog [hidden] {
  display: none !important;
}

.saathi-dialog::backdrop {
  background: rgba(34, 43, 36, 0.32);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #f4f6f3;
  color: #778078;
  cursor: pointer;
  font-size: 1.25rem;
}

.dialog-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 1.4rem;
}

.dialog-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.saathi-dialog h2 {
  margin: 0 auto 8px;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.05em;
}

.dialog-copy {
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.dialog-form {
  display: grid;
  gap: 9px;
}

.dialog-form input {
  width: 100%;
  height: 41px;
  padding: 0 11px;
  border: 1px solid #e6ebe6;
  border-radius: 7px;
  background: #fbfcfa;
  font-size: 0.76rem;
}

.dialog-form .button-primary {
  width: 100%;
}

.auth-actions {
  display: grid;
  gap: 8px;
}

.button-secondary,
.text-button {
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: inherit;
}

.button-secondary {
  min-height: 38px;
  border: 1px solid #e1e9e1;
  border-radius: 7px;
  font-size: 0.74rem;
  font-weight: 700;
}

.text-button {
  margin-top: 10px;
  padding: 4px;
  font-size: 0.67rem;
}

.chat-panel {
  text-align: left;
}

.chat-messages {
  display: flex;
  height: min(48vh, 390px);
  min-height: 190px;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 13px;
  overflow-y: auto;
  border: 1px solid #edf0ec;
  border-radius: 9px;
  background: #fafbf9;
  list-style: none;
}

.chat-message {
  max-width: 88%;
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid #e8ece7;
  border-radius: 9px 9px 9px 2px;
  background: white;
  overflow-wrap: anywhere;
}

.chat-message.own-message {
  align-self: flex-end;
  border-color: #d9e9d9;
  border-radius: 9px 9px 2px 9px;
  background: #f0f7ef;
}

.chat-message-meta {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #657267;
  font-size: 0.64rem;
}

.chat-message-meta time {
  color: #9aa39a;
  font-size: 0.58rem;
}

.chat-message > p {
  margin: 4px 0 0;
  color: #38443a;
  font-size: 0.73rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.chat-empty {
  margin: auto;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 10px;
}

.chat-form textarea {
  width: 100%;
  min-height: 42px;
  max-height: 110px;
  padding: 10px;
  resize: vertical;
  border: 1px solid #e6ebe6;
  border-radius: 7px;
  background: #fbfcfa;
  font: inherit;
  font-size: 0.73rem;
}

.chat-form .button-primary {
  align-self: stretch;
  padding-inline: 16px;
}

.dialog-note {
  margin: 13px 0 0;
  color: #9ca49d;
  font-size: 0.63rem;
}

.dialog-feedback {
  min-height: 0;
  margin: 0;
  color: var(--green);
  font-size: 0.7rem;
}

.dialog-feedback:not(:empty) {
  margin-top: 11px;
}

.dialog-feedback.is-error {
  color: #a33d37;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 15px;
  border: 1px solid #e1e9e1;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  color: #4d5e50;
  font-size: 0.73rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .sidebar {
    width: 215px;
  }

  .main-column {
    margin-left: 215px;
  }

  .hero-art {
    right: 15px;
    transform: scale(0.85);
    transform-origin: right center;
  }

  .hero-copy {
    max-width: 490px;
  }

  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .sidebar {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    padding: 0;
    font-size: 1.15rem;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 1.15rem;
  }

  .sidebar-label,
  .sidebar-spacer,
  .sidebar-invite,
  .profile-button,
  .nav-link:not(.active) {
    display: none;
  }

  .side-nav {
    display: flex;
    margin-left: auto;
  }

  .side-nav .nav-link.active {
    display: flex;
    width: auto;
    min-height: 34px;
    padding: 0 10px;
  }

  .main-column {
    margin-left: 0;
  }

  .topbar {
    position: relative;
    height: auto;
    min-height: 62px;
    padding: 11px 18px;
  }

  .topbar-actions {
    gap: 10px;
  }

  .online-now {
    display: none;
  }

  .content {
    padding: 0 18px;
  }

  .hero {
    min-height: 347px;
    padding: 42px 8px 55px;
  }

  .hero-art {
    right: -69px;
    opacity: 0.45;
    transform: scale(0.78);
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-copy > p {
    max-width: 410px;
  }

  .hero-footnote {
    right: 8px;
  }

  .groups-section {
    padding-top: 25px;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 9px;
    padding-inline: 13px;
  }

  .search-box {
    height: 36px;
  }

  .search-box input {
    font-size: 0.68rem;
  }

  .search-box kbd {
    display: none;
  }

  .sign-in-button {
    padding-inline: 10px;
  }

  .content {
    padding-inline: 13px;
  }

  .hero {
    min-height: 360px;
    align-items: flex-start;
    padding-top: 39px;
  }

  .hero-art {
    top: 88px;
    right: -125px;
    opacity: 0.22;
    transform: scale(0.72);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  .hero-copy > p {
    max-width: 340px;
    font-size: 0.78rem;
  }

  .hero-social-proof {
    margin-top: 20px;
  }

  .hero-footnote {
    bottom: 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .group-total {
    padding: 0;
  }

  .category-list {
    flex-wrap: nowrap;
    margin-right: -13px;
    padding: 2px 13px 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    flex: 0 0 auto;
  }

  .location-filters {
    grid-template-columns: 1fr 1fr;
  }

  .clear-filters {
    justify-self: start;
  }

  .group-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .card-art {
    height: 112px;
  }

  .card-content {
    padding-inline: 14px;
  }

  .card-content > p {
    min-height: 0;
  }

  .content-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-block: 16px;
  }

  .content-footer p {
    order: 1;
    width: 100%;
  }

  .content-footer > span:last-child {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
