/*
 * De kleuren komen uit lib/theme.ts van de app, letterlijk overgenomen. Wie van
 * de site naar de app gaat hoort niet het gevoel te krijgen dat hij ergens
 * anders terechtkomt.
 *
 * Daar staat sinds 23 september 2026 een tweede laag naast: de donkere vlakken
 * en de letter zijn afgestemd op transport-assist.com, de andere site van
 * dezelfde eigenaar. Twee sites van een persoon horen familie van elkaar te
 * zijn zonder dat het dezelfde site wordt.
 *
 * WAAROM DEZE SITE GEEN DONKERE MODUS MEER HEEFT
 * Hij had er een, en die maakte het geheel onvoorspelbaar: de donkere secties
 * werden licht, de lichte donker, en het contrast klopte nergens meer. Een
 * site van een halve pagina heeft dat niet nodig. De app heeft nog steeds
 * allebei; dat is waar het ertoe doet.
 */

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

:root {
  /* Uit de app */
  --accent: #0284c7;
  --accent-bright: #48c1f0;
  --accent-dark: #0369a1;
  --privacy: #6d28d9;
  --positive: #15803d;

  /* De donkere vlakken, van transport-assist.com */
  --ink: #12162e;
  --ink-soft: #1b1f36;
  --ink-line: #2b3450;

  /* Licht */
  --paper: #ffffff;
  --paper-soft: #f4f7fb;
  --line: #e2e8f0;
  --text: #0f172a;
  --text-muted: #55637a;
  --text-faint: #8593a8;
  --on-dark: #ffffff;
  --on-dark-muted: #a9b4cd;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --max: 1080px;
  --prose: 700px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max);
  /*
   * 20px opzij, niet 16. Op een telefoon in een vrachtwagenhouder leest een
   * regel die tegen de rand plakt slechter dan je op een bureau ziet.
   */
  padding: 0 20px;
  margin: 0 auto;
}

.wrap-prose {
  max-width: var(--prose);
}

/* ------------------------------------------------------------------ kop */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(18, 22, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-right: auto;
}

/*
 * Het merkteken staat op een witte tegel en niet los op het donker. Het logo
 * is donkerblauw met hemelsblauw; die donkerblauwe helft valt weg tegen een
 * donkere balk. Een witte tegel met ronde hoeken leest bovendien als het
 * pictogram zoals het op een telefoon staat, en dat is precies waar de bezoeker
 * straks naartoe moet.
 */
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--on-dark);
}

/*
 * Onder de 860px verdwijnt het menu en blijft alleen het merk staan. Geen
 * hamburger: er zijn vier ankers op een pagina die je toch al scrollt, en een
 * uitklapmenu voor vier ankers is meer techniek dan navigatie.
 */
@media (max-width: 860px) {
  .site-nav {
    display: none;
  }
}

/* --------------------------------------------------------------- knoppen */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.32);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

/*
 * De Play Store-knop is met opzet geen knop. Er valt nog niets te downloaden,
 * en iets dat eruitziet als een knop en niets doet leest als een kapotte site.
 */
.button-waiting {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.22);
  cursor: default;
}

.button-waiting:hover {
  transform: none;
}

.button-small {
  padding: 10px 20px;
  font-size: 15px;
}

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

.hero {
  background: radial-gradient(
      1000px 460px at 78% -8%,
      rgba(72, 193, 240, 0.2),
      transparent 62%
    ),
    var(--ink);
  color: var(--on-dark);
  padding: 92px 0 96px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(72, 193, 240, 0.14);
  border: 1px solid rgba(72, 193, 240, 0.3);
  color: var(--accent-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

/*
 * Het pictogram zoals het straks op zijn beginscherm staat. Wie deze pagina op
 * de telefoon bekijkt herkent hem daarna terug tussen zijn andere apps.
 */
.hero-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 26px;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero-lead {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--on-dark-muted);
  max-width: 620px;
  margin: 0 auto 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-note {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--on-dark-muted);
}

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

section {
  padding: 86px 0;
}

.section-soft {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--ink-soft);
  color: var(--on-dark);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-dark .section-head .kicker {
  color: var(--accent-bright);
}

.section-head h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}

