/*
 * Boomernet.be: the whole look of the site, in this one file.
 *
 * To change the look, start with the tokens in :root below: colours, the typeface and its widths,
 * the type scale, spacing and corners. The templates use only the classes in this file and never
 * a colour or size of their own, so a new house style is a change here, not in the pages.
 */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colours: a dark site with warm light text, one warm accent and one cool one */
  --bg: #0e211b;           /* page background: night green */
  --surface: #16322a;      /* panels and alternate sections */
  --surface-2: #1e4236;    /* raised panels, hover */
  --text: #f4f1e8;         /* text */
  --muted: #a9bdb3;        /* secondary text, sources */
  --line: #2c4c41;         /* borders and rules */
  --marigold: #f2b134;     /* the accent: buttons, key numbers */
  --lilac: #c9b8f2;        /* the second accent: headings' emphasis, links */
  --on-accent: #0e211b;    /* text on marigold */
  --field: #fbfaf6;        /* form fields stay light */
  --field-text: #1c2a24;
  --error: #ff8a7a;

  /* Type: one family, its width carries the character */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;            /* headlines */
  --semi: 112%;            /* sub-headings, figures */
  --normal: 100%;          /* body */
  --size-hero: clamp(2.3rem, 1.3rem + 3.6vw, 4.2rem);
  --size-h1: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --size-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  --size-h3: 1.2rem;
  --size-body: 1.0625rem;
  --size-small: 0.9rem;
  --leading: 1.6;

  /* Space and shape */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(3rem, 2rem + 5vw, 6.5rem);
  --measure: 68ch;
  --page: 75rem;
  --radius-button: 999px;
  --radius-panel: 22px;
  --radius-photo: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--size-body);
  line-height: var(--leading);
  font-stretch: var(--normal);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--lilac); text-underline-offset: 0.18em; }
a:hover { color: var(--marigold); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: var(--measure); }

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.1; font-weight: 800; }
h1 { font-size: var(--size-h1); font-stretch: var(--wide); letter-spacing: -0.01em; }
h2 { font-size: var(--size-h2); font-stretch: var(--wide); }
h3 { font-size: var(--size-h3); font-stretch: var(--semi); font-weight: 700; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sage { background: var(--surface); }
.section--green { background: var(--surface-2); }
.lead { font-size: 1.2rem; max-width: 56ch; }
.muted, .source { color: var(--muted); }
.source { font-size: var(--size-small); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: 0.5rem 1rem; z-index: 10; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.nav a:hover { color: var(--marigold); }
.nav .button, .nav .button:hover { color: var(--on-accent); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--marigold); }
.nav-toggle { display: none; }
html { scroll-padding-top: 5.5rem; }
#main:focus { outline: none; }
@media (max-width: 52rem) {
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-button); padding: 0.4rem 0.9rem; font: inherit; color: var(--text); }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding-bottom: 1rem; margin-left: 0; }
  .nav.is-open { display: flex; }
  .nav a:not(.button) { padding: 0.5rem 0; }
  .nav .button { margin-top: 0.5rem; }
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius-button); border: 2px solid var(--marigold);
  background: var(--marigold); color: var(--on-accent); font: inherit; font-weight: 700; font-stretch: var(--semi);
  text-decoration: none; cursor: pointer;
}
.button:hover { background: #f7c45e; border-color: #f7c45e; color: var(--on-accent); }
.button--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.button--ghost:hover { background: var(--surface-2); color: var(--text); border-color: var(--text); }
.button--accent { background: var(--lilac); border-color: var(--lilac); color: var(--on-accent); }
.button--accent:hover { background: #ddd0fa; border-color: #ddd0fa; color: var(--on-accent); }
.button--small { padding: 0.55rem 1.1rem; font-size: var(--size-small); }
.row-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Photos: the people this audience is, always with rounded corners */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius-photo); object-fit: cover; background: var(--surface); }
.photo--wide { aspect-ratio: 3 / 2; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 52rem) { .photo-band { grid-template-columns: 1fr; } }

