/* AI Needs Your Expertise — "Blue Haze v8" (see docs/project/stijlgids-visueel.md) */

@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --blue: #2F48D8;
  --blue-dark: #2238B8;
  --ink: #111216;
  --text: #33353C;
  --muted: #5B5F6B;
  --line: #A9B4C4;
  --line-soft: #D3D9E2;
  --white: #FFFFFF;
  --bg: #EEEFF1;
  --radius: 3px;
  --radius-lg: 12px;   /* logo frames, image slots, tables (design round 1) */
  --gutter: 16px;
  --section: 96px;
  --measure: 760px;    /* reading column, centred */
  --wide: 1136px;      /* cards, tables and grids use the full container */
  --head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Open Sans", "Segoe UI", Arial, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }
@media (max-width: 719px) { :root { --section: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* One continuous haze over the whole page — never cut per section. */
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 640px at 88% 3%, rgba(150, 182, 240, .50), transparent 70%),
    radial-gradient(760px 560px at 6% 16%, rgba(170, 196, 244, .42), transparent 70%),
    radial-gradient(980px 620px at 96% 38%, rgba(160, 188, 240, .40), transparent 70%),
    radial-gradient(820px 600px at 2% 60%, rgba(176, 200, 246, .40), transparent 70%),
    radial-gradient(900px 640px at 80% 82%, rgba(156, 186, 240, .42), transparent 70%),
    radial-gradient(760px 520px at 14% 99%, rgba(170, 196, 244, .38), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* ---------- Headings ---------- */
h1, h2, .h-display {
  font-family: var(--head);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.05rem, 5.2vw, 3.4rem); line-height: 1.04; margin: 0 0 28px; max-width: 18ch; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.15; margin: 64px 0 18px; }
h3 { font-family: var(--body); font-weight: 700; font-size: 1.12rem; line-height: 1.4; color: var(--ink); margin: 32px 0 8px; }
h1 em, h2 em, .h-display em { font-style: normal; color: var(--blue); }

.label {
  display: block;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 14px 22px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-dark); color: var(--white); }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- Header & main menu ---------- */
.site-header { padding: 22px 0; }
.header-inner { display: flex; align-items: center; gap: 28px; }
.logo { display: block; flex: none; line-height: 0; }
.logo svg { height: 68px; width: auto; display: block; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.main-nav a, .main-nav summary {
  color: var(--ink);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  cursor: pointer;
}
.main-nav a:hover, .main-nav summary:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav summary { list-style: none; display: flex; align-items: center; gap: 6px; }
.main-nav summary::-webkit-details-marker { display: none; }
.main-nav summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.main-nav details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.has-sub { position: relative; }
.has-sub ul {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: calc(100% + 14px); left: -16px; min-width: 200px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(17, 18, 22, .10);
  z-index: 20;
}
.has-sub ul a { display: block; padding: 8px 18px; font-weight: 400; }
.btn-nav { padding: 12px 18px; font-size: .95rem; }
.btn-nav .short { display: none; }
.menu-toggle { display: none; }

@media (max-width: 979px) {
  .site-header { padding: 14px 0; position: relative; }
  .header-inner { gap: 12px; }
  .logo svg { height: 54px; }
  .btn-nav { margin-left: auto; padding: 11px 14px; font-size: .9rem; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex: none;
    background: transparent; border: 0; padding: 0; cursor: pointer; color: var(--ink);
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
    transition: transform .15s;
  }
  .menu-toggle .bars::before { position: absolute; top: -7px; }
  .menu-toggle .bars::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: absolute; left: var(--gutter); right: var(--gutter); top: 100%;
    background: var(--white); border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(17, 18, 22, .14);
    padding: 8px 20px 16px; z-index: 30;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav > ul > li:last-child { border-bottom: 0; }
  .main-nav > ul > li > a, .main-nav summary { display: flex; padding: 14px 0; font-size: 1.05rem; }
  .main-nav summary { justify-content: space-between; }
  .has-sub ul { position: static; box-shadow: none; padding: 0 0 10px; min-width: 0; }
  .has-sub ul a { padding: 8px 0 8px 14px; }
}
@media (max-width: 419px) {
  .btn-nav .long { display: none; }
  .btn-nav .short { display: inline; }
}

/* ---------- Content pages ---------- */
.page { padding-top: 24px; padding-bottom: 120px; }
/* One centred grid: text in a centred reading column, cards and tables use the full width. */
.page article > *, .page .breadcrumbs { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.page article > h1 { max-width: var(--measure); }
.page article > .platform-cards, .page article > .wide { max-width: var(--wide); }
.breadcrumbs ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .88rem; color: var(--muted); }
.breadcrumbs li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 12px 1px 8px; border-right: 1.5px solid var(--line); border-top: 1.5px solid var(--line); transform: rotate(45deg); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }

