:root {
  --ink: #171717;
  --muted: #5b5f66;
  --paper: #f5faf8;
  --panel: #ffffff;
  --line: #d4e5df;
  --accent: #62c6a3;
  --accent-dark: #167d68;
  --accent-soft: #d8f3ea;
  --gold: #c7902f;
  --rose: #b65f68;
  --shadow: 0 20px 60px rgba(22, 22, 22, .12);
  --shadow-soft: 0 14px 34px rgba(13, 64, 58, .10);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  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: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(245, 250, 248, .9);
  border-bottom: 1px solid rgba(23, 23, 23, .08);
  backdrop-filter: blur(16px);
}

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

.brand__logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid rgba(22, 125, 104, .32);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 125, 104, .14);
}

.brand__title {
  color: var(--ink);
  line-height: 1.1;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: .95rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.brand:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(22, 125, 104, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: var(--accent-dark);
  cursor: pointer;
}

.menu-toggle__bar {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  min-height: clamp(460px, 68vh, 640px);
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vh, 52px) clamp(18px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(156, 231, 213, .62) 0 18%, transparent 44%),
    radial-gradient(ellipse at 64% 72%, rgba(98, 198, 163, .52) 0 22%, transparent 54%),
    radial-gradient(ellipse at 18% 22%, rgba(43, 120, 119, .48) 0 20%, transparent 58%),
    linear-gradient(118deg, rgba(12, 40, 41, .92) 0%, rgba(14, 73, 68, .80) 47%, rgba(180, 238, 224, .28) 100%),
    linear-gradient(135deg, #0f383c 0%, #2f9a86 55%, #d8f3ea 100%);
  color: #fff;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  right: -10vw;
  bottom: -16vh;
  width: min(68vw, 820px);
  height: min(58vw, 700px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 44% 56% 58% 42% / 48% 34% 66% 52%;
  background:
    radial-gradient(ellipse at 32% 24%, rgba(255, 255, 255, .28), transparent 38%),
    radial-gradient(ellipse at 72% 70%, rgba(98, 198, 163, .42), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(216, 243, 234, .28));
  filter: blur(.2px);
  transform: rotate(-10deg);
}

.hero::after {
  top: 10vh;
  right: clamp(18px, 8vw, 130px);
  width: min(30vw, 360px);
  height: min(36vw, 440px);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 54% 46% 38% 62% / 36% 54% 46% 64%;
  background:
    radial-gradient(ellipse at 40% 32%, rgba(255, 255, 255, .28), transparent 36%),
    radial-gradient(ellipse at 58% 68%, rgba(98, 198, 163, .34), transparent 48%);
  opacity: .82;
  transform: rotate(14deg);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__art::before,
.hero__art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .18);
  opacity: .72;
}

.hero__art::before {
  right: clamp(42px, 18vw, 280px);
  bottom: clamp(36px, 12vh, 110px);
  width: min(38vw, 460px);
  height: min(20vw, 240px);
  border-color: transparent;
  border-top-color: rgba(255, 255, 255, .28);
  border-radius: 50%;
  transform: rotate(-13deg);
  box-shadow:
    0 -18px 0 -17px rgba(255, 255, 255, .22),
    0 -38px 0 -37px rgba(255, 255, 255, .16),
    0 -62px 0 -61px rgba(255, 255, 255, .12);
}

.hero__art::after {
  left: clamp(20px, 8vw, 118px);
  top: clamp(74px, 18vh, 150px);
  width: min(30vw, 360px);
  height: min(16vw, 190px);
  border-color: transparent;
  border-bottom-color: rgba(156, 231, 213, .34);
  border-radius: 50%;
  transform: rotate(16deg);
  box-shadow:
    0 18px 0 -17px rgba(156, 231, 213, .22),
    0 38px 0 -37px rgba(156, 231, 213, .16);
}

.hero__mark {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, .24);
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .34), transparent 34%),
    rgba(216, 243, 234, .08);
}

.hero__mark--one {
  right: clamp(32px, 12vw, 180px);
  top: clamp(118px, 24vh, 210px);
  width: 74px;
  height: 46px;
  border-radius: 58% 42% 62% 38% / 48% 62% 38% 52%;
  transform: rotate(-18deg);
}

