:root {
  color-scheme: light;
  --bg: #efe6d6;
  --surface: #fffaf1;
  --ink: #141414;
  --muted: #6f6659;
  --line: #e1d4bf;
  --field: #f1e7d8;
  --accent: #f202d6;
  --accent-dark: #b500a3;
  --teal: #1e8f92;
  --gold: #a97824;
  --radius: 8px;
  --shadow: 0 26px 80px rgba(20, 20, 20, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 22px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.05);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.form-row,
.action-row,
.mission-grid,
.site-footer {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-nav {
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  padding: 26px 0;
  border-top: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
  border-top-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 5px;
}

.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  background: var(--surface);
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(28px, 7vw, 96px);
}

.hero {
  margin-top: 18px;
  padding-top: clamp(62px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  border-radius: var(--radius) var(--radius) 0 0;
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 76px;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 17px;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 540px;
  font-size: 21px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1.46 / 1;
  object-fit: cover;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.58fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 460px;
}

.section-title.centered {
  max-width: 620px;
  margin: 0 auto 46px;
  text-align: center;
}

.divider {
  width: 42px;
  height: 6px;
  display: block;
  margin-bottom: 22px;
  background: var(--accent);
  border-radius: 999px;
}

.centered .divider,
.mission > .divider,
.join-section > .divider,
.knowledge-copy .divider {
  margin-left: auto;
  margin-right: auto;
}

.text-stack {
  max-width: 760px;
}

.text-stack p {
  margin-bottom: 22px;
  font-size: 17px;
}

.ideator-location {
  color: var(--teal);
  font-size: 16px;
  font-weight: 800;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mission {
  text-align: center;
  border-top: 1px solid var(--line);
}

.mission > p {
  max-width: 720px;
  margin: 0 auto 54px;
  font-size: 19px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.48fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.how-copy {
  max-width: 670px;
}

.how-copy .eyebrow {
  margin-bottom: 10px;
}

.how-intro {
  max-width: 590px;
  margin-bottom: 34px;
  font-size: 18px;
}

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

.principle-card {
  min-height: 188px;
  position: relative;
  isolation: isolate;
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 28px 28px 28px 6px;
  box-shadow: 0 14px 28px rgba(20, 20, 20, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, grid-column 240ms ease;
}

.principle-card.is-expandable {
  cursor: pointer;
}

.principle-card.is-expandable:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(20, 20, 20, 0.15);
}

.principle-card.is-expandable:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.principle-card.is-open {
  grid-column: span 2;
  box-shadow: 0 24px 46px rgba(20, 20, 20, 0.18);
}

.principle-card::after {
  width: 88px;
  height: 88px;
  content: "";
  position: absolute;
  right: -27px;
  bottom: -35px;
  z-index: -1;
  border-radius: 50% 0 50% 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(22deg);
}

.principle-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 14px 14px 14px 3px;
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.principle-card h3,
.principle-card p {
  color: #fff;
}

.principle-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 800;
}

.expand-hint b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  transition: transform 240ms ease;
}

.principle-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height 560ms ease, opacity 260ms ease 110ms, transform 360ms ease 60ms, margin-top 360ms ease;
}

.principle-card.is-open .principle-details {
  max-height: 650px;
  margin-top: 22px;
  opacity: 1;
  transform: translateY(0);
}

.principle-card.is-open .expand-hint b {
  transform: rotate(45deg);
}

.details-title {
  margin-bottom: 14px !important;
  font-size: 16px !important;
  font-weight: 900;
}

.principle-details ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: feature-step;
}

.principle-details li {
  min-height: 104px;
  position: relative;
  padding: 15px 14px 15px 48px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, 0.13);
  counter-increment: feature-step;
}

