/* ===================================================================
   Synctelligent — fundament
   Kleuren, lettertypes en tekststijlen, 1-op-1 uit het Framer-project.
   =================================================================== */

/* --- Lettertypes (zelfde bestanden als Framer, lokaal gehost) ------- */
@font-face { font-family: "Urbanist"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/urbanist-500.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/urbanist-600.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/urbanist-700.woff2") format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/urbanist-900.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-600.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); }

/* --- Kleuren -------------------------------------------------------- */
:root {
  --bg:            #f3f4f6;
  --ink:           #030712;
  --muted:         #6b7280;
  --line:          rgba(3, 7, 18, 0.1);
  --white:         #fff;
  --off-white:     #f9fafb;
  --grey-200:      #e5e7eb;
  --grey-300:      #d1d5db;
  --grey-e4:       #e4e4e4;

  --lime:          #98ff03;
  --lime-light:    #b2ff43;
  --lime-tint:     rgba(152, 255, 3, 0.15);

  --dark:          #030712;
  --dark-800:      #292c2e;
  --dark-700:      #40454a;
  --dark-600:      #55595c;
  --dark-1a:       #1a1a1a;

  --white-10:      rgba(255, 255, 255, 0.1);
  --white-20:      rgba(255, 255, 255, 0.2);
  --white-30:      rgba(255, 255, 255, 0.3);
  --white-60:      rgba(255, 255, 255, 0.6);

  --font-sans:     "Urbanist", system-ui, -apple-system, sans-serif;
  --font-mono:     "Space Grotesk", ui-monospace, monospace;

  /* Breekpunten: telefoon t/m 809.98px · tablet 810–1439.98px · desktop vanaf 1440px */
  --shell:         1408px;   /* breedte van de binnenkolom */
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, h5, p, figure, ul, ol { margin: 0; padding: 0; }

ul, ol { list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ===================================================================
   Tekststijlen — de namen tussen haakjes zijn de Framer-preset-ids,
   zodat je ze kunt terugvinden in het originele project.
   =================================================================== */

/* Hero-kop (1hro7wp) */
.t-hero  { font-size: 72px; font-weight: 600; line-height: 1.05em; letter-spacing: -0.03em; color: var(--ink); }

/* Sectiekop groot (v5pzc9) */
.t-h2    { font-size: 64px; font-weight: 600; line-height: 64px; letter-spacing: -0.03em; color: var(--ink); }

/* Sectiekop op donker (1fetok) */
.t-h2-on-dark { font-size: 48px; font-weight: 600; line-height: 60px; letter-spacing: -0.03em; color: var(--bg); }

/* Sectiekop middel (3ma3vb) */
.t-h3    { font-size: 40px; font-weight: 600; line-height: 52px; letter-spacing: -0.02em; color: var(--ink); }

/* Kaartkop op donker (1noi8vp) */
.t-h4-on-dark { font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: 0.01em; color: var(--off-white); }

/* Kaartkop (b6eh5x) */
.t-h5    { font-size: 24px; font-weight: 600; line-height: 32px; color: var(--ink); }

/* Display mono, groot (1o38yw3) */
.t-display { font-family: var(--font-mono); font-size: 120px; font-weight: 600; line-height: 120px; letter-spacing: -0.06em; text-transform: uppercase; color: var(--ink); }

/* Display mono, marquee (1qozeca) */
.t-marquee { font-family: var(--font-mono); font-size: 120px; font-weight: 500; line-height: 120px; letter-spacing: -0.04em; text-transform: uppercase; color: var(--ink); }

/* Label / eyebrow (13lpt6d) */
.t-label { font-family: var(--font-mono); font-size: 14px; font-weight: 400; line-height: 20px; text-transform: uppercase; color: var(--muted); }

/* Label op donker (1xolxu9) */
.t-label-on-dark { font-family: var(--font-mono); font-size: 14px; font-weight: 500; line-height: 20px; text-transform: uppercase; color: var(--off-white); }

/* Label groot (4pwmu9) */
.t-label-lg { font-family: var(--font-mono); font-size: 16px; font-weight: 400; line-height: 1.5em; text-transform: uppercase; color: var(--muted); }

/* Lopende tekst (1jbobve) */
.t-body  { font-size: 16px; font-weight: 500; line-height: 24px; color: var(--muted); }

/* Lopende tekst op donker (gih9ie) */
.t-body-on-dark { font-size: 18px; font-weight: 500; line-height: 28px; color: var(--off-white); }

/* Klein op donker (ssp3c) */
.t-small-on-dark { font-size: 14px; font-weight: 500; line-height: 20px; color: var(--grey-300); }

/* Nadruk / navigatie (1cex6rn) */
.t-strong { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--ink); }

/* Cijfer/proof-punt — dit is in Framer bewust Inter Bold, geen Urbanist */
.t-stat { font-family: "Inter", system-ui, sans-serif; font-size: 40px; font-weight: 700; line-height: 48px; color: #0a0a0a; }

/* Knoplabel (1u0avwx) */
.t-button { font-size: 18px; font-weight: 600; line-height: 28px; color: var(--ink); }

@media (max-width: 1439.98px) {
  .t-hero          { font-size: 52px; }
  .t-h2            { font-size: 40px; line-height: 40px; }
  .t-h2-on-dark    { font-size: 38px; }
  .t-h3            { font-size: 32px; }
  .t-h4-on-dark    { font-size: 26px; }
  .t-h5            { font-size: 19px; }
  .t-display       { font-size: 60px; line-height: 60px; }
  .t-label         { font-size: 12px; }
  .t-label-on-dark { font-size: 12px; line-height: 18px; }
  .t-label-lg      { font-size: 12px; }
  .t-body-on-dark  { font-size: 14px; }
  .t-strong        { font-size: 14px; }
  .t-button        { font-size: 14px; }
}

@media (max-width: 809.98px) {
  .t-hero    { font-size: 34px; line-height: 1.1em; }
  .t-h2      { font-size: 32px; line-height: 32px; }
  .t-h2-on-dark { font-size: 30px; }
  .t-h3      { font-size: 26px; }
  .t-h5      { font-size: 15px; }
  .t-marquee { font-size: 56px; line-height: 56px; }
  .t-body    { font-size: 14px; }
  .t-button  { line-height: 14px; }
}

/* ===================================================================
   Layout-bouwstenen
   =================================================================== */

/* Sectie: volle breedte, inhoud gecentreerd in een kolom van 1408px */
.section {
  position: relative;
  z-index: 1;
  width: 100%;
}

.container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.stack--center { align-items: center; }

@media (max-width: 809.98px) {
  .container { padding: 0 12px; }
}

/* Verticale ruimte tussen secties (Framer "Spacer") */
.spacer { width: 100%; height: 16px; }

@media (max-width: 1439.98px) { .spacer { height: 14px; } }
@media (max-width: 809.98px)  { .spacer { height: 12px; } }

/* ===================================================================
   Randen als overlay — Framer tekent ze zo, een echte border zou de
   sectiehoogte veranderen.
   =================================================================== */
.edge-y, .edge-x { position: relative; }

.edge-y::after, .edge-x::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.edge-y::after { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.edge-x::after { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }

/* ===================================================================
   Eyebrow-badge ("Section tag")
   =================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
  overflow: hidden;
  background: var(--bg);
}

.eyebrow__dot {
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--lime);
}

.eyebrow--on-dark { background: transparent; }

/* ===================================================================
   Knoppen
   =================================================================== */

/* Primair: donkere knop met lime pijlpaneel dat opent bij hover */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 5px 24px 8px 6px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(180deg, var(--dark-700) 0%, var(--dark-800) 100%);
  box-shadow:
    inset 0 -4px 0 1px var(--white-10),
    inset 0 -3px 0 0 #000,
    inset 0 1px 0 0 var(--white-60),
    inset 0 -5px 0 0 var(--dark-1a),
    inset 0 1px 0 0 rgba(245, 245, 245, 0.6),
    0 2.77px 2.21px 0 rgba(3, 7, 18, 0.1),
    0 6.65px 5.32px 0 rgba(0, 0, 0, 0.15),
    0 12.52px 10.02px 0 rgba(0, 0, 0, 0.15),
    0 2px 2.21px 0 rgba(0, 0, 0, 0.61),
    0 6px 5.32px 0 rgba(0, 0, 0, 0.12);
}

.btn__icon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 10px;
  overflow: hidden;
}

.btn__icon img { width: 19px; height: 24px; object-fit: contain; opacity: 0.3; }

.btn__panel {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 7px;
  right: calc(100% - 52px);
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 15px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--lime-light) 0%, var(--lime) 100%);
  box-shadow:
    inset 0 1px 0 0 var(--white),
    inset 0 -2px 0.5px 0 rgba(117, 197, 0, 0.25),
    4px 8px 2px 0 rgba(3, 7, 18, 0.1);
  transition: right 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover .btn__panel,
.btn:focus-visible .btn__panel { right: 6px; }

.btn__panel img { flex: none; width: 18px; height: 24px; object-fit: contain; }
.btn__panel img:nth-child(1) { opacity: 0.3; }
.btn__panel img:nth-child(2) { opacity: 0.2; }
.btn__panel img:nth-child(n+3) { opacity: 0.5; }

.btn__label { color: var(--white); white-space: pre; }

/* Secundair: witte knop met ingedrukte onderrand */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 30px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  background: var(--white);
  box-shadow:
    inset 0 -6px 0 1px rgba(250, 250, 250, 0.25),
    inset 0 -5px 0 0 var(--grey-e4),
    inset 0 1px 0 0 var(--white-60),
    0 3px 3px 0 rgba(0, 0, 0, 0.04);
}

/* Framer geeft dit label een vaste hoogte van 13px in een regel van 28px;
   dat bepaalt de knophoogte van 67px. De regel loopt bewust over dat vakje
   heen; Framer centreert hem daarin (RichTextContainer = flex + center),
   anders zakt de tekst een halve regel naar beneden. */
.btn-ghost__label { height: 13px; white-space: pre; }

.btn-dark__label,
.btn-ghost__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 809.98px) {
  .btn { padding: 3px 24px 8px 6px; }
  .btn__icon img { height: 20px; }
  .btn__panel { top: 3px; }
  .btn__panel img { height: 20px; }
  .btn-ghost { padding: 20px 20px 26px; }
}

/* ===================================================================
   Verschijn-animaties
   =================================================================== */
.appear {
  opacity: 0;
  transform: translateY(var(--appear-y, 20px));
}

.appear.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--appear-delay, 0s),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) var(--appear-delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .appear { opacity: 1; transform: none; }
  .appear.is-in { transition: none; }
  .btn__panel { transition: none; }
  [class*="marquee"] > *, .ticker__track { animation: none !important; }
}
