:root {
  --bg: #0b0a0c;
  --bg-soft: #141216;
  --surface: #18151a;
  --surface-2: #1f1a21;
  --text: #f5f1f7;
  --muted: #e2d9e7;
  --primary: #ddaecb;
  --primary-strong: #c991b2;
  --line: #514457;
  --success: #7ad1b0;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #0d0c0f 0%, var(--bg) 40%, #09080a 100%);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 13, 16, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, #2c2530, #161318);
  border: 1px solid #4a3e4d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a,
.site-footer a,
.text-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  color: #23131d;
  box-shadow: 0 10px 30px rgba(203, 146, 184, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary:hover {
  border-color: #65566c;
}

.hero {
  position: relative;
  padding: 6rem 0 4.25rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(8, 7, 9, 0.93) 18%, rgba(8, 7, 9, 0.72) 58%, rgba(8, 7, 9, 0.94) 100%),
    radial-gradient(circle at 75% 15%, rgba(221, 174, 203, 0.22), transparent 35%),
    url("./assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(18%);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(10, 9, 12, 0) 0%, rgba(10, 9, 12, 1) 95%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: block;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.hero-copy {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.05rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  margin: 1.5rem 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-stats p {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 191, 219, 0.58);
  background: rgba(24, 20, 26, 0.9);
  color: #fbf2f8;
  font-size: 0.88rem;
}

.hero-stats strong {
  color: #fff;
}

.logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-black {
  display: none;
}

.hero-card,
.positioning-box,
.card,
.step,
.lead-form {
  background: linear-gradient(145deg, rgba(34, 29, 37, 0.9), rgba(22, 19, 24, 0.95));
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-card,
.positioning-box {
  padding: 1.25rem;
}

.section {
  padding: 3.6rem 0;
}

.section-alt {
  background: rgba(15, 13, 18, 0.78);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.card {
  padding: 1rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.two-col,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.check-list {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* Who We Help — refined layout */
.who-help .who-help-header {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.who-help .who-help-header h2 {
  margin-bottom: 0.85rem;
}

.who-help-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}

.who-help-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.who-help-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(40, 34, 44, 0.95), rgba(24, 21, 26, 0.98));
  border: 1px solid rgba(221, 174, 203, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.who-help-item:hover {
  border-color: rgba(221, 174, 203, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.who-help-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(221, 174, 203, 0.22), rgba(201, 145, 178, 0.12));
  color: #f0d4e6;
  border: 1px solid rgba(221, 174, 203, 0.25);
}

.who-help-icon svg {
  display: block;
}

.who-help-item-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #ebe4ef;
  font-weight: 500;
  padding-top: 0.15rem;
}

@media (max-width: 680px) {
  .who-help-grid {
    grid-template-columns: 1fr;
  }

  .who-help .who-help-header {
    margin-bottom: 1.75rem;
  }
}

.not-for {
  color: #f0cad8;
}

blockquote {
  margin: 0.75rem 0 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--primary);
  color: #f3e8f1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.step {
  padding: 1rem;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #443749;
  color: #f4d1e5;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lead-form {
  padding: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.85rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  background: #17131a;
  border: 1px solid #4a3d50;
  color: var(--text);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(214, 163, 196, 0.35);
  border-color: #b685a8;
}

.form-btn {
  width: 100%;
  margin-top: 0.35rem;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: #ffb4b4;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-note {
  color: var(--muted);
}

.site-header .brand-text strong,
h1,
h2,
h3,
label {
  color: #fff;
}

.organizer-cta {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(34, 29, 37, 0.9), rgba(22, 19, 24, 0.95));
  box-shadow: var(--shadow);
}

.run4acause-page {
  background: #f7f8fb;
  color: #1f2a44;
}

.run4acause-page .site-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #dbe3f3;
}

.run4acause-page .brand,
.run4acause-page h1,
.run4acause-page h2,
.run4acause-page h3 {
  color: #1f2a44;
}

.run4acause-page .eyebrow {
  color: #2f5db3;
}

.run4acause-page .run4-brand-mark {
  width: 68px;
  height: 68px;
  background: #fff;
  border: 1px solid #dbe3f3;
  box-shadow: 0 10px 24px rgba(35, 58, 95, 0.12);
}

.run4acause-page .run4-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.run4acause-page .section {
  padding: 2.8rem 0;
}

.run4acause-page .lead-form {
  background: #fff;
  border: 1px solid #dbe3f3;
  box-shadow: 0 12px 28px rgba(35, 58, 95, 0.08);
}

.run4acause-page .btn-primary {
  background: linear-gradient(145deg, #2f5db3, #21488f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(33, 72, 143, 0.24);
}

.run4acause-page .btn-secondary {
  color: #21488f;
  border-color: #c7d5f0;
  background: #fff;
}

.run4acause-page .contact-note,
.run4acause-page .text-link {
  color: #4c5f82;
}

.run4acause-page label {
  color: #1f2a44;
}

.run4acause-page input,
.run4acause-page select,
.run4acause-page textarea {
  background: #fff;
  color: #1f2a44;
  border: 1px solid #cad8f0;
}

.run4acause-page input:focus,
.run4acause-page select:focus,
.run4acause-page textarea:focus {
  outline: 2px solid rgba(47, 93, 179, 0.22);
  border-color: #2f5db3;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
  background: rgba(10, 9, 12, 0.55);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 950px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero {
    padding: 5rem 0 3.75rem;
  }

  .hero::before {
    background-position: 68% center;
    background:
      linear-gradient(95deg, rgba(8, 7, 9, 0.95) 20%, rgba(8, 7, 9, 0.8) 60%, rgba(8, 7, 9, 0.95) 100%),
      radial-gradient(circle at 75% 15%, rgba(221, 174, 203, 0.2), transparent 35%),
      url("./assets/hero-bg.png");
  }
}

@media (prefers-color-scheme: light) {
  .run4acause-page .logo-white {
    display: none;
  }

  .run4acause-page .logo-black {
    display: block;
  }
}
