/* Laundry Matters — warm, mobile-first, accessible */

:root {
  --teal-900: #134e4a;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50: #f0fdfa;
  --ink: #1a2e2c;
  --muted: #4b635f;
  --border: #b6d9d3;
  --bg: #ffffff;
  --bg-alt: #f3faf8;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 78, 74, 0.08);
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal-700); }
a:hover { color: var(--teal-900); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-700);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.logo { flex-shrink: 0; border-radius: 50%; }

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-text strong {
  font-size: 1.05rem;
  color: var(--teal-900);
  line-height: 1.2;
}
.tagline {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.15rem;
}
.site-nav a:hover { color: var(--teal-700); }
.nav-cta {
  background: var(--teal-600);
  color: #fff !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal-700); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 90% 10%, #99f6e4 0%, transparent 40%),
    linear-gradient(180deg, var(--teal-50) 0%, #fff 100%);
  padding: 3.5rem 0 3rem;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.7rem;
  background: var(--teal-100);
  color: var(--teal-900);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--teal-900);
  max-width: 16ch;
}
.lead {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
}
.btn-primary:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--teal-800, var(--teal-700));
  border-color: var(--teal-600);
}
.btn-secondary:hover { background: var(--teal-50); color: var(--teal-900); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--teal-900);
}
.section-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 40rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.steps h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; color: var(--teal-900); }
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}
.checklist {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: inset 0 0 0 3px var(--teal-100);
}

.callout {
  background: var(--teal-900);
  color: #ecfdf5;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.callout h3 { margin: 0 0 0.5rem; color: #fff; }
.callout p { margin: 0; color: #ccfbf1; }

.center-cta { text-align: center; margin: 1.75rem 0 0; }

.donate-box {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.donate-box p { color: var(--muted); }
.fine-print {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--warn);
  background: var(--warn-bg);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  text-align: left;
}

.contact-list {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}
.contact-list > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.contact-list dt {
  margin: 0;
  font-weight: 700;
  color: var(--teal-900);
}
.contact-list dd { margin: 0; color: var(--muted); }

.fill {
  background: #fef3c7;
  color: #78350f;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

/* Footer */
.site-footer {
  background: var(--teal-900);
  color: #ccfbf1;
  padding: 2.5rem 0;
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.footer-brand p {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: #99f6e4;
}
.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #5eead4;
  border-top: 1px solid rgba(94, 234, 212, 0.25);
  padding-top: 1rem;
}

/* Mobile */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.7rem 0.5rem; }
  .nav-cta { text-align: center; margin-top: 0.35rem; }
  .split { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; }
  .tagline { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
