/* financieringsplatform.nl */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #081A36;
  --glow: #15407E;
  --ink: #FFFFFF;
  --text: #DCE6F5;
  --muted: #8FA6C8;
  --desc: #9DB0CF;
  --line: rgba(143, 166, 200, .18);
  --tile: rgba(255, 255, 255, .04);
  --tile-hover: rgba(255, 255, 255, .08);
  --blue: #1769D2;
  --teal: #169B7B;
  --green: #169B7B;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1100px 520px at 85% -10%, var(--glow) 0, transparent 60%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 16px/1.55 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 40px;
}

/* Kop */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; border-radius: 8px; }
.brand img { display: block; height: 54px; width: auto; }
.count {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Intro */
.hero { padding: 56px 0 32px; }
.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  text-wrap: balance;
}
.hero p { margin: 12px 0 0; color: var(--muted); max-width: 52ch; font-size: 17px; }

/* Tegels */
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.grid li { display: flex; }
.grid li.feat { grid-column: span 2; }

.tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: var(--tile);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
}
.tile:hover { background: var(--tile-hover); border-color: var(--green); transform: translateY(-2px); }
.tile:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.feat .tile {
  background: linear-gradient(135deg, rgba(23, 105, 210, .35), rgba(22, 155, 123, .30));
  border-color: rgba(22, 155, 123, .5);
}
.feat .tile:hover { background: linear-gradient(135deg, rgba(23, 105, 210, .45), rgba(22, 155, 123, .40)); }

.t-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }

.ic {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ic.pad img { width: 76%; height: 76%; }
.feat .ic { width: 56px; height: 56px; border-radius: 14px; }

.name { font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; overflow-wrap: anywhere; }
.feat .name { font-size: 22px; letter-spacing: -.01em; }
.desc { font-size: 14px; line-height: 1.5; color: var(--desc); }
.feat .desc { font-size: 15px; color: var(--text); max-width: 46ch; }
.dom { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 600; color: var(--green); overflow-wrap: anywhere; }

.arrow { color: var(--green); font-weight: 700; font-size: 18px; transition: transform .2s; }
.tile:hover .arrow { transform: translateX(4px); }

.site-footer { margin-top: 40px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page { padding: 20px 16px 32px; }
  .brand img { height: 46px; }
  .hero { padding: 36px 0 24px; }
  .grid { grid-template-columns: 1fr; }
  .grid li.feat { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .arrow { transition: none; }
  .tile:hover { transform: none; }
}
