/* Design tokens, the same values as the company site. Every text colour is used only on the
   backgrounds it was measured against. */
:root {
  --navy-950: #0a1724;
  --navy-900: #0c1b2a;
  --navy-800: #102436;
  --navy-700: #16304a;
  --ink-dark: #eaf1f8;
  --soft-dark: #c9d6e3;
  --muted-dark: #9fb0c2;
  --light-100: #f4f7fa;
  --light-200: #e6ebf0;
  --white: #ffffff;
  --ink-light: #0c1b2a;
  --body-light: #2c3d50;
  --muted-light: #4a5b6e;
  --accent: #ff5c1a;
  --accent-soft: #ff8a4c;
  --accent-button: #d64000;
  --accent-text-light: #b83a02;
  --teal: #12b8a0;
  --teal-text-light: #0b6b5d;
  --teal-wash: #e3f4f1;
  --line-dark: #2b4660;
  --line-light: #c9d4df;
  --field-edge: #6a7d91;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --radius-xl: 40px;
  --max: 1220px;
  --gutter: 20px;
  --font: Manrope, Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

@media (min-width: 380px) {
  :root { --gutter: 24px; }
}
@media (min-width: 760px) {
  :root { --gutter: 40px; }
}
@media (min-width: 900px) {
  :root { --gutter: 64px; }
}

/* The typeface of the company site, served from this folder. */
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url("/geo-koll/assets/fonts/manrope-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url("/geo-koll/assets/fonts/manrope-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url("/geo-koll/assets/fonts/manrope-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url("/geo-koll/assets/fonts/manrope-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url("/geo-koll/assets/fonts/manrope-ext-800.woff2") format("woff2"); unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+2113, U+2C60-2C7F, U+A720-A7FF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--navy-900);
  color: var(--ink-dark);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(2.125rem, 5.4vw, 4rem); letter-spacing: -0.045em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
/* Long compound words must break inside narrow screens instead of widening the page. */
h1, h2, h3, p, li, dt, dd, summary, button, label, td, th, figcaption { overflow-wrap: anywhere; }
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -4rem; background: var(--white);
  color: var(--ink-light); padding: 0.6rem 1rem; border-radius: var(--radius-s); z-index: 10;
}
.skip:focus { top: 0.5rem; }
.eyebrow {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 800;
  margin: 0 0 18px;
}
.band-dark .eyebrow { color: var(--accent-soft); }
.band-light .eyebrow, .card .eyebrow { color: var(--accent-text-light); }

/* Native controls on light surfaces are drawn light, so an unticked box never looks ticked. */
.band-light, .card, .preview, .engine { color-scheme: light; }

/* Bands */
.band-dark { background: var(--navy-900); color: var(--ink-dark); }
.band-dark .muted { color: var(--muted-dark); }
.band-light { background: var(--light-100); color: var(--ink-light); }
.band-light .muted { color: var(--muted-light); }
.band-light a:not(.btn) { color: var(--accent-text-light); }
.band-dark a:not(.btn) { color: var(--accent-soft); }
.band { padding-block: clamp(40px, 7vw, 88px); }
.glow { background-image: radial-gradient(ellipse at 88% 8%, rgb(255 92 26 / 10%), transparent 52%); }
/* The footer stays below the first screen while a view loads, so it never jumps when the view arrives. */
main { min-height: 100vh; display: flex; flex-direction: column; }
main > * { flex: none; }
main > .fill { flex: 1 0 auto; }
[tabindex="-1"]:focus,
.band-dark [tabindex="-1"]:focus-visible,
.band-light [tabindex="-1"]:focus-visible { outline: none; }
.band-dark :focus-visible, .top :focus-visible, .foot :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.band-light :focus-visible { outline: 3px solid var(--accent-text-light); outline-offset: 3px; }

/* Header and footer, the same shape as on the company site */
.top { background: rgb(12 27 42 / 97%); border-bottom: 1px solid rgb(255 255 255 / 12%); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; min-height: 72px; padding-block: 10px; }
.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { width: 160px; height: 31px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 0.9375rem; }
.nav a { text-decoration: none; color: var(--soft-dark); font-weight: 600; }
.nav a:hover { color: var(--white); text-decoration: underline; }
.nav .lang { font-size: 0.8125rem; font-weight: 700; color: var(--soft-dark); text-decoration: none; border: 1px solid #35485b; border-radius: 999px; padding: 6px 11px; min-height: 32px; }
.nav .lang:hover { color: var(--white); border-color: var(--muted-dark); }
@media (max-width: 599px) {
  .nav { gap: 6px 8px; }
  .nav .lang { padding: 5px 9px; }
}
.tools { background: var(--navy-950); }
.tools .wrap { display: flex; flex-wrap: wrap; gap: 6px; padding-block: 10px; }
.tools a { padding: 8px 16px; border-radius: 999px; color: var(--soft-dark); font-weight: 700; font-size: 0.875rem; text-decoration: none; }
.tools a:hover { color: var(--white); text-decoration: underline; }
.tools a[aria-current="page"] { background: var(--ink-dark); color: var(--ink-light); font-weight: 800; }
.tools a[aria-current="page"]:hover { text-decoration: none; }
.pill {
  align-items: center; justify-content: center; min-height: 44px; padding: 0.45rem 1.15rem;
  border-radius: 999px; background: var(--accent-button); color: #fff; font-weight: 800; font-size: 0.9375rem;
  text-decoration: none; white-space: nowrap;
}
.top a.pill, .top a.pill:hover { color: #fff; text-decoration: none; }
.pill:hover { background: #bd3900; }
.top .nav-cta { display: none; }
@media (min-width: 1000px) {

  .top .nav-cta { display: inline-flex; }
}
.foot { padding-block: 44px 28px; font-size: 0.9375rem; border-top: 1px solid rgb(255 255 255 / 12%); color: var(--muted-dark); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot .brand img { width: 140px; height: 27px; }
.foot .wrap { align-items: flex-start; }
.foot-company { display: grid; gap: 4px; margin-right: auto; }
.foot-company p { margin: 0; }
.foot a { color: var(--soft-dark); }
.foot a:hover { color: var(--white); }
.linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: 0.18em; min-height: 24px;
}

/* Buttons: pills, as on the company site */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0.75rem 1.6rem; border-radius: 999px; border: 1px solid var(--accent-button);
  background: var(--accent-button); color: #fff; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer; transition: background 0.2s;
}
.btn:hover { background: #bd3900; border-color: #bd3900; }
.btn.ghost { background: transparent; color: inherit; border-color: var(--field-edge); }
.band-dark .btn.ghost, .top .btn.ghost { border-color: var(--muted-dark); }
.btn.ghost:hover { background: rgb(128 128 128 / 15%); }
.btn.sm { min-height: 44px; padding: 0.45rem 1.15rem; font-size: 0.9375rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.7; cursor: progress; }
.btn .arrow { font-size: 1.2em; line-height: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Forms */
.form { display: grid; gap: 18px; }
.field { min-width: 0; }
.field label, .field .label { display: block; font-weight: 700; font-size: 0.9375rem; margin-bottom: 8px; }
.field .opt { font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select {
  width: 100%; min-height: 56px; padding: 0.6rem 1rem; font: inherit; color: var(--ink-light);
  background: var(--white); border: 2px solid var(--field-edge); border-radius: 14px;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b00020; }
.hint { font-size: 0.9375rem; margin: 6px 0 0; }
.field-error { margin: 6px 0 0; font-weight: 700; min-height: 0; }
.band-light .field-error, .card .field-error, .sheet .field-error { color: #a30020; }
.band-dark .field-error { color: #ff9aa8; }
.field-error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--accent-button); }
.check label { font-weight: 400; }
.check .version { display: block; font-size: 0.875rem; }
.noscript { padding-block: 24px; }
.pair { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .pair { grid-template-columns: 1fr 1fr; }
}

/* The address form: large at the start, a row above a check. The box draws the focus of its field. */
.addr-form { display: grid; gap: 8px; min-width: 0; }
.addr-label { display: block; font-weight: 700; font-size: 0.9375rem; padding-left: 4px; }
.addr {
  display: flex; align-items: center; gap: 8px; min-width: 0; background: var(--white);
  border: 2px solid var(--field-edge); border-radius: 999px; padding: 5px 5px 5px 20px;
}
.addr input {
  flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0; background: transparent;
  font: inherit; font-size: 1.0625rem; color: var(--ink-light);
}
.addr input:focus-visible { outline: 2px solid transparent; }
.addr:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.addr:has(input[aria-invalid="true"]) { border-color: #ff9aa8; box-shadow: 0 0 0 4px rgb(255 154 168 / 25%); }
.addr .btn { flex: none; min-height: 46px; padding: 0.45rem 1.15rem; font-size: 0.9375rem; }
.addr-form .field-error, .addr-form .hint, .addr-form .account-line { margin: 0; padding-left: 4px; }
.addr-form .hint:empty { display: none; }
/* Order of the form: address, email, then the button, last in sight and in the tab order. The row
   of the button is no field: it keeps the class of the others only for the code that finds it. */
.addr.submit-row { background: none; border: 0; padding: 0; box-shadow: none; outline: 0; }
.addr.submit-row .btn { flex: 1; min-height: 52px; justify-content: center; }
.hero .addr.submit-row { box-shadow: none; padding: 0; }
.hero .addr.submit-row .btn { min-height: 58px; font-size: 1.0625rem; }
@media (min-width: 640px) {
  .addr.submit-row .btn { flex: none; min-width: 14rem; }
  .addr.submit-row { justify-content: flex-start; }
}
.addr-bar .addr.submit-row, .addr-bar .addr.submit-row:has(*) { padding: 0; }
/* The consent box: the dark style of the page, under the explanation. */
.addr-form .check {
  background: var(--navy-800); border: 1px solid var(--line-dark); border-radius: 16px;
  padding: 14px 16px; color: var(--soft-dark);
}
.addr-form .check label { color: var(--soft-dark); }
.addr-form .check[hidden] { display: none; }
/* The wait: the form folds into one line, and the introduction above it steps aside. */
.wait-row {
  margin: 0; min-height: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px;
  padding: 0 26px; border-radius: 999px; border: 1px solid rgb(255 255 255 / 16%);
  background: rgb(255 255 255 / 5%); color: #c9d6e3; font-size: 1rem; overflow-wrap: anywhere;
}
.wait-row strong { color: #eaf1f8; }
.wait-row .linklike {
  margin-left: auto; background: none; border: 0; padding: 0; font: inherit; font-weight: 700;
  color: #eaf1f8; text-decoration: underline; cursor: pointer; min-height: 24px;
}
.wait-row[hidden] { display: none; }
.wait-who { min-width: 0; }
.wait-row .linklike { flex: none; }
/* On a phone the address stands over the email, each cut with an ellipsis rather than wrapped,
   so the row keeps to two lines with the change link centred beside them. */
@media (max-width: 479px) {
  .wait-row { min-height: 48px; padding: 6px 18px; font-size: 0.90625rem; flex-wrap: nowrap; }
  .wait-who { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); line-height: 1.35; }
  .wait-who > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wait-sep { display: none; }
}
.addr-form.is-waiting > .addr-label, .addr-form.is-waiting > .addr, .addr-form.is-waiting > .check,
.addr-form.is-waiting > .hint, .addr-form.is-waiting > .account-line { display: none; }
.addr-bar .addr-form > .wait-row { grid-column: 1 / -1; }
.pending { display: flex; align-items: center; gap: 10px; color: var(--soft-dark); }
.pending .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; animation: wait-pulse 1.4s ease-in-out infinite; }
@keyframes wait-pulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pending .pulse { animation: none; } }
@media (max-width: 479px) {
  .addr { padding-left: 14px; }
  .addr .btn { padding-inline: 1rem; }
  .addr-bar .addr .arrow { display: none; }
}

/* Start */
.hero { padding-block: clamp(44px, 8vw, 96px) clamp(36px, 6vw, 80px); }
.hero-in { max-width: 56rem; margin-inline: auto; display: grid; justify-items: center; text-align: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); max-width: 44rem; color: var(--soft-dark); }
.hero .addr-form { width: 100%; max-width: 45rem; text-align: left; margin-top: 10px; }
.hero .addr { padding: 7px 7px 7px 28px; box-shadow: 0 0 0 6px rgb(255 92 26 / 12%); }
.hero .addr input { min-height: 56px; font-size: 1.1875rem; }
.hero .addr .btn { min-height: 56px; padding-inline: 1.75rem; font-size: 1.0625rem; }
.hero .addr-form .hint { color: var(--muted-dark); }
.promise {
  list-style: none; margin: clamp(44px, 7vw, 88px) 0 0; padding: 32px 0 0; display: grid; gap: 22px;
  border-top: 1px solid rgb(255 255 255 / 10%); counter-reset: promise;
}
@media (min-width: 900px) {
  .promise { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
}
.promise li { counter-increment: promise; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 16px; align-content: start; }
.promise li::before {
  content: counter(promise); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid;
  place-items: center; font-weight: 800; font-size: 0.9375rem; background: var(--navy-700); color: var(--accent-soft);
  border: 1px solid rgb(255 138 76 / 45%);
}
.promise strong { font-size: 1.0625rem; line-height: 1.35; }
.promise .muted { font-size: 0.9375rem; line-height: 1.55; }
.start-more { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) {
  .start-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
}
.start-more h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.preview {
  margin: 0; background: var(--light-100); color: var(--ink-light); border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 32px); box-shadow: 0 30px 80px rgb(0 0 0 / 35%);
}
.band-light .preview { background: var(--white); border: 1px solid var(--line-light); box-shadow: 0 30px 70px rgb(12 27 42 / 10%); }
.preview .eyebrow { color: var(--accent-text-light); }
.preview h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.preview p, .preview .muted { color: var(--body-light); }
.preview p:last-child { margin-bottom: 0; }
.legend { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.legend li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.card {
  background: var(--white); color: var(--ink-light); border-radius: var(--radius-l);
  border: 1px solid var(--line-light); padding: clamp(20px, 3vw, 32px);
}
.card .muted { color: var(--muted-light); }
.card a:not(.btn) { color: var(--accent-text-light); }
.card :focus-visible { outline: 3px solid var(--accent-text-light); outline-offset: 3px; }
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--teal-text-light); font-weight: 800; }
details { border-top: 1px solid var(--line-light); padding-block: 14px; }
details:last-of-type { border-bottom: 1px solid var(--line-light); }
summary { font-weight: 800; cursor: pointer; min-height: 32px; }
details p, details ul { margin: 10px 0 0; }
.captcha:empty { display: none; }
.hero .addr-form > .captcha { justify-self: center; }
.loading { min-height: 50vh; }
.plain-address { overflow-wrap: anywhere; }
.small { font-size: 0.9375rem; }
.done-box {
  padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-l); background: var(--white);
  color: var(--ink-light); border: 2px solid var(--teal-text-light);
}
.done-box .muted { color: var(--muted-light); }
.done-box p:last-child { margin-bottom: 0; }
.done-title { font-weight: 800; font-size: 1.25rem; }
.test-banner {
  margin: 0; padding: 10px var(--gutter); background: #f2c14e; color: var(--ink-light); font-weight: 800;
  font-size: 0.9375rem; line-height: 1.45; text-align: center;
}

/* The row the start shrinks to */
.addr-bar { background: var(--navy-800); border-bottom: 1px solid rgb(255 255 255 / 8%); }
.addr-bar .wrap { padding-block: 12px; }
.addr-bar .addr-label { color: var(--soft-dark); font-size: 0.875rem; }
@media (min-width: 760px) {
  .addr-bar .addr-form { grid-template-columns: auto minmax(0, 36rem); justify-content: start; align-items: center; column-gap: 18px; }
  .addr-bar .addr-form > :not(.addr-label):not(.addr) { grid-column: 2; }
  .addr-bar .addr-form > .addr.submit-row { grid-column: 2; }
}

/* Answer dots: one per stored answer. Filled, ring and dashed differ in shape, not only colour. */
.dots { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.dot { display: inline-block; flex: none; width: 18px; height: 18px; border-radius: 50%; }
.dot.hit { background: var(--teal); }
.dot.miss { border: 2px solid var(--field-edge); }
.dot.none { border: 2px dashed var(--field-edge); }
.band-dark .dot.miss, .band-dark .dot.none { border-color: var(--muted-dark); }
.band-light .dot.hit, .card .dot.hit, .preview .dot.hit { background: var(--teal-text-light); }

/* Progress: the steps of a check, each with what it found */
#stage { display: flex; flex-direction: column; flex: 1 0 auto; }
#stage > .fill { flex: 1 0 auto; }
.progress-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .progress-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 56px; }
  .progress-grid > .preview { margin-top: 7rem; }
}
.progress h1, .failed-grid h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); overflow-wrap: anywhere; }
.progress .lead { max-width: 40rem; }
.steps {
  list-style: none; margin: 8px 0 16px; padding: 4px clamp(18px, 3vw, 32px); background: var(--navy-800);
  border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-l);
}
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid rgb(255 255 255 / 10%); }
.step:first-child, .step[hidden] + .step:not([hidden]) { border-top: 0; }
.step[hidden] { display: none; }
.step .mark {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #5b7086; display: grid; place-items: center;
  font-weight: 800; font-size: 0.875rem;
}
.step[data-state="done"] .mark { background: var(--teal); border-color: var(--teal); }
.step[data-state="done"] .mark::before {
  content: ""; width: 12px; height: 7px; border-left: 3px solid var(--navy-900); border-bottom: 3px solid var(--navy-900);
  transform: translateY(-2px) rotate(-45deg);
}
.step[data-state="running"] .mark { border: 3px solid var(--accent-soft); }
.step[data-state="running"] .mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); }
.step[data-state="skipped"] .mark { border-style: dashed; border-color: var(--muted-dark); }
.step[data-state="skipped"] .mark::before { content: "–"; color: var(--muted-dark); }
.step[data-state="failed"] .mark { border-color: #ff9aa8; color: #ff9aa8; }
.step[data-state="failed"] .mark::before { content: "!"; }
/* The state keeps its place at the right of the name, however the name wraps. */
.step-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; margin: 0; font-weight: 800; font-size: 1.0625rem; line-height: 1.4; }
.step[data-state="pending"] .step-name > span:first-child { color: var(--soft-dark); }
.step-state { font-weight: 700; font-size: 0.875rem; color: var(--muted-dark); white-space: nowrap; }
.step[data-state="running"] .step-state { color: var(--accent-soft); }
.step[data-state="failed"] .step-state { color: #ff9aa8; }
.step-found { display: grid; gap: 8px; margin-top: 10px; }
.step-found:empty { display: none; }
.step-found p { margin: 0; }
.found-line { font-weight: 700; }
.example { color: var(--accent-soft); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: baseline; gap: 8px; min-height: 34px; padding: 5px 14px; border-radius: 999px;
  background: var(--navy-700); border: 1px solid rgb(255 255 255 / 12%); font-weight: 700; font-size: 0.875rem;
}
.chip-num { color: var(--soft-dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.chips:has(.chip-place) { gap: 6px; }
.chips li:has(.chip-place) { align-items: center; gap: 6px; min-height: 32px; padding: 3px 4px 3px 10px; font-size: 0.8125rem; }
.chip-place {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; box-sizing: border-box;
  border-radius: 7px; border: 2px solid var(--teal); color: var(--ink-dark); font-size: 0.8125rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.chip-place.none { border-style: dashed; border-color: var(--muted-dark); color: var(--muted-dark); }
.step-what { margin: 0; }
.chips.ghost { gap: 6px; margin-bottom: 10px; }
.chips.ghost li { width: var(--w); min-height: 32px; padding: 0; background: transparent; border: 1px dashed rgb(255 255 255 / 16%); }
.wait-progress { display: grid; gap: 12px; }
.wait-count { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; font-variant-numeric: tabular-nums; }
.wait-bar { height: 10px; border-radius: 5px; background: var(--navy-700); overflow: hidden; }
.wait-bar span { display: block; height: 100%; background: var(--teal); width: calc(var(--v, 0) * 1%); }
.failed-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .failed-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
}
.edit-line { color: var(--muted-dark); }
.band-dark .edit-toggle { color: var(--accent-soft); font-weight: 700; }
.edit-slot { margin-top: 4px; }
.edit-card {
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px;
}
.edit-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.edit-head h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0; }
.edit-head p { margin: 0; }
/* The fields take the room their column has: four in a row over the result, two beside the steps. */
.edit-fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: start; }
.edit-card .actions p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .step-found > * { animation: appear 0.35s ease-out both; }
  .wait-bar span { transition: width 0.6s ease-out; }
}
/* What a step found is revealed from the top, at full contrast all the way. */
@keyframes appear { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

/* Result */
.scorehead { display: grid; gap: 28px; }
.scorehead h1 { margin-bottom: 0.2em; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.result-top { display: grid; gap: 4px; }
.result-top .eyebrow { margin-bottom: 8px; }
.result-meta { margin: 0; color: var(--soft-dark); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.kpis { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .kpis { grid-template-columns: 1fr 1fr; }
}
.headline {
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-l);
  padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; min-width: 0;
}
.headline .label { margin: 0; font-weight: 700; color: var(--soft-dark); }
.headline p { margin: 0; }
.big { font-size: clamp(1.75rem, 4.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; margin: 0; }
.headline.unmeasured { border-style: dashed; border-color: var(--muted-dark); }
.count {
  font: inherit; font-weight: 800; color: inherit; background: none; cursor: pointer;
  border: 0; border-bottom: 3px solid currentcolor; padding: 0 2px; border-radius: 0; text-align: inherit;
}
.count::after { content: " ▾"; font-size: 0.6em; vertical-align: 0.15em; }
.count[aria-expanded="true"]::after { content: " ▴"; }
.count-plain { font-weight: 800; }
.band-dark .count { color: var(--accent-soft); }
.band-light .count, .card .count { color: var(--accent-text-light); }
.ev { margin: 8px 0 4px; padding: 18px; border-radius: var(--radius-m); background: var(--light-100); color: var(--ink-light); font-size: 1rem; font-weight: 400; letter-spacing: 0; line-height: 1.6; }
.band-dark .ev { border: 1px solid var(--line-dark); background: var(--navy-900); color: var(--ink-dark); }
.band-dark .ev .muted { color: var(--muted-dark); }
.ev .muted { color: var(--muted-light); }
.ev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ev-item { padding: 10px 0; border-top: 1px solid var(--line-light); }
.band-dark .ev-item { border-color: var(--line-dark); }
.ev-q { display: flex; gap: 10px; width: 100%; text-align: left; font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 4px 0; cursor: pointer; overflow-wrap: anywhere; min-height: 32px; }
.ev-q::before { content: "▸"; flex: none; }
.ev-q[aria-expanded="true"]::before { content: "▾"; }
.ev-flags { margin: 2px 0 0 1.4em; font-size: 0.9375rem; }
.ev-detail { margin-top: 10px; }
.ev-meta { font-size: 0.875rem; }
.answer-text {
  white-space: pre-wrap; overflow-wrap: anywhere; max-height: 24rem; overflow: auto; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line-light); background: var(--white); color: var(--body-light);
  font-size: 0.9375rem; line-height: 1.65;
}
.sources { margin: 10px 0 0; overflow-wrap: anywhere; font-size: 0.9375rem; }
.legend-row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: var(--soft-dark); font-size: 0.875rem; }
.legend-row span { display: inline-flex; gap: 8px; align-items: center; }
.legend-row .dot { width: 14px; height: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2, .section-head p { margin: 0; }
.engines { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 900px) {
  .engines { grid-template-columns: 1fr 1fr; }
  .engines > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .engines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .engines > :last-child:nth-child(odd):not(.unmeasured) { grid-column: auto; }
  .engines > .unmeasured:last-child { grid-column: 1 / -1; }
}
.engine { padding: clamp(18px, 2.4vw, 26px); background: var(--white); border: 1px solid var(--line-light); border-radius: 24px; color: var(--ink-light); min-width: 0; }
.engine h3 { margin-bottom: 14px; }
.engine .metric-val strong { font-weight: 800; }
.metrics { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.metric {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;
  padding-top: 12px; border-top: 1px solid var(--light-200);
}
.metric-name { font-weight: 700; }
.metric .metric-val { text-align: right; }
.metric .ev { flex-basis: 100%; }
.engine.unmeasured { border: 2px dashed var(--field-edge); background: transparent; }
.engine.unmeasured .metric-val { color: var(--body-light); margin: 0; }
.group { margin-top: 48px; }
.next { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) {
  .next { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.notice { border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); background: var(--navy-900); color: var(--ink-dark); }
.notice .eyebrow { color: var(--accent-soft); }
.notice h2 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
.notice p { color: var(--soft-dark); }
.notice .ticks { color: var(--soft-dark); margin: 0 0 24px; }
.notice .ticks li::before { color: var(--teal); }
.notice :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.next .card h2 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.next-h { margin-top: 0; }
.next > :only-child { grid-column: 1 / -1; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--line-light); background: var(--white); }
table.comp { width: 100%; border-collapse: collapse; background: var(--white); }
table.comp caption { text-align: left; font-weight: 800; padding: 14px 16px 6px; }
table.comp th, table.comp td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line-light); vertical-align: top; }
table.comp thead th { border-top: 0; border-bottom: 2px solid var(--line-light); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-light); }
.method { margin-top: 40px; }
.msg { margin-top: 12px; font-weight: 700; }