.page-meta { font-size: .9rem; color: var(--muted); margin: 0 0 40px; }
article > p, article li { max-width: 68ch; }
article ul, article ol { padding-left: 1.3em; }
article li { margin: 6px 0; }
article li::marker { color: var(--blue); }

/* Boxes made with :::name in the markdown files */
.box { border-radius: var(--radius); margin: 32px 0; }
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box-inshort, .box-downsides, .box-example, .box-panel { background: var(--white); padding: 26px 28px; }
.box-inshort::before, .box-downsides::before, .box-example::before {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.box-inshort::before { content: "In short"; }
.box-downsides::before { content: "Downsides"; }
.box-example::before { content: "Example"; }
.box-inshort { margin: 0 0 18px; }
.box-inshort ul { margin: 0; padding-left: 1.2em; }
.box-note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.box-note p { margin: 0; }
.box-next { padding: 30px 0 0; border-top: 1px solid var(--ink); margin-top: 64px; }
.box-next h2 { margin: 0 0 14px; }
.box-next p:first-of-type a { font-weight: 700; font-size: 1.1rem; }
.box-sources { font-size: .88rem; color: var(--muted); margin-top: 56px; }
.box-sources h2 { font-size: 1rem; margin: 0 0 10px; }
.box-sources ul { padding-left: 1.1em; }
.box-sources li { margin: 4px 0; }
.box-checklist ol, .box-checklist ul { list-style: none; padding-left: 0; counter-reset: c; }
.box-checklist li { position: relative; padding-left: 34px; margin: 10px 0; counter-increment: c; }
.box-checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px;
  border: 1.5px solid var(--ink); border-radius: 2px; background: var(--white);
}

blockquote { margin: 28px 0; background: var(--white); border-radius: var(--radius); padding: 22px 26px; }
blockquote p { margin: 10px 0; }
blockquote p:first-child { margin-top: 0; }
blockquote p:last-child { margin-bottom: 0; }

/* Tables: one calm style site-wide. White, rounded, thin row lines, no grid.
   Never wider than the reading column (19 Oct 2026); a wide table scrolls inside its own box. */
.table-wrap {
  overflow-x: auto; margin: 32px 0; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch;
  /* Shadow on the right edge while there is more to scroll: a visible hint on small screens. */
  background:
    linear-gradient(90deg, var(--white) 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--white) 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(17, 18, 22, .22), transparent) left center / 18px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(17, 18, 22, .22), transparent) right center / 18px 100% no-repeat scroll,
    var(--white);
}
table { border-collapse: collapse; width: 100%; font-size: .93rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
th { font-size: .82rem; font-weight: 600; color: var(--white); background: var(--blue); border-bottom-color: var(--blue); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(47, 72, 216, .03); }
td:first-child { color: var(--ink); font-weight: 600; }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Caption under a table: a paragraph that is only italic text, or p.table-note */
.table-wrap + p:has(> em:only-child), p.table-note { font-size: .85rem; color: var(--muted); margin-top: -18px; }
.table-wrap + p > em:only-child { font-style: normal; }
@media (max-width: 719px) { th, td { padding: 12px 14px; } table { min-width: 640px; } }

.link-later { color: inherit; }

/* Referral button + its disclosure, always together */
.referral { margin: 24px 0; }
.referral-note { font-size: .82rem; color: var(--muted); margin: 8px 0 0; }
.referral-top { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 24px 0 32px; }
.referral-top a { color: var(--muted); }
.referral-note a { color: var(--muted); }

/* ---------- Homepage ---------- */
.home section { margin-top: var(--section); }
.home .hero { margin-top: 48px; text-align: center; }
@media (max-width: 719px) { .home .hero { margin-top: 24px; } }
.hero h1 { font-size: clamp(2.75rem, 7.4vw, 6rem); line-height: .98; max-width: none; margin: 0 auto 30px; }
.br-desk { display: none; }
@media (min-width: 900px) { .br-desk { display: inline; } }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; color: var(--ink); max-width: 40ch; margin: 0 auto 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: center; }

