:root {
  --forest: #173f35;
  --ink: #18372e;
  --muted: #52645b;
  --lime: #d4ef79;
  --cream: #f6f8f3;
  --line: #dce5dc;
  --white: #fff;
  --coral: #e88e6f;
  --header-height: 76px;
  --radius: 18px;
  --shadow: 0 8px 28px #18372e08;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.6 ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
main {
  min-height: 45vh;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
summary {
  cursor: pointer;
}
a,
button,
input,
textarea,
select,
summary {
  outline-offset: 4px;
}
:focus-visible {
  outline: 3px solid #347957;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p {
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 650;
  letter-spacing: -0.05em;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 22px;
}
.muted,
.intro,
.helptext,
.tiny {
  color: var(--muted);
}
.tiny {
  font-size: 13px;
  line-height: 1.6;
}
.serif {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  border: 1px solid var(--forest);
  border-radius: 11px;
  background: var(--forest);
  color: white;
  padding: 13px 21px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  background: #28594a;
  box-shadow: 0 3px 12px #173f3515;
}
.button.secondary {
  background: white;
  color: var(--forest);
  border-color: #aabeb0;
}
.button.secondary:hover {
  background: #edf3e9;
}
.button.light {
  background: var(--lime);
  color: var(--forest);
  border-color: var(--lime);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
}
.wide {
  width: 100%;
}
.link {
  border: 0;
  background: none;
  color: inherit;
  text-decoration: underline;
  padding: 6px 0;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.back-link {
  margin-bottom: 16px;
  color: var(--muted);
}
.danger {
  color: #a23131;
}
.button.danger {
  background: #a23131;
  color: white;
  border-color: #a23131;
}
.nav {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fffffffa;
  backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  text-decoration: none;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 36px;
  background: var(--forest);
  color: var(--lime);
  border-radius: 9px;
  font-size: 30px;
  line-height: 1;
  position: relative;
}
.brand-icon span {
  position: absolute;
  right: -1px;
  top: -2px;
  font-size: 0;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  background: var(--forest);
}
.brand-icon span:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--lime);
  transform: rotate(-45deg);
  right: -1px;
  top: 3px;
}
.brand-dot {
  color: #628636;
  margin-left: -8px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
}
.desktop-nav > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav [aria-current],
.mobile-menu [aria-current] {
  color: #245e42;
  text-decoration: underline !important;
}
.nav form {
  margin: 0;
}
.mobile-menu,
.mobile-nav {
  display: none;
}
.skip {
  position: fixed;
  left: -1000px;
  top: 8px;
  z-index: 100;
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
}
.skip:focus {
  left: 12px;
}
.dev-banner {
  font-size: 12px;
  text-align: center;
  background: #e9eedf;
  padding: 6px;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 64px 24px 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.6px;
  color: var(--forest);
  margin-bottom: 16px;
}
.hero .eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #68964b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e5eddb;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.hero-art {
  isolation: isolate;
}
.hero-art {
  height: 440px;
  background: #e5ecd8;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-image: radial-gradient(#b8c9a5 1px, transparent 1px);
  background-size: 19px 19px;
}
.art-label {
  position: absolute;
  top: 25px;
  left: 25px;
  font-size: 9px;
  letter-spacing: 1.8px;
}
.sun {
  position: absolute;
  width: 170px;
  height: 170px;
  background: #eec789;
  right: 38px;
  top: 45px;
  border-radius: 50%;
}
.house {
  position: absolute;
  bottom: 65px;
  width: 112px;
  background: var(--forest);
  border-radius: 7px 7px 0 0;
}
.house:before {
  content: "";
  position: absolute;
  top: -45px;
  left: 0;
  width: 0;
  height: 0;
  border-left: 56px solid transparent;
  border-right: 56px solid transparent;
  border-bottom: 46px solid var(--forest);
}
.house span:before,
.house span:after {
  content: "";
  position: absolute;
  top: 26px;
  width: 18px;
  height: 30px;
  background: var(--lime);
  border-radius: 15px 15px 0 0;
}
.house span:before {
  left: 22px;
}
.house span:after {
  right: 22px;
}
.house.h1 {
  height: 155px;
  left: 35px;
  transform: rotate(-7deg);
  background: #768f69;
}
.house.h1:before {
  border-bottom-color: #768f69;
}
.house.h2 {
  height: 215px;
  left: 159px;
  z-index: 1;
}
.house.h3 {
  height: 140px;
  right: 30px;
  transform: rotate(7deg);
  background: #b47e64;
}
.house.h3:before {
  border-bottom-color: #b47e64;
}
.art-note {
  position: absolute;
  right: 20px;
  top: 150px;
  z-index: 3;
  background: #fffdf4;
  padding: 18px 20px;
  transform: rotate(6deg);
  border: 1px solid #e1e0ce;
  box-shadow: 0 7px 0 #173f3515;
}
.art-note strong {
  display: block;
  font-size: 17px;
}
.art-note p {
  font-size: 12px;
  margin: 6px 0 0;
  color: var(--muted);
}
.spark {
  font-size: 27px;
  color: #d77c55;
}
.art-bottom {
  position: absolute;
  bottom: 23px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 2px;
}
.discovery,
.content-wrap {
  max-width: 1320px;
  margin: auto;
  padding: 48px 24px;
}
.discovery {
  scroll-margin-top: var(--header-height);
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin-bottom: 8px;
}
.section-heading p {
  font-size: 14px;
  color: var(--muted);
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.search {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  align-items: end;
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search label {
  margin: 0;
  min-width: 0;
}
.search .tiny {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.search input,
.search select {
  margin-top: 8px;
  min-height: 48px;
}
.search .button {
  height: 48px;
}
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  font-size: 13px;
  text-decoration: none;
}
.category-links a:hover {
  border-color: var(--forest);
  background: #edf4e6;
}
.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 14px;
}
.filter-summary a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}
.group-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.group-card h3 {
  margin: 18px 0 12px;
  font-size: 23px;
}
.group-card h3 a {
  text-decoration: none;
}
.group-card h3 a:hover {
  text-decoration: underline;
}
.group-card p {
  font-size: 14px;
  color: var(--muted);
}
.card-top,
.member-progress,
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  border-radius: 7px;
  background: #e9f1df;
  color: var(--forest);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.place {
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.budget {
  font-size: 18px;
  font-weight: 650;
  margin: 20px 0;
}
.member-progress {
  font-size: 13px;
}
.member-progress span {
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 7px;
  border: 0;
  appearance: none;
  background: #e8eee0;
  border-radius: 8px;
  margin: 12px 0;
}
progress::-webkit-progress-bar {
  background: #e8eee0;
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: #719b52;
  border-radius: 8px;
}
progress::-moz-progress-bar {
  background: #719b52;
  border-radius: 8px;
}
.card-foot {
  font-size: 13px;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.card-foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  border: 1px dashed #b5c8ac;
  border-radius: var(--radius);
  background: #edf3e6;
  padding: 40px 24px;
}
.empty-state h3 {
  font-size: 26px;
}
.empty-state p {
  color: var(--muted);
  font-size: 15px;
}
.empty-state .tiny {
  display: block;
  margin-top: 16px;
}
.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 24px;
  margin-bottom: 16px;
}
.how-strip {
  max-width: 1272px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px auto 48px;
  padding: 28px 24px;
  border-block: 1px solid var(--line);
  gap: 32px;
}
.how-strip > div {
  position: relative;
  padding-left: 42px;
}
.how-strip span {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5eddc;
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
}
.how-strip strong {
  font-size: 15px;
}
.how-strip p {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}
.after-purchase {
  max-width: 1272px;
  margin: 0 auto 56px;
  padding: 44px;
  background: #e9eddf;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
}
.after-purchase h2 {
  font-size: 36px;
}
.after-purchase p {
  color: var(--muted);
}
.category-chips {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 12px;
}
.category-chips span {
  padding: 12px 18px;
  border: 1px solid #d2ddc8;
  background: #fcfdf7;
  border-radius: 24px;
  font-size: 14px;
}
.category-chips span:nth-child(even) {
  background: #dae9c8;
}
.supplier-cta {
  background: var(--forest);
  color: white;
  padding: 52px max(24px, calc((100vw - 1272px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.supplier-cta .eyebrow {
  color: var(--lime);
}
.supplier-cta h2 {
  font-size: 44px;
}
.supplier-cta p {
  color: #d2dfd2;
}
footer {
  max-width: 1320px;
  padding: 40px 24px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
}
.footer-brand p {
  font-size: 13px;
  margin: 12px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: flex-end;
  align-content: center;
  font-size: 13px;
}
footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
footer > .tiny {
  grid-column: 1/-1;
}
.notice {
  max-width: 1040px;
  margin: 16px auto;
  padding: 16px 20px;
  background: #e6f0dc;
  border: 1px solid #bcd2ad;
  border-radius: 12px;
}
.notice.error,
.error-summary {
  background: #fff2ee;
  border-color: #e1b8ab;
}
.page-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 16px;
  overflow-wrap: anywhere;
}
.intro {
  max-width: 760px;
  font-size: 16px;
}
.form-wrap {
  max-width: 940px;
  padding: 36px 24px 64px;
  margin: auto;
}
.editor {
  margin-top: 28px;
}
.form-guide {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
  margin: 0 0 28px;
  box-shadow: var(--shadow);
}
.form-section legend {
  padding: 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.form-section legend span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  background: var(--lime);
  border-radius: 50%;
  margin-right: 8px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.field {
  margin: 12px 0 20px;
  min-width: 0;
}
.field > label {
  display: inline;
  font-size: 14px;
  font-weight: 650;
  margin: 0;
}
.required-label,
.optional-label {
  font-size: 11px;
  margin-left: 6px;
  color: var(--muted);
  font-weight: 400;
}
.optional-label {
  font-style: italic;
}
.helptext {
  font-size: 13px;
  margin: 7px 0 0;
}
.budget-preview:empty {
  display: none;
}
.budget-preview {
  display: block;
  color: var(--forest);
  font-weight: 650;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.error-summary {
  border: 1px solid #e1b8ab;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.error-summary h2 {
  font-size: 20px;
}
.error-summary ul {
  margin-bottom: 0;
}
.error-summary a {
  display: inline-block;
  min-height: 32px;
}
.errorlist {
  color: #a23131;
  font-size: 14px;
  padding-left: 20px;
  margin: 8px 0;
}
.field-invalid input,
.field-invalid textarea,
.field-invalid select {
  border-color: #b14639;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 8px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b4c5b8;
  border-radius: 9px;
  margin-top: 7px;
  background: white;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest);
}
input::placeholder,
textarea::placeholder {
  color: #64786b;
}
textarea {
  resize: vertical;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  flex-wrap: wrap;
}
.check input,
input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--forest);
}
.auth-panel {
  max-width: 640px;
  margin: 44px auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}
.auth-panel form {
  margin-top: 24px;
}
.auth-panel .button {
  margin: 12px 0;
  min-height: 50px;
}
.auth-panel > a.button {
  width: 100%;
}
.auth-panel .eyebrow {
  margin-top: 12px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  min-width: 0;
}
.panel h2 {
  font-size: 26px;
}
.panel h3 {
  font-size: 20px;
}
.subpanel {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 12px;
  margin: 16px 0;
}
.group-heading {
  max-width: 1272px;
  margin: 28px auto 20px;
  padding: 0 24px;
}
.group-heading > .tiny {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.group-heading > .tag {
  display: table;
  margin-top: 8px;
}
.group-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.group-sections {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  display: flex;
  gap: 8px;
  max-width: 1224px;
  margin: 0 auto;
  padding: 10px 4px;
  background: var(--cream);
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}
.group-sections a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.group-sections a:hover,
.group-sections a[aria-current] {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.group-layout {
  max-width: 1272px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 24px;
  margin: 22px auto 48px;
  padding: 0 24px;
}
.group-main {
  min-width: 0;
}
.group-aside {
  min-width: 0;
}
.group-aside .sticky {
  position: sticky;
  top: calc(var(--header-height) + 80px);
  max-height: calc(100dvh - var(--header-height) - 96px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.group-aside .text-link {
  margin: 8px 0;
}
.big-number {
  font-size: 54px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.big-number span {
  display: block;
  font-size: 14px;
  letter-spacing: 0;
  font-weight: 400;
  margin: 8px 0;
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #f1f5ed;
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.facts dt {
  font-size: 13px;
  color: var(--muted);
}
.facts dd {
  font-size: 15px;
  font-weight: 650;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.discussion-feed {
  min-height: 76px;
  max-height: min(420px, 50dvh);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.discussion-feed article {
  padding: 14px;
  background: #f2f6ee;
  border: 1px solid #e4ebdc;
  border-radius: 12px;
  margin: 12px 0;
}
.discussion-feed article p {
  margin: 8px 0;
  line-height: 1.7;
}
.discussion-feed .tiny {
  font-size: 12px;
}
.discussion-form {
  position: relative;
  bottom: auto;
  background: white;
  border-top: 1px solid var(--line);
  padding-top: 4px;
  margin-top: 16px;
}
.discussion-form textarea {
  margin-bottom: 8px;
}
.form-status {
  font-size: 14px;
  margin: 8px 0 0;
  color: var(--forest);
}
.whatsapp {
  background: #25774c;
}
.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 14px;
  margin: 12px 0;
}
.share-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.member-row {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.member-row small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
details {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
summary {
  font-weight: 600;
  min-height: 44px;
  padding: 8px 0;
  font-size: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.metrics > div {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  font-size: 14px;
}
.metrics strong {
  display: block;
  font-size: 32px;
}
.notification {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.notification time {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.legal {
  max-width: 820px;
  margin: 44px auto;
  padding: 0 24px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 32px;
}
.private-panel {
  background: #eaf1e0;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.group-card h3,
.group-card p,
.panel h2,
.panel h3,
.tag {
  overflow-wrap: anywhere;
}
.panel form {
  max-width: 100%;
}
section[id],
main[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
.group-layout section[id] {
  scroll-margin-top: calc(var(--header-height) + 80px);
}
@media (max-width: 1200px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .mobile-menu > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 88px;
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    background: white;
  }
  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu nav {
    position: fixed;
    right: 20px;
    top: calc(var(--header-height) - 2px);
    width: min(350px, calc(100vw - 40px));
    max-height: calc(100dvh - 170px);
    overflow: auto;
    padding: 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 48px #173f3520;
  }
  .mobile-menu nav > a:not(.button),
  .mobile-menu nav form button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
  }
  .mobile-menu nav > a:hover {
    background: #edf3e6;
  }
  .mobile-menu nav .button {
    width: 100%;
    margin-top: 8px;
  }
  .hero {
    gap: 32px;
  }
  .hero-art {
    height: 400px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-strip,
  .after-purchase {
    margin-left: 24px;
    margin-right: 24px;
  }
  .group-sections {
    margin-inline: 24px;
  }
  .group-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  :root {
    --header-height: calc(68px + env(safe-area-inset-top));
    --mobile-nav-height: 78px;
  }
  .nav {
    padding: env(safe-area-inset-top) 20px 0;
  }
  .brand {
    font-size: 27px;
  }
  .brand-icon {
    width: 30px;
    height: 34px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 28px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(42px, 8vw, 58px);
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-art {
    height: 230px;
  }
  .house {
    bottom: 32px;
  }
  .house.h1 {
    height: 108px;
    left: 8%;
  }
  .house.h2 {
    height: 136px;
    left: 37%;
  }
  .house.h3 {
    height: 95px;
    right: 5%;
  }
  .sun {
    height: 108px;
    width: 108px;
    top: 25px;
  }
  .art-note {
    top: 54px;
    right: 18px;
    padding: 10px 14px;
  }
  .art-note strong {
    font-size: 15px;
  }
  .art-note p {
    font-size: 11px;
  }
  .art-label {
    top: 14px;
    left: 18px;
  }
  .art-bottom {
    bottom: 12px;
    left: 18px;
    right: 18px;
  }
  .spark {
    font-size: 20px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    flex: 1;
    white-space: nowrap;
    font-size: 14px;
    padding: 12px;
  }
  .trust {
    gap: 8px 14px;
    font-size: 12px;
  }
  .discovery,
  .content-wrap {
    padding: 32px 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .section-heading p {
    margin-top: 12px;
  }
  .section-heading .button {
    margin-top: 12px;
  }
  .search {
    gap: 14px;
    padding: 18px;
  }
  .search > label:first-child,
  .search > .button {
    grid-column: 1/-1;
  }
  .category-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    max-width: 100%;
    scrollbar-width: thin;
  }
  .category-links a {
    white-space: nowrap;
    flex: none;
  }
  .how-strip {
    grid-template-columns: 1fr;
    margin: 16px 20px 36px;
    padding: 24px 0;
    gap: 24px;
  }
  .after-purchase {
    grid-template-columns: 1fr;
    margin: 0 20px 36px;
    padding: 28px 24px;
    gap: 20px;
  }
  .after-purchase h2 {
    font-size: 30px;
  }
  .category-chips {
    gap: 8px;
  }
  .category-chips span {
    font-size: 13px;
    padding: 10px 14px;
  }
  .supplier-cta {
    display: block;
    padding: 36px 20px;
  }
  .supplier-cta h2 {
    font-size: 36px;
  }
  .supplier-cta .button {
    margin-top: 12px;
  }
  footer {
    display: block;
    padding: 32px 20px
      calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 24px);
  }
  footer nav {
    justify-content: flex-start;
    margin: 20px 0;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-top: 1px solid var(--line);
    background: #fffffffc;
    backdrop-filter: blur(16px);
    padding: 6px 8px calc(env(safe-area-inset-bottom) + 6px);
    min-height: var(--mobile-nav-height);
  }
  .mobile-nav a {
    min-width: 0;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    color: var(--muted);
  }
  .mobile-nav a[aria-current] {
    background: #eaf2df;
    color: var(--forest);
  }
  .mobile-nav a .icon {
    width: 22px;
    height: 22px;
  }
  .mobile-nav a:nth-child(3) .icon {
    background: var(--forest);
    color: var(--lime);
    width: 26px;
    height: 26px;
    padding: 3px;
    border-radius: 8px;
  }
  body.form-editing .mobile-nav {
    display: none;
  }
  .group-heading {
    padding: 0 20px;
    margin: 18px auto 16px;
  }
  .group-heading .page-title {
    font-size: 34px;
  }
  .group-quick-actions {
    gap: 8px 12px;
    margin-top: 16px;
  }
  .group-quick-actions > .tag {
    flex-basis: 100%;
    width: fit-content;
    background: transparent;
    padding: 0;
  }
  .group-sections {
    margin: 0;
    padding: 8px 20px;
    max-width: 100%;
  }
  .group-sections a {
    padding: 9px 16px;
  }
  .group-layout {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin: 16px auto 36px;
    gap: 0;
  }
  .group-main,
  .group-aside {
    display: block;
    min-width: 0;
  }
  .group-aside .sticky {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .group-aside {
    order: 1;
  }
  .panel {
    padding: 22px;
    margin-bottom: 18px;
  }
  .panel h2 {
    font-size: 25px;
  }
  .discussion-form {
    padding-bottom: 6px;
  }
  .discussion-form .button {
    width: 100%;
  }
  .facts {
    gap: 16px;
    padding: 16px;
  }
  .facts dd {
    font-size: 14px;
  }
  .form-wrap {
    padding: 24px 20px 40px;
  }
  .form-section {
    padding: 20px;
  }
  .form-section legend {
    font-size: 18px;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .form-actions .button {
    width: 100%;
  }
  .auth-panel {
    margin: 28px 20px;
    padding: 24px;
    max-width: none;
  }
  .auth-panel .page-title {
    font-size: 34px;
  }
  .notice {
    margin: 12px 20px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .metrics > div {
    padding: 18px;
  }
  .big-number {
    font-size: 46px;
  }
  h2 {
    font-size: 28px;
  }
  .legal {
    margin: 28px auto;
    padding: 0 20px;
  }
  .group-grid {
    gap: 16px;
  }
  .group-card {
    padding: 22px;
  }
  .group-card h3 {
    font-size: 22px;
  }
}
@media (max-width: 540px) {
  .group-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-title {
    font-size: 34px;
  }
}
@media (max-width: 350px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero h1 {
    font-size: 42px;
  }
  .mobile-nav a {
    font-size: 11px;
  }
  .form-section {
    padding: 16px;
  }
  .group-heading .page-title {
    font-size: 31px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Keep controls clear of phone notches in landscape and installed PWA mode. */
@media (max-width: 800px) {
  .nav,
  .hero,
  .discovery,
  .content-wrap,
  .group-heading,
  .group-layout,
  .form-wrap,
  .legal,
  footer,
  .group-sections {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .mobile-nav {
    padding-left: max(8px, env(safe-area-inset-left));
    padding-right: max(8px, env(safe-area-inset-right));
  }
  .auth-panel {
    margin-left: max(20px, env(safe-area-inset-left));
    margin-right: max(20px, env(safe-area-inset-right));
  }
}
.verification-note {
  padding: 18px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.verification-note p {
  margin: 8px 0 0;
}
.auth-feedback {
  margin: 16px 0;
  max-width: 100%;
}
.auth-feedback p {
  margin: 0;
}
.auth-feedback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.form-status a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 8px;
  font-weight: 650;
}

/* Keep native select semantics and keyboard support with a consistent visual control. */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%23173f35' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  padding-right: 44px;
  cursor: pointer;
}
select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
@media (forced-colors: active) {
  select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
  }
}
.ticket-reference {
  font-family: ui-monospace, monospace;
  overflow-wrap: anywhere;
  font-size: 15px;
}
.contact-wrap {
  max-width: 780px;
}

/* Invitation actions remain separate from navigation and discussion controls. */
.group-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.card-share {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
}
.invitation-prompt {
  max-width: 760px;
  margin-top: 24px;
  background: #eef4df;
}
.invitation-prompt h2 {
  margin: 0 0 8px;
}
.invite-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 24px 100px #102c3650;
}
.invite-dialog::backdrop {
  background: #10271fcc;
}
.invite-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.invite-dialog-head h2 {
  font-size: 28px;
  margin: 0;
}
.invite-close {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  flex-shrink: 0;
}
.invite-group-name {
  font-weight: 700;
  overflow-wrap: anywhere;
}
.invite-choices {
  display: grid;
  gap: 12px;
  margin: 22px 0 12px;
}
.invite-choices .button {
  min-height: 48px;
  width: 100%;
}
.invite-alternatives {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 0;
}
.invite-alternatives[hidden] {
  display: none;
}
.invite-alternatives a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.invite-dialog .copy-fallback {
  width: 100%;
  box-sizing: border-box;
}
body.invite-dialog-open {
  overflow: hidden;
}
@media (max-width: 800px) {
  .invite-dialog {
    position: fixed;
    inset: auto 0 0;
    margin: 0;
    width: 100%;
    max-width: none;
    max-height: 85dvh;
    border-radius: 24px 24px 0 0;
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  }
}

/* Keep the empty copy live region accessible without adding a gap in the choices. */
.invite-choices .copy-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
[data-invite-url],
.group-card-actions .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.invite-alternatives a {
  min-width: 44px;
}

/* Keep invitations within the discussion layout so messages stay unobscured. */
.discussion-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.discussion-actions .button {
  width: auto;
  margin-top: 0;
}