.principle-details li::before {
  width: 25px;
  height: 25px;
  content: counter(feature-step);
  position: absolute;
  top: 15px;
  left: 13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.principle-details strong,
.principle-details span {
  display: block;
  color: #fff;
}

.principle-details strong {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.25;
}

.principle-details span {
  font-size: 12px;
  line-height: 1.35;
}

.principle-ai {
  background: #16b7cc;
}

.principle-lost {
  background: #dbb22e;
}

.principle-vet {
  background: #f36f9b;
}

.principle-adopt {
  background: #558ed9;
}

.app-phone {
  width: min(100%, 322px);
  position: relative;
  margin: 0 auto;
  padding: 12px;
  overflow: hidden;
  border: 8px solid #151515;
  border-radius: 42px;
  background: #151515;
  box-shadow: 0 28px 52px rgba(20, 20, 20, 0.22), 0 0 0 2px #6d6d6d;
}

.app-phone::before {
  width: 112px;
  height: 24px;
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 1;
  border-radius: 0 0 16px 16px;
  background: #151515;
  transform: translateX(-50%);
}

.phone-speaker {
  width: 42px;
  height: 4px;
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 2;
  border-radius: 999px;
  background: #555;
  transform: translateX(-50%);
}

.app-phone img {
  width: 100%;
  border-radius: 27px;
}

.feature-card,
.action-item {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff7eb;
}

.feature-icon,
.action-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  font-weight: 900;
  text-transform: uppercase;
}

.report-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
  border-top: 1px solid var(--line);
  background: #f8eddd;
}

.report-band p {
  max-width: 600px;
  font-size: 18px;
}

.report-form,
.contact-form,
.stories-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--field);
  color: var(--ink);
  font: inherit;
  padding: 15px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.full-button {
  width: 100%;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-band {
  min-height: 440px;
  display: grid;
  place-items: center;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fffaf1 0%, #f6ead9 100%);
}

.knowledge-copy {
  max-width: 760px;
}

.join-section {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-top: 1px solid var(--line);
}

.join-section p {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.stories-section {
  background: #f8eddd;
}

input[type="file"] {
  padding: 12px 16px;
  cursor: pointer;
}

.form-note {
  margin-top: 22px;
  font-size: 14px;
}

.form-row {
  gap: 16px;
}

.form-row label {
  flex: 1;
}

.contact-copy {
  align-self: center;
}

.contact-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
  color: var(--muted);
}

.contact-list li + li {
  margin-top: 8px;
}

.site-footer {
  padding: 54px clamp(28px, 7vw, 96px) 68px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, 1fr));
  gap: 34px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
  font-size: 15px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--ink);
}

.app-download {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.app-download p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

.photo-pair,
.help-photo-row,
.vet-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.story-photo,
.wide-story-photo,
.join-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #efe1cd;
  box-shadow: 0 18px 44px rgba(71, 48, 25, 0.09);
}

.story-photo::after,
.wide-story-photo::after,
.join-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.story-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
}

.wide-story-photo {
  margin-top: 42px;
}

.wide-story-photo img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}

.help-photo-row {
  margin-top: 28px;
}

.report-photo {
  max-width: 520px;
  margin-top: 28px;
}

.report-photo img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.vet-photos .story-photo img {
  aspect-ratio: 1.28 / 1;
}

.join-photo {
  width: min(520px, 100%);
  margin: 4px auto 28px;
}

.join-photo img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

