/* ==========================================================================
   OnePager (test) - "credential meets blueprint".
   Loaded ONLY by includes/onepager.php, on top of css/styles.css (tokens, buttons,
   forms, faq). Nothing here touches the other pages. Everything is prefixed .op-.
   Mobile first: no hamburger. Phones get a slim top bar + a fixed bottom tab bar,
   desktop gets inline section links in the top bar.
   ========================================================================== */

.op {
  --op-serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --op-nav-h: 60px;
  --op-tab-h: 64px;
  --op-line: var(--color-border);
  background: var(--color-bg);
}
html:has(.op) { scroll-behavior: smooth; scroll-padding-top: calc(var(--op-nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html:has(.op) { scroll-behavior: auto; } }

.op h1, .op h2, .op h3, .op .op-numeral, .op .op-brand-name {
  font-family: var(--op-serif);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}
.op em { font-style: italic; color: var(--color-primary); }
.op main { padding-bottom: calc(var(--op-tab-h) + env(safe-area-inset-bottom, 0px) + 12px); }

.op-wrap { width: 100%; max-width: var(--wrap-width); margin: 0 auto; padding: 0 20px; }
.op-wrap-wide { width: 100%; max-width: var(--wrap-wide-width); margin: 0 auto; padding: 0 20px; }

.op-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-primary);
}
.op-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }

/* ---------- top bar ---------- */
.op-top {
  position: sticky; top: 0; z-index: 50; height: var(--op-nav-h);
  background: var(--color-bg);
  background: color-mix(in oklab, var(--color-bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--op-line);
}
.op-top-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.op-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.op-brand img { width: 34px; height: 34px; display: block; }
.op-brand-name { font-size: 20px; font-weight: 700; }
.op-links { display: none; margin-left: auto; gap: 26px; }
.op-links a { position: relative; padding: 6px 0; font-size: 15px; font-weight: 500; color: var(--color-muted); text-decoration: none; }
.op-links a:hover, .op-links a[aria-current="true"] { color: var(--color-primary); }
.op-links a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--color-primary); }
.op-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.op-actions .btn { padding: 8px 16px; font-size: 14px; }
.op-actions .op-login { font-weight: 500; }   /* the log in button is quieter than the sign up button */
.op-top .lang-toggle { min-height: 44px; padding: 0 14px; }
.op .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
/* very narrow phones: logo + language fit; "Aanmelden" lives in the bottom tab bar */
@media (max-width: 479px) { .op-actions .btn { display: none; } .op-brand-name { font-size: 18px; } }

/* ---------- bottom tab bar (phones/tablets) ---------- */
.op-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--op-tab-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--color-bg);
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--op-line);
}
.op-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 48px; padding: 6px 2px; font-size: 12px; font-weight: 600; line-height: 1.1;
  color: var(--color-muted); text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.op-tabbar svg { width: 22px; height: 22px; }
.op-tabbar a[aria-current="true"] { color: var(--color-primary); }
.op-tabbar a[aria-current="true"] svg { transform: translateY(-1px); }
.op-tabbar .op-tab-join { color: var(--color-primary); }
.op-tabbar .op-tab-join svg { padding: 4px; width: 30px; height: 30px; border-radius: 999px; color: #fff; background: var(--color-primary); box-shadow: var(--shadow-glow); }

@media (min-width: 960px) {
  .op-links { display: flex; }
  .op-actions { margin-left: 26px; }
  .op-tabbar { display: none; }
  .op main { padding-bottom: 0; }
}

/* ---------- hero ---------- */
.op-hero { position: relative; isolation: isolate; overflow: hidden; padding: 52px 0 28px; }
.op-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .6;
  background-image: linear-gradient(var(--op-line) 1px, transparent 1px), linear-gradient(90deg, var(--op-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 95% 75% at 50% 0%, #000 30%, transparent 80%);
}
.op-hero::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -22%; width: 900px; height: 480px; max-width: 150vw;
  transform: translateX(-50%); border-radius: 999px; opacity: .32; filter: blur(110px);
  background: radial-gradient(circle at 30% 35%, var(--color-primary), transparent 60%), radial-gradient(circle at 72% 60%, var(--color-accent), transparent 55%);
}
.op-hero h1 { margin: 0 0 20px; max-width: 18ch; font-size: clamp(38px, 9vw, 74px); font-weight: 700; line-height: 1.08; text-wrap: balance; }
.op-lede { margin: 0 0 28px; max-width: 58ch; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: var(--color-muted); }
.op-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.op-cta-row .btn { flex: 1 1 200px; text-align: center; }
@media (min-width: 560px) { .op-cta-row .btn { flex: 0 0 auto; } }

.op-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--color-muted); }
.op-trust li { display: inline-flex; align-items: center; gap: 8px; }
.op-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); }