.section-head p {
  margin: 0;
  font-size: 18px;
  color: var(--text-muted);
}

.section-dark .section-head p {
  color: var(--on-dark-muted);
}

/* ----------------------------------------------------------------- roads */

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--ink-line);
  box-shadow: none;
}

.card h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

.section-dark .card p {
  color: var(--on-dark-muted);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent);
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.card-icon-privacy {
  background: rgba(109, 40, 217, 0.12);
  color: var(--privacy);
}

.section-dark .card-icon {
  background: rgba(72, 193, 240, 0.14);
  color: var(--accent-bright);
}

/* ------------------------------------------------------------- stappen */

.steps {
  counter-reset: step;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* --------------------------------------------------------------- prijzen */

.plans {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 12px;
}

.plan-price {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
}

.plan-price span {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0;
}

.plan-note {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.plan ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.plan li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: var(--text-muted);
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 15px;
  height: 8px;
  border-left: 2.5px solid var(--positive);
  border-bottom: 2.5px solid var(--positive);
  transform: rotate(-45deg);
}

.plan-foot {
  margin: auto 0 0;
  font-size: 14px;
  color: var(--text-faint);
}

.plans-after {
  max-width: 660px;
  margin: 34px auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
}

/* ------------------------------------------------------------------ vragen */

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}

details[open] {
  border-color: #cbd5e1;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 30px 17px 0;
  font-weight: 700;
  font-size: 17px;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--text-faint);
  border-bottom: 2.5px solid var(--text-faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 16px;
}

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

.contact {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 12px;
}

.contact-card p {
  margin: 0 0 6px;
  color: var(--on-dark-muted);
  font-size: 16px;
}

.contact-card a {
  color: var(--on-dark);
  font-weight: 700;
}

/* ------------------------------------------------------------------ voet */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding: 64px 0 34px;
  font-size: 15px;
}

.footer-top {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--ink-line);
}

@media (max-width: 720px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-top h4 {
  color: var(--on-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.footer-top ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-top a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.footer-top a:hover {
  color: var(--on-dark);
}

.footer-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  margin-bottom: 14px;
}

.footer-about p {
  margin: 14px 0 0;
  max-width: 340px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 14px;
}

/* ------------------------------------------------ losse pagina's en tekst */

.page-head {
  background: var(--ink);
  color: var(--on-dark);
  padding: 68px 0 58px;
}

.page-head .brand {
  margin: 0 0 26px;
  font-size: 17px;
}

.page-head h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.page-head p {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 18px;
  max-width: 620px;
}

.page-head .note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-faint);
}

.prose {
  padding: 62px 0 84px;
}

.prose h2 {
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

.prose h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 28px 0 8px;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 17px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 7px;
}

/*
 * De deel-pagina's: /add/<code> en /invite/<code>. Een korte kaart midden op
 * het scherm, want wie hier komt heeft net iets gescand en wil één ding weten.
 */
/*
 * Vult het hele scherm. Met 78vh bleef er onder de kaart een witte strook over
 * die eruitzag alsof de pagina halverwege ophield.
 */
.landing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 0;
  background: var(--paper-soft);
}

.landing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px 34px;
  text-align: center;
  max-width: 460px;
  width: 100%;
}

.landing-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
}

.landing-card h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.landing-card .lead {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 26px;
}

.landing-label {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 6px;
}

.landing-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 10px;
  margin: 0 0 24px;
  word-break: break-all;
}

.landing-card .button {
  width: 100%;
}

.landing-card .button-waiting {
  background: var(--paper-soft);
  color: var(--text-muted);
  border-color: var(--line);
}

.landing-note {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-faint);
}
