/* ASHA brand palette
   Core:      #036B61 dark green · #0BB7E5 light blue · #009FE3 dark blue · #FFC000 yellow · #95C11F light green
   Neutrals:  #44546A blue grey · #88898F dark grey · #A6A6A6 mid grey · #E7E6E6 light grey · #065C72 blue green
   Derived shades (marked *) keep text readable on white. */
:root {
  --green: #036B61;
  --green-dark: #024F48;      /* * hover / footer */
  --green-tint: #E8F3F1;      /* * soft backgrounds */
  --blue: #009FE3;
  --blue-light: #0BB7E5;
  --blue-text: #0072A3;       /* * accessible blue for small text */
  --blue-tint: #E7F6FC;       /* * */
  --blue-green: #065C72;
  --yellow: #FFC000;
  --yellow-tint: #FFF6D6;     /* * */
  --lime: #95C11F;
  --ink: #1E2A36;             /* * body text, darkened blue grey */
  --muted: #44546A;
  --grey: #88898F;
  --line: #E7E6E6;
  --surface: #F6F7F7;         /* * lighter than light grey for section bands */
  --white: #FFFFFF;

  --radius: 14px;
  --shadow: 0 8px 28px rgba(30, 42, 54, 0.08);
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--green);
  color: var(--white);
  padding: .8em 1.5em;
  border-radius: 10px;
  border: 2px solid var(--green);
  font: inherit; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--green); border-color: var(--line); }
.btn-ghost:hover { background: var(--green-tint); color: var(--green); border-color: var(--green); }
.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: #F0B400; border-color: #F0B400; color: var(--ink); }
.btn-small { padding: .55em 1.1em; font-size: .93rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--blue-text);
  margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--blue-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--green); letter-spacing: .02em; }
.brand-text small { font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--blue-light); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover { color: var(--green); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero: full-width photo, green fade behind the text */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--green-dark);
  min-height: clamp(520px, 72vh, 680px);
  display: flex; align-items: center;
  padding: 72px 0 112px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 35%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 79, 72, .96) 0%, rgba(3, 107, 97, .9) 32%, rgba(3, 107, 97, .45) 52%, rgba(3, 107, 97, 0) 68%),
    linear-gradient(0deg, rgba(2, 79, 72, .35) 0%, rgba(2, 79, 72, 0) 30%);
}
.hero-inner { width: min(1180px, 100% - 32px); }
.hero-copy { max-width: 560px; }
.hero .eyebrow { color: var(--white); }
.hero .eyebrow::before { background: var(--yellow); }
.hero h1 { color: var(--white); }
.hero h1 .highlight { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .9); font-size: 1.12rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: var(--white); color: var(--green); border-color: var(--white); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; color: rgba(255, 255, 255, .9); font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: .45em; }
.hero-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.photo-placeholder {
  display: grid; place-items: center; text-align: center;
  color: rgba(255, 255, 255, .9); font-weight: 600;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 192, 0, .55), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(0, 159, 227, .55), transparent 55%),
    var(--green);
}

