/* ==========================================================
   pages.css — the five content pages: brands, partnership,
   contact, insights, jobs.

   Replaces ~1,730 lines of inline <style> that each page carried its own
   copy of. Those copies had already drifted — the same card was 52px padded
   on one page and 44px on another, and five pages each defined .btn-primary
   slightly differently.

   Everything here is built from the tokens in site.css, so these pages and
   the landing page share one spacing scale, one type scale and one palette.

   What was removed rather than restyled, because each is a stock "generated
   page" tell the landing page no longer has:
     - the Korean character watermark behind every hero (.hero-deco-kr)
     - the 10px/0.35em tracked pill above every headline (.hero-badge)
     - the 40px rule under every heading (.divider)
     - italic sage emphasis inside headings
     - cards that lift 4px with a 60px shadow on hover
     - the fade-up-on-scroll that started every section at opacity:0
   ========================================================== */

/* ── LAYOUT ─────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

main { padding-top: var(--header-h); }

section { padding-block: var(--s-9); }

/* Sections that carry the dark ground. Kept where each page already had it:
   the rhythm was sound, only the contents needed rebuilding. */
.stats-bar,
.compliance-section,
.form-section,
.open-cta-section,
.index-section {
  background: var(--forest);
  color: var(--on-dark);
}

.stats-bar .section-title,
.compliance-section .section-title,
.form-section .section-title,
.open-cta-section .section-title,
.index-section .section-title { color: var(--on-dark); }

.stats-bar .label,
.compliance-section .label,
.form-section .label,
.open-cta-section .label,
.index-section .label { color: var(--sage-light); }

/* Alternating ground. Each page already alternated paper and a tint between
   sections; keeping that rhythm, on tokens. Sections not listed sit on the
   body's paper. */
.partners-section,
.faq-section,
.positions-section,
.cta-section,
.insights-cta { background: var(--paper-2); }

/* ── HEADINGS ───────────────────────────────────────────── */

.label {
  display: block;
  margin-bottom: var(--s-3);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
  max-width: 26ch;
  margin-bottom: var(--s-6);
}

/* Headings used to set one word in italic sage, which scored 2.34:1 on the
   paper background and read as decoration rather than emphasis. */
.section-title em,
.hero-headline em { font-style: normal; color: inherit; }

/* ── HERO ───────────────────────────────────────────────── */

.hero-content { padding-block: var(--s-9) var(--s-8); }

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
  max-width: 20ch;
}

.hero-body {
  margin-top: var(--s-5);
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
}

.hero-content .btn-primary,
.hero-content .btn-outline { margin-top: var(--s-6); }

/* ── BUTTONS ────────────────────────────────────────────────
   Four names for the same control existed: .btn-primary, .btn-outline,
   .btn-sage and .btn-apply. They share one shape now. */

.btn-primary,
.btn-outline,
.btn-sage,
.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font: 500 var(--fs-16)/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary,
.btn-apply { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }

.btn-primary:hover,
.btn-apply:hover { background: var(--ink); border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); }

.btn-outline:hover { background: var(--ink); color: var(--on-dark); }

