:root {
  --ink: #242728;
  --muted: #6f7474;
  --paper: #fff;
  --card: #ffffff;
  --line: #dfe3e1;
  --green: #89aa39;
  --green-dark: #617d20;
  --accent: #aa3976;
  --accent-hover: #7f2457;
  --soft: #f2f4f3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; letter-spacing: 0; }
h1, h2, h3, h4, h5, h6 { letter-spacing: 1px; }
h1 { color: var(--accent); }
h2 { font-size: 28px; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.language-switch { position: absolute; z-index: 10; top: 24px; right: max(20px, calc((100% - 1120px) / 2)); display: inline-flex; gap: 4px; padding: 4px; border: 1px solid rgba(255,255,255,.34); border-radius: 9px; background: rgba(20,18,20,.42); box-shadow: 0 8px 24px rgba(0,0,0,.14); backdrop-filter: blur(8px); }
.language-switch__button { display: inline-flex; width: 38px; height: 34px; padding: 0; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; cursor: pointer; transition: background-color .15s ease; }
.language-switch__button:hover { background: rgba(255,255,255,.16); }
.language-switch__button.is-active { background: #fff; }
.language-switch__button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.language-switch__button img { display: block; width: 23px; height: 17px; object-fit: cover; border-radius: 2px; filter: grayscale(1); opacity: .78; box-shadow: 0 0 0 1px rgba(0,0,0,.14); transition: filter .15s ease, opacity .15s ease; }
.language-switch__button:hover img { filter: grayscale(0); opacity: 1; }

.hero { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: center; padding-bottom: 58px; overflow: hidden; background: #202522; color: #fff; }
.hero__image { position: absolute; top: -90px; left: 0; width: 100%; height: calc(100% + 180px); object-fit: cover; object-position: center 57%; transform: translate3d(0, var(--hero-parallax, 0), 0); will-change: transform; }
.hero__overlay { position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(17,22,19,.88) 0%, rgba(17,22,19,.55) 42%, rgba(17,22,19,.18) 76%, rgba(17,22,19,.08) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: none; margin: 0; padding: 104px 20px; text-align: center; }
.hero h1 { margin: 0; padding: 0; max-width: none; color: #fff; text-indent: 0; font-size: clamp(58px, 9vw, 116px); line-height: .92; letter-spacing: 1px; }
.hero__logo { display: block; width: min(650px, 78vw); height: auto; margin: 0 auto; filter: drop-shadow(0 10px 28px rgba(17,22,19,.24)); }
.hero__subtitle { margin: 18px 0 0; color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: 1px; line-height: 1.25; }
.lead { max-width: 960px; margin: 30px auto 0; color: rgba(255,255,255,.88); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.hero__wave { position: absolute; z-index: 3; right: 0; bottom: -1px; left: 0; height: 58px; pointer-events: none; }
.hero__wave svg { display: block; width: 100%; height: 100%; }
.hero__wave path { fill: #fff; }

.btn { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary, .btn--accent { background: var(--accent); color: #fff; }
.btn--primary:hover, .btn--accent:hover { background: var(--accent-hover); }

main.wrap { padding-block: 72px 90px; }
.intro-copy { width: 100%; max-width: none; margin-bottom: 58px; }
.intro-copy h1 { max-width: none; margin: 0 0 20px; color: var(--accent); font-size: clamp(38px,6vw, 364px); line-height: 1.08; }
.intro-copy__lead { max-width: none; margin: 0 0 46px; color: var(--green); font-size: clamp(19px, 2vw, 24px); line-height: 1.55; }
.intro-copy h2 { margin: 34px 0 10px; color: var(--green-dark); font-size: 28px; line-height: 1.2; }
.intro-copy p, .intro-copy ul { color: var(--muted); }
.intro-copy p.intro-copy__lead { color: var(--green); }
.intro-copy ul { margin: 12px 0 0; padding-left: 22px; }
.intro-copy li + li { margin-top: 5px; }
.intro-copy__tagline { margin: 24px 0 0; color: var(--green) !important; font-size: 18px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
.card { padding: 30px; border: 0; border-radius: 12px; background: var(--card); box-shadow: none; }
.visual-identity { padding-right: 0; padding-left: 0; box-shadow: none; }
.grid > .card { background: var(--accent); color: #fff; }
.grid > .card h2, .grid > .card p, .grid > .card ul { color: #fff; }
.card h2, .demo__head h2, .donate h2, .brand-bar h3 { margin: 0 0 12px; line-height: 1.12; }
.card h2, .demo__head h2, .donate h2 { color: var(--green); font-size: 28px; }
.card h3, .download-block h3 { margin: 0 0 8px; color: var(--green); font-size: 22px; }
.card p, .card ul, .demo__head p, .download-block p, .donate p { color: var(--muted); }
.card p:last-child, .card ul:last-child, .download-block p:last-child, .donate p:last-child { margin-bottom: 0; }
.card ul { margin: 10px 0 0; padding-left: 20px; }
.showcase-image-wrap { position: relative; height: clamp(280px, 40vw, 520px); margin-top: 24px; overflow: hidden; border-radius: 8px; }
.showcase-image { position: absolute; top: -60px; left: 0; display: block; width: 100%; height: calc(100% + 120px); object-fit: cover; object-position: center 58%; transform: translate3d(0, var(--visual-parallax, 0), 0); will-change: transform; }

.section-divider { width: 100%; margin: 64px 0; border: 0; border-top: 1px solid #cccccc; }
.feature-listing__head { max-width: 820px; margin-bottom: 28px; }
.feature-listing__head h2 { margin: 0 0 10px; color: var(--green-dark); font-size: 28px; line-height: 1.2; }
.feature-listing__head p { margin: 0; color: var(--muted); }
.feature-listing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-width: 0; padding: 22px; border: 1px solid var(--accent); border-radius: 10px; background: var(--accent); color: #ffffff !important; }
.feature-card__icons { display: flex; min-height: 38px; margin-bottom: 16px; align-items: center; gap: 8px; }
.feature-card__icons img { display: block; width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
.feature-card h3 { margin: 0 0 9px; color: #fff; font-size: 17px; line-height: 1.25; }
.feature-card p { margin: 0; color: #fff; font-size: 14px; line-height: 1.55; }

.demo { padding-top: 82px; }
.section-divider + .demo { padding-top: 18px; }
.demo__head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.demo__head h2, .demo__head p { margin-bottom: 0; }
.demo__standalone { padding: 20px 0; }
.demo__standalone > p { margin-top: 0; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.download-block { display: flex; min-height: 235px; padding: 28px; align-items: flex-start; justify-content: space-between; flex-direction: column; gap: 24px; border-radius: 12px; background: var(--accent); color: #fff; }
.download-block h3 { color: #fff; }
.download-block p { color: #fff; }
.download-block .btn--primary, .download-block .btn--primary:hover { background: var(--accent-hover); color: #fff; }

.donate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); gap: 50px; margin-top: 18px; padding: 38px; align-items: center; border: 0; border-radius: 12px; background: var(--soft); }
.donate__box { display: flex; width: 100%; align-items: stretch; flex-direction: column; gap: 9px; text-align: center; }
.donate__box small { color: var(--muted); line-height: 1.35; }
.donate__mollie { display: flex; min-height: 28px; align-items: center; justify-content: center; gap: 9px; }
.donate__mollie img { display: block; width: 72px; height: auto; }
.donate-form { display: grid; gap: 12px; }
.donate-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.donate-form legend { margin-bottom: 8px; color: var(--green-dark); font-size: 13px; font-weight: 700; text-align: left; }
.donate-amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.donate-amounts label { position: relative; min-width: 0; cursor: pointer; }
.donate-amounts input { position: absolute; opacity: 0; pointer-events: none; }
.donate-amounts span { display: flex; min-height: 38px; padding: 5px 7px; align-items: center; justify-content: center; border: 1px solid #ccb8c3; border-radius: 6px; background: #fff; color: var(--accent-hover); font-size: 12px; font-weight: 700; line-height: 1.1; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.donate-amounts label:hover span { border-color: var(--accent); }
.donate-amounts input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.donate-amounts input:focus-visible + span { outline: 2px solid var(--accent-hover); outline-offset: 2px; }
.donate-custom { text-align: left; }
.donate-custom > label { display: block; margin-bottom: 5px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.donate-custom__input { display: grid; grid-template-columns: auto 1fr; align-items: center; border: 1px solid #ccb8c3; border-radius: 6px; background: #fff; }
.donate-custom__input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(170,57,118,.12); }
.donate-custom__input span { padding-left: 11px; color: var(--muted); font-weight: 700; }
.donate-custom__input input { width: 100%; min-width: 0; padding: 9px 10px 9px 6px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; }
.donate-custom small { display: block; margin-top: 4px; font-size: 11px; }
.donate-form__status { min-height: 20px; margin: 0; color: var(--green-dark); font-size: 12px; font-weight: 700; line-height: 1.35; }
.donate-form__status.is-error { color: #9b2644; }
.donate-form .btn[disabled] { cursor: wait; opacity: .65; transform: none; }

.thank-you-page { min-height: 100vh; background: #222; }
.thank-you-page .language-switch { position: fixed; }
.thank-you { position: relative; display: grid; min-height: 100vh; padding: 100px 20px; place-items: center; overflow: hidden; }
.thank-you__background { position: absolute; inset: -50px; width: calc(100% + 100px); height: calc(100% + 100px); object-fit: cover; object-position: center 57%; }
.thank-you__overlay { position: absolute; inset: 0; background: rgba(25, 18, 23, .68); }
.thank-you__card { position: relative; z-index: 2; width: min(680px, 100%); padding: 48px; border-radius: 12px; background: #fff; text-align: center; }
.thank-you__logo { display: block; width: min(320px, 75%); height: auto; margin: 0 auto 34px; }
.thank-you__card h1 { margin: 0 0 12px; color: var(--accent); font-size: clamp(36px, 6vw, 58px); line-height: 1.08; }
.thank-you__message { margin: 0; color: var(--green-dark); font-size: 20px; font-weight: 700; }
.thank-you__detail { max-width: 540px; margin: 14px auto 28px; color: var(--muted); }
.thank-you__mollie { display: flex; margin-top: 24px; align-items: center; justify-content: center; gap: 9px; color: var(--muted); font-size: 12px; }
.thank-you__mollie img { display: block; width: 72px; height: auto; }


.brand-bar { position: relative; padding: 58px 0 30px; background: #222; color: #444; }
.brand-bar__wave { position: absolute; right: 0; bottom: 100%; left: 0; height: 58px; color: #222; pointer-events: none; margin-bottom: -2px; }
.brand-bar__wave svg { display: block; width: 100%; height: 100%; }
.brand-bar__wave path { fill: currentColor; }
.brand-bar__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.brand-bar__brand, .brand-bar__text { min-width: 0; }
.brand-bar__logo { display: block; width: min(430px, 100%); height: auto; margin: 0; }
.brand-bar h3 { color: #444; font-size: 28px; }
.brand-bar p { color: #444; }
.brand-bar a { color: #444; font-weight: 700; }
.brand-bar__copy { margin-top: 28px; color: #444; font-size: 13px; }

@media (max-width: 850px) {
  .grid, .download-grid { grid-template-columns: 1fr; }
  .feature-listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donate { grid-template-columns: 1fr; }
  .donate__box { max-width: 430px; }
  .brand-bar__inner { grid-template-columns: 1fr; gap: 32px; }
  .brand-bar__logo { width: min(360px, 80vw); }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .hero { min-height: 610px; }
  .hero__content { padding-block: 78px; }
  main.wrap { padding-block: 44px 60px; }
  .card, .download-block, .donate { padding: 22px; }
  .demo { padding-top: 54px; }
  .section-divider { margin-block: 46px; }
  .feature-listing__grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .language-switch { top: 12px; right: 12px; }
  .language-switch__button { width: 36px; }
  .thank-you { padding: 80px 12px 32px; }
  .thank-you__card { padding: 34px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image, .showcase-image { transform: none !important; will-change: auto; }
}
