/* 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("/analys/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("/analys/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("/analys/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("/analys/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("/analys/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; }
[hidden] { display: none !important; }
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; }
/* A domain in a heading or the line above it breaks after a dot; inside a word only when nothing else fits. */
h1, .eyebrow { overflow-wrap: break-word; }
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); }
.done-box .eyebrow { color: var(--muted-light); }

/* Native controls on light surfaces are drawn light, so an unticked box never looks ticked. */
.band-light, .card, .preview { 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%); }
main { min-height: 100vh; }
[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); }
.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; }
}
.tools .wrap { align-items: center; }
.tools .tools-more { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.tools .tools-more a { padding: 8px 0; border-radius: 0; font-weight: 600; }
.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; }
/* The logo, the way to the start and the language choice share one row, as in GEO-kollen. */
@media (max-width: 599px) {
  .top .wrap { gap: 6px 12px; min-height: 60px; padding-block: 6px; padding-inline: 20px; }
  .nav { gap: 6px 12px; font-size: 0.90625rem; }
  .nav a { white-space: nowrap; }
  .nav .lang { padding: 5px 9px; }
  .lang-select { font-size: 0.8125rem; padding: 6px 12px; min-height: 0; }
}
/* From 360 px the logo, the way to the start and the language choice stay on one row; the logo
   gives way a little before anything wraps. */
@media (min-width: 360px) and (max-width: 599px) {
  .top .wrap { flex-wrap: nowrap; }
  .top .brand { flex: 0 1 134px; min-width: 88px; }
  .top .brand img { width: 100%; height: auto; }
  .nav { flex: none; flex-wrap: nowrap; }
}
.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; }
/* The purchase form is a card with the fields two by two: company and number, then country and email. */
.buy-form { grid-template-columns: minmax(0, 1fr); padding: clamp(16px, 3vw, 24px); background: var(--white); color: var(--ink-light); border: 1px solid var(--line-light); border-radius: var(--radius-m); }
@media (min-width: 560px) {
  .buy-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
  .buy-form > :not(.field) { grid-column: 1 / -1; }
}
.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, .done-box .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; }
.duo { display: grid; gap: 18px; }
@media (min-width: 600px) {
  .duo { grid-template-columns: 1fr 1fr; }
}

/* Start */
.hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); max-width: 38rem; color: var(--soft-dark); }
.hero-grid { display: grid; gap: 28px; align-items: start; }
.hero-grid .form-card { margin-top: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-grid .form-card { justify-content: center; }
.hero-grid .trust { margin-top: 0; }
@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px;
    grid-template-areas: "head head" "form side" "trust trust"; align-items: stretch;
  }
  .hero-head { grid-area: head; max-width: 52rem; }
  .hero-grid .form-card { grid-area: form; }
  .hero-grid .preview { grid-area: side; display: flex; flex-direction: column; }
  .hero-grid .preview > :last-child { margin-top: auto; margin-bottom: 0; }
  .hero-grid .trust { grid-area: trust; }
}
.form-card {
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 32px); margin-top: 28px;
}
.form-card .hint, .form-card .muted { color: var(--muted-dark); }
.submit-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.submit-row p { margin: 0; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--soft-dark); font-weight: 600; font-size: 0.9375rem; }
.trust li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 8px; }
.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%);
}
.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); }
.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; }
.cols { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .cols.two { grid-template-columns: 1fr 1fr; gap: 56px; }
  .cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}
.cols h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.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; }
.steps-list { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps-list li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.steps-list li::before {
  content: counter(step); flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-900); color: var(--ink-dark); display: grid; place-items: center; font-weight: 800;
}
.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; }
.done-box {
  padding: clamp(22px, 3vw, 32px); 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); }


