:root {
  --navy: #0c1c33;
  --navy-2: #11233f;
  --navy-3: #173051;
  --green: #20b486;
  --green-dark: #13966f;
  --mint: #eaf9f4;
  --cream: #f7faf9;
  --white: #ffffff;
  --text: #14243a;
  --muted: #647287;
  --line: #dfe8e5;
  --shadow: 0 24px 70px rgba(8, 29, 49, 0.12);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.clh-site {
  margin: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

.clh-site img {
  max-width: 100%;
}

.clh-site [hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  border-bottom: 1px solid rgba(13, 37, 60, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  width: 225px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #435268;
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.header-download) {
  position: relative;
  padding: 30px 0;
  transition: color 180ms ease;
}

.main-nav > a:not(.header-download)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--navy);
}

.main-nav > a.active::after,
.main-nav > a:hover::after {
  transform: scaleX(1);
}

.header-download {
  padding: 13px 19px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 9px 24px rgba(32, 180, 134, 0.24);
  transition: transform 180ms ease, background 180ms ease;
}

.header-download:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(10, 27, 49, 0.995) 0%, rgba(17, 38, 67, 0.98) 62%, rgba(14, 44, 63, 0.97) 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 78px;
  background: var(--white);
  clip-path: polygon(0 82%, 100% 5%, 100% 100%, 0 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: -260px;
  right: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(32, 180, 134, 0.19), transparent 67%);
}

.hero-glow-two {
  bottom: -260px;
  left: 25%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(27, 105, 133, 0.2), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 128px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(85, 222, 179, 0.21);
  border-radius: 999px;
  background: rgba(38, 187, 140, 0.08);
  color: #7ee1c0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow-light {
  border-color: #d2eee5;
  background: var(--mint);
  color: var(--green-dark);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(32, 180, 134, 0.13);
}

.hero h1 {
  max-width: 610px;
  margin: 25px 0 24px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--green);
}

.hero-intro {
  max-width: 620px;
  margin: 0;
  color: #c5d1dd;
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(32, 180, 134, 0.23);
}

.button-primary:hover {
  background: #26c292;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 15px 35px rgba(3, 18, 32, 0.16);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #93a7b9;
  font-size: 11px;
  font-weight: 700;
}

.trust-row span::first-letter {
  color: var(--green);
}

.consent-demo {
  position: relative;
  width: 100%;
  min-height: 438px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #eff5f4;
  box-shadow: 0 42px 90px rgba(2, 14, 27, 0.35);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 43px;
  padding: 0 15px;
  border-bottom: 1px solid #dde8e5;
  border-radius: 22px 22px 0 0;
  background: #f9fbfb;
}

.browser-bar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8d4d1;
}

.browser-bar > span:first-child {
  background: #ff7e72;
}

.browser-bar > span:nth-child(2) {
  background: #f4c65c;
}

.browser-bar > span:nth-child(3) {
  background: #63c989;
}

.browser-address {
  width: 55%;
  margin-left: auto;
  margin-right: auto;
  padding: 5px 12px;
  border-radius: 6px;
  background: #eef3f2;
  color: #9aa8a6;
  font-size: 9px;
  text-align: center;
}

.browser-content {
  position: relative;
  height: 394px;
  padding: 27px;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
  background:
    radial-gradient(circle at 83% 12%, rgba(32, 180, 134, 0.12), transparent 28%),
    #f7faf9;
}

.mock-nav,
.mock-heading,
.mock-text,
.mock-cards span {
  border-radius: 6px;
  background: #dce7e4;
}

.mock-nav {
  width: 31%;
  height: 10px;
}

.mock-heading {
  width: 54%;
  height: 18px;
  margin-top: 42px;
}

.mock-text {
  width: 74%;
  height: 8px;
  margin-top: 12px;
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.mock-cards span {
  height: 82px;
  background: #e6efed;
}

.cookie-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  padding: 19px;
  border: 1px solid #e3ebe9;
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 19px 45px rgba(13, 38, 59, 0.18);
}