/* Home: the hero, a large photo with the newsletter laid over it */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 var(--section); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--size-hero); line-height: 1.02; font-weight: 850; letter-spacing: -0.02em; }
.hero-visual { position: relative; padding-bottom: 3rem; }
.hero-visual .photo { object-position: 22% center; }
.hero-visual .mail { position: absolute; left: -2.5rem; bottom: 0; width: min(19rem, 70%); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
@media (max-width: 56rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { padding-bottom: 0; }
  .hero-visual .mail { position: relative; left: auto; bottom: auto; width: auto; margin: -4rem 1rem 0; }
}

/* The miniature SenNet Magazine, with the partner's slot marked; light, as a mail is */
.mail { background: #fbfaf6; color: #1c2a24; border-radius: var(--radius-panel); padding: 1rem; font-size: 0.8rem; line-height: 1.35; }
.mail-head { display: flex; justify-content: space-between; color: #5e6e66; border-bottom: 1px solid #d5ded8; padding-bottom: 0.5rem; margin-bottom: 0.6rem; }
.mail-head b { color: #123b2f; }
.mail-item { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.6rem; padding: 0.45rem 0; }
.mail-thumb { aspect-ratio: 4 / 3; background: #d6e0da; border-radius: 6px; }
.mail-line { height: 0.5rem; background: #d6e0da; border-radius: 3px; margin: 0.3rem 0; }
.mail-line--short { width: 60%; }
.mail-item--partner { background: #fff6dd; border: 2px solid var(--marigold); border-radius: 10px; padding: 0.5rem; margin: 0.3rem -0.5rem; }
.mail-item--partner .mail-thumb { background: var(--marigold); }
.mail-label { font-weight: 700; color: #123b2f; font-size: 0.72rem; }
.mail-title { font-weight: 700; font-size: 0.85rem; }
.mail-caption { margin-top: 0.6rem; color: #5e6e66; font-size: 0.75rem; }

/* Key figures */
.figures { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 2.5rem; margin-top: 2rem; container-type: inline-size; }
@media (min-width: 40rem) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .figures:not(.case-figures) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .figures:not(.case-figures) .figure-value { font-size: clamp(1.8rem, 3.6cqi, 3.2rem); } }
.figure-value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; font-stretch: var(--wide); line-height: 1; color: var(--marigold); }
.figure-label { margin: 0.6rem 0 0.3rem; font-weight: 600; }
.figure .source { margin: 0; }

/* Formula groups: a card with a photo each */
.groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 40rem) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.group { background: var(--surface); border-radius: var(--radius-panel); overflow: hidden; display: flex; flex-direction: column; }
.group img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.group-body { padding: 1.25rem 1.25rem 1.5rem; }
.group h3 a { text-decoration: none; color: var(--text); }
.group h3 a:hover { color: var(--marigold); }
.group .muted { margin: 0; font-size: var(--size-small); }

/* The price list */
.pricelist { margin: 1.5rem 0 3rem; background: var(--surface); border-radius: var(--radius-panel); padding: 0.5rem 1.5rem; }
.pricelist-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pricelist-row:last-child { border-bottom: 0; }
.pricelist-row h3 { margin: 0; }
.pricelist-row h3 a { text-decoration: none; color: var(--text); }
.pricelist-row h3 a:hover { color: var(--marigold); }
.pricelist-row p { margin: 0.35rem 0 0; grid-column: 1; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; grid-column: 1 / -1; font-size: var(--size-small); }
.meta span { color: var(--muted); }
.includes { margin: 0.5rem 0 0; padding-left: 1.2rem; grid-column: 1; }

/* The four steps */
/* Five steps: one row on a wide screen, below that a list with the number beside each step, never four and one */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface-2); border-radius: var(--radius-panel); padding: 1.25rem 1.5rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 1rem; }
.steps li::before { content: counter(step); grid-row: span 2; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--lilac); color: var(--on-accent); font-weight: 800; font-stretch: var(--wide); }
.steps h3 { margin: 0.35rem 0 0.25rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 75rem) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
  .steps li { display: block; padding: 1.5rem 1.25rem; }
  .steps li::before { margin-bottom: 0.75rem; }
  .steps h3 { margin-top: 0; }
}

/* Case */
.case-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (max-width: 50rem) { .case-panel { grid-template-columns: 1fr; } }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
/* Three results stay side by side at any width; their numbers shrink with the room they have */
.results:not(.audience-metrics):has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; container-type: inline-size; }
.results:not(.audience-metrics):has(> :nth-child(3):last-child) .result-value { font-size: clamp(1.1rem, 6.2cqi, 2.2rem); white-space: nowrap; }
.result-value { font-size: 2.2rem; font-weight: 800; font-stretch: var(--wide); color: var(--marigold); line-height: 1; }
.result-label { margin-top: 0.4rem; font-size: var(--size-small); }
.audience-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); container-type: inline-size; }
.audience-metrics .result-value { font-size: clamp(1.3rem, 6.5cqi, 2.2rem); }
.result--wide { grid-column: 1 / -1; }
.result--wide .result-value { white-space: nowrap; }
.benefits { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 40rem) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefits li { background: var(--surface); border-radius: var(--radius-panel); padding: 1.25rem 1.5rem; }
.benefits b { display: block; color: var(--marigold); font-stretch: var(--semi); margin-bottom: 0.25rem; }
.page-head--photo.case-head { align-items: start; }
/* The case's five figures: the first leads across the row, then two and two; on a wide screen one row of five */
@media (min-width: 40rem) and (max-width: 69.99rem) { .case-figures > :first-child { grid-column: 1 / -1; } }
@media (min-width: 64rem) and (max-width: 69.99rem) { .case-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70rem) { .case-figures { grid-template-columns: repeat(5, minmax(0, 1fr)); } .case-figures .figure-value { font-size: clamp(1.6rem, 3.4cqi, 2.4rem); } }

