:root {
  --bg: #faf8f4;
  --card: #ffffff;
  --ink: #2b2925;
  --muted: #7a756c;
  --accent: #5a7a4a;
  --accent-ink: #465f38;
  --line: #eae5db;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(43,41,37,.04), 0 8px 24px rgba(43,41,37,.06);
  --shadow-hover: 0 2px 4px rgba(43,41,37,.06), 0 18px 44px rgba(43,41,37,.11);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(250,248,244,.86);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: .3px;
  color: var(--ink);
}
.brand .leaf { color: var(--accent); }
.site-header nav a.home { color: var(--accent-ink); font-weight: 600; }
.site-header nav { display: flex; gap: 22px; align-items: center; }
.site-header nav a { color: var(--muted); font-size: .93rem; }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { padding: 68px 0 44px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.7rem;
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -.5px;
}
.hero p.lede {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0;
}

/* ---------- Shelf ---------- */
.shelf { padding: 8px 0 88px; }
.shelf-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
}
.shelf-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0;
}
.shelf-head .count { color: var(--muted); font-size: .9rem; }

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------- App card ---------- */
.app-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.app-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.app-card-top { display: flex; align-items: center; gap: 18px; }
.app-card .app-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(43,41,37,.14);
  flex: none;
}
.app-card .app-icon img { width: 100%; height: 100%; display: block; border-radius: 18px; }
.app-card .titles .cat {
  display: block;
  font-size: .68rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
  margin-bottom: 3px;
}
.app-card .titles h3 { margin: 0 0 2px; font-size: 1.22rem; font-weight: 650; letter-spacing: -.2px; }
.app-card .titles .tagline { color: var(--muted); font-size: .92rem; margin: 0; }
.app-card .desc { color: var(--muted); font-size: .96rem; margin: 16px 0 0; flex: 1; }
.app-card .meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px 16px;
  margin-top: 22px;
}
.badges { display: flex; gap: 8px; }
.badge {
  font-size: .76rem; font-weight: 600; letter-spacing: .3px;
  padding: 4px 11px; border-radius: 999px;
  background: #f1ede4; color: #5f574a;
}
.badge.ios { background: #eef4ea; color: var(--accent-ink); }
.card-cta { font-weight: 600; font-size: .93rem; color: var(--accent); }
.app-card:hover .card-cta { text-decoration: underline; }

/* Placeholder / coming-soon card */
.app-card.soon {
  background: transparent;
  border: 1px dashed var(--line);
  box-shadow: none;
  align-items: center; justify-content: center; text-align: center;
  min-height: 200px; color: var(--muted);
}
.app-card.soon:hover { transform: none; box-shadow: none; }
.app-card.soon .soon-label { font-size: .95rem; }

/* ---------- Promo card ---------- */
.app-card.promo {
  grid-column: 1 / -1;
  background: linear-gradient(140deg, #f2efe6 0%, #e3e9d6 100%);
  border: 1px solid var(--line);
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.app-card.promo:hover { transform: none; box-shadow: var(--shadow); }
.app-card.promo .promo-tag {
  font-size: .68rem; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); font-weight: 650;
}
.app-card.promo .promo-title {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400;
  color: var(--ink); line-height: 1.22; margin: 0;
}
.app-card.promo .promo-text { color: var(--muted); font-size: .94rem; margin: 0; }
.app-card.promo .promo-cta { margin-top: 10px; font-weight: 600; font-size: .93rem; color: var(--accent); }
/* Brede banner-kaart: content gecentreerd i.p.v. links in een lege rij */
.app-card.promo .promo-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; max-width: 520px; }

/* ---------- Detail page ---------- */
.back { display: inline-block; margin: 28px 0 0; font-size: .9rem; }
.detail { padding: 20px 0 72px; }
.detail .head { display: flex; gap: 26px; align-items: center; margin: 20px 0 30px; }
.detail .head .app-icon {
  width: 120px; height: 120px; border-radius: 26px; flex: none;
  box-shadow: 0 10px 30px rgba(43,41,37,.18);
}
.detail .head .app-icon img { width: 100%; height: 100%; display: block; border-radius: 26px; }
.detail .head h1 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; }
.detail .head .tagline { color: var(--muted); font-size: 1.05rem; margin: 0 0 14px; }
.detail section { margin: 36px 0; }
.detail h2 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0 0 12px; }
.detail p, .detail li { color: #4a453d; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.features li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; font-size: .96rem;
}
.features li strong { display: block; margin-bottom: 4px; color: var(--ink); }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px;
}
.store-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-link {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--ink); border-radius: 12px;
  padding: 9px 16px; color: var(--ink); font-weight: 600; font-size: .9rem;
}
.store-link:hover { text-decoration: none; background: var(--ink); color: #fff; }

/* Officiele store-badges */
.store-badge {
  display: inline-block; line-height: 0; border-radius: 10px;
  transition: opacity .15s ease, transform .15s ease;
}
.store-badge:hover { opacity: .88; transform: translateY(-1px); }
.store-badge img { display: block; height: 52px; width: auto; }
.store-note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 420px) {
  .store-badge img { height: 46px; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 12px 0 72px; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.2; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: .88rem; margin: 0 0 20px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #4a453d; }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin: 6px 0; }
.legal .panel { margin: 20px 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.site-footer h4 { margin: 0 0 10px; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: #a39a8c; }

/* ---------- In de app (promo) ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.shots figure { margin: 0; }
.shots figcaption {
  margin-top: 12px; text-align: center;
  color: var(--muted); font-size: .82rem; line-height: 1.45;
}
.phone {
  background: #201e1a; border-radius: 34px; padding: 8px;
  box-shadow: 0 16px 40px rgba(43,41,37,.22), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .28s ease, box-shadow .28s ease;
}
.shots figure:hover .phone {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(43,41,37,.26), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone-screen { border-radius: 27px; overflow: hidden; aspect-ratio: 9 / 16; background: #fbf9f6; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shots-note { margin-top: 20px; font-size: .9rem; }
@media (max-width: 820px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; gap: 28px; max-width: 280px; margin: 0 auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero h1 { font-size: 2.1rem; }
  .shelf-grid { grid-template-columns: 1fr; }
  .detail .head { flex-direction: column; align-items: flex-start; }
  .features { grid-template-columns: 1fr; }
  .site-footer .cols { flex-direction: column; gap: 24px; }
}