.cookie-card strong {
  display: block;
  margin: 1px 0 5px;
  font-size: 13px;
}

.cookie-card p {
  margin: 0;
  color: #718093;
  font-size: 9px;
  line-height: 1.55;
}

.cookie-card-icon {
  position: relative;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
}

.cookie-card-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
}

.cookie-card-icon span,
.cookie-card-icon i,
.cookie-card-icon b {
  position: absolute;
  font-size: 5px;
}

.cookie-card-icon span { top: 9px; left: 10px; }
.cookie-card-icon i { top: 20px; left: 19px; }
.cookie-card-icon b { top: 25px; left: 9px; }

.cookie-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.cookie-actions button {
  min-height: 31px;
  border: 1px solid #e2e9e7;
  border-radius: 7px;
  background: #f9fbfa;
  color: var(--navy);
  font-size: 8px;
  font-weight: 800;
}

.cookie-actions button:last-child {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.cookie-settings {
  grid-column: 1 / -1;
  border: 0;
  background: none;
  color: #748292;
  font-size: 8px;
  text-decoration: underline;
}

.cookie-card small {
  position: absolute;
  right: 16px;
  bottom: 6px;
  color: #a3aeac;
  font-size: 6px;
}

.floating-badge {
  position: absolute;
  right: -24px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(32, 180, 134, 0.23);
  border-radius: 10px;
  background: #102a39;
  color: #cbe9df;
  box-shadow: 0 12px 28px rgba(2, 15, 27, 0.28);
  font-size: 9px;
  font-weight: 800;
}

.floating-badge span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fff 0%, #f5faf8 100%);
}

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

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section h2,
.inner-hero h1 {
  margin: 18px 0;
  color: var(--navy);
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading p,
.large-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.feature-card {
  min-height: 290px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 15px 45px rgba(15, 41, 62, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-card.featured {
  border-color: rgba(32, 180, 134, 0.28);
  background: linear-gradient(145deg, #fff 40%, #f0fbf7);
}

.feature-icon {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border-radius: 15px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 24px 0 10px;
  color: var(--navy);
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 110px;
  align-items: center;
}

.large-copy {
  max-width: 600px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #35475c;
  font-size: 13px;
  font-weight: 700;
}

.check-list li span {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 11px;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.steps-card {
  position: relative;
  padding: 18px;
  border: 1px solid #dfe9e6;
  border-radius: 30px;
  background: linear-gradient(145deg, #f7fbfa, #eef8f5);
  box-shadow: var(--shadow);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 18px;
}

.step + .step {
  border-top: 1px solid #dce8e5;
}

.step > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--navy);
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(13, 35, 62, 0.17);
}

.step strong {
  display: block;
  margin: 1px 0 7px;
  color: var(--navy);
  font-size: 15px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.cta-band {
  background:
    radial-gradient(circle at 85% 40%, rgba(75, 224, 176, 0.18), transparent 25%),
    var(--green);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 265px;
}

.cta-inner h2 {
  max-width: 730px;
  margin: 10px 0 0;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.17;
  letter-spacing: -0.04em;
}

.mini-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer {
  padding: 74px 0 25px;
  background: #081729;
  color: #93a2b4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 55px;
}

.footer-brand img {
  display: block;
  width: 205px;
  height: auto;
  padding: 8px 12px;
  border-radius: 10px;
  background: white;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-grid strong {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 13px;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}

.footer-grid a:hover {
  color: #70dbb7;
}

.footer-brand p {
  max-width: 290px;
}

.footer-support {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.footer-support a {
  color: #65d8b2;
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 58px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

/* Interior pages */
.inner-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 105px;
  background:
    radial-gradient(circle at 80% 0%, rgba(32, 180, 134, 0.16), transparent 35%),
    var(--navy);
  color: var(--white);
}

.inner-hero h1 {
  max-width: 800px;
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(46px, 6vw, 68px);
}

.inner-hero h1 span {
  color: var(--green);
}

.inner-hero p {
  max-width: 680px;
  color: #bdcbd7;
  font-size: 18px;
  line-height: 1.75;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 75px;
  align-items: start;
}

.content-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 55px rgba(15, 41, 62, 0.06);
}

.content-card h2,
.content-card h3 {
  color: var(--navy);
}

.content-card p {
  color: var(--muted);
  line-height: 1.75;
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #42546a;
  font-size: 14px;
  line-height: 1.6;
}

.info-list li span {
  display: grid;
  flex: 0 0 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.download-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  border: 1px solid rgba(32, 180, 134, 0.22);
  border-radius: 26px;
  background: linear-gradient(155deg, #fff 45%, #effaf6);
  box-shadow: var(--shadow);
}

.version-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.download-card h3 {
  margin: 19px 0 8px;
  color: var(--navy);
  font-size: 25px;
}

.download-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.download-card .button {
  width: 100%;
  margin: 12px 0;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #778597;
  font-size: 10px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.manifesto-card {
  padding: 44px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(32, 180, 134, 0.25), transparent 35%),
    var(--navy);
  color: white;
  box-shadow: var(--shadow);
}

.manifesto-card blockquote {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.manifesto-card blockquote span {
  color: var(--green);
}

.manifesto-card p {
  margin-top: 24px;
  color: #9fb1c1;
  font-size: 13px;
}

.plugin-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.plugin-showcase article {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fbfa;
}

.showcase-number {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.plugin-showcase h3 {
  margin: 18px 0 8px;
  color: var(--navy);
}

.plugin-showcase p,
.update-explainer p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.update-explainer {
  scroll-margin-top: 110px;
}

.donation-note {
  margin-top: 21px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.donation-note strong {
  color: var(--navy);
  font-size: 13px;
}

.donation-note p {
  margin: 6px 0;
  font-size: 11px;
}

.donation-note a {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.principle-grid .content-card {
  padding: 28px;
}

.principle-grid article > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.principle-grid h3 {
  margin: 20px 0 8px;
}

.principle-grid p {
  font-size: 13px;
}

.donation-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 78px 0 95px;
  background:
    linear-gradient(112deg, rgba(10, 27, 49, .995), rgba(17, 38, 67, .98)),
    var(--navy);
  color: white;
}

.donation-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.donation-orb-one {
  top: -230px;
  right: -140px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(32, 180, 134, .22), transparent 66%);
}

.donation-orb-two {
  bottom: -330px;
  left: 5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(27, 105, 133, .22), transparent 68%);
}

.donation-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .9fr 1.05fr;
  gap: 90px;
  align-items: center;
}

.donation-copy h1 {
  margin: 25px 0 24px;
  font-size: clamp(46px, 5vw, 67px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.donation-copy h1 span {
  color: var(--green);
}

.donation-copy > p {
  max-width: 590px;
  color: #bdcbd7;
  font-size: 17px;
  line-height: 1.78;
}

.impact-list {
  display: grid;
  gap: 2px;
  margin-top: 34px;
}

.impact-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.impact-list > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(32, 180, 134, .28);
  border-radius: 12px;
  background: rgba(32, 180, 134, .08);
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.impact-list p {
  margin: 0;
  color: #9dafbf;
  font-size: 12px;
}

.impact-list strong {
  display: block;
  margin-bottom: 4px;
  color: white;
  font-size: 14px;
}

.donation-form {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: white;
  color: var(--text);
  box-shadow: 0 42px 90px rgba(2, 14, 27, .4);
}

.donation-form-head {
  position: relative;
  padding-right: 115px;
}

.donation-form-head h2 {
  margin: 6px 0 8px;
  color: var(--navy);
  font-size: 30px;
  letter-spacing: -.035em;
}

.donation-form-head p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.secure-badge {
  position: absolute;
  top: 3px;
  right: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.field-label,
.input-wrap > span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.amount-grid button {
  min-height: 48px;
  border: 1px solid #dce6e3;
  border-radius: 11px;
  background: #f8fbfa;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: 160ms ease;
}

.amount-grid button:hover,
.amount-grid button.selected {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green-dark);
  box-shadow: inset 0 0 0 1px var(--green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input-wrap {
  display: block;
  margin: 12px 0;
}

.input-wrap small {
  color: #98a5b3;
  font-weight: 600;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid #dce6e3;
  border-radius: 10px;
  outline: 0;
  background: #fbfcfc;
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(32, 180, 134, .12);
}

.amount-input {
  position: relative;
}

.amount-input > span {
  position: absolute;
  top: 13px;
  left: 15px;
  z-index: 2;
  margin: 0;
  font-size: 16px;
}

.amount-input input {
  padding-left: 38px;
}

.donation-submit {
  width: 100%;
  margin-top: 10px;
}

.donation-submit:disabled,
.download-card .button:disabled {
  cursor: wait;
  opacity: .65;
}

.payment-trust {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  color: #8793a2;
  font-size: 8px;
  font-weight: 700;
}

.impact-note {
  margin-top: 23px;
  padding: 16px;
  border: 1px solid #dcede7;
  border-radius: 13px;
  background: #f4faf8;
}

.impact-note strong {
  color: var(--navy);
  font-size: 11px;
}

.impact-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.form-error {
  margin: 12px 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff0ee;
  color: #a9382c;
  font-size: 12px;
  font-weight: 700;
}

.thanks-main {
  display: grid;
  min-height: 680px;
  place-items: center;
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 10%, rgba(32, 180, 134, .18), transparent 28%),
    #f4f9f7;
}

.thanks-card {
  max-width: 670px;
  margin: auto;
  padding: 58px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 21px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 900;
}

.thanks-icon.paid {
  background: var(--green);
  color: white;
}

.thanks-card .mini-label {
  color: var(--green-dark);
}

.thanks-card h1 {
  margin: 14px 0;
  color: var(--navy);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -.045em;
}

.thanks-card > p {
  color: var(--muted);
  line-height: 1.75;
}

.thanks-amount {
  display: block;
  margin: 24px 0;
  color: var(--green-dark);
  font-size: 30px;
}

.thanks-card .hero-actions {
  justify-content: center;
}

.admin-secondary {
  border-color: var(--line);
  background: white;
  color: var(--navy);
}

@media (max-width: 980px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid,
  .split-section,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .consent-demo {
    width: min(620px, 100%);
  }

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

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .split-section {
    gap: 55px;
  }

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

  .download-card {
    position: static;
  }

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

  .footer-support {
    grid-column: 1 / -1;
  }

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

  .donation-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .donation-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 30px, 620px);
  }

  .site-header {
    height: 70px;
  }

  .brand {
    width: 190px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 69px;
    right: 15px;
    left: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a:not(.header-download) {
    padding: 13px;
  }

  .main-nav > a:not(.header-download)::after {
    display: none;
  }

  .header-download {
    margin-top: 7px;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 46px;
    padding: 62px 0 120px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .consent-demo {
    transform: none;
  }

  .floating-badge {
    right: 12px;
    bottom: -20px;
  }

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

  .feature-card:last-child {
    grid-column: auto;
  }

  .section {
    padding: 78px 0;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 0;
  }

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

  .footer-brand,
  .footer-support {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .plugin-showcase,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .donation-hero {
    padding: 60px 0 75px;
  }

  .donation-form {
    padding: 26px 20px;
  }

  .donation-form-head {
    padding-right: 0;
  }

  .secure-badge {
    position: static;
    display: inline-flex;
  }

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

  .thanks-card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 41px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
  }

  .consent-demo {
    min-height: 390px;
  }

  .browser-content {
    height: 346px;
    padding: 18px;
  }

  .cookie-card {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

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

  .footer-brand,
  .footer-support {
    grid-column: auto;
  }

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

  .payment-trust {
    flex-wrap: wrap;
  }
}