/* hero: copy on the left; on desktop a decorative sample "credential" card on the right */
.op-hero-grid { display: grid; gap: 28px; }
.op-credential { display: none; }
@media (min-width: 960px) {
  .op-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; gap: 56px; }
  .op-credential { position: relative; display: block; padding: 38px 32px 30px; text-align: center; transform: rotate(2.2deg); border: 1px solid var(--op-line); border-radius: var(--radius-2xl); background: var(--color-card); box-shadow: var(--shadow-raised), var(--shadow-glow); }
  .op-credential::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--op-line); border-radius: calc(var(--radius-2xl) - 9px); pointer-events: none; }
  .op-credential > .op-pill { position: absolute; top: 18px; left: 20px; }
  .op-cred-seal { width: 64px; height: 64px; margin: 14px auto 10px; color: var(--color-primary); }
  .op-cred-label { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
  .op-cred-title { margin: 0; font-family: var(--op-serif); font-size: 30px; font-weight: 700; line-height: 1.1; }
  .op-cred-code { margin: 8px 0 22px; font-family: var(--font-mono); font-size: 13px; color: var(--color-primary); }
  .op-cred-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px dashed var(--op-line); font-size: 13px; color: var(--color-muted); }
  .op-cred-meta span:first-child { font-family: var(--op-serif); font-style: italic; font-size: 18px; color: var(--color-text); }
}

/* journey: learn -> certify -> work */
.op-journey { position: relative; display: grid; gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; }
.op-step { position: relative; padding: 20px 20px 22px; border: 1px solid var(--op-line); border-radius: var(--radius-xl); background: var(--color-card); }
.op-numeral { display: block; margin-bottom: 6px; font-size: 44px; font-weight: 700; line-height: 1; color: var(--color-primary); opacity: .9; }
.op .op-step h2 { margin: 0 0 6px; font-size: 22px; }
.op-step p { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 1.5; }
@media (min-width: 760px) {
  .op-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .op-step:not(:last-child)::after { content: ""; position: absolute; top: 42px; right: -22px; width: 22px; height: 1px; background: var(--color-primary); opacity: .6; }
}

/* ---------- sections ---------- */
.op-sec { padding: 68px 0; }
.op-sec.tint { background: var(--color-bg-2); }
.op-sec h2 { margin: 0 0 14px; max-width: 22ch; font-size: clamp(30px, 6vw, 48px); font-weight: 700; line-height: 1.06; text-wrap: balance; }
.op-sec .op-intro { margin: 0 0 32px; max-width: 62ch; font-size: 18px; line-height: 1.55; color: var(--color-muted); }

.op-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--op-line); background: var(--color-card); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--color-muted); }
.op-pill { white-space: nowrap; flex: none; }
.op-pill.accent { color: var(--color-primary); border-color: var(--color-primary); background: var(--color-primary-bg); }