/* Topics: the visitor's own search areas, one row each */
.group { margin-top: 56px; }
.wrap > .group:first-child { margin-top: 0; }
.topics-head { display: none; }
.topics { list-style: none; padding: 0; margin: 0; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-l); overflow: hidden; color: var(--ink-light); }
.topic { border-top: 1px solid var(--light-200); }
.topic:first-child { border-top: 0; }
.topic-row { display: grid; gap: 6px 24px; padding: 18px clamp(18px, 2.4vw, 28px); align-items: center; }
.topic-name { margin: 0; font-size: 1.125rem; display: grid; gap: 2px; }
.topic-pos { font-size: 0.8125rem; font-weight: 600; color: var(--muted-light); letter-spacing: 0; }
.topic-vol, .topic-others { margin: 0; }
.topic-vol strong { font-variant-numeric: tabular-nums; }
.topic-label { color: var(--muted-light); font-size: 0.875rem; font-weight: 600; }
.topic-rate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.topic .ev { margin: 0 clamp(18px, 2.4vw, 28px) 18px; }
.names-inline { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.name-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; background: var(--light-200); color: var(--body-light); font-size: 0.875rem; font-weight: 700; }
.topics-locked { margin: 14px 4px 0; color: var(--body-light); }
@media (min-width: 900px) {
  .topics-head, .topic-row { grid-template-columns: minmax(0, 1.3fr) 10rem minmax(0, 1.4fr); }
  .topics-head.with-others, .with-others .topic-row { grid-template-columns: minmax(0, 1.2fr) 8.5rem minmax(0, 1.25fr) minmax(0, 1.4fr); }
  .topics-head { display: grid; gap: 24px; padding: 0 clamp(18px, 2.4vw, 28px) 10px; font-size: 0.8125rem; font-weight: 800; color: var(--muted-light); }
  .topics-head span:nth-child(2), .topic-vol { text-align: right; }
  .topic-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.source-note {
  display: flex; gap: 14px; align-items: flex-start; margin: 0 0 20px; padding: 16px 20px; border-radius: 20px;
  background: #fff4d6; border: 1px solid #e0b341; color: var(--body-light);
}
.source-note p { margin: 0; }
.source-note .linkbtn { color: var(--accent-text-light); font-weight: 700; }
.dots-row { margin: 0; }
.dots.small { gap: 4px; display: inline-flex; }
.dots.small .dot { width: 12px; height: 12px; }

/* Other names in the answers, longest bar first */
.names { list-style: none; margin: 0; padding: 8px clamp(18px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-l); color: var(--ink-light); }
.name { padding: 12px 0; border-top: 1px solid var(--light-200); }
.name:first-child { border-top: 0; }
.name-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label count" "bar bar"; gap: 6px 16px; align-items: center; }
@media (min-width: 760px) {
  .name-row { grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr) auto; grid-template-areas: "label bar count"; }
}
.name-label { grid-area: label; }
.name-count { grid-area: count; text-align: right; }
.name-bar { grid-area: bar; height: 10px; border-radius: 5px; background: var(--light-200); overflow: hidden; }
.name-bar span { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: var(--field-edge); border-radius: 5px; }

