:root {
  --ink: #161616;
  --ink-muted: #525252;
  --ink-subtle: #8c8c8c;
  --canvas: #ffffff;
  --surface-1: #f4f4f4;
  --surface-2: #e0e0e0;
  --hairline: #e0e0e0;
  --primary: #0f62fe;
  --blue-80: #002d9c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  letter-spacing: 0.16px;
}

h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: 0;
  margin: 0 0 16px;
}
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.17; }
h2 { font-size: clamp(24px, 3.5vw, 36px); line-height: 1.2; }
h3 { font-size: 22px; font-weight: 400; line-height: 1.3; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--blue-80); text-decoration: none; }

.btn-secondary {
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn-secondary:hover { text-decoration: none; opacity: 0.9; }

.card-flat {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 24px;
}

.timeline { position: relative; margin: 32px 0; padding-left: 32px; border-left: 2px solid var(--hairline); }
.timeline-item { position: relative; margin-bottom: 32px; padding-left: 16px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary);
}
.timeline-date { font-size: 12px; letter-spacing: 0.32px; color: var(--ink-subtle); text-transform: uppercase; }

.breadcrumb { font-size: 13px; color: var(--ink-subtle); margin-bottom: 24px; }
.breadcrumb a { color: var(--ink-subtle); }
.breadcrumb a:hover { color: var(--primary); }

.toc-block { background: var(--surface-1); padding: 24px; margin: 24px 0; }
.toc-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.32px; font-weight: 600; color: var(--ink-muted); margin-bottom: 12px; }
.toc-block a { color: var(--ink); font-size: 14px; }
.toc-block a:hover { color: var(--primary); }

.faq-item { border-bottom: 1px solid var(--hairline); padding: 24px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--ink-subtle); font-size: 20px; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; color: var(--ink-muted); }

.related-tile { border: 1px solid var(--hairline); padding: 16px; display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.related-tile:hover { border-color: var(--primary); text-decoration: none; }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  color: #fff;
  padding: 24px 32px;
  display: none;
  z-index: 100;
}
.cookie-banner p { color: #c6c6c6; font-size: 14px; margin-bottom: 12px; }
.cookie-actions button { padding: 8px 16px; font-size: 14px; border: none; cursor: pointer; margin-right: 8px; }
.btn-accept { background: #fff; color: var(--ink); }
.btn-reject { background: transparent; color: #fff; border: 1px solid #525252 !important; }

form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
form input, form textarea {
  width: 100%;
  background: var(--surface-1);
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 11px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
form input:focus, form textarea:focus { outline: none; border-bottom: 2px solid var(--primary); }
.field-error { color: #da1e28; font-size: 13px; margin-top: 4px; display: none; }
.form-success { display: none; background: var(--surface-1); padding: 16px; margin-top: 16px; font-weight: 600; }

footer.site-footer { background: var(--ink); color: #c6c6c6; }
footer.site-footer a { color: #c6c6c6; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.32px; margin-bottom: 12px; }