/* course cards: swipeable row on phones, grid on desktop */
.op-courses { display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 330px); gap: 14px; margin: 0; padding: 4px 20px 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.op-courses::-webkit-scrollbar { display: none; }
.op-rail { position: relative; margin: 0 -20px; }
.op-rail-btn { position: absolute; top: calc(50% - 8px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--op-line); border-radius: 50%; background: color-mix(in srgb, var(--color-bg) 62%, transparent); color: var(--color-text); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; transform: translateY(-50%); }
.op-rail-btn[hidden] { display: none; }
.op-rail-btn.prev { left: 6px; } .op-rail-btn.next { right: 6px; }
.op-rail-btn:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.op-course { display: flex; flex-direction: column; gap: 10px; padding: 22px; scroll-snap-align: start; border: 1px solid var(--op-line); border-radius: var(--radius-xl); background: var(--color-card); }
.op-course-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.op-course h3 { margin: 4px 0 0; font-size: 24px; }
.op-course p { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 1.5; flex: 1; }
.op-prep { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--op-line); font-size: 13px; color: var(--color-muted); }
.op-prep b { color: var(--color-text); }
.op-hint { margin: 6px 0 0; font-size: 13px; color: var(--color-muted); }
@media (min-width: 900px) {
  .op-courses { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; }
  .op-hint { display: none; }
  .op-rail { margin: 0; } .op-rail-btn { display: none; }
}
.op-after { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.op-after p { margin: 0; color: var(--color-muted); font-size: 15px; }

/* certificate cards: double-rule "diploma" frame */
.op-certs { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; }
.op-cert { position: relative; padding: 26px 22px 22px; border: 1px solid var(--op-line); border-radius: var(--radius-xl); background: var(--color-card); }
.op-cert::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--op-line); border-radius: calc(var(--radius-xl) - 6px); pointer-events: none; }
.op-cert .seal { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; color: var(--color-primary); opacity: .85; }
.op-cert h3 { margin: 0 44px 4px 0; font-size: 22px; }
.op-cert .code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--color-muted); }
.op-cert p { margin: 12px 0 14px; color: var(--color-muted); font-size: 16px; line-height: 1.5; }
.op-cert dl { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; }
.op-cert dt { color: var(--color-muted); }
.op-cert dd { margin: 0; font-weight: 600; }
@media (min-width: 700px) { .op-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .op-certs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.op-facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.op-facts li { padding: 18px 20px; border: 1px solid var(--op-line); border-radius: var(--radius-lg); background: var(--color-card); font-size: 15px; line-height: 1.5; color: var(--color-muted); }
.op-facts b { display: block; margin-bottom: 4px; font-family: var(--op-serif); font-size: 18px; color: var(--color-text); }
@media (min-width: 760px) { .op-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.op-fine { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--color-muted); }

/* work: steps, audience cards, chips */
.op-steps { display: grid; gap: 12px; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: s; }
.op-steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--op-line); border-radius: var(--radius-lg); background: var(--color-card); }
.op-steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-family: var(--op-serif); font-size: 28px; font-weight: 700; color: var(--color-primary); }
.op-steps b { display: block; font-size: 17px; }
.op-steps span { color: var(--color-muted); font-size: 15px; line-height: 1.5; }
@media (min-width: 900px) { .op-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .op-steps li { padding: 52px 18px 18px; } .op-steps li::before { top: 12px; } }

.op-grid { display: grid; gap: 14px; }
.op-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--op-line); border-radius: var(--radius-xl); background: var(--color-card); }
.op-card h3 { margin: 0; font-size: 24px; }
.op-card p { margin: 0; color: var(--color-muted); font-size: 16px; line-height: 1.5; }
.op-card ul { margin: 0; padding-left: 18px; color: var(--color-muted); font-size: 15px; line-height: 1.6; }
.op-card .btn, .op-card .op-link { margin-top: auto; align-self: flex-start; }
.op-link { color: var(--color-primary); font-weight: 600; text-decoration: none; }
.op-link::after { content: " \2192"; }
@media (min-width: 800px) { .op-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .op-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.op-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.op-chips li { padding: 7px 14px; border: 1px solid var(--op-line); border-radius: 999px; background: var(--color-card); font-size: 14px; font-weight: 500; }
.op-chip-title { margin: 28px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }

.op-fee { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--op-line); border-radius: var(--radius-lg); background: var(--color-card); font-size: 15px; line-height: 1.55; color: var(--color-muted); }
.op-fee strong { color: var(--color-text); }