.hero__mark--two {
  right: clamp(130px, 26vw, 420px);
  bottom: clamp(70px, 18vh, 150px);
  width: 42px;
  height: 42px;
  border-radius: 46% 54% 44% 56% / 58% 38% 62% 42%;
  transform: rotate(22deg);
}

.hero__mark--three {
  left: clamp(24px, 9vw, 140px);
  bottom: clamp(56px, 12vh, 120px);
  width: 96px;
  height: 28px;
  border-color: rgba(156, 231, 213, .28);
  border-radius: 999px;
  transform: rotate(10deg);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: currentColor;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .78;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.6rem, 6.5vw, 90.5px);
  line-height: .98;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.8vw, 3.15rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.lede {
  max-width: 680px;
  margin: 20px 0 0;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(8, 31, 32, .54), rgba(8, 31, 32, .26));
  box-shadow: 0 20px 60px rgba(4, 19, 20, .28);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero__actions,
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero__actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--accent);
  color: #09241e;
}

.button--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button--secondary {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .44);
  color: #fff;
}

.button--outline {
  width: 100%;
  border-color: var(--line);
  background: #fff;
}

.button--outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button--outline {
  color: var(--ink);
}

.section {
  padding: clamp(34px, 5.2vw, 64px) clamp(18px, 5vw, 64px);
}

.section__inner {
  width: min(1140px, 100%);
  margin: 0 auto;
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
  gap: 22px;
  align-items: end;
}

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

.feature-grid {
  margin-top: 20px;
}

.feature,
.donation-option,
.tracker {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature:hover {
  border-color: rgba(22, 125, 104, .34);
}

.feature {
  min-height: 150px;
  padding: 20px;
}

.feature h3::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent);
}

.feature p,
.support-copy p,
.donation-option p,
.tracker__message {
  color: var(--muted);
}

.support-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(98, 198, 163, .14), transparent 34%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.support-module__main,
.support-module__side {
  display: grid;
  gap: 14px;
}

.support-copy p {
  max-width: 680px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(20px, 4.5vw, 48px);
  align-items: start;
}

.section--appweft {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(98, 198, 163, .20), transparent 36%),
    #ffffff;
  border-block: 1px solid var(--line);
}

.split-section__body {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 250, 248, .82);
  box-shadow: var(--shadow-soft);
}

.split-section__body p {
  margin-top: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag-list span {
  padding: 7px 10px;
  border: 1px solid rgba(22, 125, 104, .20);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-size: .86rem;
  font-weight: 800;
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
}

.section--youtube {
  padding-bottom: clamp(24px, 3.5vw, 42px);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(182, 95, 104, .13), transparent 34%),
    var(--paper);
}

.section--support {
  padding-top: clamp(24px, 3.5vw, 42px);
}

.media-band__copy {
  max-width: 820px;
}

.portrait-card {
  position: relative;
  width: min(180px, 100%);
  margin: 0;
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  z-index: 0;
  border-radius: 36% 64% 54% 46% / 46% 42% 58% 54%;
  background: var(--accent-soft);
}

.portrait-card img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(22, 125, 104, .22);
  border-radius: 38% 62% 46% 54% / 48% 42% 58% 52%;
  box-shadow: var(--shadow-soft);
}

.media-band__copy p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.media-band__actions {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.media-band__links {
  display: grid;
  width: 100%;
  gap: 10px;
}

.amount-form {
  display: grid;
  grid-template-columns: max-content minmax(92px, 120px);
  gap: 8px;
  align-items: end;
  margin: 10px 0 0;
}

.amount-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: .9rem;
}

.amount-presets {
  display: grid;
  grid-template-columns: repeat(4, 46px);
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
}

.amount-presets legend {
  width: 100%;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: .9rem;
}

