/*
 * The public site: the landing page, signing up and paying, the account page and the OAuth
 * screens. Direct and high-contrast: black on white, a yellow for what to click. The admin panel
 * has its own admin.css.
 */
@font-face {
    font-family: Archivo;
    src: url("../fonts/archivo-latin-wght-normal-eYWgLOH.woff2") format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #0a0a0a;
    --paper: #fff;
    --grey: #f3f3f3;
    --yellow: #ffd60a;
    --cream: #fff6c2;
    --red: #d62718;
    --red-dark: #b4231a;
    --red-soft: #fde8e6;
    --green: #12813a;
    --green-soft: #e8f5ec;
    --text-2: #222;
    --text-3: #333;
    --muted: #555;
    --line: #ccc;
    --line-soft: #e5e5e5;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--ink); }
a:hover { color: var(--text-3); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 900; text-wrap: balance; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1200px; }
.wrap-narrow { max-width: 820px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row > * { flex: 1 1 240px; min-width: 0; }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-grey { background: var(--grey); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section-dark { background: var(--ink); color: var(--paper); }
.center { text-align: center; }
.title-xl { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.03em; }
.title-lg { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; }
.title-md { font-size: clamp(28px, 3.4vw, 40px); }
.lead { font-size: 21px; line-height: 1.45; color: var(--text-2); max-width: 760px; margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.tiny { font-size: 14px; color: var(--muted); }
/* Above the hero: what Meetlat works in, as a small label. Red stays for what costs something or goes wrong. */
.works-with { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border: 2px solid var(--ink); border-radius: 999px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.works-with img { display: block; width: 24px; height: 24px; }
mark.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; padding: 0 6px; }

/* Top of every page */
.topbar { background: var(--ink); color: var(--paper); text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 700; }
.site-header { border-bottom: 3px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; min-height: 68px; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.site-header nav a { font-weight: 700; padding: 10px 0; }
.site-header-plain { border-bottom: 0; }
.site-header-plain .wrap { justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.site-header-plain .brand { margin: 0; }
.brand svg { flex: none; }

/* Buttons */
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; max-width: 100%; padding: 18px clamp(20px, 5vw, 36px); border: 3px solid var(--ink); border-radius: 12px; background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--ink); text-decoration: none; text-align: center; font: inherit; cursor: pointer; }
.cta:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.cta-main { font-size: clamp(20px, 5.4vw, 24px); font-weight: 900; letter-spacing: -0.01em; line-height: 1.2; }
.cta-sub { font-size: 15px; font-weight: 500; }
.cta-block { display: flex; width: 100%; }
.section-dark .cta { border-color: var(--yellow); box-shadow: 0 6px 0 var(--paper); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 3px solid var(--ink); border-radius: 10px; background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--ink); font: inherit; font-weight: 900; text-decoration: none; cursor: pointer; }
.button-ghost { background: var(--paper); box-shadow: none; font-weight: 800; }
.button-small { min-height: 44px; padding: 6px 16px; border-width: 2px; font-size: 16px; }

/* Cards */
.card { border: 3px solid var(--ink); border-radius: 12px; padding: 28px; background: var(--paper); }
.card-shadow { box-shadow: 8px 8px 0 var(--ink); }
.card-thin { border-width: 2px; }
.card-cream { background: var(--cream); }
.card-dark { background: var(--ink); color: var(--paper); box-shadow: 8px 8px 0 var(--yellow); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card .cost { margin-top: auto; font-weight: 800; color: var(--red); font-size: 17px; }
.card-dark h3, .card-dark .cost { color: var(--yellow); }
.cards { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.cards > .card { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; padding: 24px; }

/* Lists with a tick or a cross */
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.5 4.5L17 5' stroke='%2312813a' stroke-width='3' fill='none'/%3E%3C/svg%3E"); }
.ticks li.cross::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23d62718' stroke-width='3'/%3E%3C/svg%3E"); }
.ticks li.bonus::before { content: "BONUS"; width: auto; height: auto; margin-top: 3px; padding: 3px 7px; border-radius: 4px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 900; line-height: 1.2; }
.ticks-inline { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: 16px; font-weight: 700; }
.ticks-inline li { align-items: center; text-align: left; }
.ticks-inline li::before { margin-top: 0; }
@media (max-width: 640px) { .ticks-inline { flex-direction: column; align-items: flex-start; align-self: center; } }
.card-dark .plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }

/* Hero */
.hero { padding: 48px 20px 64px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; max-width: 1000px; margin: 0 auto; }

/* Examples in a browser-like window, switched with radio buttons (no script on public pages) */
.examples { display: flex; flex-direction: column; gap: 20px; }
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tab { display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 3px solid var(--ink); border-radius: 999px; background: var(--paper); font-weight: 900; font-size: 18px; cursor: pointer; }
#voorbeeld-woning:checked ~ .tabs label[for=voorbeeld-woning],
#voorbeeld-vermogen:checked ~ .tabs label[for=voorbeeld-vermogen] { background: var(--yellow); box-shadow: 0 4px 0 var(--ink); }
#voorbeeld-woning:focus-visible ~ .tabs label[for=voorbeeld-woning],
#voorbeeld-vermogen:focus-visible ~ .tabs label[for=voorbeeld-vermogen] { outline: 3px solid var(--ink); outline-offset: 3px; }
.example { display: none; }
#voorbeeld-woning:checked ~ .example-woning,
#voorbeeld-vermogen:checked ~ .example-vermogen { display: flex; flex-direction: column; gap: 16px; }
.window { border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.window-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 20px; border-bottom: 2px solid var(--ink); background: #fafafa; }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); }
.window-bar strong { flex-grow: 1; font-size: 16px; }
.window-bar small { font-size: 14px; color: var(--muted); }
.window > img { display: block; width: 100%; height: auto; }

/* The homes dashboard */
.dash { padding: 24px; display: flex; flex-direction: column; gap: 24px; font-size: 16px; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { flex: 1 1 200px; border: 2px solid var(--ink); border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.tile span { font-size: 14px; color: var(--muted); font-weight: 700; }
.tile strong { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.tile strong.text { font-size: 18px; font-weight: 800; line-height: 1.3; letter-spacing: 0; }
.homes { display: flex; flex-wrap: wrap; gap: 16px; }
.home { flex: 1 1 280px; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.home-head { padding: 16px; border-bottom: 2px solid var(--ink); display: flex; flex-direction: column; gap: 2px; }
.home-head h4 { margin: 0; font-size: 20px; font-weight: 900; }
.home-head span { font-size: 14px; color: var(--muted); }
.home-head strong { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-top: 4px; }
.home dl { margin: 0; padding: 14px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.home dt { color: var(--muted); }
.home dd { margin: 0; font-weight: 800; text-align: right; }
.home dd.warn { color: var(--red-dark); }
.home-note { margin-top: auto; padding: 10px 16px; border-top: 2px solid var(--ink); font-size: 14px; font-weight: 700; background: var(--green-soft); }
.home-note.bad { background: var(--red-soft); }
.charts { display: flex; flex-wrap: wrap; gap: 24px; }
.chart { flex: 1 1 400px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.chart figcaption { font-weight: 900; font-size: 17px; }
.chart figcaption span { font-weight: 500; color: var(--muted); font-size: 14px; }
.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-row > span { width: 76px; flex: none; font-weight: 700; }
.bar-track { flex-grow: 1; display: flex; align-items: center; gap: 8px; }
.bar { height: 26px; background: var(--ink); border-radius: 0 4px 4px 0; }
.bar.warn { background: var(--red-dark); }
.bar.savings { background: repeating-linear-gradient(135deg, var(--green) 0 6px, var(--paper) 6px 10px); border: 2px solid var(--green); }
.bar-track b { white-space: nowrap; }
.bar-row.savings > span, .bar-row.savings b { color: var(--green); }
.dash-foot { padding-top: 16px; border-top: 2px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* Offer and price */
.offer { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.offer > * { flex: 1 1 400px; min-width: 0; }
.price-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: clamp(20px, 5vw, 32px); }
.price-big { font-size: clamp(64px, 8vw, 96px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.price-big small { font-size: 24px; letter-spacing: 0; font-weight: 700; }
.strike { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 3px; font-weight: 800; }

/* Privacy */
.privacy { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.privacy h2 { flex: 1 1 360px; font-size: clamp(30px, 3.6vw, 44px); }
.privacy ul { flex: 1 1 480px; }

/* Questions */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; padding: 18px 22px; }
.faq summary { font-weight: 900; font-size: 20px; cursor: pointer; }
.faq details[open] summary { margin-bottom: 10px; }

/* A sample conversation */
.chat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 14px 18px; border: 3px solid var(--ink); border-radius: 16px; font-size: 17px; line-height: 1.45; background: var(--paper); }
.msg-user { align-self: flex-end; background: var(--yellow); border-bottom-right-radius: 4px; }
.msg-claude { align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 4px 4px 0 var(--ink); }

/* Footer */
.site-footer { padding: 32px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--muted); }
.site-footer strong { color: var(--ink); font-weight: 900; }

/* Steps of the funnel */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 800; }
.steps li { flex: 1 1 150px; border: 2px solid var(--line); color: var(--muted); padding: 8px 14px; border-radius: 6px; }
.steps li.done { border-color: var(--green); color: var(--green); }
.steps li.done::before { content: "✓ "; }
.steps li[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Pages with a main column and a side column */
.page { padding: 36px 0 80px; }
.columns { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.columns > .main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.columns > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 800; font-size: 16px; }
input[type=email], input[type=password], input[type=text], textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; }
textarea { min-height: 140px; font: 15px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--grey); resize: vertical; }
input[readonly] { background: var(--grey); font: 17px ui-monospace, SFMono-Regular, Menlo, monospace; }
.password-row { display: flex; gap: 8px; align-items: stretch; }
.password-row input { flex: 1 1 auto; width: auto; min-width: 0; }
.password-row .button { flex: none; }
.help { font-size: 15px; color: var(--muted); }
.errors { list-style: none; margin: 0; padding: 0; color: var(--red); font-weight: 700; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.check label { font-weight: 400; }
.flash { border: 3px solid var(--ink); border-radius: 10px; padding: 12px 16px; font-weight: 700; background: var(--cream); }
.flash.error { border-color: var(--red); color: var(--red-dark); background: var(--red-soft); }

/* Choosing a plan */
.plans { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.plans legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plan { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 3px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.plan:has(input:checked) { border-color: var(--ink); background: var(--cream); box-shadow: 6px 6px 0 var(--ink); }
.plan:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.plan-top { display: flex; align-items: center; gap: 12px; }
.plan-top input { width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.plan-top strong { flex-grow: 1; font-size: 20px; font-weight: 900; }
.plan-badge { background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 900; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; }
.plan-price { font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.plan-sub { font-size: 16px; color: var(--text-3); }

/* A badge that says what you pay once */
.seal { display: flex; gap: 14px; align-items: center; padding: 14px 16px; }
.seal-mark { flex: none; width: 66px; height: 66px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-weight: 900; font-size: 20px; }
.seal-mark small { font-size: 9px; font-weight: 800; letter-spacing: 0.02em; }

/* The side box listing what you get */
.summary { padding: 0; overflow: hidden; }
.summary > h2 { background: var(--ink); color: var(--paper); padding: 14px 20px; font-size: 18px; letter-spacing: 0; }
.summary > .ticks { padding: 18px 20px; font-size: 16px; gap: 10px; }
.summary > .ticks li::before { width: 20px; height: 20px; margin-top: 2px; }
.summary > footer { border-top: 2px solid var(--ink); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }

/* The connecting steps on the account page */
.task { display: flex; flex-direction: column; gap: 16px; }
.task-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.task-head h2 { font-size: 26px; flex-grow: 1; letter-spacing: -0.01em; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.copy-row > label { width: 72px; font-weight: 800; font-size: 15px; }
.copy-row input { flex: 1 1 260px; width: auto; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 2px solid currentColor; border-radius: 999px; padding: 8px 16px; font-size: 16px; font-weight: 700; }
.card-dark .help, .card-dark .muted { color: #ddd; }
.card-dark textarea { background: #1c1c1c; color: var(--paper); border-color: #555; }
.card-dark details summary { cursor: pointer; font-weight: 800; }
.card-dark a:not(.cta, .button, .app-link) { color: var(--yellow); }
.card-dark a:not(.cta, .button, .app-link):hover { color: var(--paper); }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
/* A button that leaves for Claude: yellow like every action on the site, our mark, an arrow and Claude's name large. */
.app-link { display: inline-flex; align-items: center; gap: 16px; align-self: flex-start; max-width: 100%; padding: 14px 28px 14px 20px; border: 3px solid var(--ink); border-radius: 12px; background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--ink); text-decoration: none; }
.app-link:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 4px 0 var(--ink); }
.app-link-from { flex: none; display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; }
.app-link-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.app-link-lead { font-size: 15px; font-weight: 600; }
.app-link-name { font-size: clamp(26px, 7vw, 32px); font-weight: 900; letter-spacing: -0.02em; }
.app-link-compact { gap: 10px; padding: 6px 16px 6px 12px; border-width: 2px; border-radius: 10px; background: var(--paper); box-shadow: none; }
.app-link-compact:hover { transform: none; box-shadow: none; }
.app-link-compact .app-link-from { font-size: 16px; }
.app-link-compact .app-link-from svg { width: 28px; height: 18px; }
.app-link-compact .app-link-text { flex-direction: row; align-items: baseline; gap: 5px; }
.app-link-compact .app-link-name { font-size: 17px; letter-spacing: 0; }
/* What happens after a click: Eerst, Dan, Klaar. Words, not numbers: the steps bar is the only numbering. */
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.flow li { flex: 1 1 180px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 10px; font-size: 15px; line-height: 1.35; }
.flow-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.next-hint { border: 2px dashed var(--line); border-radius: 12px; padding: 16px 22px; font-size: 16px; color: var(--muted); }
.next-hint strong { color: var(--ink); }
.done-line { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; border: 2px solid var(--green); background: var(--green-soft); border-radius: 10px; padding: 12px 18px; font-size: 16px; }
.done-line strong { color: var(--green); }
.divider-or { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.divider-or::before, .divider-or::after { content: ""; flex: 1 1 auto; height: 2px; background: var(--line-soft); }
.task-extras { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--line-soft); padding-top: 14px; }
.task-extras summary, .quiet summary { cursor: pointer; font-size: 16px; font-weight: 800; }
.task-extras details[open] > summary, .quiet[open] > summary { margin-bottom: 10px; }
.quiet { font-size: 16px; }
.nowrap { white-space: nowrap; }
.welcome { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.welcome > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.status-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--green); margin-right: 6px; }
.status-dot.off { background: transparent; border: 2px solid var(--muted); box-sizing: border-box; }

/* Payment result */
.result { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.pill { font-weight: 900; font-size: 15px; padding: 6px 12px; border-radius: 4px; text-transform: uppercase; background: var(--ink); color: var(--paper); }
.pill.ok { background: var(--green); }
.pill.bad { background: var(--red); }
.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: n; }
.numbered li { display: flex; gap: 14px; align-items: flex-start; counter-increment: n; }
.numbered li::before { content: counter(n); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 900; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; font-size: 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }

/* Payments table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--line-soft); }
th { font-size: 14px; color: var(--muted); }

/* Sign-in and consent: one card in the middle of a grey page */
body.auth { background: var(--grey); }
.auth-page { max-width: 500px; margin: 0 auto; padding: 48px 16px 80px; display: flex; flex-direction: column; gap: 24px; }
.auth-page .brand { margin: 0 auto; }
.auth-card { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.auth-card h1 { font-size: 32px; }
.auth-card .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.auth-card .actions > * { flex: 1 1 140px; }
.auth-card .actions > .button:first-child { flex-grow: 2; }
.auth-card dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 16px; }
.auth-card dt { color: var(--muted); }
.auth-card dd { margin: 0; font-weight: 700; word-break: break-all; }

/* Contact, privacy and the terms: a page of text */
.legal { margin: 0 auto; width: 100%; }
.legal h1 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 16px; }
.legal h2 { font-size: 22px; letter-spacing: -0.01em; margin: 32px 0 10px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .lead-left { font-size: 21px; line-height: 1.45; color: var(--text-2); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.legal th { font-size: 14px; color: var(--muted); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 16px 0 24px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
mark.todo { background: var(--red-soft); color: var(--red-dark); padding: 0 4px; border-radius: 4px; }
@media (max-width: 600px) {
    .legal table, .legal tbody, .legal tr, .legal td { display: block; }
    .legal thead { display: none; }
    .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
    .legal td { border: 0; padding: 2px 0; }
    .legal td:first-child { font-weight: 700; }
}