/* Panels: a sheet from the side, over the page */
dialog.sheet {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(560px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--light-100); color: var(--ink-light); color-scheme: light; overflow: auto; overscroll-behavior: contain;
  box-shadow: -30px 0 80px rgb(0 0 0 / 35%);
}
dialog.sheet.wide { width: min(1040px, 100vw); }
dialog.sheet::backdrop { background: rgb(5 12 20 / 66%); }
body:has(dialog.sheet[open]) { overflow: hidden; }
.sheet-in { padding: 20px clamp(20px, 3.4vw, 44px) 40px; display: grid; gap: 16px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sheet-top .eyebrow { margin: 0; color: var(--accent-text-light); }
.sheet-close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: var(--white);
  color: var(--ink-light); font: inherit; font-size: 1.625rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.sheet-close:hover { border-color: var(--field-edge); }
.sheet h2#panel-title { font-size: clamp(1.75rem, 3vw, 2.125rem); margin: 0; }
.sheet :focus-visible { outline: 3px solid var(--accent-text-light); outline-offset: 3px; }
.sheet [tabindex="-1"]:focus-visible { outline: none; }
.sheet .muted, .sheet .hint { color: var(--muted-light); }
.sheet a:not(.btn) { color: var(--accent-text-light); }
.sheet .lead { font-size: 1.0625rem; color: var(--body-light); }
.sheet-body { display: grid; gap: 16px; min-width: 0; }
.sheet-body > * { margin: 0; }
.sheet-body .ticks { margin: 0; }
.sheet .card { padding: clamp(18px, 2.4vw, 24px); }
.signin-ask { font-weight: 700; padding: 12px 16px; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line-light); }
.provider-note { font-size: 0.9375rem; }