/* Trust points */
.points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.points p { margin: 0; background: var(--surface); border-left: 4px solid var(--lilac); border-radius: 0 var(--radius-panel) var(--radius-panel) 0; padding: 1.25rem 1.5rem; }

/* Audience bars */
.bars { margin: 1.5rem 0; max-width: 40rem; }
.bar { display: grid; grid-template-columns: 5.5rem 1fr 3.5rem; gap: 0.75rem; align-items: center; margin: 0.5rem 0; }
.bar-track { height: 1.1rem; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
/* The one value a template passes in: each bar's share, as --bar-value (audience.twig); all else stays here. */
.bar-fill { display: block; width: var(--bar-value, 0%); height: 100%; background: var(--lilac); border-radius: 999px; }
.bar--main .bar-fill { background: var(--marigold); }
.bar-value { text-align: right; font-weight: 700; }

/* Text pages */
.page-head { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-bottom: 1rem; }
.page-end { padding-bottom: var(--section); }
.page-head + .section { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-head--photo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 52rem) { .page-head--photo { grid-template-columns: 1fr; } }
.prose h2 { margin-top: 2.5rem; }
.prose > h2:first-child { margin-top: 0; }
.small-heading { font-size: var(--size-h3); font-stretch: var(--semi); font-weight: 700; }
.faq dt { font-weight: 700; font-stretch: var(--semi); margin-top: 1.75rem; }
.faq dd { margin: 0.4rem 0 0; max-width: var(--measure); color: var(--muted); }


/* Forms: light fields on the dark page */
.form { max-width: 40rem; margin-top: 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select {
  width: 100%; font: inherit; padding: 0.75rem 1rem; border: 2px solid transparent; border-radius: 12px; background: var(--field); color: var(--field-text);
}
.field input:not([type="checkbox"]):focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
.field textarea { min-height: 8rem; resize: vertical; }
.field .help { margin: 0.35rem 0 0; font-size: var(--size-small); color: var(--muted); }
.field .err { margin: 0.35rem 0 0; color: var(--error); font-weight: 600; font-size: var(--size-small); }
.field--error input:not([type="checkbox"]):not([type="radio"]), .field--error textarea { border-color: var(--error); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 36rem) { .two { grid-template-columns: 1fr; } }
.modes { border: 0; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.75rem; }
.modes legend { font-weight: 700; margin-bottom: 0.5rem; }
.mode { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0.75rem; padding: 1rem 1.25rem; background: var(--surface); border: 2px solid var(--surface); border-radius: var(--radius-panel); cursor: pointer; }
.mode:has(input:checked) { border-color: var(--marigold); background: var(--surface-2); }
.mode input { margin-top: 0.3rem; accent-color: var(--marigold); }
.mode b { font-stretch: var(--semi); }
.mode span { grid-column: 2; color: var(--muted); font-size: var(--size-small); }
.check, .field .check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-weight: 400; max-width: 40rem; }
.check input { width: 1.25rem; height: 1.25rem; padding: 0; margin: 0.2rem 0 0; accent-color: var(--marigold); }
.check span { min-width: 0; }
.errors { background: var(--surface); border-left: 4px solid var(--error); border-radius: 0 var(--radius-panel) var(--radius-panel) 0; padding: 1rem 1.25rem; margin: 1rem 0; max-width: 40rem; }
.errors h2 { font-size: var(--size-h3); font-stretch: var(--semi); margin: 0 0 0.5rem; }
.errors ul { margin: 0; padding-left: 1.2rem; }
.errors a { color: var(--error); }
.hp { position: absolute; left: -5000px; }

/* A panel beside the text: a formula's duration and quote button, a quote's question and decline forms */
.aside { background: var(--surface); border-radius: var(--radius-panel); padding: 1.5rem; align-self: start; }
.aside > :last-child { margin-bottom: 0; }

/* The quote request: the formulas to tick, by group */
.picks { border: 0; padding: 0; margin: 0 0 2rem; }
.picks legend { font-weight: 700; font-size: var(--size-h3); font-stretch: var(--semi); margin-bottom: 0.25rem; }
.picks .help { margin: 0 0 1rem; font-size: var(--size-small); color: var(--muted); }
.picks-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.picks-title { flex: 0 0 100%; font-size: var(--size-small); font-stretch: var(--normal); font-weight: 600; color: var(--muted); margin: 0; }
.pick { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--surface); border: 2px solid var(--surface); border-radius: var(--radius-button); cursor: pointer; }
.pick:has(input:checked) { border-color: var(--marigold); background: var(--surface-2); }
.pick:has(input:focus-visible) { outline: 3px solid var(--marigold); outline-offset: 3px; }
.pick input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--marigold); }

