:root {
  --ink: #132b2e;
  --ink-soft: #395255;
  --paper: #f7f2e8;
  --white: #fffdf8;
  --teal: #0c6b64;
  --teal-dark: #07514c;
  --mint: #cce8dc;
  --sun: #f3b83f;
  --coral: #df6b52;
  --line: #d7d4c9;
  --danger: #9b2c2c;
  --success: #176b46;
  --shadow: 0 16px 36px rgba(19, 43, 46, 0.11);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(12, 107, 100, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(19, 43, 46, 0.12);
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border: 1px solid rgba(19, 43, 46, 0.1);
  border-radius: 14px;
  background: var(--paper);
  object-fit: cover;
}

.hero-logo {
  width: 118px;
  height: 118px;
  display: block;
  margin: 0 0 24px;
  border: 1px solid rgba(19, 43, 46, 0.1);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(19, 43, 46, 0.1);
  object-fit: cover;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--teal);
  color: white;
}

.brand-mark .material-symbols-rounded {
  font-size: 25px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--mint);
  color: var(--ink);
}

.mobile-menu-button {
  display: none;
}

.button,
button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  background: var(--teal);
  color: white;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  background: var(--teal-dark);
  box-shadow: 0 8px 18px rgba(12, 107, 100, 0.22);
}

.button:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.button.secondary,
button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.button.secondary:hover,
button.secondary:hover {
  background: var(--ink);
  color: white;
}

.button.danger,
button.danger {
  background: transparent;
  color: var(--danger);
  box-shadow: inset 0 0 0 2px var(--danger);
}

.button.danger:hover,
button.danger:hover {
  background: var(--danger);
  color: white;
  box-shadow: 0 8px 18px rgba(155, 44, 44, 0.2);
}

.button.light {
  background: var(--white);
  color: var(--ink);
}

.button.small,
button.small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.88rem;
}

.material-symbols-rounded {
  font-size: 1.25em;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 82px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
  font-weight: 900;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4.5vw, 3.65rem);
  font-weight: 850;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 690px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1.14rem, 2.1vw, 1.4rem);
  line-height: 1.5;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.impact-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.impact-card::before,
.impact-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.impact-card::before {
  width: 230px;
  height: 230px;
  right: -70px;
  top: -60px;
  border: 44px solid var(--sun);
}

.impact-card::after {
  width: 190px;
  height: 190px;
  right: 35px;
  bottom: -95px;
  background: var(--coral);
}

.impact-card > * {
  position: relative;
  z-index: 1;
}

.impact-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 74px;
  border-radius: 22px;
  background: var(--mint);
  color: var(--ink);
}

.impact-icon .material-symbols-rounded {
  font-size: 40px;
}