/* On the dark ground the solid button has to invert. */
.btn-sage,
.compliance-section .btn-primary,
.form-section .btn-primary,
.open-cta-section .btn-primary,
.index-section .btn-primary,
.stats-bar .btn-primary {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.btn-sage:hover,
.compliance-section .btn-primary:hover,
.form-section .btn-primary:hover,
.open-cta-section .btn-primary:hover,
.index-section .btn-primary:hover,
.stats-bar .btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* ── STATS BAR ──────────────────────────────────────────── */

.stats-bar { padding-block: var(--s-8); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}

.stat-num {
  font: 500 var(--fs-28)/1 var(--font-body);
  color: var(--sage-light);
}

.stat-label {
  margin-top: var(--s-2);
  font-size: var(--fs-14);
  color: var(--on-dark-2);
}

/* ── CARD GRIDS ─────────────────────────────────────────────
   Six grids across five pages, all the same shape underneath. */

.brands-grid,
.compliance-grid,
.benefits-grid,
.partners-grid,
.culture-grid,
.article-cards,
.faq-grid {
  display: grid;
  gap: var(--s-5);
}

/* minmax(0, 1fr), not 1fr. A grid track's automatic minimum is its content,
   so the brand logos pushed the columns wider than the container and the
   page scrolled sideways. */
.compliance-grid,
.benefits-grid,
.culture-grid,
.article-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.partners-grid,
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Hairlines come from the cells (a 1px spread shadow each), not from a gap
   over a coloured container, which painted any unused slot as a solid
   --line block. 19 brands plus the "ask us" tile
   make 20, which fills 5 columns on desktop and 4 on an iPad and a phone, so
   no layout is ever left with an empty slot. gap: 0 is explicit because the
   shared rule above sets gap: var(--s-5). */
.brands-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.benefit-card,
.partner-card,
.culture-card,
.article-card,
.compliance-item,
.faq-item,
.position-card {
  padding: var(--s-6);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compliance-item {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

.benefit-title,
.partner-title,
.culture-title,
.compliance-title,
.article-card-title,
.position-title {
  font: 500 var(--fs-18)/1.35 var(--font-body);
  color: var(--ink);
  margin-bottom: var(--s-3);
}

.compliance-title { color: var(--on-dark); }

.benefit-text,
.partner-text,
.culture-text,
.compliance-text,
.article-card-excerpt {
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--ink-2);
}

.compliance-text { color: var(--on-dark-2); }

.compliance-icon { width: 28px; height: 28px; color: var(--accent-soft); margin-bottom: var(--s-4); }

/* Shown in place of the contact and partnership forms once a message is
   sent. Replaces an inline style that used the retired --deep-navy alias. */
.form-done {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  color: var(--ink);
  text-align: center;
  padding-block: var(--s-7);
}

/* ── BRANDS ─────────────────────────────────────────────── */

.brand-card {
  background: var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);   /* hairline; see .brands-grid above */
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
}

/* The logo files are 150px squares with the mark in the middle. A square
   two thirds of the tile's width is exactly the tile's height (3:2), so the
   tile keeps its shape at every column count. Left at 150px, the image set
   the row height and the tiles turned into tall columns on a phone. */
.brand-card .brand-logo { width: 66.667%; height: auto; max-width: none; max-height: none; }

/* The twentieth tile sends anyone after a brand we do not list to the
   contact page. Text, so it reads as an invitation rather than a logo. */
.brand-card--ask {
  padding: var(--s-4);
  text-align: center;
  font-size: var(--fs-14);
  line-height: 1.4;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--paper);
}

.brand-card--ask:hover,
.brand-card--ask:focus-visible { color: var(--ink); text-decoration: underline; }

.brand-logo-placeholder {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  color: var(--ink-2);
}

/* The brand detail dialog. */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  background: rgba(31, 35, 33, 0.6);
}

/* .active, because that is the class brands.html adds. The restyle wrote
   .open here, so every brand pop-up silently failed to appear. */
.popup-overlay.active { display: flex; }

.popup-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--s-7);
  background: var(--paper);
  border-radius: var(--radius);
}

.popup-close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: var(--fs-18);
  color: var(--ink-2);
  cursor: pointer;
}

.popup-name {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 500;
  color: var(--ink);
}

.popup-divider { display: none; }

.popup-section-label {
  display: block;
  margin: var(--s-5) 0 var(--s-2);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.popup-desc,
.popup-products,
.popup-skin { font-size: var(--fs-14); line-height: 1.6; color: var(--ink-2); }

/* The skin-type block had no spacing and an inline <strong> label, so
   "Huidtype" ran straight on from the last product. Same treatment as the
   products label now: its own line, same style, same gap. */
.popup-skin { margin-top: var(--s-5); }

.popup-skin strong {
  display: block;
  margin-bottom: var(--s-2);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.popup-products ul { padding-left: 1.2em; }

/* Three product photos from the shop catalogue. The packshots are on white;
   multiply drops the white into the card's paper so they read as one set
   rather than three white boxes. */
.popup-products ul.popup-range {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  padding: 0;
  list-style: none;
}

.popup-range li { display: grid; gap: var(--s-2); align-content: start; }

.popup-range img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  mix-blend-mode: multiply;
}

.popup-range span { font-size: var(--fs-12); line-height: 1.4; color: var(--ink-2); }

[hidden] { display: none !important; }

.popup-tag {
  display: inline-block;
  margin: 0 var(--s-2) var(--s-2) 0;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-12);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ── PARTNERSHIP ────────────────────────────────────────── */

.partner-features { list-style: none; margin-top: var(--s-4); display: grid; gap: var(--s-2); }

.partner-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  font-size: var(--fs-14);
  color: var(--ink-2);
}

.partner-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  background: var(--accent);
}

.process-steps { display: grid; gap: var(--s-6); max-width: 70ch; }

