:root {
  --sr-green: #2f6f4e;
  --sr-green-dark: #163c2e;
  --sr-gold: #c89b3c;
  --sr-ink: #26312c;
  --sr-muted: #66746d;
  --sr-soft: #f3f6f2;
  --sr-line: #dbe3dc;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--sr-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: var(--sr-green);
}

.btn {
  border-radius: 8px;
  font-weight: 650;
}

.btn-primary {
  --bs-btn-bg: var(--sr-green);
  --bs-btn-border-color: var(--sr-green);
  --bs-btn-hover-bg: var(--sr-green-dark);
  --bs-btn-hover-border-color: var(--sr-green-dark);
  --bs-btn-active-bg: var(--sr-green-dark);
  --bs-btn-active-border-color: var(--sr-green-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--sr-green);
  --bs-btn-border-color: var(--sr-green);
  --bs-btn-hover-bg: var(--sr-green);
  --bs-btn-hover-border-color: var(--sr-green);
}

.navbar {
  min-height: 72px;
}

.navbar-brand {
  color: var(--sr-ink);
}

.brand-mark {
  align-items: center;
  background: var(--sr-green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.9rem;
  height: 38px;
  justify-content: center;
  letter-spacing: 0;
  width: 38px;
}

.nav-logo {
  background: #eee8d7;
  border-radius: 8px;
  display: block;
  height: 40px;
  object-fit: cover;
  width: 86px;
}

.nav-link {
  color: var(--sr-ink);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--sr-green);
}

.hero-section {
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-color: #eee8d7;
  background-image: url("assets/summers-ridge-hoa-logo.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(13, 35, 27, 0.9), rgba(13, 35, 27, 0.58) 52%, rgba(13, 35, 27, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.min-vh-75 {
  min-height: 680px;
}

.eyebrow {
  color: var(--sr-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-pad {
  padding: 88px 0;
}

.page-hero {
  padding: 82px 0;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 760;
}

.page-hero .lead {
  max-width: 760px;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 720px;
}

.section-heading h2,
#contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 750;
}

.share-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-link {
  align-items: center;
  border-radius: 8px;
  color: var(--sr-green);
  display: inline-flex;
  font-size: 0.62em;
  line-height: 1;
  opacity: 0.72;
  position: relative;
  text-decoration: none;
}

.section-link::after {
  background: var(--sr-green-dark);
  border-radius: 8px;
  color: #fff;
  content: "Copy link";
  font-size: 0.75rem;
  font-weight: 700;
  left: 50%;
  opacity: 0;
  padding: 6px 8px;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  transition: opacity 160ms ease;
  white-space: nowrap;
  z-index: 3;
}

.section-link:hover,
.section-link:focus {
  color: var(--sr-green-dark);
  opacity: 1;
}

.section-link:hover::after,
.section-link:focus::after {
  opacity: 1;
}

.section-link:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(47, 111, 78, 0.18);
  outline: 0;
}

.copy-toast {
  background: var(--sr-green-dark);
  border-radius: 8px;
  top: 88px;
  box-shadow: 0 14px 34px rgba(22, 60, 46, 0.24);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  padding: 12px 18px;
  right: 24px;
  pointer-events: none;
  position: fixed;
  transform: translateY(-10px);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 1080;
}

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

.bg-soft {
  background: var(--sr-soft);
}

.quick-link {
  align-items: center;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  color: var(--sr-ink);
  display: flex;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.quick-link:hover,
.quick-link:focus {
  border-color: var(--sr-green);
  color: var(--sr-ink);
  transform: translateY(-2px);
}

.quick-link i {
  align-items: center;
  background: rgba(47, 111, 78, 0.1);
  border-radius: 8px;
  color: var(--sr-green);
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 1.35rem;
  height: 46px;
  justify-content: center;
}

.quick-link small,
.resource-row small {
  color: var(--sr-muted);
  display: block;
}

.info-card {
  background: #fff;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 26px;
  position: relative;
}

.info-card h3 {
  font-size: 1.35rem;
  font-weight: 740;
}

.info-card p {
  color: var(--sr-muted);
}

.info-card a {
  font-weight: 700;
  text-decoration: none;
}

.card-date {
  color: var(--sr-gold);
  font-weight: 800;
  margin-bottom: 16px;
}

.announcement-list {
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  overflow: hidden;
}

.announcement-list .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--sr-line);
}

.announcement-list .accordion-item:last-child {
  border-bottom: 0;
}

.announcement-button {
  align-items: center;
  background: #fff;
  color: var(--sr-ink);
  display: grid;
  gap: 22px;
  grid-template-columns: 90px 1fr;
  padding: 24px 28px;
}

.announcement-button:not(.collapsed) {
  background: var(--sr-soft);
  box-shadow: none;
  color: var(--sr-ink);
}

.announcement-button:focus {
  border-color: var(--sr-green);
  box-shadow: 0 0 0 0.25rem rgba(47, 111, 78, 0.18);
}

.announcement-summary {
  display: grid;
  gap: 6px;
  padding-right: 18px;
  text-align: left;
}

.announcement-title {
  color: var(--sr-ink);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
}