/* ---------- join (tabs + forms) ---------- */
.op-tabs { display: flex; gap: 6px; margin: 0 0 18px; padding: 5px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--op-line); border-radius: 999px; background: var(--color-card); }
.op-tabs::-webkit-scrollbar { display: none; }
.op-tabs button { flex: 1 0 auto; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--color-muted); cursor: pointer; white-space: nowrap; }
.op-tabs button[aria-selected="true"] { color: #fff; background: var(--color-primary); box-shadow: var(--shadow-glow); }
@media (max-width: 559px) {
  .op-tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; border-radius: var(--radius-xl); }
  .op-tabs button { border-radius: var(--radius-lg); white-space: normal; line-height: 1.2; padding: 8px 10px; min-width: 0; }
}
.op-tabs button:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.op-panel[hidden] { display: none; }
.op-panel .form-card { max-width: 760px; }
.op-testnote { margin: 0 0 16px; max-width: 760px; padding: 12px 14px; border-left: 3px solid var(--color-accent); border-radius: var(--radius-sm); background: var(--color-accent-bg); font-size: 14px; line-height: 1.5; }
.op-consent { margin: 20px 0 14px; padding: 14px 16px; border: 2px solid var(--color-primary); border-radius: var(--radius-lg); background: var(--color-primary-bg); font-size: 14px; line-height: 1.5; color: var(--color-text); }
.op-consent a { color: var(--color-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.op-consent p { margin: 0; }
.op-consent p + p { margin-top: 8px; font-size: 12px; color: var(--color-muted); }
.op-consent p + p a { font-weight: 500; }
/* the floating reCAPTCHA badge is hidden (it would sit on the back-to-top arrow); the notice is shown inside the forms instead, as Google requires */
.grecaptcha-badge { visibility: hidden; }
.op-form-status { margin: 12px 0 0; min-height: 1.4em; font-size: 14px; font-weight: 600; color: var(--color-primary); }
.op .form input, .op .form select, .op .form textarea { font-size: 16px; } /* 16px stops iOS zooming on focus */

/* form pieces: optional marker, spam trap, "other" field, custom file button (text follows the page language), status */
.op-opt { font-weight: 400; color: var(--color-muted); }
.op-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.op-other[hidden] { display: none; }
.op-field { display: flex; flex-direction: column; gap: 8px; }
.op-field-label { font-size: 14px; font-weight: 600; }
.form .op-file { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); cursor: pointer; }
.form .op-file:hover { border-color: var(--color-muted); }
.form .op-file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.op-file-btn { flex: none; padding: 8px 16px; border-radius: var(--radius-sm); background: var(--color-primary); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; }
.op-file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--color-muted); }
.form .op-file:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-bg); }
.op-file-hint { font-size: 13px; color: var(--color-muted); }
.op-form.is-done > *:not(.op-thanks) { display: none; }
.op-thanks { text-align: center; padding: 32px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.op-thanks:focus { outline: none; }
.op-thanks-icon { width: 56px; height: 56px; border-radius: 50%; background: #1a7f4b; color: #fff; font-size: 30px; line-height: 56px; font-weight: 700; }
.op-thanks h3 { margin: 4px 0 0; font-size: 26px; }
.op-thanks p { margin: 0; max-width: 34rem; font-size: 17px; line-height: 1.55; }
.op-form-status.is-ok { color: #1a7f4b; }
.op-form-status.is-error { color: #c0392b; }
.op-form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- FAQ + footer ---------- */
/* FAQ: left aligned, questions divided over two independent columns (one column on phones/tablets) */
.op-faq-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; align-items: start; }
.op-faq-cols .faq-list { margin-top: 0; }
@media (min-width: 900px) { .op-faq-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; } }
.op-footer { padding: 40px 0 calc(var(--op-tab-h) + env(safe-area-inset-bottom, 0px) + 28px); border-top: 1px solid var(--op-line); background: var(--color-bg-2); font-size: 14px; line-height: 1.55; color: var(--color-muted); }
.op-footer a:not(.btn) { color: inherit; text-decoration: none; }
.op-footer a:not(.btn):hover { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.op-footer .op-brand-name { font-size: 22px; color: var(--color-text); }
.op-f-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 24px; margin-bottom: 40px; border: 1px solid var(--op-line); border-radius: 16px; background: var(--color-primary-bg); }
.op-f-cta p { margin: 0; }
.op-f-cta-title { font-family: var(--op-serif); font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--color-text); }
.op-f-cta-text { margin-top: 4px !important; }
.op-f-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.op-f-brand { grid-column: 1 / -1; }
.op-f-brand p { margin: 12px 0 0; max-width: 36ch; }
.op-f-col h2 { margin: 0 0 6px; font: 600 11px/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted); }
.op-f-col a { display: flex; align-items: center; min-height: 40px; }
.op-f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--op-line); font-size: 12px; }
.op-f-bottom p { margin: 0; }
.op-footer a.op-f-lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--op-line); border-radius: 999px; font-size: 13px; font-weight: 500; }
@media (min-width: 960px) { .op-footer { padding-bottom: 40px; } .op-f-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .op-f-brand { grid-column: auto; } .op-f-col a { min-height: 32px; } .op-footer a.op-f-lang { min-height: 36px; } }