/* Referral line at the top of the homepage: small and quiet */
.home .home-note { border: 0; margin: 4px auto 0; padding: 0; max-width: 92ch; text-align: center; font-size: .8rem; line-height: 1.5; }

/* Image slot: fixed aspect ratio, so a photo can be dropped in later without moving anything.
   Usage: <figure class="img-slot"><img src="..." alt="..." width="1200" height="900" loading="lazy"></figure> */
.img-slot { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line-soft); }
.img-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-slot:has(img) { border: 0; background: none; }
.hero .img-slot { margin: 48px 0 0; aspect-ratio: 21 / 9; }
@media (max-width: 719px) { .hero .img-slot { margin-top: 32px; aspect-ratio: 4 / 3; } }
.field-card .img-slot { margin: -28px -24px 22px; aspect-ratio: 3 / 2; border-radius: var(--radius) var(--radius) 0 0; }
.task-grid:has(> .img-slot) { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: stretch; }
.task-grid > .img-slot { aspect-ratio: auto; min-height: 100%; }
@media (max-width: 899px) { .task-grid:has(> .img-slot) { grid-template-columns: 1fr; } .task-grid > .img-slot { aspect-ratio: 16 / 9; } }

/* Text next to an image slot */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-split h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; }
.media-split p { max-width: 62ch; margin: 0 0 16px; font-size: 1.08rem; }
@media (max-width: 899px) {
  .media-split { grid-template-columns: 1fr; gap: 28px; }
  .media-split.media-left .img-slot { order: 2; }
}
.hero-small { margin: 30px 0 0; font-size: .9rem; color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; }
.section-head p { margin: 0; max-width: 60ch; }

/* Key figures: vertical lines on desktop, horizontal lines on mobile */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.figure { padding: 4px 28px 6px; border-left: 1px solid var(--line); }
.figure:first-child { padding-left: 0; border-left: 0; }
.figure dt { font-family: var(--head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; color: var(--ink); margin-bottom: 10px; }
.figure dd { margin: 0; font-size: .95rem; line-height: 1.5; }
.figure .src { display: block; font-size: .8rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 899px) {
  .figures { grid-template-columns: 1fr; }
  .figure, .figure:first-child { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .figure:last-child { border-bottom: 1px solid var(--line); }
}

/* White panel section (separates two open sections) */
.panel { background: var(--white); border-radius: var(--radius); padding: 64px clamp(20px, 5vw, 72px); }

/* Numbered list 01-02-03 with thin lines */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--head); font-weight: 800; font-size: 1rem; color: var(--blue); display: block; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 1.15rem; }
.steps p { margin: 0; }
@media (max-width: 799px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* Example task, in quotation style */
.task-example { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1040px; }
.task-example .q { grid-column: 1 / -1; padding: 0 0 26px; font-size: 1.15rem; color: var(--ink); max-width: 60ch; }
.task-example .q span, .task-example .col span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.task-example .col { padding: 22px 32px 6px 0; border-top: 1px solid var(--line); }
.task-example .col + .col { padding-left: 32px; border-left: 1px solid var(--line); }
.task-example .col.expert span { color: var(--blue); }
.task-example .col p { margin: 0 0 10px; }
.task-example .ai p { font-style: italic; }
.task-note { font-size: .88rem; color: var(--muted); margin-top: 22px; }
@media (max-width: 719px) {
  .task-example { grid-template-columns: 1fr; }
  .task-example .col + .col { padding-left: 0; border-left: 0; }
}

/* Field cards — white, equal height */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.field-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.field-card h3 { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; margin: 0 0 6px; }
.field-card .rate { color: var(--blue); font-weight: 700; margin: 0 0 14px; }
.field-card p { margin: 0 0 18px; }
.field-card .more { margin-top: auto; }
.fields-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; }
.fields-foot p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 899px) { .fields { grid-template-columns: 1fr; } }