/* The client's quote: the lines as a statement, the approval beside the questions */
.quote-intro { margin: 0 0 2rem; }
.quote-table-wrap { background: var(--surface); border-radius: var(--radius-panel); padding: 0.5rem 1.5rem 1rem; margin: 0 0 2.5rem; }
.quote-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.quote-table th, .quote-table td { text-align: left; vertical-align: top; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line); }
.quote-table thead th { font-size: var(--size-small); font-weight: 600; color: var(--muted); }
.quote-table .num { text-align: right; white-space: nowrap; }
.quote-details { display: block; color: var(--muted); font-size: var(--size-small); margin-top: 0.2rem; }
.quote-table tfoot th { text-align: right; font-weight: 400; border-bottom: 0; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.quote-table tfoot td { border-bottom: 0; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.quote-table .quote-total th, .quote-table .quote-total td { font-weight: 800; font-stretch: var(--semi); font-size: 1.3rem; color: var(--marigold); border-top: 2px solid var(--marigold); padding-top: 0.85rem; }
@media (max-width: 40rem) {
  .quote-table-wrap { padding: 0.25rem 1rem 0.75rem; }
  .quote-table thead { display: none; }
  .quote-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .quote-table tbody td { border: 0; padding: 0; }
  .quote-table tbody td:first-child { grid-column: 1 / -1; margin-bottom: 0.25rem; }
  .quote-table tbody td.num { text-align: left; font-size: var(--size-small); }
  .quote-table tbody td.num::before { content: attr(data-label); display: block; color: var(--muted); }
  .quote-table tfoot th { padding-left: 0; }
  .quote-table tbody td.num:empty { display: none; }
  .quote-table tfoot tr { display: flex; justify-content: space-between; gap: 1rem; }
  .quote-table .quote-total th, .quote-table .quote-total td { font-size: 1.1rem; }
}
.quote-act { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .quote-act { grid-template-columns: 1fr; } }
.quote-act .form { margin-top: 1rem; }
.quote-side { display: grid; gap: 1.25rem; }
.form--tight { margin-top: 0.75rem; }
.form--tight textarea { min-height: 5rem; }
.notice { background: var(--surface-2); border-left: 4px solid var(--marigold); border-radius: 0 var(--radius-panel) var(--radius-panel) 0; padding: 1.25rem 1.5rem; margin: 0 0 2rem; max-width: 48rem; }
.notice--closed { border-left-color: var(--muted); }
.notice h2 { font-size: var(--size-h3); font-stretch: var(--semi); }
.notice > :last-child { margin-bottom: 0; }
.button:disabled { opacity: 0.55; cursor: not-allowed; }

/* Footer */
.foot { background: #0a1813; color: var(--muted); padding: 3rem 0; font-size: var(--size-small); border-top: 1px solid var(--line); }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.foot a { color: var(--text); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0.3rem 0; }

/* The desk */
.table { width: 100%; border-collapse: collapse; font-size: var(--size-small); }
.table th, .table td { text-align: left; vertical-align: top; padding: 0.6rem; border-bottom: 1px solid var(--line); }
.table th { background: var(--surface); }
.table select, .table input { font: inherit; background: var(--field); color: var(--field-text); border-radius: 6px; border: 0; padding: 0.3rem; }

/* The wordmark: "b", two overlapping rings for "oo", "mernet". Pure type and CSS, so it follows the tokens. */
.mark { display: inline-flex; align-items: center; font-weight: 850; font-stretch: var(--wide); font-size: 1.55rem; letter-spacing: -0.02em; line-height: 1; color: inherit; }
.mark-oo { display: inline-flex; margin: 0 0.04em; }
.mark-oo i { width: 0.62em; height: 0.62em; border-radius: 50%; border: 0.13em solid currentColor; display: inline-block; }
.mark-oo i + i { margin-left: -0.2em; border-color: var(--marigold); }

@media (max-width: 36rem) {
  h1, .hero h1 { font-stretch: var(--semi); }
  .results { grid-template-columns: 1fr 1fr; }
  .results:not(.audience-metrics):has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-value { font-size: 1.7rem; }
  .pricelist { padding: 0.25rem 1rem; }
  .pricelist-row { grid-template-columns: minmax(0, 1fr); }
  .pricelist-row p, .pricelist-row .includes { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* The desk: its bar, the sign-in, a saved notice */
.desk-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.desk-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.desk-nav { display: flex; gap: 1.5rem; }
.desk-nav a { color: var(--text); text-decoration: none; font-weight: 600; }
.desk-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--marigold); }
.desk-user { display: flex; align-items: center; gap: 0.75rem; }
.signin { max-width: 28rem; }
.errors p { margin: 0; }
.saved { background: var(--surface); border-left: 4px solid var(--marigold); padding: 0.75rem 1rem; border-radius: 0 12px 12px 0; }
.table .check { font-weight: 400; white-space: nowrap; }
.table input[type="checkbox"] { accent-color: var(--marigold); }

/* A short talk first: the block under the contact and quote forms */
.consult { background: var(--surface); border-radius: var(--radius-panel); padding: 1.5rem; margin-top: 2.5rem; max-width: 40rem; }
.consult h2 { font-size: var(--size-h3); font-stretch: var(--semi); }
.result-label::first-letter, .figure-label::first-letter { text-transform: uppercase; }

/* Prospecting: filters, scores and sources */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.filters input, .filters select { font: inherit; padding: 0.5rem 0.75rem; border-radius: 10px; border: 0; background: var(--field); color: var(--field-text); }
.filters input[type="search"] { min-width: 16rem; }
.score { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border-radius: 50%; font-weight: 800; font-stretch: var(--semi); background: var(--surface-2); }
.score--hot { background: var(--marigold); color: var(--on-accent); }
.score--warm { background: var(--lilac); color: var(--on-accent); }
.tag { display: inline-block; padding: 0.1rem 0.55rem; margin: 0 0.25rem 0.25rem 0; border-radius: 999px; background: var(--surface-2); font-size: 0.8rem; }
.signals { list-style: none; padding: 0; margin: 0.5rem 0 2rem; }
.signals li { background: var(--surface); border-radius: 12px; padding: 0.75rem 1rem; margin-bottom: 0.5rem; }
.form select { width: 100%; font: inherit; padding: 0.75rem 1rem; border-radius: 12px; border: 0; background: var(--field); color: var(--field-text); }
.lead-form { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.lead-form input { font: inherit; padding: 0.4rem 0.6rem; border-radius: 8px; border: 0; background: var(--field); color: var(--field-text); width: 11rem; }

/* The desk's quotes: state badges, the client's link, the lines to edit */
.badge { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; background: var(--surface-2); font-size: 0.8rem; font-weight: 600; font-stretch: var(--normal); vertical-align: middle; }
.badge--sent { background: var(--lilac); color: var(--on-accent); }
.badge--accepted, .badge--paid { background: var(--marigold); color: var(--on-accent); }
.badge--declined, .badge--withdrawn, .badge--expired { background: var(--line); color: var(--muted); }
.page-end > .aside { margin-bottom: 1.25rem; max-width: 48rem; }
.desk-link input { width: 100%; font: inherit; margin: 0.5rem 0; padding: 0.6rem 0.8rem; border-radius: 10px; border: 0; background: var(--field); color: var(--field-text); }
.desk-quote { max-width: 60rem; margin-bottom: 3rem; }
.desk-quote h2 { margin-top: 2rem; }
.desk-quote fieldset.field { border: 0; padding: 0; }
.desk-quote fieldset.field legend { font-weight: 600; margin-bottom: 0.35rem; }
.desk-quote .check { margin-bottom: 0.4rem; }
.desk-line { border: 1px solid var(--line); border-radius: 14px; padding: 0.75rem 1rem 0; margin: 0 0 0.75rem; display: grid; grid-template-columns: 1.3fr 1.6fr 0.6fr 0.9fr 0.7fr; gap: 0 0.75rem; }
.desk-line legend { font-size: var(--size-small); color: var(--muted); padding: 0 0.25rem; }
.desk-line .field { margin-bottom: 0.75rem; }
.desk-line .field label { font-size: var(--size-small); }
.desk-line .field input, .desk-line .field select { padding: 0.5rem 0.7rem; }
.desk-line__wide { grid-column: 1 / -1; order: 9; }
@media (max-width: 48rem) { .desk-line { grid-template-columns: 1fr 1fr; } .desk-line .field:nth-of-type(2) { grid-column: 1 / -1; } }

/* Before the site opens: one page, the wordmark, a sentence and a photo */
.soon-main { min-height: 100vh; display: grid; align-items: center; padding: var(--section) 0; }
.soon-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.soon-wrap .logo { margin-bottom: 2.5rem; }
.soon-wrap h1 { font-size: var(--size-hero); }
@media (max-width: 52rem) { .soon-wrap { grid-template-columns: 1fr; } }

/* A formula in the list with its photo beside it */
.pricelist-row:has(.pricelist-photo) { grid-template-columns: 10rem minmax(0, 1fr); }
.pricelist-row:has(.pricelist-photo) > :not(.pricelist-photo) { grid-column: 2; }
.pricelist-photo { grid-row: 1 / span 5; align-self: start; }
.pricelist-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 36rem) {
  .pricelist-row:has(.pricelist-photo) { grid-template-columns: minmax(0, 1fr); }
  .pricelist-row:has(.pricelist-photo) > * { grid-column: 1; }
  .pricelist-photo { grid-row: auto; }
}

/* Lists with a tick: what a formula brings */
.ticks { list-style: none; padding: 0; margin: 0.5rem 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.75rem; margin: 0.45rem 0; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.45rem; height: 0.8rem; border: solid var(--marigold); border-width: 0 3px 3px 0; transform: rotate(40deg); }
.expect { max-width: 48rem; }
.expect .lead { max-width: none; }
.steps-note { margin-top: 1rem; }
.figures-wide { margin: 2rem 0 0; font-size: 1.15rem; }
.figures-wide b { color: var(--marigold); font-size: 1.6rem; font-stretch: var(--semi); margin-right: 0.35rem; }

/* The choice guide: the band on the home page, the questions and the answer */
.pick-band { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; background: var(--surface-2); }
.pick-band__wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.pick-band h2 { margin-bottom: 0.25rem; }
.pick-band .lead { margin: 0; }
.chooser .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 36rem) { .chooser .modes { grid-template-columns: 1fr; } }
.pick-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0; background: var(--surface); border-radius: var(--radius-panel); overflow: hidden; }
.pick-card img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 16rem; }
.pick-card__body { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (max-width: 52rem) { .pick-card { grid-template-columns: 1fr; } .pick-card img { aspect-ratio: 3 / 2; min-height: 0; } }
.pick-also { margin-top: 1.5rem; }

/* Advertisers' logos and quotes (examples until there are real ones) */
.proof-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem; margin-top: 2.5rem; }
.proof-head:first-child { margin-top: 0; }
.demo-badge { display: inline-block; padding: 0.15rem 0.7rem; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.logos { list-style: none; padding: 0; margin: 1rem 0 0.75rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
@media (min-width: 52rem) { .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.logo-tile { display: grid; place-items: center; height: 4.5rem; border-radius: 14px; border: 1px dashed var(--line); color: var(--muted); font-weight: 700; font-stretch: var(--wide); letter-spacing: 0.02em; }
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 52rem) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote-card { margin: 0; background: var(--surface); border-radius: var(--radius-panel); padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; }
.quote-card blockquote { margin: 0; font-size: 1.05rem; }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 2.5rem; line-height: 1; color: var(--lilac); }
.quote-card figcaption { color: var(--muted); font-size: var(--size-small); }

/* Blog: cards in the overview and on the home page, one article */
.post-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin: 1.5rem 0; }
@media (min-width: 52rem) { .post-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { background: var(--surface); border-radius: var(--radius-panel); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--marigold); }
.post-head { max-width: 48rem; }
.post-photo { margin-bottom: 2rem; }
.post-photo .photo { max-height: 28rem; }
.post-body { padding-bottom: 1rem; max-width: 48rem; }
.post-body h2 { margin-top: 2.25rem; }

