:root {
  --green: #204b37;
  --ink: #193529;
  --cream: #faf8f0;
  --gold: #efbf53;
  --muted: #506254;
  --line: #dce4d9;
  --surface: #fffefa;
  --soft-shadow: 0 10px 30px #1935290b;
}

body { font-family: 'DM Sans', system-ui, sans-serif; }
h1, h2, h3 { text-wrap: balance; }
select { font: inherit; }
:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #ad7615;
  outline-offset: 3px;
}
.button { border-radius: 11px; min-height: 44px; }
.button.secondary:hover { background: #eaf0e7; }
.button:disabled { cursor: default; opacity: .65; transform: none; }
.nav-cta { border-radius: 10px; }

body:not(.member-mode) .hero-copy h1 { max-width: 13ch; }
body:not(.member-mode) .hero-copy > p { font-size: 17px; }
body:not(.member-mode) .art-label {
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
}
body:not(.member-mode) .service {
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}
body:not(.member-mode) .ribbon { background: #edf0e5; }

.member-mode { background: #f2f5ef; color: var(--ink); }
.member-mode .dashboard-sidebar,
.member-mode .workspace,
.member-mode .dashboard-stats article {
  border-color: var(--line);
  box-shadow: var(--soft-shadow);
}
.member-mode .workspace.dashboard-home { box-shadow: none; }
.member-mode .dashboard-welcome {
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid #dbe5d7;
  border-radius: 20px;
  background: linear-gradient(120deg, #e4eee3, #fbf3db);
}
.member-mode .dashboard-welcome p { color: var(--muted); }
.member-mode .portal-tabs button[aria-current] { font-weight: 700; }
.member-mode .directory-featured section { background: #f7f3e7; }
.member-mode .directory-featured section[hidden] { display: none; }
.member-mode .directory-card,
.member-mode .affiliate-commission,
.member-mode .lead-card {
  border-color: var(--line);
  box-shadow: 0 4px 12px #19352908;
}
.member-mode .form-panel :where(input, select, textarea):not([type=checkbox]):not([type=radio]) {
  border-radius: 10px;
  border-color: #bbc9bc;
}
.member-mode .referral-stat { min-width: 0; overflow-wrap: anywhere; }

.marketing-workspace header {
  padding: clamp(20px, 5vw, 42px);
  background: linear-gradient(115deg, #173c2d, #295740);
  box-shadow: var(--soft-shadow);
}
.marketing-workspace #marketing-nav { gap: 8px; margin-block: 18px; }
.marketing-workspace #marketing-nav :is(button, a) { min-height: 44px; }
.marketing-workspace #marketing-nav :is(button, a):hover { background: #eef3e9; }
.marketing-workspace #marketing-nav button[aria-pressed=true] {
  color: white;
  background: var(--green);
  border-color: var(--green);
}
.marketing-workspace .marketing-metrics article,
.marketing-workspace .marketing-posts article { box-shadow: var(--soft-shadow); }

@media (max-width: 650px) {
  .member-mode .dashboard-welcome { flex-wrap: wrap; gap: 14px; }
  .marketing-workspace #marketing-nav :is(button, a) { flex: 1 1 auto; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .member-mode .portal-tabs button { transition: none; }
  .button:hover { transform: none; }
}

.daily-welcome {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
}
.daily-welcome::backdrop { background: #132e22a8; }
.daily-welcome h3 { margin-top: 20px; }
.daily-welcome > button { margin-top: 24px; }
.member-mode .member-spotlight:has(> button) { padding: 16px 20px; }
.member-spotlight > button { margin: 8px 8px 0 0; }
.calendar-month-view > summary { cursor: pointer; margin: 12px 0; }
.calendar-upcoming article { padding: 12px 0; border-bottom: 1px solid var(--line); }
.calendar-upcoming h3 { font-size: 1rem; }
.calendar-upcoming p { margin: 4px 0 0; }

.campaign-hub-layout {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}
.campaign-hub-list select { width: 100%; margin: 14px 0; }
.campaign-hub-detail { min-width: 0; overflow-wrap: anywhere; }
.campaign-choice {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  margin-bottom: 8px;
  text-align: left;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.campaign-choice[aria-pressed=true] { background: #e4eee3; border-color: var(--green); }
.campaign-choice span { color: var(--muted); font-size: .85rem; }
.campaign-new > summary { cursor: pointer; font-weight: 700; }
@media (max-width: 850px) {
  .campaign-hub-layout { grid-template-columns: 1fr; }
}

.spotlight-details > summary { cursor: pointer; font-weight: 700; }
.spotlight-details .spotlight-business { margin-top: 12px; }

:root {
  --ink: #142b22;
  --green: #1d4937;
  --cream: #f7f7ef;
  --gold: #f1c45e;
  --surface: #fff;
  --line: #dce5db;
}
body {background:var(--cream);color:var(--ink)}
.header.wrap {min-height:76px;gap:20px;border-bottom:1px solid var(--line)}
.brand {letter-spacing:-.045em}
.nav-cta,.button {border-radius:10px}
.button {font-weight:700}
body.home .hero.wrap {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;gap:clamp(28px,5vw,72px);padding-block:clamp(44px,7vw,92px);
}
body.home .hero-copy h1 {font-size:clamp(2.55rem,5.65vw,5.65rem);line-height:.98;letter-spacing:-.064em;max-width:none}
body.home .hero-copy h1 em {color:var(--green)}
body.home .hero-copy>p {max-width:47ch;line-height:1.65}
body.home .hero-art {min-height:0;aspect-ratio:1.12;border-radius:24px;overflow:hidden;box-shadow:0 18px 58px #17352919}
body.home .hero-art .landscape {display:block;width:100%;height:100%;object-fit:cover}
body.home #networking {border-top:1px solid var(--line)}
.cards {gap:16px}
.cards>article {border-radius:16px;border:1px solid var(--line);background:var(--surface)}
.page-hero {padding-block:clamp(36px,6vw,80px)}
.page-hero h1,.section-heading h2 {letter-spacing:-.045em}
footer .footer-main {gap:24px}

.member-mode .dashboard-shell {grid-template-columns:minmax(180px,224px) minmax(0,1fr);gap:24px;align-items:start}
.member-mode .dashboard-sidebar {padding:12px;border-radius:16px;background:#fff}
.member-mode .portal-tabs {gap:5px}
.member-mode .portal-tabs button {min-height:42px}
.member-mode .workspace:not(.dashboard-home) {border-radius:16px}
.member-mode .dashboard-welcome {border-radius:18px;padding:clamp(20px,4vw,42px)}
.member-mode .referral-tabs {gap:6px;overflow-x:auto}
.member-mode .referral-tabs button {flex-shrink:0;border-radius:8px}
.member-mode .lead-tools {display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.member-mode .lead-tools input {flex:1 1 150px}
.member-mode .lead-tools select {min-width:0}
.member-mode :is(input,textarea,select) {max-width:100%}
.member-mode .connection-tile {max-width:none}
.member-mode .connection-snapshot {background:#eaf3ed}
@media(max-width:850px){
 body.home .hero.wrap {grid-template-columns:minmax(0,1fr);gap:28px}
 body.home .hero-art {aspect-ratio:1.45}
 .member-mode .dashboard-shell {grid-template-columns:minmax(0,1fr);gap:12px}
}
@media(max-width:480px){
 .header.wrap {min-height:64px}
 body.home .hero-copy h1 {font-size:clamp(2.25rem,10vw,3rem)}
 body.home .hero-art {border-radius:16px}
}


/* Space shared information cards consistently across public pages. */
body:not(.member-mode) .cards {
  gap: 24px;
  align-items: stretch;
}
body:not(.member-mode) .cards > article {
  box-sizing: border-box;
  min-width: 0;
  padding: 28px;
  overflow-wrap: break-word;
}
body:not(.member-mode) .cards > article > :first-child {
  margin-top: 0;
}
body:not(.member-mode) .cards > article > :last-child {
  margin-bottom: 0;
}
body:not(.member-mode) .cards > article h3 {
  margin: 0 0 16px;
  line-height: 1.3;
}
body:not(.member-mode) .cards > article p {
  margin: 0 0 16px;
  line-height: 1.65;
}
body:not(.member-mode) .cards > article .number {
  display: block;
  margin: 0 0 20px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  body:not(.member-mode) .cards,
  body:not(.member-mode) .cards:has(article:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  body:not(.member-mode) .cards,
  body:not(.member-mode) .cards:has(article:nth-child(4)) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }
  body:not(.member-mode) .cards > article {
    padding: 22px;
  }
}
