/* Papervine — Leaf design system voor web (bron: Design Assets/design.json + ui/theme/Color.kt) */

:root {
  --bg: #F5EAD8;          /* crème */
  --surface: #FBF4E8;     /* papier */
  --text: #201E1D;
  --muted: rgba(32, 30, 29, 0.68);
  --soft: rgba(32, 30, 29, 0.55);
  --accent: #C67139;      /* terracotta */
  --accent-deep: #8C491A;
  --accent-tint: #F3E0CC; /* accent900-achtig vlak */
  --sage: #7A8A5E;        /* salie — alleen decoratief */
  --border: rgba(140, 73, 26, 0.16);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 22px; }

/* Header */
header {
  padding: 26px 0 10px;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wordmark img { width: 42px; height: 42px; border-radius: 12px; }
.wordmark span {
  font-family: "Caprasimo", serif;
  font-size: 1.55rem;
  color: var(--text);
  letter-spacing: 0.2px;
}
.wordmark span b { color: var(--accent); font-weight: 400; }
nav a {
  color: var(--accent-deep); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  padding: 8px 14px; border-radius: 10px;
}
nav a:hover { background: var(--accent-tint); }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 {
  font-family: "Caprasimo", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  max-width: 640px; margin: 0 auto 18px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p.sub {
  font-size: 1.1rem; color: var(--muted); max-width: 560px; margin: 0 auto 30px;
}
.cta {
  display: inline-block;
  background: linear-gradient(135deg, #C67139, #A0562B);
  color: #FBF4E8; text-decoration: none; font-weight: 600;
  padding: 15px 30px; border-radius: 14px; font-size: 1.02rem;
  box-shadow: 0 6px 18px rgba(140, 73, 26, 0.22);
}
.cta:hover { filter: brightness(1.05); }
.cta-note { display: block; margin-top: 12px; font-size: 0.88rem; color: var(--soft); }

/* Feature grid */
.features { padding: 34px 0 10px; }
.grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
}
.card .glyph {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-tint); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 12px;
}
.card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 4px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* Privacy-blok */
.promise {
  margin: 56px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px 34px;
  text-align: center;
}
.promise h2 {
  font-family: "Caprasimo", serif; font-weight: 400;
  font-size: 1.7rem; margin-bottom: 12px;
}
.promise p { color: var(--muted); max-width: 620px; margin: 0 auto 8px; }
.promise .leaf { color: var(--sage); font-size: 1.5rem; display: block; margin-bottom: 10px; }
.promise a { color: var(--accent-deep); font-weight: 500; }

/* Pricing */
.pricing { text-align: center; padding: 10px 0 30px; }
.pricing h2 {
  font-family: "Caprasimo", serif; font-weight: 400; font-size: 1.7rem; margin-bottom: 8px;
}
.pricing > p { color: var(--muted); margin-bottom: 26px; }
.tiers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); text-align: left; }
.tier {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
}
.tier.pro { border-color: var(--accent); border-width: 1.5px; }
.tier h3 { font-size: 1.05rem; margin-bottom: 2px; }
.tier .price { color: var(--accent-deep); font-weight: 600; margin-bottom: 10px; }
.tier ul { list-style: none; }
.tier li { font-size: 0.92rem; color: var(--muted); padding: 3px 0 3px 22px; position: relative; }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding: 30px 0 46px;
  font-size: 0.9rem; color: var(--soft);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}
footer a { color: var(--accent-deep); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Privacy-pagina (artikelstijl) */
article { max-width: 760px; margin: 0 auto; padding: 20px 0 60px; }
article h1 {
  font-family: "Caprasimo", serif; font-weight: 400;
  font-size: 2rem; margin: 26px 0 6px;
}
article .updated { color: var(--soft); font-size: 0.92rem; margin-bottom: 26px; }
article h2 {
  font-size: 1.25rem; margin: 34px 0 10px; font-weight: 600;
}
article h3 { font-size: 1.05rem; margin: 24px 0 8px; font-weight: 600; }
article p, article li { color: var(--text); font-size: 0.98rem; margin-bottom: 12px; }
article ul { padding-left: 22px; margin-bottom: 14px; }
article li { margin-bottom: 6px; }
article a { color: var(--accent-deep); }
article strong { font-weight: 600; }
.lang-switch {
  display: inline-flex; gap: 6px; margin: 6px 0 4px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 5px;
}
.lang-switch a {
  padding: 6px 14px; border-radius: 9px; text-decoration: none;
  color: var(--accent-deep); font-weight: 500; font-size: 0.92rem;
}
.lang-switch a:hover { background: var(--accent-tint); }
hr.lang-divider { border: 0; border-top: 1px solid var(--border); margin: 54px 0; }
