/* lynctera.com home: the yellowbe.io chassis (same grid, type and section rhythm, 2026-09-23 design canvas)
   in Lynctera's colours, on every page. Brand blue #1e40af carries text and buttons; accent #258cfb is 3.3:1 on white,
   so it is only ever a square, a rule or an underline, never text. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/hanken-grotesk-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/source-serif-4-variable.woff2") format("woff2");
}

:root {
  --ground: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --navy-deep: #08234a;
  --slate: #475569;
  --body: #334155;
  --rule: #e2e8f0;
  --rule-dark: #2b4f86;
  --muted-dark: #94a3b8;
  --soft-dark: #cbd5e1;
  --blue: #1e40af;
  --accent: #258cfb;
  /* the logo's squares, given jobs (DESIGN_SYSTEM.md, "Brand mark colours"): blue = taken from a source, amber = the AI's own reading,
     green = a person's sign-off. The raw colours are marks only (bars, squares); text uses the -ink. */
  --navy: #0d3366;
  --navy-hover: #0a2a57;
  --src: #3b82f6;
  --src-ink: #1c4fae;
  --src-tint: #eaf1fe;
  --inf: #f39a1e;
  --inf-ink: #7a4105;
  --inf-tint: #fff5e6;
  --ok: #1b9872;
  --ok-ink: #0d6247;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; font-weight: 600; z-index: 20; }
.skip:focus { left: 16px; top: 8px; }