.amount-preset {
  min-width: 0;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.amount-preset:hover,
.amount-preset.is-selected {
  border-color: var(--accent-dark);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.amount-control {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.amount-control input {
  width: 100%;
  border: 0;
  outline: 0;
  font: inherit;
}

.tracker {
  padding: 14px;
  border: 1px solid rgba(22, 125, 104, .18);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(216, 243, 234, .34);
  box-shadow: none;
}

.tracker__topline {
  margin-bottom: 8px;
}

.tracker__raised {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.tracker__raised span {
  color: var(--accent-dark);
}

.tracker__message {
  margin: 6px 0 0;
  color: var(--muted);
}

.meter {
  height: 14px;
  margin: 14px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e4f0ec;
}

.meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--gold));
  transition: width .35s ease;
}

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

.tracker__stats div {
  min-width: 0;
}

.tracker__stats dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tracker__stats dd {
  margin: 3px 0 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
}

.tracker__updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.donation-option {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 14px;
  border-color: rgba(22, 125, 104, .20);
  box-shadow: none;
}

.paypal-box,
.donation-option .button {
  width: 100%;
  margin-top: 6px;
}

.paypal-box {
  min-height: 46px;
}

.paypal-box:empty {
  display: none;
}

.donation-option.is-sdk-ready .button {
  display: none;
}

.donation-status {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.funding-list {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.funding-list h3 {
  margin-bottom: 8px;
}

.funding-list p {
  margin: 0 0 10px;
  color: var(--muted);
}

.funding-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.section--contact {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(98, 198, 163, .16), transparent 40%),
    #111b1a;
  color: #fff;
}

.contact {
  justify-content: space-between;
}

.contact h2 {
  max-width: 680px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-soft);
  }

  .site-header.is-menu-open .nav {
    display: grid;
    gap: 4px;
  }

  .nav a {
    padding: 11px 12px;
    border-radius: 8px;
  }

  .nav a:hover {
    background: var(--accent-soft);
  }
}

@media (max-width: 980px) {
  .amount-form {
    grid-template-columns: max-content minmax(92px, 120px);
  }
}

@media (max-width: 820px) {
  .site-header,
  .section__heading,
  .split-section,
  .media-band,
  .support-module,
  .contact {
    display: block;
  }

  .site-header {
    display: flex;
  }

  .brand__logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding-block: clamp(20px, 3.5vh, 30px);
  }

  .section {
    padding-block: clamp(28px, 4.4vh, 40px);
  }

  .section--youtube {
    padding-bottom: clamp(20px, 3.2vh, 30px);
  }

  .section--support {
    padding-top: clamp(20px, 3.2vh, 30px);
  }

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

  .tracker,
  .split-section__body,
  .media-band__actions,
  .support-module__side,
  .contact .button {
    margin-top: 16px;
  }

  .media-band__actions {
    display: grid;
    grid-template-columns: 104px minmax(0, 260px);
    align-items: center;
    justify-content: start;
    gap: 12px;
  }

  .portrait-card {
    width: 104px;
  }

  h2 {
    font-size: clamp(1.65rem, 7vw, 2.45rem);
  }

  .hero::after {
    display: none;
  }

  .hero__art::before {
    right: 10px;
    bottom: 28px;
    width: 280px;
    height: 140px;
  }

  .hero__art::after,
  .hero__mark--two {
    display: none;
  }
}

@media (min-width: 475px) and (max-width: 820px) {
  .media-band__actions {
    grid-template-columns: clamp(124px, 24vw, 160px) minmax(0, 260px);
    gap: 18px;
  }

  .portrait-card {
    width: clamp(124px, 24vw, 160px);
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand__title {
    font-size: .95rem;
  }

  .hero {
    padding: 18px 14px 20px;
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 2.55rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1rem;
  }

  .lede {
    margin-top: 14px;
    padding: 12px;
    font-size: clamp(.98rem, 4.6vw, 1.08rem);
  }

  .hero__actions {
    margin-top: 16px;
    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
  }

  .media-band__actions {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
  }

  .portrait-card {
    width: 108px;
  }

  .media-band__links {
    gap: 8px;
  }

  .media-band__links .button {
    padding-inline: 4px;
    font-size: .88rem;
  }

  .section {
    padding: 26px 14px;
  }

  .section--youtube {
    padding-bottom: 18px;
  }

  .section--support {
    padding-top: 18px;
  }

  .support-module {
    padding: 12px;
  }

  .amount-form {
    grid-template-columns: max-content minmax(78px, 88px);
    gap: 6px;
  }

  .amount-presets {
    grid-template-columns: repeat(4, 36px);
    gap: 4px;
  }

  .amount-preset {
    min-height: 32px;
    font-size: .9rem;
  }

  .amount-control {
    min-height: 32px;
    padding: 5px 7px;
    font-size: .92rem;
  }
}