/* back to top: round arrow bottom right, shown after scrolling down (js/main.js) */
.op-totop { position: fixed; right: 16px; bottom: calc(var(--op-tab-h) + env(safe-area-inset-bottom, 0px) + 16px); z-index: 40; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--op-line); border-radius: 50%; background: color-mix(in srgb, var(--color-card) 80%, transparent); color: var(--color-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgb(0 0 0 / 0.16); cursor: pointer; }
.op-totop[hidden] { display: none; }
.op-totop:hover { color: var(--color-primary); border-color: var(--color-primary); }
.op-totop:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
@media (min-width: 960px) { .op-totop { bottom: 24px; right: 24px; } }
.op-legal .op-totop { bottom: 16px; }

/* ---------- legal pages (privacy, terms, cookies): standalone, reading layout ---------- */
.op-legal main { padding-bottom: 0; }
.op-legal .op-footer { padding-bottom: 40px; }
.op-doc { padding: 36px 0 72px; }
.op-doc .op-wrap { max-width: 780px; }
.op-doc-back { display: inline-block; margin-bottom: 18px; min-height: 44px; line-height: 44px; font-weight: 600; color: var(--color-primary); text-decoration: none; }
.op-doc-back:hover { text-decoration: underline; }
.op-doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.op-doc-nav a { padding: 9px 16px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--op-line); border-radius: 999px; background: var(--color-card); font-size: 14px; font-weight: 600; color: var(--color-muted); text-decoration: none; }
.op-doc-nav a:hover { color: var(--color-primary); border-color: var(--color-primary); }
.op-doc nav.op-doc-nav a[aria-current="page"]:not(.op-doc-back) { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.op-legal .op-actions { margin-left: auto; }
.op-doc h1 { margin: 0 0 12px; font-size: clamp(34px, 7vw, 56px); font-weight: 700; line-height: 1.08; }
.op-doc section { margin-top: 38px; }
.op-doc h2 { margin: 0 0 10px; max-width: none; font-size: clamp(22px, 4.2vw, 30px); line-height: 1.2; }
.op-doc p, .op-doc li { color: var(--color-muted); font-size: 17px; line-height: 1.7; }
.op-doc p { margin: 0 0 12px; }
.op-doc strong { color: var(--color-text); }
.op-doc a:not(.op-doc-back):not(.btn) { color: var(--color-primary); text-underline-offset: 3px; }
.op-doc code { padding: 2px 6px; border-radius: 6px; background: var(--color-primary-bg); font-family: var(--font-mono); font-size: 14px; color: var(--color-text); }
.op-table-wrap { margin: 4px 0 14px; overflow-x: auto; border: 1px solid var(--op-line); border-radius: var(--radius-lg); background: var(--color-card); }
.op-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.op-table th, .op-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--op-line); color: var(--color-muted); }
.op-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text); background: var(--color-bg-2); }
.op-table tr:last-child td { border-bottom: 0; }