/* Three children (number, title, text) in a two-column grid. Without explicit
   placement the text wrapped into column one under the number, and because
   that column is `auto` it grew to the width of the text, shoving each title
   right by however long its own description happened to be (428px, 484px…).
   The number spans both rows; title and text share column two. */
.process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: var(--s-5);
  align-items: start;
}

.process-num { grid-row: span 2; min-width: 1.2em; }

.process-title,
.process-text { grid-column: 2; }

.process-num {
  font: 500 var(--fs-28)/1 var(--font-body);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.process-title { font: 500 var(--fs-18)/1.35 var(--font-body); color: var(--ink); }

.process-text { margin-top: var(--s-2); font-size: var(--fs-14); color: var(--ink-2); max-width: 52ch; }

.form-container { max-width: 760px; }

/* ── FORMS ──────────────────────────────────────────────── */

/* form.form-container too: on /partnership the <form> IS the container, so
   the descendant selector alone never matched and the rows had no gap; each
   label sat flush against the field above it. */
.contact-form,
.form-container form,
form.form-container { display: grid; gap: var(--s-5); }

.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); }

.form-group { display: grid; gap: var(--s-2); }

.form-group label { font-size: var(--fs-14); color: var(--ink-2); }

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: 400 var(--fs-16)/1.5 var(--font-body);   /* 16px stops iOS zooming on focus */
  transition: border-color 0.2s ease;
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: var(--s-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A4F4C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  cursor: pointer;
}

.form-note,
.form-status { font-size: var(--fs-14); color: var(--ink-2); }

/* The partnership application sits on the dark ground. */
.form-section .form-group label { color: var(--on-dark-2); }

.form-section .form-group input,
.form-section .form-group select,
.form-section .form-group textarea {
  /* background-color, not the background shorthand: the shorthand reset
     background-repeat on the selects, and their arrow tiled across the
     whole field as a hatched pattern. */
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--on-dark);
}

.form-section .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9CCC9' stroke-width='1.5'/%3E%3C/svg%3E");
}

.form-section .form-group input:focus,
.form-section .form-group select:focus,
.form-section .form-group textarea:focus { border-color: var(--accent-soft); }

.form-section .form-note,
.form-section .form-status { color: var(--on-dark-2); }