/* Stats */
.stats { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { display: flex; flex-direction: column; padding: 28px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--green); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 1.5em 0 0; display: grid; gap: .7em; }
.checklist li { padding-left: 32px; position: relative; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='%23036B61' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); flex: 1; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.card-feature { grid-column: span 2; background: var(--green); border-color: var(--green); }
.card-feature h3 { color: var(--white); }
.card-feature p { color: rgba(255, 255, 255, .85); }
.card-feature .card-icon { background: rgba(255, 255, 255, .14); color: var(--yellow); }
.card-feature .card-link { color: var(--yellow); }
.card-link { font-weight: 600; text-decoration: none; color: var(--green); }
.card-link:hover { text-decoration: underline; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-family: var(--font-display); font-weight: 700; margin-bottom: 16px;
}
.steps li:last-child .step-num { background: var(--lime); }
.steps p { color: var(--muted); margin: 0; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.news-photo { aspect-ratio: 16 / 9; }
.news-body { padding: 26px; }
.news-body p:not(.tag) { color: var(--muted); }
.tag {
  display: inline-block; font-size: .74rem; font-weight: 600; color: var(--blue-text);
  background: var(--blue-tint); padding: 4px 10px; border-radius: 999px; letter-spacing: .04em;
}

/* Pillars */
.pillars { display: grid; gap: 16px; }
.pillar { padding: 22px 26px; border-left: 4px solid var(--green); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.pillar:nth-child(2) { border-left-color: var(--blue); }
.pillar:nth-child(3) { border-left-color: var(--lime); }
.pillar p { color: var(--muted); margin: 0; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--green); color: var(--white); border-radius: 20px; padding: 48px 56px;
  background-image: radial-gradient(circle at 100% 0%, rgba(11, 183, 229, .35), transparent 45%);
}
.cta h2 { color: var(--white); margin-bottom: .25em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; margin: 24px 0 32px; }
.contact-list dt { font-weight: 600; color: var(--ink); }
.contact-list dd { margin: 0; color: var(--muted); }
.notice { background: var(--yellow-tint); border-radius: var(--radius); padding: 24px 28px; border: 1px solid #FBE7A6; }
.contact-form { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 36px; display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #D6D6D6; border-radius: 10px; background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 159, 227, .18);
}
.contact-form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 500; color: var(--green); min-height: 1.4em; }
.form-status.error { color: #B42318; }

/* Footer */
.site-footer { background: var(--green-dark); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.brand-footer img { background: var(--white); border-radius: 12px; padding: 6px; height: 64px; }
.brand-footer .brand-text strong { color: var(--white); }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .65); }
.footer-note { margin-top: 16px; font-size: .9rem; max-width: 30em; }
.site-footer h4 { color: var(--white); margin: 0 0 14px; font-size: .95rem; }
.site-footer .footer-grid a:not(.brand) { display: block; color: rgba(255, 255, 255, .78); text-decoration: none; padding: 4px 0; font-size: .92rem; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 48px; padding-top: 24px; font-size: .85rem; }
.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-bottom-only { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer:has(.footer-bottom-only) { padding: 28px 0; }

/* Legal pages */
.legal-hero { background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 100%); padding: 56px 0 36px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .3em; }
.legal-meta { color: var(--muted); margin: 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 48px 0 88px; align-items: start; }
.legal-single { padding: 48px 0 88px; }
.legal-single .legal-body { margin-inline: auto; }
.legal-toc { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; }
.legal-toc-title { font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .6em; }
.legal-toc nav a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; }
.legal-toc nav a:hover { border-left-color: var(--blue); color: var(--green); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2em; padding-top: .2em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1rem; margin-top: 1.6em; color: var(--green); }
.legal-body p, .legal-body li, .legal-body dd { color: #33404F; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body li::marker { color: var(--blue); }
.legal-callout { background: var(--yellow-tint); border-left: 4px solid var(--yellow); padding: 16px 20px; border-radius: 0 10px 10px 0; font-weight: 500; color: var(--ink) !important; }
.legal-dl dt { font-weight: 600; color: var(--ink); margin-top: 1em; }
.legal-dl dd { margin: .3em 0 0; }
.legal-steps li { padding-left: .3em; }
.legal-related { margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--line); font-weight: 500; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero::before { background: linear-gradient(90deg, rgba(2, 79, 72, .95) 0%, rgba(3, 107, 97, .85) 45%, rgba(3, 107, 97, .3) 75%, rgba(3, 107, 97, .1) 100%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; max-height: none; background: var(--surface); border-radius: var(--radius); padding: 20px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-inner { height: 68px; }
  .brand img { height: 44px; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .hero { display: block; min-height: 0; padding: 0 0 80px; }
  .hero-bg { position: relative; inset: auto; z-index: auto; height: auto; aspect-ratio: 4 / 3; object-position: 60% 30%; }
  .hero::before { display: none; }
  .hero-inner { margin-inline: auto; padding-top: 32px; }
  .stat { padding: 20px; }
  .card-grid, .news-grid, .steps { grid-template-columns: 1fr; }
  .card-feature { grid-column: auto; }
  .cta { padding-bottom: 64px; }
  .cta-inner { padding: 32px 24px; }
  .contact-form { padding: 24px; }
  .contact-list { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}
.footer-contact { font-size: .9rem; line-height: 1.7; }
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { color: var(--yellow); }
