:root {
  --bg-top: #b32a41;
  --bg-main: #6e2333;
  --bg-main-2: #4f1f2b;
  --panel: rgba(119, 47, 63, 0.28);
  --panel-strong: rgba(125, 42, 57, 0.42);
  --border: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(172, 58, 74, 0.34);
  --text: #fff8f7;
  --muted: rgba(255, 240, 238, 0.76);
  --muted-soft: rgba(255, 240, 238, 0.58);
  --accent: #a92437;
  --accent-deep: #871c2e;
  --accent-soft: #d65363;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: #f3d9d6;
}

body.modal-open {
  overflow: hidden;
}

body.toast-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(30, 7, 13, 0.52);
  backdrop-filter: blur(6px);
}

img {
  display: block;
  max-width: 100%;
}

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

.site-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, rgba(210, 88, 110, 0.42), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(184, 54, 76, 0.22), transparent 18%),
    radial-gradient(circle at 50% 72%, rgba(168, 49, 72, 0.12), transparent 24%),
    linear-gradient(180deg, #af243b 0 86px, #50202b 86px, #351820 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(159, 32, 51, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.topbar__inner,
main,
.footer__inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.brand__mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand__copy {
  display: grid;
  gap: 2px;
}

.brand__copy strong {
  font-size: 1.15rem;
  line-height: 1;
}

.brand__copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  cursor: pointer;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.06);
}

main {
  padding: 50px 0 88px;
}

.hero {
  text-align: center;
}

.eyebrow,
.section-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.eyebrow {
  color: #ffffff;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 800;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.14);
}

.eyebrow--small,
.section-tag {
  color: var(--accent-soft);
  font-size: 0.88rem;
}

.hero h1,
.why-section h2,
.cta-panel h2,
.panel h2,
.funded-section h2 {
  margin: 18px auto 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.hero__lede {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: clamp(1.08rem, 1.8vw, 1.55rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.nav-pill:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: var(--text);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 40px rgba(115, 15, 31, 0.4);
}

.button--hero {
  min-height: 76px;
  padding: 0 48px;
  font-size: 1.65rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 34px rgba(202, 47, 71, 0.4),
    0 18px 44px rgba(115, 15, 31, 0.42);
}

.button--header {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 22px rgba(214, 83, 99, 0.28),
    0 12px 28px rgba(115, 15, 31, 0.32);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button--small {
  min-height: 46px;
  padding: 0 22px;
}

.button--submit {
  min-height: 62px;
  min-width: 260px;
  font-size: 1.12rem;
}

.button--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.metric-row {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.metric-card,
.panel,
.benefit-card,
.cta-panel,
.funded-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.metric-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  text-align: left;
}

.metric-card span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted-soft);
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.metric-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.content-grid {
  margin-top: 74px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.stacked-panels {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.panel {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.panel--compact {
  padding: 22px 26px;
}

.panel--about {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px 28px;
}

.panel h2,
.why-section h2,
.cta-panel h2,
.funded-section h2 {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
}

.panel--compact h2 {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
}

.details-list {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
}

.details-list div {
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.details-list dt {
  margin: 0;
  color: var(--muted-soft);
}

.details-list dd {
  margin: 10px 0 0;
  font-size: 1.22rem;
  font-weight: 700;
}

.detail-accent dt,
.detail-accent dd {
  color: #c91f3c;
}

.detail-accent dt {
  font-weight: 800;
}

.detail-accent dd {
  font-weight: 800;
}

.property-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.property-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.32;
}

.property-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #c33d4f, #921e30);
  box-shadow: 0 0 0 5px rgba(169, 36, 55, 0.12);
}

.about-copy,
.funded-section__lede {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--muted);
}

.about-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-stat,
.funded-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.about-stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.about-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.funded-section {
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--radius-xl);
}

.funded-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  cursor: default;
}

.funded-list {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.funded-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.funded-card h3 {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.12;
}

.funded-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.38;
}

.funded-card__tag {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(170, 42, 61, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
}


.admin-list-wrap {
  margin-top: 28px;
}

.admin-deal-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.admin-deal-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.admin-deal-card strong,
.admin-deal-card span {
  display: block;
}

.admin-deal-card span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.admin-deal-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-section {
  margin-top: 74px;
}

.benefit-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.benefit-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
}

.benefit-card h3 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.1;
}

.benefit-card p,
.cta-panel p {
  margin: 14px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta-panel {
  margin-top: 70px;
  padding: 38px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(171, 39, 54, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    var(--panel-strong);
}

.cta-panel__copy {
  max-width: 720px;
}

.cta-panel__actions {
  display: grid;
  gap: 14px;
  min-width: 270px;
}

.footer {
  background: #a22137;
}

.footer__inner {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand--footer .brand__copy strong {
  font-size: 1.1rem;
}

.footer__contact {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 10, 17, 0.64);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(90vh, 980px);
  overflow: auto;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top left, rgba(206, 80, 100, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(83, 31, 43, 0.96);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
}

.modal__dialog--admin {
  width: min(720px, 100%);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  cursor: pointer;
}

.modal__dialog h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.modal__lede {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.intake-form,
.admin-form {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full,
.intake-form__actions {
  grid-column: 1 / -1;
}

.field span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.field em {
  color: var(--muted-soft);
  font-style: normal;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  min-height: 132px;
  padding: 16px 18px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 240, 238, 0.45);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(224, 99, 119, 0.75);
  box-shadow: 0 0 0 4px rgba(205, 70, 94, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.field input[readonly] {
  color: rgba(255, 248, 247, 0.88);
  background: rgba(255, 255, 255, 0.09);
  cursor: not-allowed;
}

.intake-form__actions {
  margin-top: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  z-index: 80;
  width: min(calc(100vw - 40px), 760px);
  max-width: 760px;
  padding: 38px 44px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(196, 45, 71, 0.98), rgba(109, 17, 34, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 36px 90px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(196, 45, 71, 0.3);
  color: var(--text);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 24px)) scale(0.94);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast--visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 980px) {
  .metric-row,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel__actions {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .topbar__inner,
  .footer__inner {
    width: min(var(--max-width), calc(100% - 20px));
  }

  main {
    width: min(var(--max-width), calc(100% - 20px));
    padding-top: 46px;
  }

  .topbar__inner,
  .footer__inner,
  .funded-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .metric-row,
  .details-list,
  .property-list,
  .benefit-grid,
  .intake-form,
  .admin-form,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .funded-list {
    grid-template-columns: 1fr;
  }

  .admin-deal-card {
    display: grid;
  }

  .panel,
  .benefit-card,
  .cta-panel,
  .metric-card,
  .funded-section {
    padding: 22px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .button--hero {
    width: 100%;
    font-size: 1.35rem;
  }

  .button--header {
    width: 100%;
  }

  .hero__actions .button--ghost {
    width: 100%;
  }

  .footer__contact {
    justify-items: start;
    text-align: left;
  }

  .toast {
    left: 50%;
    right: auto;
    max-width: none;
    width: min(calc(100vw - 28px), 760px);
    padding: 30px 24px;
    font-size: 1.45rem;
    transform: translate(-50%, calc(-50% + 24px)) scale(0.94);
  }

  .toast--visible {
    transform: translate(-50%, -50%) scale(1);
  }
}