/* Account, sign-in and prices */
.band.compact { padding-block: clamp(24px, 3vw, 32px); }
.band.compact .eyebrow { margin-bottom: 8px; }
.band.compact h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.3em; }
.band.compact .lead { margin-bottom: 0.4em; }
.band.compact .signed-as { margin: 0; }
.band.after-compact { padding-block: 24px clamp(40px, 6vw, 72px); }
.after-compact .interval { margin-bottom: 16px; }
.interval { position: relative; }
.interval > legend.vh { left: 0; top: 0; }
.tier.card { padding: clamp(20px, 2.4vw, 26px); }
.tier .ticks { gap: 8px; }
.price { display: grid; gap: 2px; margin: 0 0 14px; }
.price .amount { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.price .price-note { font-size: 0.9375rem; font-weight: 400; color: var(--muted-light); }
.depths-note { max-width: 52rem; color: var(--body-light); }
.account-grid .card { display: flex; flex-direction: column; }
.card-foot { margin-top: auto; padding-top: 12px; display: grid; gap: 8px; }
.card-foot .field-error { margin: 0; }
.lang-select {
  font: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--soft-dark); background: var(--navy-900);
  border: 1px solid #35485b; border-radius: 999px; padding: 4px 10px; min-height: 32px; cursor: pointer;
}
@media (max-width: 759px) {
  .nav button.lang { display: none; }
  .brand img { width: 130px; height: 25px; }
  .tools .wrap { flex-wrap: wrap; gap: 2px; }
  .tools a { padding: 6px 8px; font-size: 0.8125rem; white-space: nowrap; }
  .tools .tools-end { flex-wrap: wrap; gap: 2px; }
}
@media (min-width: 760px) {
  .lang-select { display: none; }
}