/* Waiting view */
.progress {
  list-style: none; max-width: 40rem; margin: 28px 0 20px; background: var(--navy-800);
  border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-l); padding: 8px clamp(20px, 3vw, 30px);
}
.progress li { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 10%); font-weight: 700; }
.progress li:first-child { border-top: 0; }
.progress .mark {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 0.875rem; border: 2px solid #5b7086; color: transparent;
}
.progress .state { margin-left: auto; font-size: 0.9375rem; color: var(--muted-dark); font-weight: 400; }
.progress li[data-state="done"] .mark { background: var(--teal); border-color: var(--teal); color: var(--ink-light); }
.progress li[data-state="current"] .mark { border: 3px solid var(--accent); border-right-color: transparent;  }
.progress li[data-state="current"] .state { color: var(--ink-dark); font-weight: 700; }
.progress li[data-state="pending"] { color: var(--soft-dark); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Result */
.scorehead { display: grid; gap: 28px; }
.scorehead > * { min-width: 0; }
@media (min-width: 1000px) {
  .scorehead.split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 56px; align-items: start; }
  .scorehead.split > .wide { grid-column: 1 / -1; }
}
.scorehead h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); margin-bottom: 0.3em; }
.total { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin: 8px 0 0; }
.ring {
  flex: none; width: clamp(140px, 22vw, 176px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--accent-soft) calc(var(--v, 0) * 1%), var(--navy-700) 0);
}
.ring-in { width: 81%; aspect-ratio: 1; border-radius: 50%; background: var(--navy-900); display: grid; place-content: center; text-align: center; }
.total .num { font-size: clamp(3rem, 8vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.total .of { font-size: 0.9375rem; font-weight: 700; color: var(--muted-dark); }
.verdict { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.subs-h { font-weight: 800; color: var(--soft-dark); margin: 0 0 14px; }
.subs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 360px) {
  .subs { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
}
.subs li {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; min-width: 0;
  padding: 18px 20px; background: var(--navy-800); border: 1px solid rgb(255 255 255 / 12%); border-radius: 20px;
}
/* A long name breaks only where the text has a soft hyphen (the card names carry them), and then with a hyphen. */
.subs .name { font-weight: 700; overflow-wrap: normal; hyphens: manual; min-width: 0; }
.subs .val { font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; }
.subs .bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: var(--navy-900); overflow: hidden; }
.subs .bar span { display: block; height: 100%; border-radius: 5px; background: var(--teal); width: calc(var(--v, 0) * 1%); }
.subs li.unmeasured { border-style: dashed; border-color: var(--muted-dark); grid-template-columns: minmax(0, 1fr); }
.subs li.unmeasured .val { font-size: 0.9375rem; color: var(--muted-dark); font-weight: 700; }
.subs li.unmeasured::after {
  content: ""; grid-column: 1 / -1; order: 1; height: 10px; border-radius: 5px;
  background: repeating-linear-gradient(135deg, var(--navy-700) 0 6px, #23415f 6px 12px);
}
.subs .why { grid-column: 1 / -1; order: 2; font-size: 0.9375rem; color: var(--muted-dark); }
/* Narrow cards: the name on its own line above the score, the bar below, nothing side by side. */
@media (max-width: 599px) {
  .subs { gap: 10px; }
  .subs li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px; border-radius: 16px; }
  .subs .name { font-size: 0.9375rem; }
  .subs .val { font-size: 1.125rem; white-space: nowrap; }
}
.notice {
  border: 1px solid rgb(255 138 76 / 55%); background: var(--navy-800); border-radius: var(--radius-m);
  padding: 18px 22px; margin-block: 0;
}
.notice h2 { font-size: 1.125rem; margin-bottom: 0.4em; }
.notice ul { margin-bottom: 0; }
.band-light .notice, .sheet .notice { background: var(--white); color: var(--ink-light); border: 2px solid var(--accent-text-light); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.finding { padding: clamp(20px, 3vw, 32px); border-radius: 24px; }
.finding h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.6em; overflow-wrap: anywhere; }
.sev {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 800; font-size: 0.875rem;
  padding: 3px 11px; border-radius: 999px; border: 2px solid currentcolor;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.chip {
  font-weight: 700; font-size: 0.8125rem; padding: 4px 11px; border-radius: 999px;
  color: var(--body-light); background: var(--light-100); border: 1px solid var(--line-light);
}
.sev.high { color: #a30020; background: #fff5f6; }
.sev.medium { color: #8a4b00; background: #fffaf1; }
.sev.low { color: #2c5d83; background: #f5f9fc; }
.finding dl { margin: 0; display: grid; gap: 6px; }
.finding > .f-text { min-width: 0; }
.finding > .f-proof { min-width: 0; margin-top: 8px; }
/* From 900 px the text is on the left and the evidence on the right; below it everything stacks. */
@media (min-width: 900px) {
  .finding { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .finding > .f-proof { margin-top: 0; }
  .finding > .f-text:not(:has(+ .f-proof)) { grid-column: 1 / -1; }
  .finding > .actions { grid-column: 1 / -1; }
  .finding:has(.shot-frame.wide) { grid-template-columns: minmax(0, 1fr); }
  .finding:has(.shot-frame.wide) > .f-proof { margin-top: 8px; }
}
.finding dt { font-size: 0.8125rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-light); margin-top: 8px; }
.finding dd { margin: 0; overflow-wrap: anywhere; color: var(--body-light); }
.evidence { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.evidence li { padding: 12px 14px; background: var(--light-100); border-radius: 12px; border: 1px solid var(--line-light); }
.shot-frame {
  display: block; position: relative; overflow: hidden; max-width: 560px; margin-top: 8px;
  aspect-ratio: var(--ratio, 1.6); border: 1px solid var(--line-light); border-radius: 12px;
  background: var(--light-100);
}
.shot-frame img {
  position: absolute; max-width: none; height: auto; width: var(--w, 100%);
  left: var(--x, 0); top: var(--y, 0);
}
.shot-frame.whole { aspect-ratio: auto; position: static; }
.shot-frame.whole img { position: static; width: 100%; display: block; }
.shot-frame.wide { max-width: none; width: fit-content; }
.shot-mark {
  position: absolute; left: var(--l, 0); top: var(--t, 0); width: var(--mw, 0); height: var(--mh, 0);
  border: 3px solid var(--accent-text-light); border-radius: 6px; box-shadow: 0 0 0 2px #fff;
}
.more {
  margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-l);
  background: var(--navy-900); color: var(--ink-dark); font-size: 1.125rem; font-weight: 700;
}
.more-box { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); background: var(--navy-900); color: var(--ink-dark); }
.more-box .more { margin: 0; padding: 0; background: none; font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 800; letter-spacing: -0.02em; }
.more-box .muted { color: var(--soft-dark); margin: 0; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.more-box :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.more-box .btn.ghost { border-color: var(--muted-dark); }
.more-box .actions { margin-top: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; padding: 0; border: 0; }
.filters legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.filters button { min-height: 44px; }
.filters button[aria-pressed="true"] { background: var(--navy-900); color: var(--ink-dark); border-color: var(--navy-900); }
.group { margin-top: 40px; }
.group h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.two-ends { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) {
  .two-ends { grid-template-columns: 1fr 1fr; }
}
.two-ends .card h2 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.msg { margin-top: 12px; font-weight: 700; }
.msg:empty { display: none; }
.badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 0.8125rem;
  background: var(--accent-button); color: #fff; letter-spacing: 0.08em; text-transform: uppercase;
}
.done-box { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-l); background: var(--navy-800); border: 1px solid var(--line-dark); }
.band-light .done-box { background: var(--white); color: var(--ink-light); border-color: var(--line-light); }
dl.done-box { margin: 0 0 24px; }
dl.done-box dt { font-weight: 700; }
dl.done-box dd { margin: 0 0 8px; }
.method { margin-top: 40px; }
.proposals { margin-top: 40px; }
.proposal h3 { overflow-wrap: anywhere; }
.pair { margin: 0 0 12px; display: grid; gap: 12px; }
.pair dt { font-weight: 700; }
.pair dd { margin: 2px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--light-100); border: 1px solid var(--line-light); overflow-wrap: anywhere; }
.pair-pics { display: grid; gap: 12px; margin-bottom: 12px; }
.pair-fig { margin: 0; min-width: 0; }
.pair-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line-light); border-radius: 12px; background: var(--light-100); }
.pair-fig figcaption { font-weight: 700; margin-top: 4px; }
@media (min-width: 600px) {
  .pair-pics { grid-template-columns: 1fr 1fr; }
}

/* Start: one wide field and its button, as one pill */
.hero .inline { display: grid; gap: 12px; }
@media (min-width: 760px) {
  .hero .inline { grid-template-columns: 1fr auto; align-items: start; }
  .hero .inline .btn { margin-top: 31px; min-height: 56px; }
}

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

/* Email gate */
.gate-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
  .gate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
}
.gate-grid .lead { font-size: 1.125rem; color: var(--body-light); }
.card .done-box { border: 2px solid var(--teal-text-light); }