/* ---------- reveal on scroll (only when JS is present) ---------- */
.op-js .op-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.op-js .op-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .op-js .op-reveal { opacity: 1; transform: none; transition: none; } }

.op-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-md); background: var(--color-primary); color: #fff; }
.op-skip:focus { left: 8px; }

/* webinar bar under the three steps: date and reserve a spot (or: keep me notified) */
.op-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.op-webinar { display: grid; gap: 20px; margin: 28px 0 0; padding: 22px; border: 1px solid var(--color-primary); border-radius: var(--radius-xl); background: var(--color-card); box-shadow: var(--shadow-raised), var(--shadow-glow); }
.op-webinar { scroll-margin-top: 90px; }
.op-webinar.is-done { display: block; }
.op-webinar .op-thanks .btn { display: none; }
.op-wb-info { display: flex; align-items: center; gap: 18px; }
.op-wb-info p { margin: 0; }
.op-wb-icon { flex: none; width: 56px; height: 56px; color: var(--color-primary); }
.op-wb-icon svg { display: block; width: 100%; height: 100%; }
.op-wb-kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.op-wb-info .op-wb-date { margin-top: 4px; font-family: var(--font-display); font-size: clamp(24px, 5vw, 34px); font-weight: 700; line-height: 1.15; }
.op-wb-info .op-wb-time { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--color-muted); }
.op-wb-time svg { flex: none; width: 20px; height: 20px; }
.op-wb-date { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.op-wb-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border: 1px solid #e06f00; border-radius: 999px; background: #ff8a1f; color: #1b1204; font-family: var(--font-body, inherit); font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.op-wb-badge svg { width: 15px; height: 15px; color: #1b1204; fill: currentColor; stroke-width: 1.2; }
.op-wb-act { display: grid; gap: 10px; align-content: center; }
.op-wb-act input[type="email"] { width: 100%; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font: inherit; font-size: 16px; }
.op-wb-act input[type="email"]:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px var(--color-primary-bg); }
.op-wb-act .btn { width: 100%; justify-content: center; gap: 8px; }
.op-wb-act .op-form-status { margin: 0; min-height: 0; }
.op-wb-act .op-form-status:empty { display: none; }
.op-webinar .op-consent { grid-column: 1 / -1; margin: 0; padding: 10px 14px; }
@media (min-width: 860px) {
  .op-webinar { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 36px; padding: 26px 30px; }
  .op-wb-info { padding-right: 36px; border-right: 1px solid var(--op-line); }
}

/* webinar button in the footer: orange like the "limited spots" badge */
.op-f-webinar { margin-top: 16px; gap: 8px; border: 1px solid #e06f00; background: #ff8a1f; color: #1b1204; font-weight: 700; box-shadow: 0 6px 18px rgba(255, 138, 31, .28); }
.op-f-webinar:hover { background: #ff9d45; color: #1b1204; }

/* light/dark button next to the language button: sun while dark, moon while light */
.op-theme { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-card); color: var(--color-muted); cursor: pointer; }
.op-theme:hover { color: var(--color-primary); border-color: var(--color-primary); }
.op-theme:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.op-theme svg { width: 20px; height: 20px; }
.op-theme .i-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .op-theme .i-sun { display: block; } :root:not([data-theme="light"]) .op-theme .i-moon { display: none; } }
:root[data-theme="dark"] .op-theme .i-sun { display: block; }
:root[data-theme="dark"] .op-theme .i-moon { display: none; }
