/* ─────────────────────────────────────────────────────────────
   NexuData — senior data & AI advisory firm
   Bold, modern, confident. Typography does the heavy lifting.
   ───────────────────────────────────────────────────────────── */

:root {
  /* brand */
  --teal:        #19b3c1;
  --teal-light:  #54cacb;
  --teal-deep:   #0e8a96;
  --navy:        #0c6186;
  --ink:         #0d1b2a;
  --ink-2:       #1a2942;
  --ink-soft:    #3a4a62;
  --paper:       #f7f9fb;
  --paper-2:     #eef2f6;
  --white:       #ffffff;
  --rule:        rgba(13, 27, 42, 0.08);
  --rule-2:      rgba(13, 27, 42, 0.16);
  --rule-dark:   rgba(255, 255, 255, 0.10);
  --rule-dark-2: rgba(255, 255, 255, 0.18);

  /* accent emphasis (Tweaks-controlled) */
  --accent:      var(--teal);
  --accent-deep: var(--teal-deep);

  /* layout */
  --maxw:    1240px;
  --gutter:  32px;
  --section: clamp(72px, 9vw, 140px);

  /* type */
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --body:    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

:root[data-density="compact"]  { --section: clamp(56px, 6vw, 88px); --gutter: 24px; }
:root[data-density="regular"]  { --section: clamp(72px, 9vw, 140px); --gutter: 32px; }
:root[data-density="roomy"]    { --section: clamp(100px, 12vw, 200px); --gutter: 40px; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* ── primitives ────────────────────────────────────────────── */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section {
  padding: var(--section) 0;
  position: relative;
}
.section.paper { background: var(--paper); }
.section.dark  { background: var(--ink); color: var(--white); }

/* ── typography ────────────────────────────────────────────── */
.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(48px, 8.4vw, 124px);
  margin: 0;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--accent); }
h2.display { font-size: clamp(40px, 6vw, 88px); }
h3.display { font-size: clamp(28px, 3vw, 40px); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.on-dark { color: var(--teal-light); }
.eyebrow .num {
  font-variant-numeric: tabular-nums;
  color: inherit;
  opacity: 0.7;
}
.eyebrow .bar {
  width: 28px; height: 1.5px;
  background: currentColor;
}

.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
  font-weight: 400;
  text-wrap: pretty;
}
.lede.on-dark { color: rgba(255,255,255,0.74); }