.impact-card blockquote {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.impact-card p {
  max-width: 370px;
  color: #cbd8d8;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 23px 28px;
  border-right: 1px solid var(--line);
  font-size: 0.94rem;
  font-weight: 750;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item .material-symbols-rounded {
  color: var(--teal);
  font-size: 27px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.process-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-card,
.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step-number,
.icon-tile {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--ink);
  font-weight: 900;
}

.icon-tile .material-symbols-rounded {
  font-size: 27px;
}

.process-card p,
.info-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.form-section {
  background: var(--teal);
  color: white;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 60px;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 112px;
}

.form-intro p {
  color: #d9ece8;
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-card fieldset {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.form-card legend {
  width: 100%;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 850;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
.label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 800;
}

.required {
  color: var(--danger);
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aaa99f;
  border-radius: 10px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 650;
}

.choice input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

.fine-print {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.status {
  display: none;
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 10px;
  font-weight: 700;
}

.status.show {
  display: block;
}

.status.success {
  background: #dcefe4;
  color: var(--success);
}

.status.error {
  background: #f8dddd;
  color: var(--danger);
}

.page-hero {
  padding: 76px 0 54px;
}

.page-hero .hero-copy {
  max-width: 780px;
}

.content-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.side-nav strong {
  display: block;
  margin-bottom: 9px;
}

.side-nav a {
  display: block;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.side-nav a:hover {
  background: var(--mint);
  color: var(--ink);
}

.content-block {
  scroll-margin-top: 110px;
  margin-bottom: 48px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.content-block ul,
.content-block ol {
  padding-left: 22px;
}

.content-block li + li {
  margin-top: 8px;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 20px 0;
  padding: 17px;
  border-left: 5px solid var(--sun);
  border-radius: 0 12px 12px 0;
  background: #fff5d8;
}

.callout.danger {
  border-color: var(--coral);
  background: #fae8e3;
}

.checklist {
  list-style: none;
  padding: 0 !important;
}

.checklist li {
  position: relative;
  padding-left: 34px;
}

.checklist li::before {
  content: "check_circle";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--teal);
  font-family: "Material Symbols Rounded";
  font-size: 21px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-item summary {
  position: relative;
  padding: 19px 54px 19px 20px;
  font-family: "DM Sans", sans-serif;
  font-weight: 820;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "add";
  position: absolute;
  right: 20px;
  top: 20px;
  font-family: "Material Symbols Rounded";
  font-size: 22px;
}

.faq-item[open] summary::after {
  content: "remove";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--ink-soft);
}

.admin-shell {
  min-height: 70vh;
}

.login-card {
  max-width: 520px;
  margin: 20px auto 80px;
}

.login-card .field {
  margin-bottom: 16px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-toolbar p {
  margin: 0;
  color: var(--ink-soft);
}

.dashboard-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 70px;
}

.donation-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.donation-card.picked-up {
  border-left: 6px solid var(--success);
}

.donation-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.donation-head h3,
.donation-head p {
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7e5b9;
  font-size: 0.78rem;
  font-weight: 850;
}

.pill.done {
  background: #dcefe4;
  color: var(--success);
}

.donation-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.detail {
  padding: 12px;
  border-radius: 9px;
  background: #f3f1e9;
}

.detail span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
}

.update-form {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.empty-state {
  padding: 54px 24px;
  border: 1px dashed #9c9d95;
  border-radius: var(--radius);
  text-align: center;
}

.empty-state .material-symbols-rounded {
  color: var(--teal);
  font-size: 52px;
}

.site-footer {
  background: var(--ink);
  color: white;
}

.site-footer .brand-logo {
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 44px;
  padding: 58px 0 34px;
}

.footer-grid p {
  max-width: 450px;
  color: #cbd8d8;
}

.footer-links strong {
  display: block;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 6px 0;
  color: #cbd8d8;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links .footer-support {
  display: inline-flex;
  margin-top: 10px;
  color: white;
}

.footer-links .footer-support:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #aebfbe;
  font-size: 0.78rem;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .mobile-menu-button {
    display: inline-flex;
    min-width: 44px;
    padding: 10px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 11px;
  }

  .hero-grid,
  .form-layout,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .impact-card {
    min-height: 360px;
  }

  .form-intro,
  .side-nav {
    position: static;
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
  }

  .side-nav strong {
    width: 100%;
  }

  .process-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .update-form {
    grid-template-columns: 1fr 1fr;
  }

  .update-form .field:nth-child(2) {
    grid-column: 1 / -1;
  }

  .admin-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .page-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-text {
    font-size: 0.93rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 12px;
  }

  .hero {
    padding-top: 55px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.2rem);
  }

  .trust-grid,
  .form-grid,
  .choice-grid,
  .donation-details,
  .footer-grid,
  .update-form {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .field.full,
  .update-form .field:nth-child(2),
  .footer-grid > :first-child {
    grid-column: auto;
  }

  .admin-actions {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 64px 0;
  }

  .form-card,
  .content-block {
    border-radius: 18px;
  }

  .donation-head,
  .admin-toolbar,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