/* The locked findings and the next step, side by side */
.next { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 900px) {
  .next { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}
.next > :only-child { grid-column: 1 / -1; }
.two-ends:has(> [hidden]) { grid-template-columns: minmax(0, 1fr); }
.scorehead .wide:empty { display: none; }
.next .card h2 { font-size: clamp(1.25rem, 2.2vw, 1.625rem); }
.next .card { border-radius: var(--radius-l); }
.tight { padding-top: 0; }

/* No empty rows in the start form: the status line and the robot check take room only when used. */
.hero .form > .hint:empty { display: none; }
.hero .form > p.muted { margin: 0; }
.hero .form > .captcha { margin-top: -18px; }

/* ---------- One page: the address form, the row it shrinks to, the progress and the panels ---------- */

.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 > p { margin: 0; padding-left: 4px; }
.addr-form .hint:empty { display: none; }
@media (max-width: 479px) {
  .addr { padding-left: 14px; }
  .addr .btn { padding-inline: 1rem; }
  .addr-bar .addr .arrow { display: none; }
}
/* Order of the form: address, email, then the button, last in sight and in the tab order. */
.addr-form > .btn.wide { width: 100%; min-height: 52px; justify-content: center; }
.hero .addr-form > .btn.wide { min-height: 58px; font-size: 1.0625rem; }
@media (min-width: 640px) {
  .addr-form > .btn.wide { width: auto; justify-self: start; min-width: 14rem; }
}
.addr-form .email-row { display: grid; gap: 8px; }
/* The wait: a light box under the folded row of the form. */
.wait-box {
  display: grid; gap: 14px; padding: 30px 34px; border-radius: 28px; background: #f4f7fa;
  color: #2c3d50; border: 2px solid #0b6b5d; margin-top: 12px;
}
.wait-box > * { margin: 0; }
.wait-box .done-title { font-size: 1.25rem; font-weight: 800; color: #0c1b2a; }
.wait-box p { font-size: 1.0625rem; line-height: 1.6; }
.wait-box .muted, .wait-box .hint { color: #4a5b6e; font-size: 0.9375rem; }
.wait-box strong { color: #0c1b2a; }
.wait-box #confirm-note { color: #0b6b5d; font-weight: 700; font-size: 0.9375rem; }
.wait-box .btn.ghost { border-color: #8c9baa; color: #0c1b2a; min-height: 44px; }
.wait-box .pending { color: #0b6b5d; font-size: 0.9375rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.wait-box .pulse { width: 10px; height: 10px; border-radius: 50%; background: #0b6b5d; 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) { .wait-box .pulse { animation: none; } }
@media (max-width: 479px) { .wait-box { padding: 22px; border-radius: 24px; } .wait-box .done-title { font-size: 1.0625rem; } }
.wait-row {
  margin: 20px 0 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;
}
@media (max-width: 479px) { .wait-row { min-height: 48px; padding: 0 18px; font-size: 0.90625rem; } }
.hero .addr-form > .wait-row { margin-top: 0; }
/* While the link is awaited the introduction steps aside too, so the wait is the first thing read. */
.is-waiting .hero-in > :not(.addr-form) { display: none; }
.is-waiting .hero { padding-block: clamp(20px, 4vw, 40px); }
.addr-form.is-waiting > .addr-label, .addr-form.is-waiting > .addr, .addr-form.is-waiting > .email-row,
.addr-form.is-waiting > .btn, .addr-form.is-waiting > #address-hint, .addr-form.is-waiting > .field-error { display: none; }
.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; }
.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; }
.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; }
}
.band-light .preview { background: var(--white); border: 1px solid var(--line-light); box-shadow: 0 30px 70px rgb(12 27 42 / 10%); }
.next-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.next-line .eyebrow { margin-bottom: 8px; }
.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; }
}
main { min-height: 100vh; display: flex; flex-direction: column; }
#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 { background: var(--navy-800); border: 1px solid rgb(255 255 255 / 12%); border-radius: var(--radius-l); padding: 4px clamp(18px, 3vw, 32px); }
.progress li { align-items: flex-start; }
.progress .step-body { flex: 1; min-width: 0; }
/* The state keeps its place at the right of the name, however the name wraps. */
.progress .step-name { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; margin: 0; }
.progress .state { margin-left: 0; }
.progress .step-what { margin: 6px 0 0; font-weight: 400; color: var(--soft-dark); font-size: 0.9375rem; }
.progress li[data-state="pending"] .step-what { display: none; }
.progress li[data-state="done"] .mark::before { content: "✓"; }
.progress li[data-state="current"] .mark { border: 3px solid var(--accent-soft); }
.progress li[data-state="current"] .mark::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-soft); }
.progress li[data-state="current"] .state { color: var(--accent-soft); }

