/* Plain Labs — huisstijl volgens design-handoff
   inkt #161616 · wit #ffffff · off-white #f4f4f3
   randen #e2e2e0 / #eeeeec · secundair #6b6b68 · tertiair #8a8a86
   radius 0 (behalve app-icoon ±22% en badges pill) · geen schaduwen */

:root {
  --ink: #161616;
  --white: #ffffff;
  --bg: #f4f4f3;
  --border: #e2e2e0;
  --border-light: #eeeeec;
  --text-2: #6b6b68;
  --text-3: #8a8a86;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-light);
}

/* logo op 20px → cursor 11×3, gap 3 (constructieregels 3d) */
.logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--mono);
}
.logo-word {
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  line-height: 1;
}
.logo-cursor {
  width: 11px;
  height: 3px;
  background: var(--ink);
  margin-left: 3px;
}

.site-nav {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 13px;
}
.site-nav a {
  color: var(--text-2);
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  padding: 96px 0 112px;
  border-bottom: 1px solid var(--border);
}

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.25;
  max-width: 640px;
}

/* knipperende cursor: alleen hier, in interactieve context (per handoff) */
.hero-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.125em;
  background: var(--ink);
  margin-left: 0.09em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-cursor { animation: blink 1.2s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: 18px;
  color: var(--text-2);
}

/* ---------- secties ---------- */

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-of-type { border-bottom: none; }

.section-label {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
}

.prose { max-width: 560px; }
.prose p + p { margin-top: 16px; }

/* ---------- apps ---------- */

.app-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* app-icoon: donker vlak, radius ±22% van de zijde */
.app-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: var(--ink);
  border-radius: 14px; /* ≈22% van 64px */
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-icon-p {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--bg);
}
.app-icon-cursor {
  width: 14px;
  height: 3.5px;
  background: var(--bg);
  margin-left: 2px;
  align-self: flex-end;
  margin-bottom: 6px;
}

.app-body h3 {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}
.app-body p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 14px;
}

.app-card-link {
  text-decoration: none;
  color: inherit;
}
.app-card-link:hover { border-color: var(--ink); }

.app-link-hint {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  margin-left: 12px;
}
.app-card-link:hover .app-link-hint { color: var(--ink); }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 99px; /* pill — enige toegestane radius naast app-icoon */
  padding: 3px 10px;
}

/* ---------- contact ---------- */

.contact-link {
  font-family: var(--mono);
  font-size: 18px;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

/* ---------- footer ---------- */

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  font-family: var(--mono);
}
.footer-p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
}
.footer-cursor {
  width: 8px;
  height: 2px;
  background: var(--ink);
  margin-left: 1px;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- mobiel ---------- */

@media (max-width: 640px) {
  .site-header { padding: 16px 20px; }
  main { padding: 0 20px; }
  .hero { padding: 64px 0 72px; }
  .site-nav { gap: 16px; }
}