.form-submit {
  justify-self: start;
  min-height: 48px;
  padding: 0 var(--s-5);
  background: var(--forest);
  color: var(--on-dark);
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  font: 500 var(--fs-16)/1 var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.form-submit:hover { background: var(--accent); border-color: var(--accent); }

.form-section .form-submit {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}

.form-section .form-submit:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

/* ── CONTACT ────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); }

.contact-info { display: grid; gap: var(--s-5); }

.contact-item { display: grid; gap: var(--s-1); }

.contact-item-label { font-size: var(--fs-14); color: var(--ink-2); }

.contact-item-val { font-size: var(--fs-18); color: var(--ink); }

.contact-item-val a { color: var(--ink); text-underline-offset: 3px; }

.contact-item-val a:hover { color: var(--accent); }

.contact-item-note { display: block; margin-top: var(--s-2); font-size: var(--fs-14); color: var(--ink-2); }

/* Links in running text. There was no general rule, so every page coloured
   its own inline — five of them in --muted-sage, 2.3:1 on paper. */
p a:not([class]) { color: var(--accent); text-underline-offset: 3px; }

.stats-bar p a:not([class]),
.compliance-section p a:not([class]),
.form-section p a:not([class]),
.open-cta-section p a:not([class]),
.index-section p a:not([class]) { color: var(--on-dark); }

/* The note under the brand grid. Left-aligned with the rest of the page; it
   used to be the one centred line in a left-set layout. */
.grid-note { margin-top: var(--s-6); }

.grid-note p { font-size: var(--fs-14); line-height: 1.7; color: var(--ink-2); max-width: 60ch; }

.countries-box { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }

.countries-title {
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}

.countries-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.country-item {
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-14);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* The flags rendered as the letters BE / NL / LU on Windows. */
.country-flag { display: none; }

.faq-question { font: 500 var(--fs-18)/1.35 var(--font-body); color: var(--ink); margin-bottom: var(--s-2); }

.faq-answer { font-size: var(--fs-14); line-height: 1.6; color: var(--ink-2); }

/* ── INSIGHTS ───────────────────────────────────────────── */

.article-card-meta,
.article-meta-line { font-size: var(--fs-12); color: var(--ink-2); }

.article-read-link {
  display: inline-block;
  margin-top: var(--s-4);
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 3px;
}

.article-read-link:hover { text-decoration: underline; }

/* Left-aligned to the container, not centred. A centred 72ch column put the
   articles at 326px on a 1440 screen, under a heading at 144px — two left
   edges in one section. The measure stays 72ch for reading comfort. */
.article-wrapper { max-width: 72ch; padding-block: var(--s-8); border-bottom: 1px solid var(--line); }

.article-wrapper:last-child { border-bottom: none; }

.article-header { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }

/* Grid items stretch to the full width by default; the tag is a label. */
.article-header .article-tag { justify-self: start; }

.article-num { font: 500 var(--fs-14)/1 var(--font-body); color: var(--accent); }

.article-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.article-tag {
  display: inline-block;
  margin: 0 var(--s-2) var(--s-2) 0;
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-12);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body { font-size: var(--fs-16); line-height: 1.7; color: var(--ink-2); }

/* Vertical rhythm for the article text. The global reset strips every
   margin and only p + p had one back, so subheadings sat flush against the
   paragraph above and lists ran straight into the text. */
.article-body > div > * + * { margin-top: var(--s-4); }

.article-body h3 {
  font: 500 var(--fs-18)/1.35 var(--font-body);
  color: var(--ink);
}

.article-body > div > h3 { margin-top: var(--s-7); }

.article-body > div > h3 + * { margin-top: var(--s-2); }

.article-body ul { display: grid; gap: var(--s-2); padding-left: 1.2em; }

.article-body > div > .article-callout { margin-block: var(--s-6); }

/* The date and reading time are two spans with nothing between them, so they
   read as one run: "Januari 20263 min lezen". */
.article-meta-line > span > span + span::before { content: "·"; margin: 0 0.5em; }

/* Same rule as every other heading on the site: no italic phrase. */
.article-title em { font-style: normal; }

.article-callout {
  margin: var(--s-5) 0;
  padding: var(--s-5);
  background: var(--paper-2);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: var(--fs-14);
  color: var(--ink);
}

.insights-cta { background: var(--paper-2); }

.insights-cta .section-title { max-width: 34ch; }

/* ── JOBS ───────────────────────────────────────────────── */

.positions-list { display: grid; gap: var(--s-5); }

.position-card { display: grid; gap: var(--s-4); }

.position-meta { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

.position-location { font-size: var(--fs-14); color: var(--ink-2); }

.position-tag {
  padding: var(--s-1) var(--s-3);
  font-size: var(--fs-12);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.position-desc { font-size: var(--fs-14); line-height: 1.6; color: var(--ink-2); max-width: 70ch; }

.position-reqs { margin: 0; padding-left: var(--s-5); font-size: var(--fs-14); line-height: 1.7; color: var(--ink-2); }

.position-cta { justify-self: start; }

.open-cta-inner { max-width: 60ch; }

.open-cta-text { margin-block: var(--s-4) var(--s-6); font-size: var(--fs-16); color: var(--on-dark-2); }

/* ── CLOSING CALL TO ACTION ─────────────────────────────── */

.cta-content { max-width: 60ch; }

.cta-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}

.cta-text { margin-top: var(--s-4); font-size: var(--fs-16); color: var(--ink-2); }

.cta-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* align-content: start. The column stretches to the height of the form
   beside it, and a grid shares that spare height out across its rows by
   default, so the small label got a 107px row and the heading floated
   between two gaps, cut off from the details it introduces. */
.contact-info-wrapper { display: grid; gap: var(--s-5); align-content: start; }

.position-body { display: grid; gap: var(--s-4); }

/* ── LEGAL PAGES (privacy, terms) ───────────────────────────
   These two carried their own 140-line stylesheet because they predate the
   shared one. They are about to hold real content — the delivery times,
   minimum order and other conditions — so they belong on the same system
   as everything else.

   Their header is simpler than the rest of the site: no menu, just a way
   back. */

.nav-right { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }

.nav-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-14);
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.nav-back:hover { color: var(--ink); }

/* On a phone the logo, three language buttons and "← Retour" need about 360px
   and a 375px screen has 343 inside the gutters, so "Retour" ran off the right
   edge. The logo already links home, so the back link is the one to drop. */
@media (max-width: 420px) {
  .nav-back { display: none; }
}

.last-updated {
  font-size: var(--fs-14);
  color: var(--ink-2);
  margin-bottom: var(--s-6);
}

/* Container width and gutters, like every other page. The legal pages have no
   .container wrapper, so the title sat at x=0 and pressed against the
   bottom of the fixed header with no gap. The reading measure is held on the
   children, so the text keeps the same left edge as the logo above it. */
.page-privacy main,
.page-terms main {
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--header-h) + var(--s-8)) var(--s-5) var(--s-9);
}