@media (max-width: 920px) {
  .site-header {
    width: min(100% - 24px, 720px);
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    border-top: 0;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: #f7f7f5;
  }

  .hero,
  .split-section,
  .report-band,
  .contact-section,
  .how-it-works {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .mission-grid,
  .action-row,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-phone {
    margin-top: 12px;
  }

  .principle-card.is-open {
    grid-column: span 2;
  }

  .photo-pair,
  .help-photo-row,
  .vet-photos {
    grid-template-columns: 1fr;
  }

  .wide-story-photo img,
  .join-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .site-footer {
    width: calc(100% - 20px);
  }

  .section {
    padding: 64px 22px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .brand {
    font-size: 15px;
  }

  .hero-actions,
  .form-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .mission-grid,
  .action-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .principle-grid,
  .principle-details ol {
    grid-template-columns: 1fr;
  }

  .principle-card.is-open {
    grid-column: auto;
  }

  .feature-card,
  .action-item {
    min-height: auto;
  }
}

/* Visual design system refresh — presentation only */
:root {
  --bg: #e9eee4;
  --surface: #fffdf8;
  --ink: #183329;
  --muted: #617167;
  --line: #d5e0d3;
  --field: #f2f7ef;
  --accent: #4b9159;
  --accent-dark: #26683f;
  --teal: #247159;
  --gold: #a47824;
  --radius: 20px;
  --shadow: 0 22px 54px rgba(32, 73, 48, 0.1);
  --shadow-lift: 0 28px 64px rgba(32, 73, 48, 0.16);
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(118, 172, 112, 0.16), transparent 23rem),
    radial-gradient(circle at 94% 42%, rgba(220, 191, 112, 0.13), transparent 25rem),
    var(--bg);
  letter-spacing: 0.005em;
}

body::before {
  width: 340px;
  height: 340px;
  content: "";
  position: fixed;
  right: -130px;
  bottom: -150px;
  z-index: -1;
  border: 1px solid rgba(61, 123, 75, 0.13);
  border-radius: 64% 36% 62% 38%;
  background: radial-gradient(circle at 35% 32%, rgba(109, 168, 101, 0.14) 0 2px, transparent 3px) 0 0 / 26px 26px;
  transform: rotate(-18deg);
}

::selection {
  background: #cde8c9;
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(75, 145, 89, 0.42);
  outline-offset: 3px;
}

.site-header {
  min-height: 78px;
  margin-top: 18px;
  padding: 0 26px;
  border-color: rgba(63, 111, 76, 0.14);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 12px 38px rgba(30, 66, 42, 0.1);
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(38, 104, 63, 0.68);
  box-shadow: 0 7px 18px rgba(32, 83, 51, 0.16);
}

.site-nav {
  gap: clamp(7px, 1.8vw, 24px);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 4px;
  border-top: 0;
  border-bottom: 2px solid transparent;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent-dark);
  border-top-color: transparent;
  border-bottom-color: var(--accent);
  transform: translateY(-1px);
}

.section,
.site-footer {
  border: 1px solid rgba(63, 111, 76, 0.1);
  box-shadow: 0 14px 38px rgba(32, 73, 48, 0.045);
}

main .section + .section {
  margin-top: 14px;
}

