/* ============================================
   THOMAS SUPER STORE — Nieuwsbrief aanmeldpagina
   Zelfstandige stylesheet in het storefront-ontwerp.
   ============================================ */
:root {
  --nl-blue: #0057b8;
  --nl-blue-dark: #003d75;
  --nl-red: #ee0024;
  --nl-red-dark: #cc0020;
  --nl-yellow: #ffcd00;
  --nl-yellow-dark: #e5b800;
  --nl-ink: #1f2433;
  --nl-text: #2d2d3a;
  --nl-muted: #66708f;
  --nl-soft: #8a8fa3;
  --nl-border: #dce7f5;
  --nl-border-light: #edf2fb;
  --nl-bg: #f5f8ff;
  --nl-card: #ffffff;
  --nl-panel: #eef4ff;
  --nl-green: #166534;
  --nl-green-bg: #f0fdf4;
  --nl-radius: 18px;
  --nl-shadow: 0 22px 60px rgba(16, 33, 74, 0.12);
  --nl-max: 1180px;
  --nl-serif: Georgia, "Times New Roman", serif;
  --nl-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--nl-sans);
  color: var(--nl-text);
  background: var(--nl-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
body.is-loading .nl-signup-card { opacity: 0.6; }
img { max-width: 100%; }
a { color: var(--nl-blue); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--nl-yellow); color: #111; padding: 10px 14px; border-radius: 8px; font-weight: 800; z-index: 100; }
.skip-link:focus { left: 12px; }
.nl-container { width: min(100% - 40px, var(--nl-max)); margin: 0 auto; }

/* ---- Topbar ---- */
.nl-topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nl-border-light);
}
.nl-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.nl-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nl-blue); font-weight: 900; font-size: 18px; line-height: 1.05; }
.nl-brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--nl-blue); object-fit: cover; }
.nl-brand b { color: var(--nl-red); font-weight: 900; }
.nl-brand small { display: block; margin-top: 3px; font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--nl-muted); font-weight: 800; }
.nl-topnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nl-topnav a { text-decoration: none; font-weight: 800; font-size: 14px; color: var(--nl-blue); padding: 9px 12px; border-radius: 999px; }
.nl-topnav a:hover { background: var(--nl-panel); }
.nl-langwrap { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 12px; border: 1px solid var(--nl-border); border-radius: 999px; background: #fff; }
.nl-langwrap label { font-size: 12px; font-weight: 800; color: var(--nl-muted); letter-spacing: 0.6px; text-transform: uppercase; }
.nl-langwrap select { border: 0; background: transparent; font: 800 14px var(--nl-sans); color: var(--nl-blue); padding: 4px 2px; cursor: pointer; }

/* ---- Hero ---- */
.nl-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 5vw, 56px); }
.nl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.nl-eyebrow { margin: 0 0 14px; color: var(--nl-red); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
.nl-hero h1 { margin: 0; font-family: var(--nl-serif); font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--nl-blue); }
.nl-lead { margin: 22px 0 0; max-width: 560px; font-size: 1.12rem; line-height: 1.65; color: var(--nl-text); }
.nl-benefits { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.nl-benefits li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; }
.nl-benefits b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--nl-yellow); color: #4a3800; font-family: var(--nl-serif); font-size: 18px; font-weight: 900; }
.nl-benefits span { font-size: 1rem; }
.nl-sitelang { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--nl-border); font-size: 13px; color: var(--nl-muted); font-weight: 700; }
.nl-sitelang i { width: 10px; height: 10px; border-radius: 50%; background: var(--nl-green); box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.15); }
.nl-sample { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; text-decoration: none; }