.tools-end { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.field input[type="number"] {
  width: 8rem; min-height: 56px; padding: 0.6rem 1rem; font: inherit; color: var(--ink-light);
  background: var(--white); border: 2px solid var(--field-edge); border-radius: 14px;
}
.field input[type="number"][aria-invalid="true"] { border-color: #b00020; }
.signed-as { overflow-wrap: anywhere; }
.account-line { display: grid; gap: 6px; padding: 16px 18px; border-radius: var(--radius-m); border: 1px solid var(--line-dark); background: var(--navy-900); }
.account-line p { margin: 0; }
.hero .account-line .muted { color: var(--muted-dark); }
.depths, .interval { border: 0; padding: 0; margin: 0; min-width: 0; }
.depths legend, .interval legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.depths .check { margin-top: 8px; }
.depths input { accent-color: var(--accent); }
.interval { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 4px; margin-bottom: 24px; border-radius: 999px; background: var(--navy-950); border: 1px solid rgb(255 255 255 / 14%); }
.interval legend { width: 100%; }
.interval-option {
  position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.9375rem; color: var(--soft-dark); cursor: pointer;
}
.interval-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.interval-option:has(input:checked) { background: var(--ink-dark); color: var(--navy-900); }
.interval-option:not(:has(input:checked)):hover { color: var(--white); }
.interval-option:has(input:focus-visible) { outline: 3px solid var(--accent-text-light); outline-offset: 3px; }
.tiers { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 20px; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.tier { display: flex; flex-direction: column; gap: 4px; }
.tier .ticks { margin-bottom: 20px; }
.tier > .btn, .tier > .current { margin-top: auto; align-self: flex-start; }
.tier.featured { border: 2px solid var(--accent-text-light); }
.current { font-weight: 800; color: var(--teal-text-light); margin: 0; }
.plain { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 12px; }
.addons { margin: 20px 0; }
.prices > .muted:last-child { margin: 0; }
.account-grid { display: grid; gap: 20px; }
@media (min-width: 900px) {
  .account-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.account-grid .card p:last-child { margin-bottom: 0; }
.tier-name { margin-bottom: 8px; }
.quota strong { font-weight: 800; }
.reports { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0; }
.report { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.report a { font-weight: 700; }
.sites { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.site, .trend { min-width: 0; }
.site.paused { border-style: dashed; border-color: var(--field-edge); }
.site-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; margin-bottom: 12px; }
.site-head h3 { margin-bottom: 4px; }
.site-head p { margin: 0; }
.confirm { max-width: 26rem; }
.resume { display: grid; gap: 6px; justify-items: start; max-width: 20rem; }
.resume .field-error { margin: 0; }
.confirm p { margin: 0; width: 100%; font-weight: 700; }
.add-site, .extra { margin-top: 20px; }
.choice { margin-top: 12px; }
.trend { margin: 0; }
.trend figcaption { margin: 8px 0 16px; font-size: 0.9375rem; }
.trend-legend { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.9375rem; color: var(--body-light); }
.trend-legend li { display: inline-flex; align-items: center; gap: 8px; }
.trend-legend .key { display: inline-block; width: 28px; height: 14px; flex: none; }
.key.mention { border-top: 3px solid var(--teal-text-light); height: 0; }
.key.citation { border-top: 3px dashed var(--accent-text-light); height: 0; }
.key.gap { border: 2px dashed var(--field-edge); border-radius: 4px; background: var(--light-100); }
.key.break { width: 0; height: 18px; border-left: 2px dotted var(--ink-light); }
.trend-scroll { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius-m); background: var(--white); padding: 8px 4px; }
.trend-svg { display: block; }
.trend-svg .grid { stroke: var(--light-200); stroke-width: 1; }
.trend-svg .axis { fill: var(--muted-light); font-size: 13px; font-family: var(--font); }
.trend-svg .gap { fill: var(--light-100); stroke: var(--field-edge); stroke-width: 1.5; stroke-dasharray: 5 4; }
.trend-svg .break { stroke: var(--ink-light); stroke-width: 2; stroke-dasharray: 2 4; }
.trend-svg .line { fill: none; stroke-width: 3; }
.trend-svg .line.mention { stroke: var(--teal-text-light); }
.trend-svg .line.citation { stroke: var(--accent-text-light); stroke-dasharray: 8 5; }
.trend-svg .point.mention .mark { fill: var(--teal-text-light); }
.trend-svg .point.citation .mark { fill: var(--accent-text-light); }
.trend-svg .point .mark { stroke: var(--white); stroke-width: 2; }
.trend-svg a:focus-visible { outline: 3px solid var(--accent-text-light); outline-offset: 2px; }
.trend-svg a:hover .mark { stroke: var(--ink-light); }
.trend-table td:nth-child(4) { min-width: 12rem; }
.trend-table th, .trend-table td:nth-child(2) { white-space: nowrap; }
table.trend-table { min-width: 44rem; }
.trend-table td { overflow-wrap: normal; }
.notice .btn.ghost { border-color: var(--muted-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Google and the answers side by side ---------- */

.headline .label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.tag { font-size: 0.78rem; font-weight: 700; color: var(--muted-dark); border: 1px solid rgb(255 255 255 / 18%); border-radius: 999px; padding: 3px 10px; }
.cmp-sum { margin: 10px 0 0; max-width: 56rem; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--ink-dark); }
.cmp-sum strong { color: var(--accent-soft); }
.place {
  display: inline-grid; place-items: center; flex: none; box-sizing: border-box; width: 42px; height: 42px; border-radius: 12px;
  font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; line-height: 1;
}
.place.band-top3 { background: var(--teal); color: var(--navy-900); }
.place.band-top10 { border: 2px solid var(--teal); color: var(--ink-dark); }
.place.band-top20 { border: 2px solid var(--muted-dark); color: var(--soft-dark); }
.place.band-unranked { border: 2px dashed var(--muted-dark); color: var(--muted-dark); }
.band-light .place.band-top3 { background: var(--teal); color: var(--navy-900); }
.band-light .place.band-top10 { border-color: #0e9c88; color: var(--ink-light); }
.band-light .place.band-top20 { border-color: var(--field-edge); color: var(--body-light); }
.band-light .place.band-unranked { border-color: var(--field-edge); color: var(--muted-light); }
.place.mini { width: 16px; height: 16px; border-radius: 5px; }
.places-row { display: flex; flex-wrap: wrap; gap: 10px; }
.basis { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 12px; }
.basis li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center; overflow-wrap: anywhere; }

.cmp-head { display: none; }
.cmp-row { display: grid; gap: 10px; padding: 16px clamp(16px, 2.4vw, 28px); align-items: center; }
.cmp-topic { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; min-width: 0; }
.cmp-topic .topic-vol { color: var(--muted-light); font-size: 0.875rem; font-variant-numeric: tabular-nums; text-align: left; }
.cmp-verdict { margin: 0; justify-self: start; }
.verdict { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px; font-weight: 800; font-size: 0.9375rem; line-height: 1.3; }
.verdict::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentcolor; }
.verdict.gap-google_only { background: #fff1e8; color: #9e3200; border: 1px solid #f3b48f; }
.verdict.gap-both { background: var(--teal-wash); color: #08584c; border: 1px solid #9adccf; }
.verdict.gap-ai_only { background: #eaf1f8; color: #1f3a56; border: 1px solid #bfd0e2; }
.verdict.gap-neither { background: var(--light-100); color: #3a4b5e; border: 1px solid #ccd6e0; }
.verdict.gap-unmeasured { background: transparent; color: #3a4b5e; border: 2px dashed #8a9aac; }
.verdict.gap-unmeasured::before { display: none; }
.cmp[data-gap="google_only"] { box-shadow: inset 4px 0 0 var(--accent-button); }
.cmp-google, .cmp-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.cmp-google .topic-label, .cmp-ai .topic-label { flex: 0 0 5.5rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cmp-place { display: grid; gap: 2px; flex: 1 1 0; min-width: 0; }
.cmp-place a { font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-ai .small, .cmp-place .small { font-size: 0.8125rem; }
.cmp-others { margin: 0; color: var(--muted-light); font-size: 0.9375rem; }
.cmp-others a { color: var(--accent-text-light); font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) {
  .cmp-head, .cmp-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.45fr); column-gap: 24px;
  }
  .cmp-head { display: grid; padding: 0 clamp(18px, 2.4vw, 28px) 10px; font-size: 0.8125rem; font-weight: 800; color: var(--muted-light); }
  .cmp-row { grid-template-areas: "topic google ai verdict" "topic google ai others"; row-gap: 8px; padding-block: 20px; }
  .cmp-topic { grid-area: topic; display: grid; gap: 2px; }
  .cmp-verdict { grid-area: verdict; align-self: end; }
  .cmp-google { grid-area: google; flex-wrap: nowrap; }
  .cmp-ai { grid-area: ai; }
  .cmp-others { grid-area: others; align-self: start; }
  .cmp-row:not(:has(> .cmp-others)) { grid-template-areas: "topic google ai verdict"; }
  .cmp-row:not(:has(> .cmp-others)) > .cmp-verdict { align-self: center; }
}

.seo-grid { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .seo-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); }
}
.stat { background: var(--white); border: 1px solid var(--line-light); border-radius: 24px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; color: var(--ink-light); min-width: 0; }
.stat p { margin: 0; }
.stat-label { font-weight: 700; color: var(--muted-light); }
.stat-big { font-size: clamp(1.75rem, 3vw, 2.125rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.split { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--light-200); margin-top: 4px; }
.split span { width: calc(var(--w, 0) * 1%); }
.split .s1, .sw.s1 { background: #0e9c88; }
.split .s2, .sw.s2 { background: #7fd3c6; }
.split .s3, .sw.s3 { background: #c9d4df; }
.split-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.875rem; color: var(--body-light); }
.split-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.near { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.near li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; font-size: 0.9375rem; }
.near li strong { overflow-wrap: anywhere; }
.near li span:last-child { min-width: 5.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.seo-note { margin: 14px 0 0; max-width: 60rem; }
.seo-none { padding: 18px 22px; border: 2px dashed var(--field-edge); border-radius: 20px; color: var(--body-light); }
.seo-none p { margin: 0; }
.example-line p { margin: 0 0 10px; }
.purchase-note { margin: 0; padding: 14px 18px; border-radius: 16px; font-weight: 700; }
.purchase-note[data-outcome="klart"] { background: var(--teal-wash); color: #08584c; border: 1px solid #9adccf; }
.purchase-note[data-outcome="avbrutet"] { background: var(--light-100); color: var(--body-light); border: 1px solid var(--line-light); }
.purchase-box { padding-block: 16px 0; }

/* The terms and the privacy pages: plain text, a readable measure */
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 0.5em; }
.legal h2 { margin-top: 1.8em; font-size: 1.25rem; }
.legal h3 { margin-top: 1.4em; font-size: 1.0625rem; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 0.4em; }
.terms-note { margin-top: 0.75em; }

/* The switch between the two tools, by the address field */
.switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--navy-950); border: 1px solid rgb(255 255 255 / 14%); }
/* The dark band colours its links; the switch keeps its own colours above that. */
nav.switch a.switch-opt { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 0.9375rem; color: var(--soft-dark); text-decoration: none; }
nav.switch a.switch-opt[aria-current="page"] { background: var(--ink-dark); color: var(--navy-900); }
nav.switch a.switch-opt:not([aria-current]):hover { color: var(--white); }
nav.switch.small a.switch-opt { min-height: 34px; padding: 0 12px; font-size: 0.875rem; }
.hero .switch { margin: 6px 0 4px; }
.addr-bar .bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.addr-bar .bar-in > .addr-form { flex: 1 1 30rem; min-width: 0; }

/* The accented words of the start heading */
.hero h1 .accent { color: var(--accent-soft); }

/* The result heading keeps to one line on a wide screen */
@media (min-width: 1200px) {
  .scorehead h1 { max-width: none; font-size: clamp(2.25rem, 3.1vw, 2.75rem); }
}

/* The address row above a check, tighter on a phone: the label stays for screen readers only, the
   switch sits close to the field, and the paddings above the heading are trimmed. */
@media (max-width: 599px) {
  .addr-bar .addr-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .addr-bar .wrap { padding-block: 8px; }
  .addr-bar .bar-in { gap: 4px; }
  .addr-bar .addr-form { gap: 4px; }
  .addr-bar nav.switch.small a.switch-opt { min-height: 30px; }
  .addr-bar .addr { padding: 3px 3px 3px 14px; }
  .addr-bar .addr input, .addr-bar .addr .btn { min-height: 38px; }
  body:has(.addr-bar) .top .wrap { min-height: 56px; padding-block: 6px; }
  body:has(.addr-bar) .tools .wrap { padding-block: 2px; }
  #band:has(.addr-bar) + #stage > .band:first-child { padding-top: 12px; }
}

/* Prices within reach: the header button, the strip under the start's steps and the result's row. */
.nav a.nav-prices {
  color: var(--ink-dark); font-weight: 700; font-size: 0.875rem; text-decoration: none; white-space: nowrap;
  border: 1px solid #7d8fa3; border-radius: 999px; padding: 8px 16px; min-height: 40px; display: inline-flex; align-items: center;
}
.nav a.nav-prices:hover { background: rgb(255 255 255 / 10%); border-color: var(--ink-dark); text-decoration: none; }
@media (min-width: 360px) and (max-width: 599px) {
  .top .wrap { flex-wrap: nowrap; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand img { max-width: 100%; height: auto; }
  .nav { flex-wrap: nowrap; flex: none; gap: 6px; }
  .nav a { white-space: nowrap; }
  .nav a.nav-prices { padding: 5px 10px; min-height: 36px; font-size: 0.8125rem; }
  .lang-select { padding: 4px 6px; }
}
.price-strip { margin-top: 32px; display: grid; gap: 20px; justify-items: start; }
.strip-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; width: 100%; }
@media (min-width: 760px) {
  .strip-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
.strip-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: var(--radius-l); background: var(--navy-800); border: 1px solid rgb(255 255 255 / 12%); }
.strip-card h3 { margin: 0; font-size: 1rem; color: var(--soft-dark); }
.strip-price { margin: 0; font-size: 1.25rem; font-weight: 800; color: var(--ink-dark); }
.strip-card .muted { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.5; }
.upsell {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding: 16px 20px 16px 24px; border-radius: var(--radius-m); background: var(--light-100); color: var(--ink-light);
  border: 1px solid var(--line-light);
}
.upsell p { margin: 0; flex: 1 1 18rem; font-weight: 700; line-height: 1.45; }
.topics-locked .btn { margin-left: 6px; vertical-align: middle; }
.addr.submit-row[hidden] { display: none; }