/* Company list with lines */
.companies { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.companies li { display: grid; grid-template-columns: 220px 1fr 220px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.companies .name { font-family: var(--head); font-weight: 800; font-size: 1.45rem; color: var(--ink); }
.companies .name small { display: block; font-family: var(--body); font-weight: 400; text-transform: none; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.companies p { margin: 0; }
.companies .facts { font-size: .92rem; color: var(--muted); }
@media (max-width: 799px) {
  .companies li { grid-template-columns: 1fr; gap: 8px; }
}

/* Two-column panel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split h2 { margin-top: 0; }
@media (max-width: 799px) { .split { grid-template-columns: 1fr; gap: 20px; } }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ticks li:first-child { padding-top: 0; }

.faq > * { max-width: 760px; }
.faq h3 { margin-top: 28px; }
.faq p { margin: 6px 0 0; }

.closing { padding-bottom: 40px; }
.closing h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; margin: 0 0 24px; max-width: 20ch; }

/* ---------- Homepage v3 ---------- */
/* Four expertise cards, always equal height */
.fields-4 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 20px; }
.fields-4 + .fields-foot { text-align: left; }
.fields-4 .field-card { padding: 28px 24px; }
.fields-4 .field-card h3 { font-size: 1.15rem; line-height: 1.2; margin: 0 0 12px; }
.fields-4 .field-card .sub { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0 0 12px; }
.fields-4 .field-card .rate { margin: 0 0 22px; }
@media (max-width: 1099px) { .fields-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .fields-4 { grid-template-columns: 1fr; grid-auto-rows: auto; } .fields-4 .field-card .rate { margin-bottom: 16px; } }
.home .fields-foot { display: block; margin: 22px 0 0; color: var(--muted); font-size: .95rem; }

/* Logo in a white frame: same frame and same optical size everywhere (homepage and /platforms/).
   --s is the per-logo scale from platforms.json ("logoScale"). */
.logo-frame { display: flex; align-items: center; justify-content: center; height: 84px; padding: 14px 18px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.logo-frame img { height: calc(30px * var(--s, 1)); width: auto; max-width: 100%; object-fit: contain; display: block; }
.logo-text { font-family: var(--body); font-weight: 700; font-size: calc(1.3rem * var(--s, 1)); line-height: 1.1; color: var(--ink); text-align: center; letter-spacing: -0.01em; }

/* Homepage platform cards: 4 per row on desktop, 2 on tablet and phone */
.platforms-home .section-head { margin-bottom: 32px; }
.hcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hcard { background: var(--white); border-radius: var(--radius); padding: 18px 18px 20px; display: flex; flex-direction: column; }
.hcard .logo-frame { margin-bottom: 16px; }
/* Button left, "Our review" right of it (vertically centred), Disclosure under the button. */
.hcard-cta { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.hcard-cta .btn { grid-column: 1; grid-row: 1; justify-self: start; padding: 11px 16px; font-size: .92rem; }
.hcard-cta .referral-note { grid-column: 1; grid-row: 2; margin: 6px 0 0; }
.hcard-review { grid-column: 2; grid-row: 1; margin: 0; font-size: .92rem; font-weight: 600; }
@media (max-width: 1023px) { .hcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) {
  .hcards { gap: 12px; }
  .hcard { padding: 12px 12px 16px; }
  .hcard .logo-frame { height: 64px; padding: 10px 12px; }
  .hcard .logo-frame img { height: calc(22px * var(--s, 1)); }
  .hcard .logo-text { font-size: calc(.98rem * var(--s, 1)); }
  .hcard .btn { white-space: normal; padding: 10px 12px; font-size: .88rem; }
  .hcard-cta { grid-template-columns: 1fr; }
  .hcard-review { grid-column: 1; grid-row: 3; margin: 10px 0 0; }
}
.platforms-count { margin: 22px 0 0; color: var(--muted); font-size: .95rem; }

/* How it works: two sentences, open on the background */
.about-us h2 { margin: 0 0 16px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; }

/* Example task in a white frame */
.home #task-title { margin: 0 0 28px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; }
.task-box { background: var(--white); border-radius: var(--radius); padding: 32px clamp(20px, 4vw, 48px) 12px; }
.task-rows { margin: 0; }
.task-rows > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line-soft); }
.task-rows dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.task-rows dd { margin: 0; color: var(--ink); max-width: 64ch; }
.task-rows .ai dd { font-style: italic; color: var(--text); }
.task-rows .expert dt { color: var(--blue); }
.task-more { margin: 22px 0 0; }
@media (max-width: 719px) { .task-rows > div { grid-template-columns: 1fr; gap: 6px; } }

/* About us: heading left, text right */
/* About us: text next to a photo, in the shared .media-split layout (photos batch 2). */
.about-us p { margin: 0 0 14px; max-width: 58ch; }

/* FAQ: each question opens and closes; answers are in the HTML */
.faq-list > * { max-width: 820px; }
.faq-list h2 { margin: 0 0 24px; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.05; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 18px 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { margin: 0 0 12px; max-width: 68ch; }
.faq-list details > p:last-child { margin-bottom: 20px; }
.faq-more { font-size: .95rem; }
article .faq-list { margin-top: 8px; }
article .faq-list summary { font-size: 1rem; }
.faq-more .link-later { display: none; }

/* Homepage FAQ: heading on the left, questions on the right */
.faq-home { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.faq-home > h2 { position: sticky; top: 24px; }
.faq-home .faq-items { max-width: 820px; }
.faq-home .faq-items details:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 899px) { .faq-home { grid-template-columns: 1fr; gap: 0; } .faq-home > h2 { position: static; } }

/* Newsletter */
.newsletter { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: center; }
.newsletter > .img-slot { grid-row: span 2; aspect-ratio: 3 / 2; }
.newsletter:has(> .img-slot) { align-items: end; }
@media (max-width: 899px) { .newsletter { grid-template-columns: 1fr; } .newsletter > .img-slot { grid-row: auto; } }
.newsletter h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.05; }
.newsletter p { margin: 0; max-width: 56ch; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; }
.newsletter .signup-note { margin-bottom: 0; }
.signup input[type="email"] { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
.signup input[type="email"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.signup .btn { border: 0; cursor: pointer; font-family: inherit; }
.signup [disabled] { cursor: not-allowed; }
.signup .btn[disabled] { opacity: .55; }
.signup[hidden], .signup-status[hidden] { display: none; }
.signup-status { margin: 16px 0 0; font-weight: 600; color: var(--ink); }
.signup-status.error { color: #A3261B; }
.signup-note { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.signup-note a { color: var(--muted); }

/* ---------- Platforms overview list ---------- */
.platform-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--ink); }
.platform-list > li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.platform-list .card-logo { height: 40px; margin: 0 0 12px; display: flex; align-items: center; }
.platform-list .card-logo img { max-height: 40px; max-width: 180px; width: auto; height: auto; display: block; }
.platform-list h3 { margin: 0 0 6px; font-family: var(--head); font-weight: 800; font-size: 1.4rem; }
.platform-list p { margin: 6px 0; }
.platform-list .referral { margin: 14px 0 4px; }

/* Five big steps on /start/ */
.big-steps { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--ink); }
.big-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); margin: 0; max-width: none; }
.big-num { font-family: var(--head); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue); }
.big-title { font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.15; color: var(--ink); text-decoration: none; }
.big-title:hover { color: var(--blue); }
.big-steps p { margin: 6px 0 0; font-size: .95rem; color: var(--text); }
@media (max-width: 479px) { .big-steps li { grid-template-columns: 44px 1fr; gap: 10px; } .big-num { font-size: 2rem; } }

