/* The Clarity Lanes poster look, shared by the gateway and the three industry sites (it began as the campaigns
   site). Condensed capitals (Anton) for headlines; the app's own Inter for everything else. Newsprint cream,
   the app's navy, burnt orange, deep teal, the app's star gold, and the app's red / yellow / green score colours
   as small accents. Hard offset shadows on slightly rounded corners; no stars; nothing tilted but the campaigns seal.
   Each site's stylesheet (politics.css, business.css, agency.css, gate.css) adds only its own sections. */

:root {
  --cream: #f5efe2;
  --cream-2: #ebe1ca;
  --paper: #fffcf5;
  --navy: #13214a;
  --navy-2: #1a2f5c;
  --accent: #c94c16;
  --accent-2: #a83c0f;
  --teal: #0f7c7a;
  --gold: #f4b400;
  --low: #e67c73;
  --mid: #ffd666;
  --high: #57bb8a;
  --muted: #4a5578;
  --bw: 3px;
  --line: var(--bw) solid var(--navy);
  --r: 8px;
  --r-sm: 6px;
  --pad: clamp(16px, 4.5vw, 72px);
  --poster: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

body { background: var(--cream); color: var(--navy); font: 500 17px/1.55 var(--body); font-feature-settings: "cv11", "ss01"; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 4px solid var(--gold); outline-offset: 3px; }
h2 { font: 400 clamp(44px, 6.2vw, 112px)/.92 var(--poster); text-transform: uppercase; letter-spacing: .004em; }
.cl-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 700 13.5px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.cl-kicker::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-radius: 2px; background: var(--accent); }
.cl-lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; max-width: 46ch; }

/* Dark bands: navy, teal and orange sections share these. */
.cl-dark { color: var(--cream); }
.cl-dark h2 { color: var(--paper); }
.cl-dark .cl-kicker::before { background: var(--gold); }
.cl-dark .cl-lead { color: rgba(245, 239, 226, .88); }

