/* Challenge Dynamics — shared styles
   Layout idea: a quiet document grid — centered column, generous rhythm,
   borrowed from the app's own mint/deep-green palette and Poppins headings. */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --border: #E4E0D6;
  --text: #1C2430;
  --text-muted: #5E6773;
  --primary: #1C3A5C;
  --primary-dark: #142A44;
  --accent: #C99A3E;
  --accent-soft: #FBF2DF;
  --app-accent: #3F9D6E;
  --app-accent-dark: #2F7A54;
  --app-accent-soft: #BFE6D1;
  --app-surface: #FFFFFF;
  --app-bg: #EAF6EF;
  --max-width: 760px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11151C;
    --surface: #171D26;
    --border: #2B3341;
    --text: #EDEFF2;
    --text-muted: #9CA6B3;
    --primary: #6E9BCB;
    --primary-dark: #4F7AAE;
    --accent: #E0B45C;
    --accent-soft: #2A2416;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #11151C;
  --surface: #171D26;
  --border: #2B3341;
  --text: #EDEFF2;
  --text-muted: #9CA6B3;
  --primary: #6E9BCB;
  --primary-dark: #4F7AAE;
  --accent: #E0B45C;
  --accent-soft: #2A2416;
  color-scheme: dark;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Wider container for marketing pages (home / hoe-het-werkt / impact / over-ons).
   Doc pages (privacy/support) keep the narrower .wrap for readability. */
.wrap-wide {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Poppins', 'Work Sans', sans-serif;
  text-wrap: balance;
}

a { color: var(--primary); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

header.site {
  border-bottom: 1px solid transparent;
  padding-block: 18px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

header.site.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px rgba(20, 30, 45, 0.06);
}

header.site .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.22rem;
  text-decoration: none;
  color: var(--text);
}

.brand .mark {
  height: 38px;
  width: auto;
  flex: none;
}

nav.site {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

nav.site a {
  position: relative;
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

nav.site a:hover {
  color: var(--primary);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

nav.site a[aria-current="page"] {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(28, 58, 92, 0.25);
}

nav.site a[aria-current="page"]:hover {
  color: #ffffff;
  background: var(--primary);
  transform: none;
}

main { padding-block: 48px 72px; }
main:has(.hero-band) { padding-block: 0 72px; }

/* Full-bleed hero band for marketing pages */
.hero-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.055) 1.4px, transparent 1.6px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding-block: 64px 72px;
  margin-bottom: 8px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 34px));
}

.hero-band::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 62, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-band::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-band .wrap-wide {
  position: relative;
  z-index: 1;
}

.hero-band .eyebrow {
  color: var(--accent);
}

.hero-band h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.hero-band .lede {
  color: rgba(255, 255, 255, 0.84);
  max-width: 60ch;
}

.hero-band .btn.primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.hero-band .btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-band .btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 10px 0 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 32px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(28, 58, 92, 0.12);
}

.pillar h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s cubic-bezier(.34,1.56,.64,1), box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.95) !important;
}

.btn.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(28, 58, 92, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(28, 58, 92, 0.32);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Store download badges — placeholders until the app is live on App Store / Google Play */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

.store-badge svg { flex: none; width: 22px; height: 22px; color: var(--text-muted); }

.store-badge .store-label {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-badge .store-label small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge .store-label b {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
}

.store-badge .soon-pill {
  position: absolute;
  top: -9px;
  right: -8px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hero-band .store-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.hero-band .store-badge svg { color: rgba(255, 255, 255, 0.75); }
.hero-band .store-badge .store-label b { color: #ffffff; }

article.doc h2 {
  font-size: 1.25rem;
  margin: 36px 0 10px;
  padding-top: 8px;
}

article.doc h2:first-of-type { margin-top: 0; }

article.doc p, article.doc li {
  color: var(--text);
}

article.doc .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.note {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 20px 0;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin: 28px 0;
}

.contact-box .addr {
  font-family: 'Work Sans', monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

details summary::-webkit-details-marker { display: none; }

details summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  color: var(--primary);
}

details[open] summary::before { content: "–"; }

details p {
  margin: 10px 0 0 1.4em;
  color: var(--text-muted);
}

footer.site {
  border-top: 1px solid var(--border);
  padding-block: 28px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

footer.site a { color: var(--text-muted); }

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

/* Generic section headings (home / over-ons / hoe-het-werkt — outside article.doc) */
main h2.section-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 0 0 8px;
  padding-left: 18px;
  position: relative;
}

main h2.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}

.section {
  margin: 64px 0;
}

.wrap-wide > .section:first-of-type,
.hero-band + .wrap-wide .section:first-of-type {
  margin-top: 0;
}

.section:first-of-type {
  margin-top: 32px;
}

/* Icon badges for cards */
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.pillar:hover .icon-badge,
.theme-card:hover .icon-badge {
  transform: rotate(-6deg) scale(1.08);
  background: var(--accent);
  color: var(--primary-dark);
}

.section-intro {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 24px;
}

/* Numbered steps (Hoe het werkt) */
.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 18px;
  bottom: 18px;
  width: 0;
  border-left: 2px dashed var(--accent);
  opacity: 0.5;
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
}

.step-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.step h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Groeithema's */
.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.theme-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(28, 58, 92, 0.12);
}

.theme-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.theme-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Puntensysteem CP / EP / CEL */
.points-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.point-card {
  text-align: center;
  background: var(--primary);
  border-radius: 14px;
  padding: 26px 16px;
}

.point-card .abbr {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--accent);
}