.announcement-preview {
  color: var(--sr-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.announcement-body {
  padding: 4px 28px 30px 140px;
}

.announcement-body p {
  color: var(--sr-muted);
}

.announcement-body a {
  font-weight: 700;
  text-decoration: none;
}

.announcement-signoff {
  color: var(--sr-ink) !important;
  font-weight: 750;
  margin-bottom: 0 !important;
}

.announcement-date {
  align-items: center;
  background: #fff;
  border-left: 4px solid var(--sr-gold);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 74px;
  text-align: center;
}

.announcement-button:not(.collapsed) .announcement-date {
  background: rgba(255, 255, 255, 0.78);
}

.announcement-date span {
  color: var(--sr-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-date strong {
  color: var(--sr-green-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.resource-list {
  background: #fff;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  overflow: hidden;
}

.resource-row {
  align-items: center;
  border-bottom: 1px solid var(--sr-line);
  color: var(--sr-ink);
  display: grid;
  gap: 16px;
  grid-template-columns: 42px 1fr 22px;
  padding: 20px;
  text-decoration: none;
}

.resource-row:last-child {
  border-bottom: 0;
}

.resource-row:hover,
.resource-row:focus {
  background: rgba(47, 111, 78, 0.06);
  color: var(--sr-ink);
}

.resource-row > i:first-child {
  color: var(--sr-green);
  font-size: 1.5rem;
}

.resource-emoji {
  align-items: center;
  display: inline-flex;
  font-size: 1.45rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.notice-panel,
.contact-form,
.thank-you-card {
  background: #fff;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 30px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-detail {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.contact-detail i {
  color: var(--sr-green);
  font-size: 1.2rem;
}

.contact-section {
  background: var(--sr-green-dark);
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--sr-gold);
}

.contact-section .lead,
.contact-section .contact-detail span {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section a {
  color: #fff;
}

.contact-section .contact-detail i {
  color: var(--sr-gold);
}

.contact-section .contact-form {
  background: rgba(255, 255, 255, 0.98);
  color: var(--sr-ink);
}

.dues-invoice {
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 32px;
}

.dues-invoice h2 {
  font-size: 1.45rem;
  font-weight: 750;
  margin: 28px 0 18px;
}

.invoice-details {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.invoice-details > div {
  background: var(--sr-soft);
  border-left: 4px solid var(--sr-gold);
  border-radius: 8px;
  padding: 16px 18px;
}

.invoice-details dt {
  font-weight: 750;
}

.invoice-details dd {
  color: var(--sr-muted);
  margin-bottom: 0;
}

.form-control,
.form-select {
  border-color: var(--sr-line);
  border-radius: 8px;
  min-height: 48px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--sr-green);
  box-shadow: 0 0 0 0.25rem rgba(47, 111, 78, 0.18);
}

textarea.form-control {
  min-height: 150px;
}

.site-footer {
  color: var(--sr-muted);
}

.site-footer a {
  color: var(--sr-muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--sr-green);
}

.faq-sidebar {
  background: #fff;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  padding: 26px;
  position: sticky;
  top: 96px;
}

.faq-sidebar h2 {
  font-size: 1.2rem;
  font-weight: 750;
  margin-bottom: 18px;
}

.faq-sidebar a {
  align-items: center;
  border-top: 1px solid var(--sr-line);
  color: var(--sr-ink);
  display: flex;
  gap: 12px;
  padding: 14px 0;
  text-decoration: none;
}

.faq-sidebar a span {
  display: grid;
}

.faq-sidebar a small {
  color: var(--sr-muted);
  overflow-wrap: anywhere;
}

.faq-sidebar a:last-child {
  padding-bottom: 0;
}

.faq-sidebar i {
  color: var(--sr-green);
  font-size: 1.15rem;
}

.faq-accordion {
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  overflow: hidden;
}

.faq-accordion .accordion-item {
  border-color: var(--sr-line);
}

.faq-accordion .accordion-button {
  color: var(--sr-ink);
  font-weight: 750;
  line-height: 1.35;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--sr-soft);
  box-shadow: none;
  color: var(--sr-green-dark);
}

.faq-accordion .accordion-button:focus {
  border-color: var(--sr-green);
  box-shadow: 0 0 0 0.25rem rgba(47, 111, 78, 0.18);
}

.faq-accordion blockquote {
  background: var(--sr-soft);
  border-left: 4px solid var(--sr-gold);
  border-radius: 8px;
  color: var(--sr-ink);
  margin: 18px 0;
  padding: 16px 18px;
}

.faq-accordion cite {
  color: var(--sr-muted);
  display: block;
  font-size: 0.92rem;
  font-style: normal;
  margin-top: 8px;
}

.faq-accordion h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin: 22px 0 14px;
}

.mini-list {
  background: var(--sr-soft);
  border-radius: 8px;
  padding: 18px;
}

.mini-list h4 {
  font-size: 1rem;
  font-weight: 750;
}

.mini-list ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.thank-you-page {
  background: var(--sr-soft);
}

.thank-you-card {
  max-width: 560px;
}

.thank-you-icon {
  align-items: center;
  background: var(--sr-green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 2rem;
  height: 72px;
  justify-content: center;
  width: 72px;
}

@media (max-width: 767.98px) {
  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-section,
  .min-vh-75 {
    min-height: 620px;
  }

  .hero-shade {
    background: rgba(13, 35, 27, 0.72);
  }

  .hero-media {
    transform: none;
  }

  .section-pad {
    padding: 62px 0;
  }

  .page-hero {
    padding: 54px 0;
  }

  .faq-sidebar {
    position: static;
  }

  .display-4 {
    font-size: 2.45rem;
  }

  .nav-logo {
    height: 36px;
    width: 76px;
  }

  .quick-link {
    min-height: auto;
  }

  .resource-row {
    grid-template-columns: 36px 1fr;
  }

  .resource-row > i:last-child {
    display: none;
  }

  .announcement-button {
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .announcement-summary {
    padding-right: 0;
  }

  .announcement-body {
    padding: 0 20px 24px;
  }

  .announcement-date {
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    min-height: auto;
    padding: 14px 16px;
    text-align: left;
  }
}
