/* TME FOODS — DESIGN SYSTEM & TOKENS (Mama Thai Architecture) */
@import url("https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root, [data-theme="light"] {
  /* Canvas & Oppervlaktes */
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --surface-card: #ffffff;

  /* Typografie & Inkt (Hoog contrast voor toegankelijkheid) */
  --ink: #103221;         /* Diep Bosgroen (14.8:1 op wit) */
  --ink-muted: #475569;   /* Slate 600 (5.4:1 op wit) */
  --ink-inverted: #ffffff;

  /* Primaire Kleuren & Culinair Accenten */
  --forest: #103221;
  --forest-hover: #17452e;
  --terracotta: #c75a3b;
  --terracotta-hover: #b34e32;
  --kurkuma: #f4b42e;
  --amber: #e68139;
  --rule: #e2e8f0;

  /* Spatiëring */
  --space-1: 4px;
  --space-2: 8px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  /* Radius (Scherp & Commercieel) */
  --radius-sm: 2px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Font Families */
  --font-display: "Cabinet Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --surface: #0a1510;
  --surface-subtle: #11221a;
  --surface-card: #152a20;
  --ink: #edf7f1;
  --ink-muted: #94a3b8;
  --ink-inverted: #0a1510;
  --forest: #1a4d33;
  --forest-hover: #236343;
  --terracotta: #d96f52;
  --terracotta-hover: #e28167;
  --kurkuma: #f7c358;
  --amber: #eb9758;
  --rule: #1e382b;
}

/* Typografische Schaal */
.hero { font-family: var(--font-display); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.h2 { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.h3 { font-family: var(--font-display); font-size: 22px; line-height: 28px; font-weight: 700; color: var(--ink); }
.nav { font-family: var(--font-display); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink); }
.chip { font-family: var(--font-display); font-size: 13px; line-height: 18px; font-weight: 700; text-transform: lowercase; }
.body { font-family: var(--font-body); font-size: 16px; line-height: 26px; font-weight: 400; color: var(--ink); }
.small { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ink-muted); }
.label { font-family: var(--font-body); font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ink-muted); }

/* Basis Layout Componenten */
body {
  margin: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Knoppen (Action Elements) */
.tme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  padding: 10px var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 150ms ease, opacity 150ms ease;
  min-height: 44px;
  min-width: 44px;
}
.tme-btn:active { transform: scale(0.98); }
.tme-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }

.tme-btn-primary {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ink-inverted);
}
.tme-btn-primary:hover {
  background: var(--forest-hover);
}

.tme-btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.tme-btn-secondary:hover {
  background: var(--surface-subtle);
}

.tme-btn-accent {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
}
.tme-btn-accent:hover {
  background: var(--terracotta-hover);
}

/* Micro-labels / Chips (Altijd Lowercase) */
.tme-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.tme-chip-forest {
  background: var(--forest);
  color: #ffffff;
}
.tme-chip-terracotta {
  background: var(--terracotta);
  color: #ffffff;
}
.tme-chip-kurkuma {
  background: var(--kurkuma);
  color: #103221; /* Donkergroen voor hoog contrast */
}
.tme-chip-amber {
  background: var(--amber);
  color: #ffffff;
}
.tme-chip-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

/* Pijlerkaarten (01 - 03) */
.tme-pillar-card {
  background: var(--surface-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}
.tme-pillar-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 44px;
  color: var(--forest);
  margin-bottom: var(--space-2);
}
.tme-pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  margin: 0 0 var(--space-4) 0;
  color: var(--ink);
}
.tme-pillar-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 24px;
  color: var(--ink-muted);
}
.tme-pillar-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-2);
}
.tme-pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: var(--radius-sm);
}

/* B2B Specificatie Tabellen */
.tme-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}
.tme-table th {
  font-family: var(--font-display);
  text-align: left;
  padding: var(--space-3, 12px) var(--space-4);
  background: var(--surface-subtle);
  color: var(--ink);
  border-bottom: 2px solid var(--rule);
  font-weight: 700;
}
.tme-table td {
  padding: var(--space-3, 12px) var(--space-4);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