.point-card .label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 8px;
  line-height: 1.45;
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(28, 58, 92, 0.12);
}

.team-card .initial {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card h3 {
  margin: 0 0 2px;
  font-size: 1.05rem;
}

.team-card .role {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.team-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Big direct-address question */
.big-ask {
  text-align: center;
  padding: 16px 0 8px;
}

.big-ask .q1 {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  color: var(--primary);
  margin: 0;
  line-height: 1;
}

.big-ask .q2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--text-muted);
  margin: 12px 0 28px;
}

/* Mission / quote band */
.mission {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #ffffff;
  border-radius: 20px;
  padding: 44px 40px;
}

.mission::before {
  content: "\201C";
  position: absolute;
  top: -0.3em;
  left: 0.2em;
  font-family: 'Poppins', sans-serif;
  font-size: 7rem;
  font-weight: 700;
  color: rgba(201, 154, 62, 0.35);
  line-height: 1;
  pointer-events: none;
}

.mission p {
  position: relative;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  max-width: 44ch;
}

/* Gold CTA band (marketing pages) */
.cta-band {
  background: var(--accent);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 4px;
  color: var(--primary-dark);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

.cta-band p {
  margin: 0;
  color: var(--primary-dark);
  opacity: 0.85;
}

.cta-band .btn.primary {
  background: var(--primary);
  color: #ffffff;
  flex: none;
}

/* Scroll reveal — elements rise + fade in as they enter the viewport (script.js toggles .in) */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Research stat cards (Impact page) */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px 20px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(28, 58, 92, 0.12);
}

.stat-card .stat-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card .stat-num span {
  color: var(--accent);
}

.stat-card p {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 0.93rem;
}

.stat-card cite {
  display: block;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.78rem;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

/* App-style phone mockup — rounded pill buttons + soft cards + mint accent,
   matching the live app's own visual language (not a literal screenshot). */
.phone-mockup {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  background: #0E1420;
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(10, 20, 35, 0.35), 0 4px 14px rgba(10, 20, 35, 0.2);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: #0E1420;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-screen {
  position: relative;
  background: linear-gradient(180deg, var(--app-bg) 0%, #ffffff 65%);
  border-radius: 26px;
  overflow: hidden;
  padding: 30px 14px 22px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}

.phone-screen .app-eyebrow {
  text-align: center;
  font-size: 0.68rem;
  color: var(--app-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 14px;
}

.app-card {
  background: var(--app-surface);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(20, 60, 40, 0.1);
  margin-bottom: 12px;
}

.app-card .app-theme {
  display: inline-block;
  background: var(--app-bg);
  color: var(--app-accent-dark);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.app-card h4 {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  color: #1C2430;
}

.app-card p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: #5E6773;
  line-height: 1.4;
}

.app-avatars {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.app-avatars .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -8px;
  font-family: 'Poppins', sans-serif;
}

.app-avatars .av.gold { background: var(--accent); color: var(--primary-dark); }

.app-pill-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--app-accent);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: 'Work Sans', sans-serif;
  box-shadow: 0 8px 16px rgba(63, 157, 110, 0.3);
}

.app-points {
  display: flex;
  gap: 8px;
}

.app-points .pt {
  flex: 1;
  background: var(--app-bg);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}

.app-points .pt b {
  display: block;
  font-family: 'Poppins', sans-serif;
  color: var(--app-accent-dark);
  font-size: 0.95rem;
}

.app-points .pt span {
  font-size: 0.62rem;
  color: #5E6773;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.app-level {
  background: var(--app-surface);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(20, 60, 40, 0.08);
  margin-top: 12px;
}

.app-level .bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.74rem;
  color: #5E6773;
}

.app-level .bar-label b {
  color: var(--app-accent-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
}

.app-level .bar-track {
  height: 7px;
  border-radius: 999px;
  background: var(--app-bg);
  overflow: hidden;
}

.app-level .bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--app-accent-dark);
  width: 62%;
}

