:root {
  --forest: #174d40;
  --deep: #123d33;
  --mint: #d9f0e5;
  --cream: #fffdf7;
  --sun: #ffc84f;
  --coral: #f37658;
  --ink: #173e35;
  --muted: #4a5d55;
  --line: #dbe7df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
}

.announcement {
  background: var(--forest);
  color: #eafff4;
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
}

.announcement span {
  color: var(--sun);
  margin-right: 7px;
}

.announcement a {
  color: #eafff4;
  font-weight: 700;
  margin-left: 8px;
}

.site-header {
  height: 84px;
  max-width: 1240px;
  padding: 0 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-weight: 700;
  font-size: 17px;
  line-height: .84;
  text-decoration: none;
  letter-spacing: -.7px;
}

.brand-mark {
  display: grid;
  place-items: center;
  background: var(--coral);
  color: #fff;
  border-radius: 15px;
  width: 35px;
  height: 35px;
  font-size: 20px;
  transform: rotate(-8deg);
}

nav {
  display: flex;
  gap: 30px;
}

nav a,
.text-button {
  font: 600 14px inherit;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.button {
  background: var(--forest);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 14px 20px;
  text-decoration: none;
  font: 700 14px inherit;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(18, 61, 51, .11);
  transition: .2s;
}

.button:hover {
  transform: translateY(-2px);
  background: #0b362d;
}

.button.small {
  padding: 12px 16px;
  font-size: 13px;
}

.hero {
  min-height: 530px;
  background: #dff2e7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-copy {
  max-width: 620px;
  margin-left: max(28px, calc((100vw - 1184px) / 2));
  padding: 85px 25px 70px 0;
}

.eyebrow {
  color: #3b574a;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 15px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #79bb93;
  border-radius: 50%;
  margin-right: 7px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, serif;
  letter-spacing: -1.2px;
}

h1 {
  font-size: 59px;
  line-height: 1.03;
  color: var(--forest);
}

h1 em,
h2 em {
  color: var(--coral);
  font-style: italic;
}

.hero-text {
  max-width: 460px;
  line-height: 1.65;
  color: #2c423b;
  margin: 22px 0;
}

.trust-row {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  color: #2c423b;
  font-size: 13px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  background: linear-gradient(145deg, #caeddc, #a6ddc1);
  overflow: hidden;
}

.sun {
  width: 225px;
  height: 225px;
  background: #ffcf55;
  border-radius: 50%;
  position: absolute;
  right: 13%;
  top: 47px;
}

.ground {
  position: absolute;
  width: 125%;
  height: 180px;
  background: #81c89b;
  border-radius: 50% 50% 0 0;
  bottom: -88px;
  left: -10%;
  transform: rotate(-4deg);
}

.cloud {
  position: absolute;
  background: #fffdf7;
  border-radius: 50px;
  width: 115px;
  height: 25px;
  opacity: .85;
}

.c1 {
  top: 90px;
  left: 13%;
}

.c2 {
  top: 190px;
  right: 4%;
  transform: scale(.65);
}

.scene-card {
  position: absolute;
  background: #fffdf7;
  border-radius: 16px;
  padding: 14px 17px;
  box-shadow: 0 14px 30px #306f5740;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 8px;
  font-size: 14px;
}

.scene-card span {
  grid-row: span 2;
  font-size: 25px;
}

.scene-card strong {
  font-size: 14px;
}

.scene-card small {
  color: #4a5d55;
  font-size: 11px;
}

.card-one {
  top: 125px;
  left: 18%;
  transform: rotate(-5deg);
}

.card-two {
  top: 272px;
  right: 12%;
  transform: rotate(4deg);
}

.hero-heart {
  position: absolute;
  left: 39%;
  bottom: 80px;
  background: var(--coral);
  height: 105px;
  width: 105px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 56px;
  border-radius: 39% 50% 44% 50%;
  transform: rotate(-8deg);
  box-shadow: inset -7px -7px #d66047;
}

.sprout {
  position: absolute;
  bottom: 185px;
  left: 51%;
  color: var(--forest);
  font-size: 33px;
}

.matcher {
  max-width: 1120px;
  margin: -43px auto 80px;
  background: #fff;
  padding: 31px 38px 21px;
  border-radius: 18px;
  box-shadow: 0 17px 36px #174d401a;
  position: relative;
}

.matcher-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.matcher-heading .eyebrow {
  margin: 0;
}

.matcher h2 {
  font-size: 25px;
}

.matcher-heading>p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 23px;
}

label>span {
  font-weight: 700;
  font-size: 12px;
  display: block;
  margin: 0 0 7px;
}

input,
select,
.field {
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 12px;
  color: var(--ink);
  font: 500 14px inherit;
}

.field {
  display: flex;
  align-items: center;
  gap: 7px;
}

.field input {
  border: 0;
  padding: 0;
  outline: 0;
}

.match-button {
  width: 100%;
  margin: 16px 0 0;
  font-size: 15px;
}

.match-button span {
  font-size: 20px;
  margin-left: 8px;
}

/* Darkened subtext across service and note boxes */
.small-note,
.need,
.card-body .organization,
.card-body .meta,
.card-body .cost {
  color: #2b3a33 !important;
}

.small-note {
  text-align: center;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 500;
}

.opportunities {
  max-width: 1184px;
  margin: 0 auto 95px;
  padding: 0 25px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.section-top h2,
.how h2,
.impact-copy h2,
.safety h2 {
  font-size: 38px;
}

.result-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin: 24px 0 17px;
}

.verified-pill {
  padding: 6px 8px;
  background: #e6f5eb;
  color: #1b533a;
  font-size: 10px;
  font-weight: 700;
  border-radius: 5px;
  letter-spacing: .5px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.opp-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  transition: .2s;
}

.opp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 25px #174d4012;
}

