/* ============================================================
   Europe Rides Group — Design tokens
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --ink: #10151F;
  --ink-2: #1C2433;

  --line: #E4E8F0;
  --line-soft: #EEF1F6;

  --text: #1C2433;
  --text-dim: #5B6472;
  --text-faint: #8A93A3;

  --blue: #1857DB;
  --blue-hi: #2F6FEF;
  --blue-wash: #EEF3FE;

  --orange: #FF6A00;
  --orange-hi: #FF8226;
  --orange-wash: #FFF1E6;

  --walibi: #FF6A00;
  --nintendo: #E4402C;
  --adventure: #1FA971;

  --signal: #1FA971;
  --alert: #E4402C;

  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1160px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(16, 21, 31, 0.04), 0 8px 24px rgba(16, 21, 31, 0.05);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.section-inner, .nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
  font-weight: 500;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 20ch;
  color: var(--ink);
}

.accent-orange { color: var(--orange); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(16, 21, 31, 0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--blue);
  padding: 5px 8px;
  border-radius: 6px;
}
.brand-mark--small { padding: 4px 7px; font-size: 10.5px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
}
.nav-links a { text-decoration: none; color: var(--text-dim); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-hi) !important; color: #fff !important; }

@media (max-width: 640px) {
  .nav-links { gap: 16px; font-size: 13px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 76px 0 56px;
  background:
    radial-gradient(1100px 420px at 82% -10%, var(--orange-wash), transparent 60%),
    radial-gradient(900px 360px at -10% 10%, var(--blue-wash), transparent 55%);
}
.hero-inner { max-width: 720px; margin-bottom: 56px; }
.hero-lede {
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 106, 0, 0.25); }
.btn-primary:hover { background: var(--orange-hi); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.stat-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-icon { font-size: 20px; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
}
.stat-label { font-size: 12.5px; color: var(--text-dim); }

@media (max-width: 760px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Status board ---- */
.board-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.board-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
}
.board-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}
.board { padding: 4px 8px; }

.board-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 14px;
}
.board-row + .board-row { border-top: 1px solid var(--line-soft); }

.board-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
}
.board-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.board-ip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  white-space: nowrap;
}
@media (max-width: 560px) { .board-ip { display: none; } }

.status-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-open { background: rgba(31, 169, 113, 0.1); color: var(--signal); }
.status-maint { background: rgba(228, 64, 44, 0.1); color: var(--alert); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-soft); }

.two-col { display: grid; gap: 40px; }
@media (min-width: 860px) {
  .two-col { grid-template-columns: 0.85fr 1.15fr; }
}
.col-head h2 { margin: 0; }
.col-body p { color: var(--text-dim); max-width: 62ch; margin: 0 0 16px; }

/* ---- Park cards ---- */
.park-grid {
  display: grid;
  gap: 20px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.park-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--card-accent, var(--blue));
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.park-card:hover { box-shadow: 0 14px 32px rgba(16, 21, 31, 0.09); transform: translateY(-2px); }
.park-card[data-park="walibi"] { --card-accent: var(--walibi); }
.park-card[data-park="nintendo"] { --card-accent: var(--nintendo); }
.park-card[data-park="adventure"] { --card-accent: var(--adventure); }

.park-mark {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--card-accent, var(--blue));
}
.park-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 7px;
}
.park-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 7px;
  color: var(--ink);
}
.park-theme {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 16px;
  font-weight: 500;
}
.park-desc {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0 0 26px;
  flex-grow: 1;
}
.park-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.park-ip {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.btn-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #fff;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-copy:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-wash); }
.btn-copy:focus-visible, .btn:focus-visible, .nav-links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ---- Features ---- */
.feature-grid {
  display: grid;
  gap: 30px 32px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

/* ---- Steps ---- */
.steps-grid {
  display: grid;
  gap: 24px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--blue);
  background: var(--blue-wash);
  padding: 4px 9px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}
.step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* ============================================================
   Join
   ============================================================ */
.join {
  background: var(--bg-soft);
  padding: 92px 0;
  border-top: 1px solid var(--line);
}
.join-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 40px 0 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.join-row {
  display: grid;
  grid-template-columns: 26px 1fr auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}
.join-row + .join-row { border-top: 1px solid var(--line-soft); }
.join-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.join-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}
.join-ip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
}
.join-note {
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 720px) {
  .join-row {
    grid-template-columns: auto 1fr auto;
    row-gap: 10px;
  }
  .join-ip { grid-column: 2; order: 3; }
  .join-code { order: 1; }
  .join-name { order: 2; }
  .status-pill { order: 4; }
  .btn-copy { order: 5; grid-column: 1 / -1; justify-self: start; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.footer-links { display: flex; gap: 20px; font-size: 13px; }
.footer-links a { text-decoration: none; color: var(--text-dim); }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--text-faint); margin: 0; width: 100%; }
.footer-legal { font-size: 11.5px; color: var(--text-faint); margin: 2px 0 0; width: 100%; }

@media (min-width: 720px) {
  .footer-copy, .footer-legal { width: auto; }
}

/* ============================================================
   Legal page (voorwaarden.html)
   ============================================================ */
.legal-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(900px 360px at 85% -20%, var(--blue-wash), transparent 55%);
  border-bottom: 1px solid var(--line);
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin: 18px 0 0;
}

.legal-layout {
  display: grid;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 96px;
  align-items: start;
}
@media (min-width: 900px) {
  .legal-layout { grid-template-columns: 220px 1fr; }
}

.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: sticky;
  top: 88px;
}
.legal-toc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.legal-toc a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 14px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}
.legal-toc a:hover { background: var(--bg-soft); color: var(--ink); }

.legal-content { max-width: 68ch; }
.legal-content section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.legal-content section:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
  margin: 0 0 16px;
  scroll-margin-top: 88px;
}
.legal-content p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 14px;
}
.legal-content ul {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 14px;
  padding-left: 20px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content em { color: var(--ink); font-style: normal; font-weight: 600; }

.legal-note {
  background: var(--orange-wash);
  border: 1px solid #FFDDBB;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  color: #8A4B10;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0 0 18px;
  font-size: 14px;
}
.legal-table tr + tr { border-top: 1px solid var(--line-soft); }
.legal-table th, .legal-table td {
  text-align: left;
  padding: 11px 14px;
  vertical-align: top;
}
.legal-table th {
  width: 42%;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-soft);
}
.legal-table td { color: var(--text-dim); }
.legal-table em { color: var(--text-faint); font-style: italic; font-weight: 400; }
.legal-table a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