/* Platform cards on /platforms/: white, equal height, fixed logo space */
.platform-cards { list-style: none; padding: 0; margin: 28px 0 8px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .platform-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .platform-cards { grid-template-columns: repeat(3, 1fr); } }
.pcard { background: var(--white); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; }
.pcard .logo-frame { margin: 0 0 18px; }
.pcard h3 { font-family: var(--head); font-weight: 800; font-size: 1.25rem; margin: 0 0 14px; }
.pfacts { margin: 0 0 14px; font-size: .93rem; line-height: 1.45; }
.pfacts > div { padding: 8px 0; border-top: 1px solid var(--line-soft); }
.pfacts dt { display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pfacts dd { margin: 0 0 0 26px; color: var(--ink); }
.ficon { color: var(--blue); flex: none; }
.pcard .best { font-size: .93rem; margin: 0 0 18px; }
.best-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pcard-cta { margin-top: auto; }
.pcard .referral { margin: 0; }
.pcard-more { margin: 10px 0 0; font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 48px 0 56px; }
.site-footer .wrap > * { max-width: none; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; padding-top: 36px; border-top: 1px solid var(--ink); }
.logo-footer svg { height: 48px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer-links a:hover { color: var(--blue); }
.footer-note { font-size: .88rem; color: var(--muted); max-width: 72ch; margin: 32px 0 10px; }
.footer-legal { font-size: .82rem; color: var(--muted); margin: 0; }
.site-footer a { color: inherit; }
.footer-links a { color: var(--ink); }

@media print {
  body { background: #fff; }
  .site-header nav, .menu-toggle, .btn-nav { display: none; }
}

/* Design round 2 (16 Oct 2026) */
.has-examples td:last-child { font-style: italic; font-size: .88rem; color: var(--muted); }
.media-split:not(:has(> .img-slot)) { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.home .platforms-home .home-note { margin: -16px 0 24px; max-width: 72ch; text-align: left; }

/* Photo next to text on content pages (:::media <slot> in the markdown, photos batch 2).
   Stays inside the reading column, so its edges line up with the text and headings. */
.page article > .page-media { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; margin-top: 0; margin-bottom: 32px; }
.page-media h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.15; margin: 0 0 18px; }
.page-media p { font-size: inherit; }
.page-media .media-text > :last-child { margin-bottom: 0; }
.page article > * + .page-media, .page-media + h2 { margin-top: 64px; }
.page article > .page-meta + .page-media { margin-top: 0; }
@media (max-width: 899px) { .page article > .page-media { grid-template-columns: 1fr; gap: 24px; } }

/* Platform logo above the H1 on a page about one platform */
.page article > .page-logo { margin-bottom: 20px; }
.page-logo .logo-frame { width: 240px; max-width: 100%; }

/* Whole platform card clickable when the platform has its own page (19 Oct 2026).
   The overlay link sits under the button, Disclosure and Our review, which keep their own targets. */
.is-linked { position: relative; cursor: pointer; transition: box-shadow .15s ease, transform .15s ease; }
.is-linked:hover { box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(17, 18, 22, .06); }
.is-linked .card-link { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.is-linked a:not(.card-link), .is-linked .btn { position: relative; z-index: 1; }

/* Short referral line (21 Oct 2026): one small line, placed near the first referral link */
.referral-short { font-size: .82rem; padding: 8px 0; margin: 16px 0 20px; border-top: 0; }
.home .platforms-home .referral-short { margin: -16px 0 20px; }

/* Platform logos link to the platform (/go/, new tab) */
a.logo-link { text-decoration: none; transition: border-color .15s ease; }
a.logo-link:hover { border-color: var(--line); }
a.logo-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* /finance/ tiles: open finance roles under the logo */
.hcard-roles { margin: 0 0 14px; font-size: .92rem; font-weight: 600; color: var(--ink); }

/* /start/choose-a-platform/: row of platform buttons (logo, button, Disclosure) */
/* Tiles on content pages (/finance/ tiles, choose-a-platform buttons) use the full width, like the /platforms/ cards. */
.page article > .hcards { max-width: var(--wide); margin-top: 24px; margin-bottom: 32px; }

/* Checklist with checkboxes and progress bar (:::ticklist) */
.ticklist ul { list-style: none; padding-left: 0; margin: 0; }
.ticklist li { margin: 8px 0; }
.ticklist label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.ticklist input[type=checkbox] { width: 18px; height: 18px; margin: .2em 0 0; flex: none; accent-color: var(--blue); }
.tick-progress { margin-top: 18px; }
.tick-bar { height: 10px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 999px; overflow: hidden; max-width: 420px; }
.tick-bar span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .2s ease; }
.tick-count { margin: 8px 0 0; font-size: .92rem; color: var(--muted); }