.phone-mockup .caption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Hero layout with phone mockup beside the copy */
.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-split .phone-mockup { animation: float 6s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-split .phone-mockup { animation: none; }
}

@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-split .phone-mockup { max-width: 230px; margin-top: 28px; }
}

/* "Jij geeft én ontvangt" give/receive loop (Hoe het werkt) */
.loop-section {
  text-align: center;
}

.giveget-startpoint {
  position: relative;
  max-width: 420px;
  margin: 30px auto 0;
  padding: 16px 20px 15px;
  border: 1.5px dashed var(--border);
  border-radius: 14px;
}

.giveget-startpoint-pill {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.giveget-startpoint p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.giveget-loop {
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 900px;
  margin: 32px auto 0;
  text-align: left;
}

.giveget-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.giveget-col::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 17px;
  bottom: 17px;
  width: 0;
  border-left: 2px dashed var(--border);
  z-index: 0;
}

.giveget-label {
  position: relative;
  z-index: 1;
  margin: 0 0 2px 46px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.giveget-give .giveget-label { color: var(--primary); }
.giveget-receive .giveget-label { color: var(--accent); }

.giveget-step {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(28, 58, 92, 0.04);
}

.giveget-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}

.giveget-give .giveget-num { background: var(--primary); color: #ffffff; }
.giveget-receive .giveget-num { background: var(--accent); color: var(--primary-dark); }

.giveget-step h3 {
  margin: 1px 0 4px;
  font-size: 0.96rem;
}

.giveget-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.giveget-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.giveget-you {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 58, 92, 0.1);
}

.giveget-you-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
}

.giveget-you-sub {
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-top: 2px;
  max-width: 80px;
  line-height: 1.2;
}

.giveget-note {
  margin: 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
}

.giveget-note-give { border-color: var(--primary); }
.giveget-note-get { border-color: var(--accent); }

.giveget-points {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.giveget-points b { color: var(--text); }

.loop-close-line {
  max-width: 560px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.loop-close-line svg { flex: none; width: 15px; height: 15px; color: var(--app-accent-dark); }

.loop-more-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 860px) {
  .giveget-loop {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .giveget-center {
    order: 0;
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    padding: 6px 0;
  }
  .giveget-you { width: 84px; height: 84px; }
  .giveget-you-main { font-size: 0.95rem; }
  .giveget-you-sub { font-size: 0.6rem; max-width: 64px; }
  .giveget-note { max-width: 150px; }
}

@media (max-width: 480px) {
  .giveget-center { flex-direction: column; }
  .giveget-note { max-width: 260px; }
}

/* Anonymised "in-app" feed card — illustrates what a finished challenge looks like */
.feed-card {
  background: var(--app-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(20, 60, 40, 0.08);
}

.feed-card .feed-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.feed-card .feed-avatars {
  display: flex;
  flex: none;
}

.feed-card .feed-avatars .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--app-surface);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  font-family: 'Poppins', sans-serif;
}

.feed-card .feed-avatars .av:first-child { margin-left: 0; }
.feed-card .feed-avatars .av.gold { background: var(--accent); color: var(--primary-dark); }
.feed-card .feed-avatars .av.green { background: var(--app-accent-dark); }

.feed-card .feed-head h3 {
  margin: 0 0 2px;
  font-size: 1rem;
}

.feed-card .feed-head .feed-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feed-card .feed-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.feed-card .feed-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--app-bg);
  color: var(--app-accent-dark);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.feed-card .feed-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.feed-card .feed-proof-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.feed-card .feed-bubble {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}

.feed-card .feed-bubble .av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-family: 'Poppins', sans-serif;
}

.feed-card .feed-bubble .av.gold { background: var(--accent); color: var(--primary-dark); }
.feed-card .feed-bubble .av.green { background: var(--app-accent-dark); }

.feed-card .feed-bubble .bubble-body {
  background: var(--app-bg);
  border-radius: 12px;
  padding: 9px 13px;
  flex: 1;
}

.feed-card .feed-bubble .bubble-body b {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.feed-card .feed-bubble .bubble-body span {
  font-size: 0.85rem;
  color: var(--text);
}

.feed-card .feed-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.feed-card .feed-stats div { text-align: center; }

.feed-card .feed-stats b {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--app-accent-dark);
}

.feed-card .feed-stats span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feed-card .feed-reactions {
  display: flex;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 4px;
}

.feed-card .feed-highfive {
  margin-top: 14px;
  background: var(--app-bg);
  border-radius: 12px;
  padding: 10px 13px;
  font-size: 0.85rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

@media (max-width: 480px) {
  .feed-card { padding: 18px; }
  .feed-card .feed-stats { gap: 6px; }
  .feed-card .feed-stats b { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  nav.site a { padding: 9px 16px; font-size: 0.98rem; }
  .mission { padding: 22px; }
}