.card-banner {
  height: 112px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-banner.warm {
  background: #ffe4c4;
}

.card-banner.fresh {
  background: #d5edf0;
}

.card-banner.soft {
  background: #f9d6ce;
}

.card-banner.calm {
  background: #d8efe4;
}

.card-banner .emoji {
  font-size: 44px;
  filter: drop-shadow(0 4px 1px #00000010);
}

.card-banner .tag {
  font-size: 10px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff9;
  letter-spacing: .3px;
}

.card-body {
  padding: 18px;
}

.organization {
  font-size: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.confirm {
  font-size: 10px;
  color: #2d6b4d;
  white-space: nowrap;
}

.opp-card h3 {
  font-size: 22px;
  margin: 9px 0;
}

.need {
  font-size: 13px;
  line-height: 1.5;
  min-height: 39px;
  margin: 0 0 15px;
}

.meta {
  border-top: 1px solid #edf1ed;
  border-bottom: 1px solid #edf1ed;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 11px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.cost {
  font-size: 12px;
}

.cost b {
  display: block;
  color: var(--forest);
  font-size: 14px;
}

.detail-link,
.path-link {
  border: 0;
  background: none;
  color: var(--forest);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.view-all {
  display: block;
  margin: 30px auto 0;
  border: 0;
  background: none;
  color: var(--forest);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.how {
  max-width: 1100px;
  margin: 90px auto;
  padding: 0 25px;
  text-align: center;
}

.how h2 {
  margin-bottom: 44px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  text-align: left;
}

.steps article {
  position: relative;
}

.step-num {
  position: absolute;
  right: 0;
  color: #728a7e;
  font: 600 13px Fraunces;
}

.step-icon {
  width: 55px;
  height: 55px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 18px;
}

.mint {
  background: #d8efe4;
}

.yellow {
  background: #ffe9a8;
}

.coral {
  background: #ffd8ce;
}

.steps h3 {
  font-size: 23px;
}

.steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.rewards {
  background: #f7d66e;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
  padding: 68px max(30px, calc((100vw - 970px) / 2));
}

.rewards h2 {
  font-size: 43px;
}

.rewards>div>p:not(.eyebrow) {
  line-height: 1.6;
  color: #3b3012;
  max-width: 430px;
}

.reward-illustration {
  height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge & Heart Styling */
.badge {
  width: 205px;
  height: 205px;
  background: var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  color: white;
  font: 700 70px Fraunces, serif;
  box-shadow: inset -11px -10px #d75e45;
  transform: rotate(-12deg);
  margin: 15px auto;
  line-height: 1;
}

.badge small {
  display: block;
  font: 700 11px 'DM Sans', sans-serif;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
  color: #ffffff;
}

.spark {
  position: absolute;
  color: var(--forest);
  line-height: 1;
  user-select: none;
}

.s1 {
  top: 15px;
  left: 8%;
  font-size: 28px;
}

.s2 {
  bottom: 20px;
  right: 18%;
  font-size: 42px;
}

.s3 {
  right: 5%;
  top: 42%;
  font-size: 20px;
}

.milestones {
  display: flex;
  gap: 19px;
  margin: 19px 0;
}

.milestones span {
  font-size: 11px;
  font-weight: 600;
}

.milestones b {
  display: block;
  font: 700 22px Fraunces;
}

.button.light {
  display: inline-block;
  background: var(--forest);
  margin-top: 9px;
}

.two-paths {
  max-width: 1100px;
  margin: 90px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 25px;
}

.path {
  border-radius: 16px;
  padding: 38px;
  min-height: 260px;
}

.path.org {
  background: #d9f0e5;
}

.path.help {
  background: #ffe1d5;
}

.path-icon {
  font-size: 28px;
}

.path h2 {
  font-size: 31px;
  margin-top: 10px;
}

.path p:not(.eyebrow) {
  color: #2f453c;
  line-height: 1.55;
  max-width: 370px;
  font-size: 14px;
}

.path-link {
  padding: 0;
  margin-top: 10px;
}

.safety {
  background: #f2f6f1;
  padding: 65px max(30px, calc((100vw - 1100px) / 2));
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}

.safety-list p {
  border-bottom: 1px solid #d5e2d9;
  margin: 0;
  padding: 0 0 18px;
  margin-bottom: 18px;
  color: #2f453c;
  font-size: 14px;
}

.safety-list span {
  color: #256b4a;
  font-weight: 700;
  margin-right: 8px;
}

.safety-list b {
  color: var(--forest);
}

footer {
  max-width: 1184px;
  margin: auto;
  padding: 38px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4a5d55;
  font-size: 12px;
}

footer div {
  display: flex;
  gap: 18px;
}

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

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--forest);
  color: white;
  padding: 13px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 25px #123d3340;
  transition: .3s;
  z-index: 20;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Modals & Account Layout */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
}

.cute-modal {
  text-align: center;
}

.cute-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cute-modal h2 {
  margin-bottom: 0.5rem;
  font-family: 'Fraunces', serif;
}

.cute-modal p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.cute-modal form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.cute-modal input,
.cute-modal select,
.cute-modal textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #173e35;
}

.button.full-width {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Account Profile Badge in Header */
.account-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  background: #f0f7f4;
  border: 1px solid #d0e7dd;
  cursor: pointer;
}

.account-pill .user-pts {
  background: #10b981;
  color: white;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Account Modal */
.points-card {
  background: #fdf8f4;
  border-radius: 14px;
  padding: 1.2rem;
  margin: 1rem 0;
  border: 1px dashed #f5d0b0;
}

.pts-big {
  font-size: 2.2rem;
  font-weight: 700;
  color: #d97706;
}

.pts-big span {
  font-size: 1rem;
  color: #555;
}

/* Mobile Responsiveness */
@media(max-width:800px) {
  nav { display: none; }
  .site-header { height: 70px; }
  .header-actions .text-button { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 58px 25px 40px; margin: 0; }
  .hero-visual { min-height: 300px; }
  .sun { width: 170px; height: 170px; top: 28px; }
  .card-two { top: 180px; }
  .matcher { margin: -25px 15px 60px; padding: 25px 20px; }
  .matcher-heading { display: block; }
  .matcher-heading h2 { margin: 7px 0; }
  .form-grid, .cards, .steps, .two-paths { grid-template-columns: 1fr; }
  .form-grid { gap: 13px; }
  .cards { gap: 15px; }
  .rewards, .safety { grid-template-columns: 1fr; gap: 35px; padding: 55px 25px; }
  .how { margin: 65px auto; }
  .steps { gap: 30px; }
  .rewards { padding: 45px 25px; }
  .reward-illustration { height: 200px; }
  .badge { width: 170px; height: 170px; }
  .two-paths { margin: 65px auto; }
  .path { min-height: 0; padding: 30px; }
  .safety { padding: 50px 25px; }
  .section-top h2, .how h2, .safety h2 { font-size: 32px; }
  footer { align-items: flex-start; gap: 20px; flex-wrap: wrap; }
  footer p { width: 100%; order: 3; }
  h1 { font-size: 48px; }
  .announcement { font-size: 11px; }
  .scene-card { transform: scale(.8); }
  .card-one { left: 6%; }
  .card-two { right: 4%; }
}