/* ── nav ───────────────────────────────────────────────────── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 0;
}
.nav.stuck {
  position: fixed;
  top: 0;
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-dark);
  animation: nav-down .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes nav-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.nav-inner {
  display: flex; align-items: center; gap: 32px;
}
.nav .brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.nav .brand .wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.nav-links {
  display: flex;
  gap: 36px;
  margin-left: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
}
.nav-links a { transition: color .15s; position: relative; }
.nav-links a:hover { color: var(--white); }
.nav-spacer { flex: 1; }

/* ── hamburger + drawer (mobile nav) ─────────────────────── */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
  border-radius: 999px;
  transition: background .15s;
  z-index: 60;
}
.nav-burger:hover  { background: rgba(255,255,255,0.06); }
.nav-burger:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}
.nav-burger .bar {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1),
              top .25s cubic-bezier(.2,.7,.2,1),
              opacity .15s;
}
.nav-burger .bar.t { top: 16px; }
.nav-burger .bar.m { top: 21px; }
.nav-burger .bar.b { top: 26px; }
.nav-burger.open .bar.t { top: 21px; transform: rotate(45deg); }
.nav-burger.open .bar.m { opacity: 0; }
.nav-burger.open .bar.b { top: 21px; transform: rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 55;
  padding: 92px 28px 32px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.2,.7,.2,1),
              visibility 0s linear .3s;
  overflow-y: auto;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s cubic-bezier(.2,.7,.2,1),
              visibility 0s linear 0s;
}
.nav-drawer .drawer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.4;
}
.nav-drawer .drawer-bg svg { width: 100%; height: 100%; display: block; }
.nav-drawer .drawer-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.nav-drawer .drawer-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color .15s, padding-left .25s cubic-bezier(.2,.7,.2,1);
  opacity: 0;
  transform: translateY(8px);
}
.nav-drawer.open .drawer-link {
  animation: drawer-link-in .45s cubic-bezier(.2,.7,.2,1) forwards;
}
.nav-drawer.open .drawer-link:nth-child(1) { animation-delay: .08s; }
.nav-drawer.open .drawer-link:nth-child(2) { animation-delay: .14s; }
.nav-drawer.open .drawer-link:nth-child(3) { animation-delay: .20s; }
.nav-drawer.open .drawer-link:nth-child(4) { animation-delay: .26s; }
.nav-drawer.open .drawer-link:nth-child(5) { animation-delay: .32s; }
@keyframes drawer-link-in {
  to { opacity: 1; transform: none; }
}
.nav-drawer .drawer-link:hover {
  color: var(--teal-light);
  padding-left: 12px;
}
.nav-drawer .drawer-link .num {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
  font-variant-numeric: tabular-nums;
}
.nav-drawer .drawer-cta {
  margin-top: 36px;
  justify-content: center;
  font-size: 16px;
  height: 56px;
  opacity: 0;
  transform: translateY(8px);
}
.nav-drawer.open .drawer-cta {
  animation: drawer-link-in .5s cubic-bezier(.2,.7,.2,1) .42s forwards;
}
.nav-drawer .drawer-foot {
  margin-top: auto;
  padding-top: 32px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.nav-drawer .drawer-foot .k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.nav-drawer .drawer-foot a { color: var(--teal-light); }

/* lock body scroll while drawer is open */
body.nav-locked { overflow: hidden; }

/* ── buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--accent);
  color: var(--white);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .12s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(25, 179, 193, 0.4); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn-ghost {
  background: transparent;
  border-color: var(--rule-dark-2);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); box-shadow: none; }
.btn-light-ghost {
  background: transparent;
  border-color: var(--rule-2);
  color: var(--ink);
}
.btn-light-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.txtlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--white);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 1.5px solid var(--rule-dark-2);
  transition: border-color .15s, color .15s;
}
.txtlink:hover { color: var(--teal-light); border-color: var(--teal-light); }
.txtlink.dark-bg { color: var(--white); }
.txtlink.light-bg { color: var(--ink); border-color: var(--rule-2); }
.txtlink.light-bg:hover { color: var(--accent-deep); border-color: var(--accent); }

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(120px, 18vw, 200px) 0 clamp(80px, 10vw, 140px);
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; display: block; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(13,27,42,0.85), transparent 70%),
    linear-gradient(180deg, rgba(13,27,42,0) 0%, rgba(13,27,42,0.35) 70%, rgba(13,27,42,0.9) 100%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-inner .eyebrow { margin-bottom: 28px; color: var(--teal-light); }
.hero h1 { max-width: 22ch; }
.hero h1 em { color: var(--teal-light); }
.hero .lede { margin-top: 32px; max-width: 56ch; color: rgba(255,255,255,0.78); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-meta {
  position: absolute;
  bottom: 56px;
  left: 0; right: 0;
  z-index: 2;
}
.hero-meta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}
.hero-meta-inner .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--teal-light);
  box-shadow: 0 0 12px var(--teal-light);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* hero variant: venn (default), dots, minimal */
.hero[data-bg="minimal"] .hero-bg svg { display: none; }

/* ── section header ────────────────────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: end;
}
.sec-head .left { display: flex; flex-direction: column; gap: 24px; }
.sec-head .right { color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; max-width: 50ch; padding-bottom: 8px; }
.sec-head h2 { margin: 0; }

/* ── diensten cards ────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 460px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  overflow: hidden;
}
.card.is-open {
  border-color: var(--rule-2);
  box-shadow: 0 30px 60px -30px rgba(12, 97, 134, 0.25);
}
.card.is-open:hover { transform: none; }
.card:hover {
  border-color: var(--rule-2);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(12, 97, 134, 0.25);
}
.card .mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--paper);
  color: var(--accent-deep);
  margin-bottom: 8px;
  flex: none;
}
.card .num {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  max-width: 16ch;
}
.card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-deep);
  transition: gap .2s;
}
.card .more:hover { gap: 12px; }
.card .more-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--body);
  width: max-content;
}
.card .more-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* card accordion */
.card-acc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1);
  margin-top: 0;
}
.card.is-open .card-acc {
  grid-template-rows: 1fr;
  margin-top: 4px;
}
.card-acc > .card-acc-inner {
  overflow: hidden;
  min-height: 0;
}
.card.is-open .card-acc > .card-acc-inner {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.card-acc .acc-intro {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}
.card-acc .acc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-acc .acc-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  align-items: start;
}
.card-acc .acc-tick {
  display: grid;
  place-items: center;
  width: 18px;
  height: 22px;
  color: var(--accent-deep);
}
.card-acc .acc-outcome {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--paper);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.card-acc .acc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
  transition: gap .2s;
}
.card-acc .acc-cta:hover { gap: 12px; }
.card-acc .acc-cta:hover .arrow { transform: translateX(3px); }
.card::after {
  content: "";
  position: absolute;
  inset: auto -1px -1px -1px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.card:hover::after { opacity: 1; }

/* ── aanpak steps ──────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  padding: 44px 0 44px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left .25s;
}
.step:hover { padding-left: 16px; }
.step .ix {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.step p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 48ch;
  padding-top: 8px;
}
.step::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.step:hover::after { width: 100%; }

/* ── over (about) ──────────────────────────────────────────── */
.over {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.over .body {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 26ch;
}
.over .body strong { color: var(--accent-deep); font-weight: 600; }
.over .pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.over .pillar { display: flex; flex-direction: column; gap: 10px; padding-top: 28px; }
.over .pillar .lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.over .pillar h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.015em;
}
.over .pillar p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ── contact ───────────────────────────────────────────────── */
.contact {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact .bg-mark {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 600px;
  height: 600px;
  opacity: 0.06;
  pointer-events: none;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact h2 { color: var(--white); }
.contact h2 em { color: var(--teal-light); }
.contact .lede { color: rgba(255,255,255,0.74); margin-top: 24px; }
.contact-meta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-dark);
}
.contact-meta .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 14px; }
.contact-meta .row .k { color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.contact-meta .row .v { color: var(--white); font-weight: 500; }

/* form */
.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-dark);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(8px);
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.form-row input,
.form-row textarea {
  font-family: var(--body);
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--rule-dark-2);
  padding: 10px 0;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--teal-light); }