/* Cases overview */
.case-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 52rem) { .case-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-card { display: block; background: var(--surface); border-radius: var(--radius-panel); overflow: hidden; color: var(--text); text-decoration: none; }
.case-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.case-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.case-card h2 { font-size: var(--size-h3); font-stretch: var(--semi); }
.case-card:hover h2 { color: var(--marigold); }
.case-card__figure b { color: var(--marigold); font-size: 1.6rem; font-stretch: var(--semi); }
.benefits--four { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40rem) { .benefits--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .benefits--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* At the bottom of every page: a short contact form */
.contact-block { background: var(--surface); padding: var(--section) 0; border-top: 1px solid var(--line); }
.contact-block__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 52rem) { .contact-block__wrap { grid-template-columns: 1fr; } }
.contact-block__form { margin-top: 0; }
.contact-block__form textarea { min-height: 6rem; }

/* In the footer: news for advertisers */
.signup { grid-column: 1 / -1; max-width: 34rem; }
.signup__title { font-size: var(--size-h3); font-stretch: var(--semi); color: var(--text); margin-bottom: 0.25rem; }
.signup__row { display: flex; gap: 0.5rem; margin: 0.5rem 0; }
.signup__row input { flex: 1; min-width: 0; font: inherit; padding: 0.55rem 0.9rem; border-radius: 999px; border: 0; background: var(--field); color: var(--field-text); }
.signup__consent { font-size: 0.85rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