.section {
  padding: clamp(76px, 8vw, 118px) clamp(30px, 7vw, 96px);
  border-radius: 30px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(125deg, #fffdf8 0%, #f3f8ef 100%);
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-media {
  min-width: 0;
}

.hero::before {
  width: 360px;
  height: 260px;
  content: "";
  position: absolute;
  right: 26%;
  bottom: -155px;
  z-index: -1;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at bottom, rgba(100, 164, 94, 0.18) 0 55%, transparent 56%);
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: 0.1em;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 620px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

h2 {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}

h3 {
  letter-spacing: -0.012em;
}

p {
  line-height: 1.65;
}

.hero-lede {
  max-width: 510px;
  font-size: clamp(18px, 2vw, 21px);
}

.divider {
  width: 54px;
  height: 7px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(90deg, var(--accent-dark), #7db262);
  transform: rotate(-3deg);
}

.button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 15px 15px 15px 5px;
  box-shadow: 0 8px 16px rgba(31, 83, 50, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(31, 83, 50, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, #286a42, #3b8850);
}

.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(135deg, #1e5b35, #337d49);
}

.button-secondary {
  border-color: rgba(47, 105, 63, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: var(--accent-dark);
}

.hero-media,
.story-photo,
.wide-story-photo,
.join-photo {
  border-color: rgba(47, 105, 63, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-media img,
.story-photo img,
.wide-story-photo img,
.join-photo img {
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-media:hover img,
.story-photo:hover img,
.wide-story-photo:hover img,
.join-photo:hover img {
  transform: scale(1.035);
}

.split-section,
.mission,
.how-it-works,
.report-band,
.knowledge-band,
.join-section,
.contact-section {
  border-top: 0;
}

.mission,
.knowledge-band {
  background: linear-gradient(155deg, #fbfdf8 0%, #edf5e9 100%);
}

.feature-card,
.action-item {
  min-height: 234px;
  border-color: rgba(47, 105, 63, 0.13);
  border-radius: 22px 22px 22px 6px;
  background: linear-gradient(150deg, #ffffff 0%, #f5f9f1 100%);
  box-shadow: 0 12px 28px rgba(32, 73, 48, 0.065);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.feature-card:hover,
.action-item:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 105, 63, 0.28);
  box-shadow: var(--shadow-lift);
}

.feature-icon,
.action-icon {
  border-color: rgba(47, 105, 63, 0.13);
  background: #eef7e9;
  color: var(--accent-dark);
  box-shadow: 0 7px 14px rgba(49, 102, 60, 0.1);
}

.report-band,
.stories-section {
  background: linear-gradient(135deg, #f7fbf2 0%, #edf5e6 100%);
}

.report-form,
.contact-form,
.stories-form {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(47, 105, 63, 0.12);
  border-radius: 24px 24px 24px 7px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 32px rgba(32, 73, 48, 0.07);
}

label {
  color: #4b6252;
  letter-spacing: 0.025em;
}

input,
textarea {
  border-color: #d8e6d4;
  border-radius: 14px 14px 14px 4px;
  background: #f8fbf6;
  box-shadow: inset 0 1px 2px rgba(40, 82, 47, 0.035);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms ease;
}

input:hover,
textarea:hover {
  border-color: #b7d1b3;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(75, 145, 89, 0.12);
}

.how-it-works {
  background: linear-gradient(130deg, #fffdf8 0%, #f0f7ec 100%);
}

.principle-card {
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 14px 28px rgba(32, 73, 48, 0.1);
}

.principle-card.is-expandable:hover {
  transform: translateY(-5px) scale(1.01);
}

.app-phone {
  border-color: #224632;
  background: #224632;
  box-shadow: 0 28px 52px rgba(31, 75, 47, 0.22), 0 0 0 3px #86a98a;
}

.app-phone::before {
  background: #224632;
}

.contact-list li {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(47, 105, 63, 0.1);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.site-footer {
  margin-top: 14px;
  border: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, #173a29 0%, #275b3b 100%);
  box-shadow: 0 18px 42px rgba(21, 57, 38, 0.18);
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.app-download p {
  color: #f5f8ef;
}

.site-footer h2,
.site-footer h3 {
  font-family: inherit;
  font-weight: 800;
}

.site-footer a {
  width: fit-content;
  color: rgba(245, 248, 239, 0.74);
  transition: color 200ms ease, transform 200ms ease;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #fff;
  transform: translateX(3px);
}

.app-download {
  border-top-color: rgba(245, 248, 239, 0.2);
}

@media (max-width: 920px) {
  .site-header {
    border-radius: 18px;
  }

  .site-nav {
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.98);
  }

  .site-nav a {
    padding: 13px 14px;
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: #eff7eb;
  }
}

@media (min-width: 921px) and (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(54px, 5.8vw, 64px);
  }
}

@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 5vw, 74px);
  }

  .hero h1 {
    font-size: clamp(58px, 4.7vw, 72px);
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .section,
  .site-footer {
    border-radius: 22px;
  }

  .section {
    padding: 58px 22px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  h2 {
    font-size: 33px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 50px;
  }

  .feature-card,
  .action-item {
    min-height: 0;
  }

  .report-form,
  .contact-form,
  .stories-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Launch-readiness alignment and responsive polish */
html {
  text-rendering: optimizeLegibility;
}

section[id] {
  scroll-margin-top: 112px;
}

.section-title,
.contact-copy,
.how-copy,
.knowledge-copy {
  position: relative;
}

.section-title h2,
.contact-copy h2 {
  max-width: 13ch;
}

.centered h2,
.mission h2,
.join-section h2,
.knowledge-copy h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.text-stack p:last-child,
.join-section p:last-of-type,
.knowledge-copy p:last-child,
.contact-copy p:last-of-type {
  margin-bottom: 0;
}

.mission-grid,
.action-row,
.principle-grid {
  align-items: stretch;
}

.feature-card,
.action-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card p,
.action-item p {
  margin-bottom: 0;
}

.feature-icon,
.action-icon {
  flex: 0 0 auto;
  margin-bottom: 22px;
}

.feature-card h3,
.action-item h3 {
  margin-bottom: 10px;
}

.report-band > div,
.contact-copy {
  max-width: 600px;
}

.report-band .divider,
.contact-copy .divider,
.how-copy .divider {
  margin-bottom: 18px;
}

.report-form,
.contact-form,
.stories-form {
  gap: 18px;
}

.full-button {
  margin-top: 2px;
}

.contact-list {
  margin-top: 26px;
  border-top: 1px solid rgba(47, 105, 63, 0.1);
}

.contact-list li {
  padding: 11px 12px;
}

.contact-list strong {
  color: var(--ink);
}

.join-section .button {
  min-width: 168px;
}

.site-footer > div:not(.app-download) {
  min-width: 0;
}

.site-footer h2 {
  font-size: 19px;
}

.site-footer h3 {
  color: #dcebd7;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  main .section + .section {
    margin-top: 12px;
  }

  .hero,
  .split-section,
  .report-band,
  .contact-section,
  .how-it-works {
    gap: 48px;
  }

  .section-title h2,
  .contact-copy h2 {
    max-width: 18ch;
  }

  .report-form,
  .contact-form,
  .stories-form {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  body::before {
    width: 230px;
    height: 230px;
    right: -115px;
    bottom: -105px;
  }

  section[id] {
    scroll-margin-top: 92px;
  }

  main .section + .section,
  .site-footer {
    margin-top: 10px;
  }

  .hero {
    gap: 34px;
  }

  .hero-media,
  .story-photo,
  .wide-story-photo,
  .join-photo {
    border-radius: 18px;
  }

  .section-title.centered {
    margin-bottom: 34px;
  }

  .feature-card,
  .action-item {
    padding: 22px;
  }

  .feature-icon,
  .action-icon {
    margin-bottom: 18px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .contact-list li {
    padding-left: 0;
    padding-right: 0;
  }

  .join-section .button {
    width: 100%;
  }

  .site-footer {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}

/* The app preview image includes its own device frame and warm beige screen. */
.app-phone {
  width: min(100%, 360px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 24px 48px rgba(32, 53, 39, 0.22);
}

.app-phone::before,
.phone-speaker {
  display: none;
}

.app-phone img {
  border-radius: 0;
}

/* Expand cards vertically without changing their grid position. */
.how-it-works {
  align-items: start;
}

.app-phone {
  margin-top: 46px;
}

.principle-card {
  min-height: 188px;
}

.principle-card.is-open {
  grid-column: auto;
}

.principle-details {
  position: static;
  inset: auto;
  z-index: auto;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: max-height 460ms ease, opacity 220ms ease 80ms, transform 280ms ease 60ms, margin-top 280ms ease;
}

.principle-card.is-open .principle-details {
  max-height: 680px;
  margin-top: 22px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.principle-details ol {
  gap: 12px;
}

.principle-details li {
  min-height: 104px;
  padding: 15px 14px 15px 48px;
  border-radius: 18px 18px 18px 4px;
}

.principle-details li::before {
  top: 15px;
  left: 13px;
}

.principle-details strong {
  font-size: 13px;
}

.principle-details span {
  font-size: 12px;
}

@media (max-width: 920px) {
  .app-phone {
    margin-top: 12px;
  }
}

/* Give the expandable feature cards the full section width. */
.how-it-works {
  display: block;
}

.how-copy {
  max-width: none;
}

.how-copy > .divider,
.how-copy > .eyebrow,
.how-copy > h2,
.how-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.how-copy > .divider {
  margin-bottom: 18px;
}

.how-intro {
  max-width: 660px;
}

.how-it-works .app-phone {
  width: min(100%, 220px);
  margin: 26px auto 38px;
}

.principle-grid {
  max-width: 960px;
  gap: 20px;
  margin: 0 auto;
}

.principle-card.is-open .principle-details {
  max-height: 510px;
}

@media (max-width: 620px) {
  .how-it-works .app-phone {
    width: min(100%, 190px);
    margin-bottom: 30px;
  }
}