/* ---------- Buttons ---------- */
.cl-btn { padding: 15px 24px; border: var(--line); border-radius: var(--r); font: 800 16px/1 var(--body); text-transform: uppercase; letter-spacing: .05em; box-shadow: 4px 4px 0 var(--navy); transition: transform .15s ease, box-shadow .15s ease; }
.cl-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--navy); }
.cl-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.cl-btn-accent, .cl-quote-btn, .cl-services .cl-btn { background: var(--accent); color: var(--paper); }
.cl-btn-line { background: var(--paper); color: var(--navy); }
.cl-btn-sm { padding: 10px 15px; font-size: 13.5px; box-shadow: 3px 3px 0 var(--navy); }
.cl-btn-xl { padding: 20px 30px; font-size: 18px; }
/* The last line of a hero headline, set on an orange block. */
.cl-mark { margin-top: .16em; line-height: 1.24; }
.cl-mark span { display: inline; padding: 0 .14em; background: var(--accent); color: var(--paper); border-radius: 6px; box-shadow: 6px 6px 0 var(--navy); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cl-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* ---------- Header and the strip above it ---------- */
.cl-switch { background: var(--navy); color: var(--cream); }
.cl-switch .cl-others a { color: var(--gold); }
.cl-top { padding: 12px var(--pad); background: var(--cream); border-bottom: var(--line); }
.cl-brand img { width: 50px; height: auto; }
.cl-brand span { font: 500 21px/1 "Lexend", var(--body); letter-spacing: -.005em; color: var(--navy); }
/* The menu sits on the same baseline as the name beside the icon (Lexend 21px vs Inter 13px capitals): the
   hover underline's border is matched by one on top, and the row is nudged down to the name's baseline. */
.cl-links { margin-top: 5px; }
.cl-links a { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; padding: 6px 0; border-block: 3px solid transparent; }
.cl-links a:hover { border-bottom-color: var(--accent); }
.cl-langs { border: var(--line); border-radius: var(--r-sm); background: var(--paper); }
.cl-langs button { font: 800 13px var(--body); letter-spacing: .06em; color: var(--navy); }
.cl-langs button[aria-pressed="true"] { background: var(--navy); color: var(--gold); }
.cl-signin { font-weight: 700; font-size: 15px; }

/* ---------- Screenshot frames ---------- */
.cl-frame { border: var(--line); border-radius: var(--r); background: var(--paper); }
.cl-bar { background: var(--cream-2); border-bottom: var(--line); }
.cl-bar i { border: 2px solid var(--navy); }
.cl-bar i:nth-child(1) { background: var(--low); }
.cl-bar i:nth-child(2) { background: var(--mid); }
.cl-bar i:nth-child(3) { background: var(--high); }
.cl-bar span { background: var(--paper); border: 2px solid var(--navy); color: var(--navy); }
.cl-phone { border: var(--line); border-radius: 26px; background: var(--paper); }
/* A screenshot pinned to a navy board, as in every hero. */
.cl-board { position: relative; padding: clamp(12px, 1.4vw, 20px); background: var(--navy); border: var(--line); border-radius: calc(var(--r) + 4px); box-shadow: 10px 10px 0 var(--accent); }
.cl-board .cl-frame { border-color: var(--paper); }

/* ---------- Building blocks every site uses ---------- */
/* A ballot: a paper card with a ticked box. */
.cl-ballots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cl-ballots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-ballots.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-ballot { position: relative; padding: 20px 20px 22px; background: var(--paper); color: var(--navy); border: var(--line); border-radius: var(--r); box-shadow: 4px 4px 0 var(--navy); }
.cl-box { display: grid; place-items: center; width: 38px; height: 38px; border: var(--line); border-radius: var(--r-sm); background: var(--paper); color: transparent; }
.cl-box svg { width: 24px; height: 24px; }
.cl-box.on { color: var(--accent); }
.cl-ballot .cl-box { margin-bottom: 14px; }
.cl-ballot h3, .cl-card h3 { font: 400 26px/1.02 var(--poster); text-transform: uppercase; margin-bottom: 8px; }
.cl-ballot p { font-size: 15.5px; line-height: 1.5; }
/* A numbered card. */
.cl-cards { display: grid; gap: 14px; }
.cl-card { position: relative; padding: 18px 20px 18px 78px; background: var(--paper); color: var(--navy); border: var(--line); border-radius: var(--r); box-shadow: 4px 4px 0 var(--navy); }
.cl-card p { font-size: 16px; }
.cl-num { display: grid; place-items: center; width: 44px; height: 44px; background: var(--accent); color: var(--paper); border: var(--line); border-radius: var(--r-sm); font: 400 25px/1 var(--poster); }
.cl-card .cl-num { position: absolute; left: 18px; top: 16px; }
/* A tag: a gold label with a navy edge. */
.cl-tag { display: inline-block; padding: 5px 10px; background: var(--gold); color: var(--navy); border-radius: 4px; font: 800 12px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Numbers: the results board ---------- */
.cl-stats { padding: clamp(70px, 9vw, 140px) var(--pad); }
.cl-stats ul { background: var(--navy); border: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 8px 8px 0 var(--accent); }
.cl-stat { padding: clamp(22px, 3vw, 44px); border-right: 2px solid rgba(245, 239, 226, .18); border-bottom: 2px solid rgba(245, 239, 226, .18); color: var(--cream); }
.cl-stat b { font: 400 clamp(56px, 6.6vw, 112px)/.9 var(--poster); color: var(--gold); letter-spacing: .01em; }
.cl-stat span { margin-top: 12px; font: 700 13.5px/1.4 var(--body); text-transform: uppercase; letter-spacing: .1em; }
.cl-source { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- Services ---------- */
.cl-services { padding: clamp(40px, 5vw, 80px) var(--pad) clamp(70px, 9vw, 140px); }
.cl-services h2 { margin-bottom: 18px; }
.cl-statement { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 600; max-width: 44ch; margin-bottom: clamp(30px, 4vw, 52px); }
.cl-svc-grid { gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(34px, 4vw, 60px); }
.cl-svc { position: relative; padding: clamp(26px, 3vw, 44px); border: var(--line); border-radius: var(--r); box-shadow: 6px 6px 0 var(--navy); }
.cl-svc-1 { background: var(--accent); color: var(--paper); }
.cl-svc-2 { background: var(--paper); }
.cl-svc-num { display: inline-block; margin-bottom: 16px; padding: 4px 12px; background: var(--gold); color: var(--navy); border-radius: 4px; font: 800 14px var(--body); letter-spacing: .1em; }
.cl-svc h3 { font: 400 clamp(34px, 3.4vw, 58px)/.96 var(--poster); text-transform: uppercase; margin-bottom: 14px; }
.cl-svc p { font-size: 18px; max-width: 44ch; }

/* ---------- Countries: one compact block ---------- */
.cl-countries { padding: clamp(48px, 6vw, 84px) var(--pad); background: var(--cream-2); border-block: var(--line); }
.cl-countries h2 { font-size: clamp(32px, 3.6vw, 56px); max-width: 22ch; margin-bottom: clamp(20px, 3vw, 34px); }
.cl-continent-grid { gap: 18px 28px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, .7fr); }
@media (max-width: 1180px) { .cl-continent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cl-continent-grid { grid-template-columns: 1fr; } }
.cl-continent h3 { margin-bottom: 8px; font: 700 12.5px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cl-continent ul { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.cl-continent li { gap: 8px; padding: 6px 10px 6px 8px; background: var(--paper); border: 2px solid var(--navy); border-radius: var(--r-sm); font-size: 15px; font-weight: 600; }
.cl-continent .fi { width: 22px; height: 16px; border-radius: 2px; }
.cl-continent li.here { background: var(--navy); color: var(--paper); }

/* ---------- A free offer, in the middle of a page ---------- */
.cl-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(28px, 4vw, 64px); align-items: center; margin: 0 var(--pad) clamp(70px, 9vw, 120px); padding: clamp(24px, 3.4vw, 48px); background: var(--paper); border: var(--line); border-radius: var(--r); box-shadow: 8px 8px 0 var(--accent); }
.cl-offer .cl-tag { margin-bottom: 14px; }
.cl-offer h2 { font-size: clamp(36px, 4.2vw, 72px); max-width: 18ch; }
.cl-offer .cl-lead { margin-top: 14px; max-width: 60ch; }

/* ---------- Confidential by default ---------- */
.cl-confidential { padding: clamp(70px, 9vw, 130px) var(--pad); background: var(--navy); }
.cl-confidential h2 { max-width: 14ch; }
.cl-confidential .cl-lead { margin: 22px 0 clamp(30px, 4vw, 52px); max-width: 60ch; }
.cl-confidential .cl-box.on { color: var(--teal); }
.cl-private { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.cl-private svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Quote ---------- */
.cl-quote { gap: clamp(28px, 4vw, 64px); padding: clamp(70px, 9vw, 140px) var(--pad); background: var(--accent); color: var(--paper); }
.cl-quote .cl-kicker::before { background: var(--gold); }
.cl-quote h2 { font-size: clamp(52px, 6.6vw, 124px); max-width: 10ch; }
.cl-quote .cl-lead { margin-top: 24px; }
.cl-mail { margin-top: 26px; font-size: 15px; opacity: .92; }
.cl-mail a { color: var(--paper); font-weight: 800; }
.cl-form { padding: clamp(22px, 3vw, 36px); background: var(--paper); color: var(--navy); border: var(--line); border-radius: var(--r); box-shadow: 8px 8px 0 var(--navy); }
.cl-form label span { font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .12em; }
.cl-form input, .cl-form select, .cl-form textarea { border: var(--line); border-radius: var(--r-sm); background-color: #fff; font: 500 17px var(--body); color: var(--navy); }
.cl-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2313214a' stroke-width='2.5'/%3E%3C/svg%3E"); }
.cl-form.tried input:invalid { border-color: var(--accent); background: #fff1e8; }
.cl-form .cl-btn { background: var(--navy); color: var(--gold); }
.cl-form .cl-btn:disabled { opacity: .7; cursor: wait; }
.cl-form-error { padding: 10px 12px; background: #fff1e8; border: 2px solid var(--accent); border-radius: var(--r-sm); font-weight: 700; color: var(--accent-2); }
.cl-next { margin-top: 28px; }
.cl-next > p { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.cl-next ol { display: grid; gap: 10px; }
.cl-next li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; font-weight: 600; }
.cl-next b { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; background: var(--paper); color: var(--accent); border-radius: 50%; font: 400 17px/1 var(--poster); }
.cl-quote-copy > .cl-btn { margin-top: 26px; }
.cl-done { padding: clamp(22px, 3vw, 36px); background: var(--paper); color: var(--navy); border: var(--line); border-radius: var(--r); box-shadow: 8px 8px 0 var(--navy); }
.cl-done h3 { font: 400 clamp(28px, 3vw, 44px)/1 var(--poster); text-transform: uppercase; margin-bottom: 10px; }
.cl-done pre { margin: 16px 0; padding: 14px; max-height: 260px; overflow: auto; background: #fff; border: 2px solid var(--navy); border-radius: var(--r-sm); font: 500 14px/1.5 var(--body); white-space: pre-wrap; }
.cl-done-note { margin-bottom: 12px; font-weight: 700; color: var(--accent-2); }

/* ---------- Footer ---------- */
.cl-foot { padding: clamp(48px, 6vw, 80px) var(--pad) 28px; background: var(--navy); color: var(--cream); border-top: 8px solid var(--gold); }
.cl-foot-logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #fff; text-decoration: none; }
.cl-foot-logo img { width: 64px; height: auto; }
.cl-foot-logo b { font: 500 26px/1 "Lexend", var(--body); letter-spacing: -.005em; }
.cl-foot-brand p { margin-top: 16px; max-width: 30ch; font-size: 16px; line-height: 1.5; color: rgba(245, 239, 226, .75); }
.cl-foot-col h2 { margin-bottom: 4px; font: 700 12px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cl-foot-col a { color: var(--paper); font-weight: 600; font-size: 15px; }
.cl-foot-mail { overflow-wrap: anywhere; }
.cl-foot address { font-size: 15px; line-height: 1.55; color: rgba(245, 239, 226, .85); }
.cl-foot address b { font-weight: 600; color: var(--paper); }
.cl-foot-bottom { margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid rgba(245, 239, 226, .18); font-size: 13px; color: rgba(245, 239, 226, .6); }
.cl-legal a { color: rgba(245, 239, 226, .85); text-decoration: none; }
.cl-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Consent for Facebook's pixel ---------- */
.cl-consent { position: fixed; z-index: 200; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; max-width: 760px; margin: 0 auto; padding: 16px 18px; background: var(--paper); color: var(--navy); border: var(--line); border-radius: var(--r); box-shadow: 6px 6px 0 var(--navy); font-size: 15px; }
.cl-consent div { display: flex; gap: 10px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1180px) {
  .cl-ballots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Below this the section menu no longer fits on one row beside the name and buttons: it goes, as on phones. */
@media (max-width: 1180px) {
  .cl-links { display: none; }
}
@media (max-width: 900px) {
  .cl-ballots.three, .cl-ballots.two { grid-template-columns: 1fr; }
  .cl-offer { grid-template-columns: 1fr; }
  .cl-stat { border-right: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cl-top { gap: 10px; padding-block: 10px; }
  .cl-brand img { width: 42px; }
  .cl-brand span { font-size: 18px; }
  /* With a language toggle there is no room for the name beside the icon: the icon alone stays. */
  .cl-top:has(.cl-langs) .cl-brand span { display: none; }
  .cl-langs button { padding: 7px 9px; }
  .cl-top .cl-btn-sm { padding: 9px 11px; font-size: 12px; letter-spacing: .03em; }
  .cl-ballots { grid-template-columns: 1fr; }
  .cl-btn-xl { padding: 18px 22px; font-size: 16px; white-space: normal; }
}

/* ---------- Privacy and terms ---------- */
.cl-legal-page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 90px) var(--pad) clamp(60px, 8vw, 120px); }
.cl-legal-page h1 { font: 400 clamp(48px, 6vw, 96px)/.92 var(--poster); text-transform: uppercase; }
.cl-legal-updated { margin: 14px 0 clamp(28px, 4vw, 48px); color: var(--muted); font-size: 15px; }
.cl-legal-page section { padding: 22px 0; border-top: 2px dashed rgba(19, 33, 74, .2); }
.cl-legal-page h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 10px; }
.cl-legal-page p, .cl-legal-page li { font-size: 17px; line-height: 1.6; max-width: 68ch; }
.cl-legal-page p + p, .cl-legal-page ul + p, .cl-legal-page p + ul { margin-top: 10px; }
.cl-legal-page ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

/* Accented capitals (É, Ä, Ü…) need more room than Anton's tight line height leaves: French and German headlines. */
html[lang^="fr"] :is(h1, h2, h3, .cl-statement, .pol-tab-name),
html[lang^="de"] :is(h1, h2, h3, .cl-statement, .pol-tab-name) { line-height: 1.02; }

/* Chinese: Anton has no Chinese characters, so headlines use the system's heaviest Chinese face, with room to
   breathe (Latin letters and figures inside them stay in Anton; no fake bold for Anton). */
html[lang^="zh"] { --poster: "Anton", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang^="zh"] :is(h1, h2, h3, .cl-statement, .pol-tab-name, .cl-stat b) { font-weight: 800; font-synthesis: none; line-height: 1.12; letter-spacing: .02em; }