/* Panels: a sheet from the side, over the page */
dialog.sheet {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(600px, 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::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 .card { padding: clamp(18px, 2.4vw, 24px); }
dialog.sheet .done-box { background: var(--white); color: var(--ink-light); border: 1px solid var(--line-light); }
dialog.sheet .done-box[role="status"] { border: 2px solid var(--teal-text-light); }
.progress li:not([data-state="current"]) .step-what { display: none; }
.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 .lang { display: none; }
  .brand img { width: 130px; height: 25px; }
}
@media (min-width: 760px) {
  .lang-select { display: none; }
}

/* 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, #0a1724); 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, #0c1b2a); }
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 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) .tools .wrap { padding-block: 2px; }
  #band:has(.addr-bar) + #stage > .band:first-child { padding-top: 12px; }
}

/* The way to the prices: an outlined pill by the way to the start, and a row under the score. */
.nav .short { display: none; }
.nav a.nav-prices { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border: 1px solid var(--muted-dark); border-radius: 999px; color: var(--white); text-decoration: none; }
.nav a.nav-prices:hover { background: rgb(255 255 255 / 10%); text-decoration: none; }
@media (max-width: 599px) {
  .nav .long { display: none; }
  .nav .short { display: inline; }
  .nav { gap: 6px 8px; font-size: 0.8125rem; }
  .nav a.nav-prices { min-height: 32px; padding: 3px 10px; }
  .lang-select { padding-inline: 8px; }
}
.upgrade { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 8px; padding: 18px 20px; border: 1px solid #c9d4df; border-radius: 20px; background: #f4f7fa; color: #0c1b2a; }
.upgrade p { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.45; }
.upgrade .btn { background: #0c1b2a; border-color: #0c1b2a; color: #fff; }
.upgrade .btn:hover { background: #1c3249; border-color: #1c3249; }
@media (min-width: 760px) {
  .upgrade { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 16px 20px 16px 28px; }
  .upgrade p { max-width: 860px; font-size: 1.0625rem; }
}

.wait-box:has([role="alert"]) { border-color: #b83a02; }
.wait-box a:not(.btn) { color: #0b6b5d; }
.wait-box [role="alert"] { color: #8f2c00; font-weight: 700; }

/* Legal pages: a readable column */
.legal .wrap { max-width: 760px; }
.legal h1 { margin-bottom: 0.5em; }
.legal h2 { margin-top: 1.8em; font-size: 1.25rem; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 0.4em; }
