:root {
  color-scheme: light;
  --bg: #f8f6ee;
  --surface: #fffdf7;
  --card: #ffffff;
  --ink: #1e1d17;
  --muted: #625d4f;
  --green: #314d2f;
  --gold: #f4d44d;
  --blue: #7fc8f8;
  --mint: #b8f2cf;
  --rose: #f6c4cf;
  --orange: #f18b52;
  --border: #e8dfc8;
  --shadow: 0 18px 50px rgba(64, 56, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(248, 246, 238, 0.92);
  border-bottom: 1px solid rgba(232, 223, 200, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--card);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(64, 56, 24, 0.12);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(64, 56, 24, 0.08);
}

.button.primary {
  border-color: #e5c639;
  background: var(--gold);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: 56px;
  padding: 46px 0 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 7vw, 5.65rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 650px;
}

.hero-text {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  width: min(100%, 520px);
  aspect-ratio: 1;
  border-radius: 48% 52% 47% 53%;
  background:
    radial-gradient(circle at 34% 24%, #fff7ba 0 20%, transparent 21%),
    linear-gradient(135deg, var(--blue), var(--mint) 52%, var(--rose));
  box-shadow: var(--shadow);
}

.hope-art {
  position: relative;
  width: min(94%, 470px);
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(64, 56, 24, 0.18));
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section.lead-in {
  padding-top: 24px;
}

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

.section-header p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 28px rgba(64, 56, 24, 0.08);
}

.feature-card:nth-child(1) {
  border-top: 6px solid var(--gold);
}

.feature-card:nth-child(2) {
  border-top: 6px solid var(--blue);
}

.feature-card:nth-child(3) {
  border-top: 6px solid var(--mint);
}

.feature-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-hero {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 24px;
}

.legal-layout {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 72px;
  display: grid;
  gap: 18px;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 26px;
}

.legal-card ul {
  padding-left: 22px;
}

.updated {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    min-height: 66px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 36px 0 20px;
  }

  .hero-visual {
    min-height: 360px;
    order: -1;
  }

  .hope-art {
    width: min(82%, 340px);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links .button {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .legal-card {
    padding: 20px;
  }
}