/* ---- header: ink on every page, as on yellowbe.io ---- */
.hdr { background: var(--navy); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.hdr .logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--soft-dark); text-decoration: none; }
.nav a:hover { color: #fff; }
.nav .btns { display: flex; gap: 12px; }
.nav .btn-blue, .nav .btn-blue:hover { color: #fff; }
.hdr .btn-line { color: #fff; box-shadow: inset 0 0 0 1px var(--muted-dark); }
.hdr .btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.hdr .nav .btn-blue { background: #fff; color: var(--navy); }
.hdr .nav .btn-blue:hover { background: var(--src-tint); color: var(--navy); }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .hdr .wrap { min-height: 64px; flex-wrap: wrap; }
  .hdr .logo img { height: 30px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: transparent; border: 0; color: #fff; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0 0 16px; }
  .nav.open { display: flex; }
  .nav a { min-height: 48px; display: flex; align-items: center; border-top: 1px solid var(--rule-dark); }
  .nav .btns { flex-direction: column; margin-top: 12px; }
  .nav .btns .btn { justify-content: center; border-top: 0; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 3px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn-blue { background: var(--navy); color: #fff; }
.btn-blue:hover { background: var(--navy-hover); color: #fff; }
.btn-big { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #eff6ff; color: var(--blue); }

/* ---- type ---- */
.label { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; }
h2.section { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; max-width: 820px; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--slate); margin: 0; max-width: 760px; }
.u { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; font-weight: 600; }
.brule { width: 96px; height: 4px; background: var(--accent); }

/* ---- hero ---- */
.hero { padding: 80px 0 64px; }
.hero .wrap { display: flex; flex-direction: column; gap: 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 12px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); list-style: none; font-size: 15px; font-weight: 500; color: var(--body); max-width: 760px; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { color: var(--blue); flex-shrink: 0; }

/* home hero: the headline beside an inbox item that shows its working, each reason tagged by kind */
.hero.home { padding: 72px 0 80px; }
.hero.home .wrap, .hero.eg .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.hero.home h1 { color: var(--navy); font-size: clamp(36px, 4.1vw, 56px); }
.hero.home .lede { max-width: 34em; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 32px; max-width: none; }
.today { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.today-card { background: var(--card); border: 1px solid #dde3ec; border-radius: 8px; padding: 26px 26px 22px; box-shadow: 0 36px 64px -36px rgb(12 49 101 / 0.45); font-size: 15px; }
.today-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--slate); margin-bottom: 12px; }
.today-top .eg { font-size: 12px; font-weight: 600; padding: 2px 10px; border: 1px solid var(--rule); border-radius: 999px; }
.today-subj { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.22; color: var(--navy); margin: 0 0 4px; text-wrap: balance; }
.today-from { margin: 0 0 20px; font-size: 14px; color: var(--slate); }
.reasons-h { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.reasons { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.reasons li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 9px 12px 9px 16px; border-radius: 4px; line-height: 1.4; color: var(--body); }
.reasons li::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; transform-origin: top; }
.reasons .k-src::before { background: var(--src); }
.reasons .k-inf { background: var(--inf-tint); color: #4a2804; }
.reasons .k-inf::before { background: var(--inf); }
.reasons .k-inf b { color: var(--inf-ink); font-weight: 600; }
.chip { font-size: 13px; font-weight: 500; color: var(--src-ink); background: var(--src-tint); border-radius: 3px; padding: 2px 8px; }
.today-act { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--rule); }
.today-act .draft { font-size: 14px; font-weight: 600; color: #fff; background: var(--navy); border-radius: 3px; padding: 8px 14px; }
.signoff { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ok-ink); }
.signoff::before, .key span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.signoff::before { background: var(--ok); }
/* the key repeats the logo's rounded squares, so the mark reads as the legend */
.key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--slate); padding-left: 2px; }
.key span { display: inline-flex; align-items: center; gap: 8px; }
.key .k-src::before { background: var(--src); }
.key .k-inf::before { background: var(--inf); }
.key .k-ok::before { background: var(--ok); }
/* the page's one orchestrated moment: the card shows its working line by line, once */
@media (prefers-reduced-motion: no-preference) {
  .reasons li, .today-act { animation: today-in 420ms cubic-bezier(.2, .7, .2, 1) both; }
  .reasons li::before { animation: today-bar 420ms cubic-bezier(.2, .7, .2, 1) both; }
  .reasons li:nth-child(1), .reasons li:nth-child(1)::before { animation-delay: 350ms; }
  .reasons li:nth-child(2), .reasons li:nth-child(2)::before { animation-delay: 550ms; }
  .reasons li:nth-child(3), .reasons li:nth-child(3)::before { animation-delay: 750ms; }
  .reasons li:nth-child(4), .reasons li:nth-child(4)::before { animation-delay: 1050ms; }
  .today-act { animation-delay: 1350ms; }
  @keyframes today-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  @keyframes today-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---- sections ---- */
section.block { padding: 0 0 88px; }
section.after-dark { padding-top: 88px; }
section.block > .wrap { display: flex; flex-direction: column; gap: 36px; }
.dark { background: var(--navy); color: #fff; }
.dark a { color: #fff; }
section.dark { padding: 88px 0; }
section.dark > .wrap { display: flex; flex-direction: column; gap: 40px; }
.head { display: flex; flex-direction: column; gap: 20px; }

/* the work: six numbered cards, the yellowbe.io "What we run" card at a third the size */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.work a, .work .card { text-decoration: none; padding: 28px 0 32px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; height: 100%; }
.work a:hover { color: var(--ink); }
.work a:hover h3 { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.work h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.work a > p, .work .card > p { margin: 0; font-size: 17px; color: var(--body); flex-grow: 1; }
.work .u { font-size: 15px; }
.foot-note { margin: 0; font-size: 15px; color: var(--slate); }
/* each card opens on a small specimen of what comes back, in the hero's legend: blue from a source,
   amber the AI's reading, green a person's mark. Decorative (the card text says it), so aria-hidden. */
.spec { height: 132px; background: var(--card); border: 1px solid #dde3ec; border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; gap: 7px; font-size: 13px; line-height: 1.3; color: var(--body); overflow: hidden; transition: border-color 160ms, box-shadow 160ms; }
.work a:hover .spec { border-color: #c3cfe0; box-shadow: 0 18px 32px -24px rgb(12 49 101 / 0.45); }
.spec p { margin: 0; }
.sp-row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 8px 4px 11px; border-radius: 3px; white-space: nowrap; }
.sp-row > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.sp-row::before, .sp-lines i::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; }
.sp-row.k-src::before { background: var(--src); }
.sp-row.k-inf { background: var(--inf-tint); color: #4a2804; }
.sp-row.k-inf::before { background: var(--inf); }
.sp-tag { flex-shrink: 0; font-size: 11.5px; font-weight: 500; color: var(--src-ink); background: var(--src-tint); border-radius: 3px; padding: 1px 6px; }
.sp-tag.inf { color: var(--inf-ink); background: #ffe9c7; }
.sp-q { font-weight: 600; color: var(--slate); }
.sp-a { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--navy); }
.sp-cites { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-lines { display: flex; flex-direction: column; gap: 6px; }
.sp-lines i { position: relative; display: block; height: 9px; margin-left: 0; padding-left: 10px; }
.sp-lines i::after { content: ""; display: block; height: 100%; border-radius: 2px; background: #e8edf4; }
.sp-lines i.short::after { width: 62%; }
.sp-lines i.k-src::before { background: var(--src); top: 0; bottom: 0; }
.sp-lines i.k-inf::before { background: var(--inf); top: 0; bottom: 0; }
.sp-lines i.k-inf::after { background: var(--inf-tint); }
.sp-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.sp-grid span { height: 12px; border-radius: 2px; background: #e8edf4; }
.sp-grid span.off { background: var(--inf); }
.sp-clause { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.sp-clause:last-child { border-bottom: 0; padding-bottom: 0; }
.sp-clause b { width: 38px; flex-shrink: 0; font-weight: 600; color: var(--slate); }
.sp-ok, .sp-inf { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sp-ok::before, .sp-inf::before { content: ""; width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.sp-ok::before { background: #cbd5e1; }
.sp-inf { color: var(--inf-ink); font-weight: 500; }
.sp-inf::before { background: var(--inf); }
.sp-votes { display: flex; gap: 6px; }
.sp-votes .v { width: 22px; height: 22px; border-radius: 4px; background: var(--ok); }
.sp-votes .v.no { background: transparent; border: 2px solid var(--ok); }

/* proof: the example answer card beside three live results */
.proof { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.example { background: var(--card); border: 1px solid var(--rule); border-radius: 6px; padding: 28px; box-shadow: 0 24px 48px -28px rgb(15 23 42 / 0.35); font-size: 15px; }
.example .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.example .kind { font-size: 14px; font-weight: 600; color: var(--slate); }
.example .eg { font-size: 12px; font-weight: 600; padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; color: var(--slate); }
.example .q { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.example .a { margin: 0 0 16px; color: var(--body); }
.cites { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cite { font-size: 13px; padding: 4px 10px; border-radius: 3px; background: var(--src-tint); color: var(--src-ink); font-weight: 500; }
.cite.more { background: var(--ground); color: var(--slate); }
.inference { position: relative; margin: 0 0 14px; padding: 10px 12px 10px 16px; border-radius: 4px; background: var(--inf-tint); color: #4a2804; line-height: 1.45; }
.inference::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: var(--inf); }
.inference b { color: var(--inf-ink); font-weight: 600; }
.results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.results li { padding: 26px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.results .who { font-size: 14px; font-weight: 600; color: var(--slate); padding-top: 4px; }
.results b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 6px; }
.results span { color: var(--body); }

/* governance: two columns of checks on ink, the yellowbe.io "Why it holds up" block */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--rule-dark); }
.checks svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.checks b { display: block; font-size: 20px; font-weight: 600; }
.checks span { display: block; font-size: 17px; color: var(--muted-dark); margin-top: 4px; }

/* how we start: the yellowbe.io Geneva "Moving to the service" steps, on light */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 3px solid var(--accent); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.steps b { font-size: 22px; font-weight: 600; }
.steps span { font-size: 17px; color: var(--body); }

/* who stands behind it */
section.block > .wrap.behind { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.behind .head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -0.01em; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.facts b { display: block; font-size: 19px; font-weight: 600; }
.facts span { display: block; color: var(--body); margin-top: 2px; }
.facts .u { display: inline-block; margin-top: 10px; font-size: 15px; }

/* close */
.close { background: var(--blue); color: #fff; padding: 80px 0; }
.close .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.close h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.close p { margin: 0; font-size: 19px; color: #dbeafe; max-width: 620px; }

/* ---- footer ---- */
.ftr { background: var(--navy-deep); color: var(--muted-dark); font-size: 14px; padding: 48px 0; }
.ftr .wrap { display: flex; flex-direction: column; gap: 28px; }
.ftr .row1 { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ftr .id { display: flex; flex-direction: column; gap: 6px; }
.ftr .logo img { height: 28px; width: auto; margin-bottom: 10px; }
.ftr .pay { font-family: var(--serif); font-size: 22px; color: #fff; }
.ftr .by { color: var(--soft-dark); }
.ftr .by a { color: #fff; }
.ftr nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ftr .ftr-work { gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.ftr a { color: var(--soft-dark); }
.ftr .legal { margin: 0; font-size: 13px; line-height: 1.6; max-width: 900px; }

/* ---- /work/* pages ---- */
.hero.page { padding: 72px 0 56px; }
.hero.page h1 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; max-width: 960px; }
.trust a { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.proofline { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 24px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--ink); max-width: 820px; }
.proofline .who { grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--slate); padding-top: 6px; }
.proofline b { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.proofline span:last-child { color: var(--body); }
.uses { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.pills li { font-size: 15px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--ink); border-radius: 999px; }
/* common questions: the .changes rows, two to a line; the same text is the page's FAQPage data */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--ink); }
.faq .qa { padding: 26px 0; border-bottom: 1px solid var(--rule); }
.faq h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 8px; }
.faq p { margin: 0; color: var(--body); }

/* ---- home: "your own process" band ---- */
.ownband { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: end; padding: 40px; background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; text-decoration: none; }
.ownband:hover { border-color: var(--ink); border-top-color: var(--accent); color: var(--ink); }
.ownband p { margin: 0; font-size: 18px; color: var(--body); }
.ownband .u { display: inline-block; margin-top: 12px; color: var(--ink); }

/* ---- /about ---- */
.prose-block p { margin: 0 0 16px; font-size: 19px; color: var(--body); max-width: 620px; }
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.people a { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--rule); text-decoration: none; height: 100%; }
.people a:hover b { color: var(--blue); }
.people b { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.people span { font-size: 14px; font-weight: 600; color: var(--slate); }

/* ---- /contact ---- */
.split.contact { align-items: start; }
.formcard { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 36px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 3px; padding: 12px 14px; min-height: 48px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.form .hint, .formcard .hint { font-size: 14px; font-weight: 400; color: var(--slate); margin: 0; }
.form .error { margin: 0; padding: 12px 14px; border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; border-radius: 3px; font-size: 15px; }
.form .error a { color: #991b1b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.thanks p { margin: 0; color: var(--body); }
.thanks:focus { outline: none; }

/* ---- consent bar and footer cookie settings (as on yellowbe.io) ---- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; max-width: 760px; margin: 0 auto; background: var(--navy); color: #fff; border-radius: 4px; padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45); }
.consent p { margin: 0; flex: 1 1 320px; font-size: 15px; line-height: 1.5; color: var(--soft-dark); }
.consent p a { color: #fff; }
.consent .actions { display: flex; gap: 12px; }
.consent .btn-blue { background: #fff; color: var(--navy); }
.consent .btn-blue:hover { background: var(--src-tint); color: var(--navy); }
.consent .btn-line, .consent .btn-line:hover { color: #fff; box-shadow: none; }
.consent .btn-line:hover { text-decoration: underline; }
button.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--soft-dark); text-decoration: underline; cursor: pointer; }

/* ---- legal and support pages (main.doc) ---- */
.doc { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) 88px; }
.doc h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.05; margin-bottom: 18px; }
.doc .meta { font-size: 16px; color: var(--slate); margin: 0 0 40px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.doc h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; margin: 48px 0 12px; }
.doc h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 20px; }
.doc a { color: var(--blue); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.doc th, .doc td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { font-size: 14px; font-weight: 600; color: var(--slate); border-bottom-color: var(--ink); }
.doc .note { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--accent); border-radius: 4px; padding: 16px 18px; color: var(--body); }
.doc .contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 16px; }
.doc .card { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 28px; }
.doc .card h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 10px; }
.doc .card p { margin: 0; }
.doc .tbl { overflow-x: auto; margin: 16px 0; }
.doc .tbl table { margin: 0; min-width: 520px; }
.doc td.num, .doc th.num { text-align: right; padding-left: 12px; padding-right: 16px; white-space: nowrap; }
.doc td.num:last-child, .doc th.num:last-child { padding-right: 0; }

/* ---- /models: the tier split, generated by scripts/gen-www-models.js ---- */
.doc .asof { font-size: 15px; color: var(--slate); }
.doc .tiers { display: grid; gap: 16px; margin: 20px 0 8px; }
.doc .tier { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 20px 22px; }
.doc .tier h3 { margin: 0; }
.doc .tier-what { margin: 2px 0 14px; font-size: 15px; color: var(--slate); }
.doc .tier-row { display: grid; grid-template-columns: 130px 1fr 92px; align-items: center; gap: 12px; margin: 6px 0 0; font-size: 15px; }
.doc .tier-k { color: var(--slate); }
.doc .tier-row b { text-align: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.doc .bar { display: block; height: 10px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.doc .bar > span { display: block; height: 100%; background: var(--navy); }

/* ---- /news ---- */
.doc .posts { list-style: none; padding: 0; margin: 0; }
.doc .posts li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.doc .posts li:first-child { padding-top: 0; }
.doc .posts h2 { font-size: 24px; margin: 4px 0 6px; }
.doc .posts h2 a { color: var(--ink); text-decoration: none; }
.doc .posts h2 a:hover { color: var(--blue); }
.doc .posts p { margin: 0; }
.doc time, .doc .posted { font-size: 14px; color: var(--slate); }
.doc .crumb { font-size: 14px; margin: 0 0 12px; }

/* news figures: an SVG with a narrow variant for phones, a numbered flow, and a chain of states */
.doc .fig { margin: 32px 0 36px; }
.doc .fig svg { display: block; width: 100%; height: auto; }
.doc .fig svg.narrow { display: none; max-width: 420px; }
.doc .fig figcaption { margin-top: 12px; font-size: 14px; color: var(--slate); }
.doc ol.flow { list-style: none; counter-reset: flow; padding: 0; margin: 16px 0 8px; display: grid; gap: 10px; }
.doc ol.flow li { counter-increment: flow; position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 14px 18px 14px 58px; }
.doc ol.flow li::before { content: counter(flow); position: absolute; left: 18px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; line-height: 26px; text-align: center; }
.doc ol.flow b { display: block; color: var(--ink); }
.doc ol.flow span { display: block; font-size: 15px; color: var(--body); }
.doc ol.chain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.doc ol.chain li { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 14px; font-size: 15px; color: var(--ink); }
.doc ol.chain li:not(:last-child)::after { content: ""; position: absolute; right: -21px; top: 50%; width: 12px; height: 1.5px; background: var(--slate); }
.doc ol.chain li:not(:last-child)::before { content: ""; position: absolute; right: -22px; top: calc(50% - 4.5px); border: 4.5px solid transparent; border-left: 6px solid var(--slate); border-right: 0; }
.doc ol.chain li.stop { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }

@media (max-width: 860px) {
  .doc { padding: 56px var(--gutter) 64px; }
  .doc .contact { grid-template-columns: 1fr; }
  .doc table { font-size: 14px; }
  .doc .tier-row { grid-template-columns: 1fr 76px; }
  .doc .tier-row .bar { grid-column: 1 / -1; grid-row: 2; }
}

/* ---- responsive ---- */
@media (max-width: 960px) {
  .work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof, section.block > .wrap.behind { grid-template-columns: 1fr; gap: 40px; }
  /* one column: the example follows the button, ahead of the assurance list or proof line, so a phone reaches it on the first screen */
  .hero.home .wrap, .hero.eg .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  .hero.home .hero-copy, .hero.eg .hero-copy { display: contents; }
  .hero-copy > .trust, .hero-copy > .proofline { order: 1; }
  .today { max-width: 560px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 56px; }
  .hero.home { padding: 48px 0 64px; }
  .today-card { padding: 20px 18px 18px; }
  .today-subj { font-size: 20px; }
  section.block { padding-bottom: 64px; }
  section.dark, .close { padding: 64px 0; }
  section.after-dark { padding-top: 64px; }
  .work, .checks, .steps, .faq { grid-template-columns: 1fr; }
  .work a, .work .card { padding: 20px 0 24px; }
  .steps { gap: 32px; }
  .results li { grid-template-columns: 1fr; gap: 6px; }
  .proofline { grid-template-columns: 1fr; }
  .proofline .who { grid-row: auto; }
  .ftr nav a { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 640px) {
  .doc .fig svg.wide { display: none; }
  .doc .fig svg.narrow { display: block; }
  .doc ol.chain { flex-direction: column; align-items: flex-start; gap: 22px; }
  .doc ol.chain li:not(:last-child)::after { right: auto; left: 22px; top: auto; bottom: -17px; width: 1.5px; height: 12px; }
  .doc ol.chain li:not(:last-child)::before { right: auto; left: 18.5px; top: auto; bottom: -22px; border: 4.5px solid transparent; border-top: 6px solid var(--slate); border-bottom: 0; }
}
@media (max-width: 520px) {
  .hdr .logo img { height: 30px; }
  .hero .cta .btn { width: 100%; }
  .hero-copy .trust { grid-template-columns: minmax(0, 1fr); }
  /* consent: a bar along the bottom edge, not a card over a third of the screen */
  .consent { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); gap: 12px; }
  .consent p { flex-basis: 100%; font-size: 14px; line-height: 1.45; }
  .consent .actions { width: 100%; }
  .consent .actions .btn { flex: 1; }
}

/* ---- proposal/ page ---- */
/* what changes: one outcome per row, the claim in serif, the mechanism beneath */
.changes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.changes li { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.changes b { display: block; font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.changes span { display: block; color: var(--body); margin-top: 8px; max-width: 720px; }
.split, section.block > .wrap.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.dark .foot-note { color: var(--muted-dark); }

/* sector cards: who, the job, what changes */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.sectors li { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.sectors .who { font-size: 14px; font-weight: 600; color: var(--slate); }
.sectors h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.sectors p { margin: 0; color: var(--body); flex-grow: 1; }
.sectors .fig { font-size: 14px; font-weight: 600; color: var(--blue); }

.owed { border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.owed div { display: flex; justify-content: space-between; gap: 16px; }
.owed b { font-weight: 600; }
.owed span { color: var(--slate); white-space: nowrap; }
.dark .checks.one { grid-template-columns: 1fr; }
.quote { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.25; letter-spacing: -0.01em; margin: 0; max-width: 900px; }

@media (max-width: 960px) {
  .split, section.block > .wrap.split { grid-template-columns: 1fr; gap: 40px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ownband { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .formcard { padding: 24px; }
}
@media (max-width: 860px) {
  .sectors { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
}

/* Last on purpose: (0,2,0) specificity and final source order, so it beats the single-class display
   rules (.form, .consent) that otherwise override the hidden attribute. until-found keeps its content. */
[hidden]:not([hidden="until-found"]) { display: none; }