.form-row textarea { min-height: 96px; }
.form-row.honeypot { position: absolute; left: -9999px; }
.form .submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.form .submit-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  max-width: 28ch;
  transition: color .2s;
}
.form .submit-note.status-ok    { color: var(--teal-light); font-weight: 500; }
.form .submit-note.status-error { color: #ff8080;           font-weight: 500; }

/* ── footer ────────────────────────────────────────────────── */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.62);
  padding: 64px 0 28px;
  border-top: 1px solid var(--rule-dark);
}
.foot-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-dark);
}
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 32ch; }
.foot-brand .tag {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
}
.foot-col h5 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 14px; transition: color .15s; }
.foot-col a:hover { color: var(--white); }
.foot-col .cross {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-light);
  font-weight: 500;
  font-size: 14px;
}
.foot-col .cross:hover { color: var(--white); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── cookie banner ─────────────────────────────────────────── */
.cookie {
  position: fixed;
  left: 16px; right: 16px;
  bottom: 16px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--rule-dark);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.4);
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  font-size: 14px;
  animation: cookie-in .5s cubic-bezier(.2,.7,.2,1) .6s both;
}
@keyframes cookie-in {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie p { margin: 0; color: rgba(255,255,255,0.74); }
.cookie p a { color: var(--teal-light); border-bottom: 1px solid currentColor; }
.cookie .btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }

/* ── tweaks panel — match dark UI feel ─────────────────────── */
.twk-panel { /* the default is light, that's fine */ }

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  /* hide the desktop CTA — drawer carries it on mobile */
  .nav .nav-inner > .btn { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .step { grid-template-columns: 56px 1fr; gap: 24px; }
  .step .ix { font-size: 36px; }
  .step p { grid-column: 2; padding-top: 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .over { grid-template-columns: 1fr; gap: 48px; }
  .over .pillars { grid-template-columns: 1fr 1fr; gap: 24px; }
  .over .pillar { padding-top: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-row { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cookie { grid-template-columns: 1fr; padding: 16px; }
  .cookie .actions { display: flex; gap: 10px; }
}

/* tablet ↔ phone — go single-column on the smallest screens only */
@media (max-width: 600px) {
  .over .pillars { grid-template-columns: 1fr; gap: 16px; }
  .foot-row { grid-template-columns: 1fr; gap: 28px; }
  .form { padding: 26px 22px; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .txtlink { align-self: center; }
}

/* very small phones — keep the brand + hamburger from crowding */
@media (max-width: 380px) {
  .nav .brand .wordmark { font-size: 19px; }
  .nav-inner { gap: 18px; }
}

/* ── reveal-on-scroll ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ── faq page ──────────────────────────────────────────────── */
.subhero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(140px, 16vw, 200px) 0 clamp(56px, 7vw, 96px);
}
.subhero .hero-bg::after {
  background:
    radial-gradient(60% 60% at 50% 100%, rgba(13,27,42,0.85), transparent 70%),
    linear-gradient(180deg, rgba(13,27,42,0.4) 0%, rgba(13,27,42,0.5) 70%, rgba(13,27,42,0.95) 100%);
}
.subhero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: end;
}
.subhero-inner .eyebrow { color: var(--teal-light); margin-bottom: 20px; }
.subhero h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.96;
  font-size: clamp(48px, 7vw, 96px);
  margin: 0;
  text-wrap: balance;
}
.subhero h1 em { font-style: normal; color: var(--teal-light); }
.subhero .lede { padding-bottom: 12px; }
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
}
.crumbs a { color: rgba(255,255,255,0.7); transition: color .15s; }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { opacity: 0.4; }

/* faq list */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-side h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
}
.faq-side p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.faq-side .quick {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-side .quick a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--white);
  transition: border-color .15s, color .15s, transform .15s;
}
.faq-side .quick a:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateX(3px); }
.faq-side .quick a span.idx {
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  transition: padding-left .25s;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 24px;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover h3 { color: var(--accent-deep); }
.faq-item .q-num {
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.faq-item h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: pretty;
  transition: color .2s;
}
.faq-item .q-chev {
  justify-self: end;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), background .2s, color .2s, border-color .2s;
}
.faq-item[open] .q-chev { transform: rotate(180deg); background: var(--accent); color: var(--white); border-color: var(--accent); }
.faq-item .a-body {
  padding: 0 56px 32px 80px;
  display: grid;
  gap: 14px;
}
.faq-item .a-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
  text-wrap: pretty;
}
.faq-item .a-body p strong { color: var(--ink); font-weight: 600; }
.faq-item .a-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-deep);
  margin-top: 4px;
  transition: gap .2s;
  width: max-content;
}
.faq-item .a-cta:hover { gap: 12px; }
.faq-item .a-cta .arrow { transition: transform .2s; }
.faq-item .a-cta:hover .arrow { transform: translateX(3px); }

/* slight reveal */
.faq-item[open] .a-body { animation: faq-in .35s cubic-bezier(.2,.7,.2,1); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .subhero-inner { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .faq-item summary { grid-template-columns: 40px 1fr 28px; gap: 14px; padding: 22px 0; }
  .faq-item .a-body { padding: 0 0 24px 54px; }
}

/* ── legal prose pages ─────────────────────────────────────── */
.prose {
  max-width: 70ch;
  margin: 0 auto;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}
.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
  line-height: 1.2;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 32px 0 10px;
  color: var(--ink);
}
.prose p { margin: 0 0 16px; color: var(--ink-soft); text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); border-bottom: 1px solid var(--rule-2); transition: color .15s, border-color .15s; }
.prose a:hover { color: var(--accent); border-color: var(--accent); }
.prose .meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.prose .meta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.prose .callout {
  margin: 28px 0;
  padding: 20px 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 15px;
  color: var(--ink);
}
.prose .callout p:last-child { margin: 0; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--paper-2);
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--ink);
}

/* cookie table */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--white);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.cookie-table tbody tr:last-child td { border-bottom: 0; }
.cookie-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper-2);
}
.cookie-table td { color: var(--ink-soft); }
.cookie-table td:first-child { color: var(--ink); font-weight: 500; }
.cookie-table code { background: transparent; padding: 0; }

/* ── Venn hero animations (was inline in JSX) ─────────── */
.venn-drift-a {
  transform-origin: center;
  animation: venn-drift 28s ease-in-out infinite;
}
.venn-drift-b {
  transform-origin: center;
  animation: venn-drift-b 38s ease-in-out infinite;
}
@keyframes venn-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, 20px) scale(1.04); }
}
@keyframes venn-drift-b {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(40px, -20px); }
}

/* ── Cookie banner — override display:none with grid ─── */
.cookie:not([style*="display:none"]) { display: grid; }