.page-privacy main > *,
.page-terms main > * { max-width: 72ch; }

.page-privacy h1,
.page-terms h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-4);
}

.page-privacy h2,
.page-terms h2 {
  font: 500 var(--fs-22)/1.3 var(--font-body);
  color: var(--ink);
  margin: var(--s-7) 0 var(--s-3);
}

.page-privacy h3,
.page-terms h3 {
  font: 500 var(--fs-18)/1.35 var(--font-body);
  color: var(--ink);
  margin: var(--s-5) 0 var(--s-2);
}

.page-privacy main p,
.page-terms main p,
.page-privacy main li,
.page-terms main li {
  color: var(--ink-2);
  max-width: 72ch;
}

.page-privacy main p + p,
.page-terms main p + p { margin-top: var(--s-4); }

.page-privacy main ul,
.page-privacy main ol,
.page-terms main ul,
.page-terms main ol { margin: var(--s-3) 0 var(--s-3) var(--s-5); }

.page-privacy main li + li,
.page-terms main li + li { margin-top: var(--s-2); }

.page-privacy main a,
.page-terms main a { color: var(--accent); text-underline-offset: 3px; }

/* General terms of sale (05/12/2026): the full B2B text, FR and NL. */
.page-terms .cgv-download { font-size: var(--fs-14); margin-bottom: var(--s-6); }
.page-terms .cgv-toc { margin: var(--s-5) 0 var(--s-7); padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: 6px; }
.page-terms .cgv-toc ul { columns: 2 16rem; column-gap: var(--s-6); margin: 0; padding: 0; list-style: none; font-size: var(--fs-14); }
.page-terms .cgv-toc li + li { margin-top: var(--s-1); }
.page-terms .cgv-toc a { color: var(--ink-2); text-decoration: none; }
.page-terms .cgv-toc a:hover { color: var(--accent); text-decoration: underline; }
.page-terms .cgv h2 { scroll-margin-top: calc(var(--header-h) + var(--s-4)); }
.page-terms .cgv-intro { font-size: var(--fs-14); }
.page-terms .cgv-num { font-weight: 500; color: var(--ink); margin-right: 0.25em; }
.page-terms .cgv-id { border-collapse: collapse; margin: var(--s-3) 0; font-size: var(--fs-14); }
.page-terms .cgv-id th { text-align: left; font-weight: 500; color: var(--ink); padding: var(--s-2) var(--s-4) var(--s-2) 0; vertical-align: top; }
.page-terms .cgv-id td { color: var(--ink-2); padding: var(--s-2) 0; }
.page-terms .cgv-id tr + tr th, .page-terms .cgv-id tr + tr td { border-top: 1px solid var(--line); }
@media (max-width: 560px) { .page-terms .cgv-id th, .page-terms .cgv-id td { display: block; padding: 0; } .page-terms .cgv-id tr { display: block; padding: var(--s-2) 0; } .page-terms .cgv-id tr + tr th, .page-terms .cgv-id tr + tr td { border-top: 0; } .page-terms .cgv-id tr + tr { border-top: 1px solid var(--line); } }

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  section { padding-block: var(--s-8); }
  .hero-content { padding-block: var(--s-8) var(--s-7); }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }

  /* Two up on a tablet, not one. Collapsing a three-column grid straight to
     a single column leaves most of the width empty. */
  .compliance-grid,
  .benefits-grid,
  .culture-grid,
  .article-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .partners-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .contact-grid { gap: var(--s-7); }
}

@media (max-width: 600px) {
  section { padding-block: var(--s-7); }
  .container { padding: 0 var(--s-4); }
  .page-privacy main,
  .page-terms main { padding-inline: var(--s-4); }
  .form-row { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* An 85px tile: small type and little padding keep it at the row height. */
  .brand-card--ask { padding: var(--s-1); font-size: var(--fs-12); line-height: 1.25; }
  .popup-card { padding: var(--s-5); }

  .compliance-grid,
  .benefits-grid,
  .culture-grid,
  .article-cards { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .position-card,
  .benefit-card,
  .partner-card,
  .culture-card,
  .article-card,
  .faq-item { padding: var(--s-5); }
}