/* ---- Signup card ---- */
.nl-signup-card {
  position: relative;
  background: var(--nl-card);
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius);
  box-shadow: var(--nl-shadow);
  padding: clamp(20px, 3vw, 32px);
  transition: opacity 0.2s;
}
.nl-signup-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 6px; border-radius: var(--nl-radius) var(--nl-radius) 0 0; background: linear-gradient(90deg, var(--nl-blue) 0 45%, var(--nl-red) 45% 78%, var(--nl-yellow) 78%); }
.nl-ticket { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; margin: 4px 0 20px; padding: 14px 16px; border-radius: 14px; background: #fff8e1; border: 1px dashed #e5c65a; }
.nl-ticket span { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #8b6914; }
.nl-ticket strong { font-family: var(--nl-serif); font-size: 26px; color: var(--nl-blue); white-space: nowrap; }
.nl-ticket strong small { font-family: var(--nl-sans); font-size: 12px; color: var(--nl-muted); margin-left: 6px; font-weight: 800; }
.nl-ticket p { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--nl-muted); }
.nl-form label, .nl-form legend { display: block; font-weight: 800; font-size: 14px; color: var(--nl-ink); margin: 0 0 6px; }
.nl-field { margin: 0 0 16px; }
.nl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-form input[type="text"], .nl-form input[type="email"], .nl-form select {
  width: 100%; padding: 13px 14px; border: 1px solid #cfd8e6; border-radius: 12px; background: #fff; font: 16px var(--nl-sans); color: var(--nl-ink);
}
.nl-form input:focus, .nl-form select:focus { outline: 3px solid rgba(0, 87, 184, 0.25); border-color: var(--nl-blue); }
.nl-hint { margin: 6px 0 0; font-size: 13px; color: var(--nl-muted); line-height: 1.45; }
.nl-hint.is-live { color: var(--nl-green); font-weight: 700; }
.nl-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.nl-choices { display: grid; gap: 8px; }
.nl-choice { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--nl-border); border-radius: 12px; background: #fbfcff; cursor: pointer; }
.nl-choice:has(input:checked) { border-color: var(--nl-blue); background: var(--nl-panel); }
.nl-choice input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--nl-blue); flex: none; }
.nl-choice b { display: block; font-size: 14px; color: var(--nl-ink); }
.nl-choice small { display: block; font-size: 12.5px; line-height: 1.4; color: var(--nl-muted); }
.nl-consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 18px; font-size: 13.5px; line-height: 1.5; color: var(--nl-text); }
.nl-consent input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--nl-red); flex: none; }
.nl-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 16px 22px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--nl-yellow); color: #1f1a00; font: 900 16px var(--nl-sans); letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(229, 184, 0, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.nl-button:hover { background: var(--nl-yellow-dark); transform: translateY(-1px); }
.nl-button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.nl-button--red { background: var(--nl-red); color: #fff; box-shadow: 0 10px 24px rgba(238, 0, 36, 0.28); }
.nl-button--red:hover { background: var(--nl-red-dark); }
.nl-privacy { margin: 12px 0 0; font-size: 12px; color: var(--nl-soft); line-height: 1.5; text-align: center; }
.nl-message { margin: 14px 0 0; padding: 0; font-size: 14px; line-height: 1.5; min-height: 0; }
.nl-message.is-error { padding: 12px 14px; border-radius: 12px; background: #fff1f1; border: 1px solid #f3c1c1; color: #8a2c2c; font-weight: 700; }
.nl-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.nl-success { text-align: center; padding: 8px 0 4px; }
.nl-success .nl-medal { width: 72px; height: 72px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: var(--nl-yellow); border: 4px solid #dba600; box-shadow: inset 0 0 0 3px #fff0a6; color: #765200; font-size: 34px; font-weight: 900; }
.nl-success h2 { margin: 0 0 10px; font-family: var(--nl-serif); font-size: 1.9rem; line-height: 1.1; color: var(--nl-blue); }
.nl-success p { margin: 0 0 12px; color: var(--nl-text); }
.nl-success .nl-steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.nl-success .nl-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.nl-success .nl-steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nl-panel); color: var(--nl-blue); font-size: 13px; }
.nl-success .nl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.nl-success .nl-actions a { display: inline-flex; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.nl-success .nl-actions a.primary { background: var(--nl-blue); color: #fff; }
.nl-success .nl-actions a.secondary { background: var(--nl-panel); color: var(--nl-blue); }

/* ---- Preview strip ---- */
.nl-preview { margin-top: 18px; border: 1px solid var(--nl-border); border-radius: 14px; overflow: hidden; background: #fff; }
.nl-preview-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--nl-panel); border-bottom: 1px solid var(--nl-border-light); font-size: 11px; font-weight: 800; color: var(--nl-muted); letter-spacing: 1px; text-transform: uppercase; }
.nl-preview-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dfec; }
.nl-preview-bar i:first-child { background: var(--nl-red); }
.nl-preview-bar i:nth-child(2) { background: var(--nl-yellow); }
.nl-preview-bar i:nth-child(3) { background: #4caf50; }
.nl-preview-body { padding: 14px; display: grid; gap: 10px; }
.nl-preview-head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; color: var(--nl-blue); }
.nl-preview-head i { width: 22px; height: 22px; border-radius: 50%; background: var(--nl-blue); }
.nl-preview-line { height: 8px; border-radius: 4px; background: #e6ecf7; }
.nl-preview-line.short { width: 60%; }
.nl-preview-title { height: 14px; width: 80%; border-radius: 6px; background: #c9d7ee; }
.nl-preview-products { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nl-preview-products div { height: 54px; border-radius: 8px; background: linear-gradient(135deg, #f5f8ff, #e6ecf7); border: 1px solid var(--nl-border-light); }
.nl-preview-btn { height: 26px; width: 44%; border-radius: 8px; background: var(--nl-red); }

/* ---- Sections ---- */
.nl-section { padding: clamp(28px, 5vw, 56px) 0; }
.nl-section-head { max-width: 700px; margin: 0 0 24px; }
.nl-section-head h2 { margin: 0; font-family: var(--nl-serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; color: var(--nl-blue); letter-spacing: -0.02em; }
.nl-section-head p { margin: 12px 0 0; color: var(--nl-muted); font-size: 1.02rem; }
.nl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.nl-card { position: relative; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--nl-border); border-radius: 16px; overflow: hidden; }
.nl-card::after { content: ""; position: absolute; right: -26px; bottom: -34px; width: 96px; height: 96px; border-radius: 50%; background: var(--nl-card-accent, var(--nl-yellow)); opacity: 0.18; }
.nl-card span { display: inline-block; font-family: var(--nl-serif); font-size: 28px; color: var(--nl-card-accent, var(--nl-blue)); line-height: 1; margin-bottom: 12px; }
.nl-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--nl-ink); }
.nl-card p { margin: 0; font-size: 14px; color: var(--nl-muted); line-height: 1.5; }
.nl-card a { display: inline-block; margin-top: 12px; font-weight: 800; text-decoration: none; }

.nl-band { background: var(--nl-blue); color: #fff; }
.nl-band .nl-section-head h2, .nl-band .nl-section-head p { color: #fff; }
.nl-band .nl-section-head p { opacity: 0.8; }
.nl-band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.nl-band-item { padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); }
.nl-band-item b { display: block; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--nl-yellow); margin-bottom: 8px; }
.nl-band-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }

.nl-faq { display: grid; gap: 10px; max-width: 820px; }
.nl-faq details { background: #fff; border: 1px solid var(--nl-border); border-radius: 12px; padding: 4px 18px; }
.nl-faq summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--nl-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nl-faq summary::-webkit-details-marker { display: none; }
.nl-faq summary::after { content: "+"; font-size: 20px; color: var(--nl-blue); font-weight: 900; }
.nl-faq details[open] summary::after { content: "–"; }
.nl-faq p { margin: 0 0 14px; color: var(--nl-muted); font-size: 14.5px; line-height: 1.55; }

.nl-footer { padding: 28px 0 40px; border-top: 1px solid var(--nl-border-light); font-size: 13px; color: var(--nl-muted); }
.nl-footer-inner { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; }
.nl-footer a { text-decoration: none; font-weight: 700; }
.nl-footer .nl-legal { flex-basis: 100%; margin-top: 8px; font-size: 12px; color: var(--nl-soft); line-height: 1.5; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nl-hero-grid { grid-template-columns: 1fr; }
  .nl-signup-card { order: -1; }
  .nl-hero h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
}
@media (max-width: 560px) {
  .nl-container { width: min(100% - 28px, var(--nl-max)); }
  .nl-topbar-inner { flex-wrap: wrap; }
  .nl-topnav { width: 100%; justify-content: space-between; }
  .nl-field-row { grid-template-columns: 1fr; }
  .nl-ticket { grid-template-columns: 1fr; }
  .nl-ticket strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nl-button { transition: none; }
}
