/*
 * AutoVDP, in cetome.com's own language.
 *
 * The values are the site's (cetome.com assets/css/base/brand.css and tokens.css), measured on the
 * live pages and written out rather than shared, the same way cetome.com's /admin/admin.css does:
 * Inter, cetome blue on white and slate, uppercase tracked navigation, the heavy uppercase title with
 * its blue square, bordered cards, the light "next step" band and the navy footer.
 *
 * It is the only stylesheet the site loads. Nothing comes from a third-party host.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/inter/inter-latin-variable.woff2) format('woff2');
}

:root {
  --blue: #0044aa;
  --blue-deep: #003a8f;
  --blue-light: #217aff;   /* the accent on dark grounds */
  --blue-accent: #1565d8;  /* the same blue, dark enough for text on white */
  --blue-wash: #eaf1fb;
  --ink: #0f172a;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --green: #15803d;
  --green-wash: #f0fdf4;
  --amber: #a16207;
  --amber-wash: #fefce8;
  --red: #b91c1c;
  --red-wash: #fef2f2;
  --radius: 0.5rem;
  --radius-card: 1rem;
  --container: 80rem;
  --gutter: 2rem;
  --shadow-card: 0 12px 30px -18px rgba(2, 15, 41, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

p { margin: 0 0 1rem; }

strong { font-weight: 700; color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--blue);
  color: #fff;
}
.skip-link:focus { left: 1rem; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 1.5rem;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font: 700 11px/1.5 'Inter', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:hover { background: #fff; color: var(--blue); text-decoration: none; }
.btn:disabled { opacity: 0.6; cursor: progress; }

.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-large { min-height: 3.75rem; padding: 0 2.5rem; }

.btn-on-dark { border-color: #fff; background: #fff; color: var(--blue); }
.btn-on-dark:hover { background: transparent; color: #fff; }

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--slate-200);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 2rem;
}

.logo img { height: 2.5rem; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2.5rem; }

.site-nav ul {
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--blue);
}
.site-nav ul a:hover { text-decoration: none; color: var(--ink); }
.site-nav ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 200ms ease;
}
.site-nav ul a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.3rem 0;
  background: var(--blue);
}

/* ------------------------------------------------------------------ hero */

.hero {
  background: var(--blue);
  color: #fff;
  padding: 3rem 0 4rem;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28rem);
  gap: 3rem;
  align-items: start;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: #fff; }

.hero h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  color: #fff;
}

.hero-lead { max-width: 36rem; }
.hero-lead p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.625;
}
.hero-lead strong { color: #fff; font-weight: 500; }

.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.5;
  transition: transform 200ms ease;
}
.hero-card:hover { text-decoration: none; transform: translateY(-2px); }
.hero-card strong { display: block; margin-bottom: 0.15rem; font-size: 1rem; color: var(--blue); }

/* the blue square that ends every title */
.dot::after {
  content: '';
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.15em;
  background: var(--blue);
}
.hero .dot::after { background: var(--blue-light); }

/* ------------------------------------------------------------------ sections */

.section { padding: 5rem 0; }
.section-muted { background: var(--slate-50); }

.kicker {
  margin: 0 0 0.75rem;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blue);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink);
}

.lead {
  max-width: 56rem;
  font-size: 17px;
  line-height: 1.8;
  color: var(--slate-600);
}

.section-head { margin-bottom: 2.5rem; }

/* ------------------------------------------------------------------ cards and forms */

.card {
  border: 1px solid var(--blue);
  border-radius: 0.75rem;
  background: #fff;
  padding: 2rem;
}

.card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.field { margin-bottom: 1.25rem; }
.field:last-child { margin-bottom: 0; }

label, .label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--slate-700);
}

input[type=text], input[type=email], input[type=url], input[type=number], textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.5 'Inter', system-ui, sans-serif; /* 16px keeps iOS from zooming on focus */
}
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
input.is-invalid, textarea.is-invalid { border-color: var(--red); }

.field-error { margin: 0.35rem 0 0; font-size: 13px; color: var(--red); }
.field-hint { margin: 0.35rem 0 0; font-size: 13px; color: var(--amber); }

.timelines { margin-top: 1.5rem; }
.timelines summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.timeline-grid .unit { display: flex; align-items: center; gap: 0.6rem; font-size: 14px; color: var(--slate-600); }
.timeline-grid input { max-width: 7rem; }

.form-actions { margin-top: 2rem; text-align: center; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 15px;
}
.alert-error { background: var(--red-wash); color: var(--red); }
.alert-success { background: var(--green-wash); color: var(--green); }

/* ------------------------------------------------------------------ analyser */

.analyse-form {
  display: flex;
  gap: 1rem;
  max-width: 48rem;
}
.analyse-form input { flex: 1 1 auto; }

.loader {
  display: none;
  width: 30px;
  height: 30px;
  margin: 2rem auto 0;
  border: 4px solid var(--blue-wash);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.vdp-loader-note { min-height: 1.25rem; margin-top: 0.75rem; text-align: center; font-size: 14px; color: var(--slate-500); }

#results { display: none; margin-top: 2.5rem; }

.vdp-heading { margin: 2rem 0 0.75rem; font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.vdp-muted { color: var(--slate-500); }
.vdp-small { font-size: 13px; }
.vdp-found-url { font-weight: 700; word-break: break-all; margin-bottom: 0.25rem; }

.vdp-banner {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  background: var(--blue-wash);
  color: #1e3a8a;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.vdp-banner p { margin: 0 0 0.35rem; }
.vdp-banner p:last-child { margin: 0; }
.vdp-banner-title { font-weight: 700; }
.vdp-banner-meta { font-size: 13px; opacity: 0.85; }
/* no policy found: a neutral grey, not a warning colour */
.vdp-banner-warning { border-color: var(--slate-200); background: var(--slate-50); color: var(--slate-700); }

.vdp-score {
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: var(--slate-50);
}
.vdp-score-great { background: var(--green-wash); border-color: #bbf7d0; }
.vdp-score-good { background: var(--amber-wash); border-color: #fef08a; }
.vdp-score-limited { background: #fff7ed; border-color: #fed7aa; }
.vdp-score-poor { background: var(--red-wash); border-color: #fecaca; }
.vdp-score-none { background: var(--slate-50); border-color: var(--slate-200); }
.vdp-score-contact_only { background: var(--blue-wash); border-color: #bfdbfe; }
.vdp-score-head { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.vdp-score-emoji { font-size: 2.25rem; line-height: 1; }
.vdp-score-value { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--ink); }
.vdp-score-max { font-size: 1.25rem; font-weight: 400; color: var(--slate-500); }
.vdp-score-title { margin: 0 0 0.5rem; font-size: 1.15rem; font-weight: 800; }
.vdp-score-text { margin: 0 auto; max-width: 38rem; color: var(--slate-700); }
.vdp-score-bar { margin-top: 1.25rem; height: 0.5rem; border-radius: 999px; background: rgba(0, 0, 0, 0.08); overflow: hidden; }
.vdp-score-bar span { display: block; height: 100%; border-radius: 999px; background: var(--blue); }

.vdp-locked {
  margin-top: 2rem;
  border: 1px solid var(--blue);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1.75rem 2rem;
}
.vdp-locked-title { margin: 0 0 0.75rem; font-size: 13px; font-weight: 900; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); }
.vdp-locked-list { margin: 0 0 1.5rem; color: var(--slate-700); }
.vdp-locked-list li { margin-bottom: 0.3rem; }
.vdp-locked-btn { margin-bottom: 0.75rem; }

#results hr { border: 0; border-top: 1px solid var(--slate-200); margin: 2rem 0 1rem; }

/* ------------------------------------------------------------------ pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-width: 2px; box-shadow: var(--shadow-card); }
.price-badge {
  position: absolute;
  top: -0.8rem;
  left: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.price { margin: 0 0 1.25rem; font-size: 2.5rem; font-weight: 900; line-height: 1; color: var(--ink); }
.price small { font-size: 1rem; font-weight: 500; color: var(--slate-500); }
.price-card ul { flex: 1; margin: 0 0 1.5rem; padding: 0; list-style: none; color: var(--slate-700); }
.price-card li { position: relative; padding: 0.35rem 0 0.35rem 1.6rem; }
.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--blue);
}

/* every bulleted list: cetome's blue square, as on the price cards, centred on the first line */
.vdp-locked-list, .r-list, .prose ul { padding-left: 0; list-style: none; }
.vdp-locked-list li, .r-list li, .prose ul li { position: relative; padding-left: 1.4rem; }
.vdp-locked-list li::before, .r-list li::before, .prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(0.5lh - 0.25rem);
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blue);
}

/* ------------------------------------------------------------------ footer */

.site-footer { background: var(--ink); color: var(--slate-400); padding: 3rem 0 1.25rem; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand img { height: 2.5rem; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0 0 0.35rem; font-size: 14px; }

.footer-col h2 {
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 0.9rem; }
.footer-col a { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--slate-200); }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------------ dialogs */

.dl-modal[hidden], .dl-modal-done[hidden], .dl-modal-form[hidden], .dl-modal-error[hidden] { display: none; }

.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.dl-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(2px); }
body.dl-modal-open { overflow: hidden; }
.dl-modal-panel {
  position: relative;
  width: 100%;
  max-width: 30rem;
  max-height: 100%;
  overflow-y: auto;
  border-radius: var(--radius-card);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
}
.dl-modal-panel.wide { max-width: 56rem; display: flex; flex-direction: column; }
.dl-modal-x {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: 0;
  background: none;
  padding: 0.25rem;
  font-size: 26px;
  line-height: 1;
  color: var(--slate-400);
  cursor: pointer;
}
.dl-modal-x:hover { color: var(--slate-700); }
.dl-modal-kicker { margin: 0 0 0.35rem; font-size: 11px; font-weight: 900; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue); }
.dl-modal-title { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 800; line-height: 1.25; color: var(--ink); word-break: break-word; }
.dl-modal-note { margin: 0 0 0.75rem; font-size: 14px; line-height: 1.65; color: var(--slate-600); }
.dl-modal-note:last-of-type { margin-bottom: 1.5rem; }
.dl-modal-note a { font-weight: 600; }
.dl-modal-error { margin: 0.75rem 0 0; font-size: 13px; color: var(--red); }
.dl-modal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.dl-modal-cancel {
  border: 0;
  background: none;
  padding: 0.5rem;
  font: 600 13px/1.5 'Inter', system-ui, sans-serif;
  color: var(--slate-500);
  cursor: pointer;
}
.dl-modal-cancel:hover { color: var(--blue); }

/* the generated policy, shown as it will look on a website */
.vdp-preview {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: 60vh;
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  background: var(--slate-50);
  font-size: 15px;
  color: var(--slate-700);
}
.vdp-preview h1 { font-size: 1.5rem; margin: 0 0 1rem; }
.vdp-preview h2 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.vdp-preview footer { margin-top: 1.5rem; font-size: 13px; color: var(--slate-500); }

/* input.… as well: the input rule above would otherwise outrank it and stretch the field */
.visually-hidden, input.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ small screens */

@media (max-width: 64rem) {
  .hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing { grid-template-columns: 1fr; }
}

@media (max-width: 48rem) {
  :root { --gutter: 1rem; }
  .site-header .container { height: 4rem; }
  .logo img { height: 2rem; }
  .nav-toggle { display: block; }
  .site-nav:not(.site-nav-static) {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 20px 30px -20px rgba(15, 23, 42, 0.3);
  }
  .site-nav.open:not(.site-nav-static) { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--slate-100); }
  .site-nav ul a::after { display: none; }
  .site-nav:not(.site-nav-static) .btn { margin-top: 1rem; }
  .section { padding: 3.5rem 0; }
  .hero { padding: 2rem 0 3rem; }
  .grid-2, .timeline-grid { grid-template-columns: 1fr; }
  .card { padding: 1.4rem; }
  .analyse-form { flex-direction: column; }
  .vdp-score { padding: 1.25rem; }
  .vdp-score-value { font-size: 2.25rem; }
  .vdp-locked { padding: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .dl-modal-panel { padding: 1.5rem; }
}

/* ------------------------------------------------------------------ pages built in PHP (lib/layout.php) */

.hero-compact { padding: 2.5rem 0 3rem; }
.hero-compact .container { grid-template-columns: 1fr; }
.hero-compact h1 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3rem); word-break: break-word; }
.hero-compact .hero-lead { max-width: 48rem; }
.hero-compact .hero-lead p { font-size: 1rem; line-height: 1.6; }

/* the report page shows two buttons and no menu, on every screen size */
.site-nav-static { gap: 0.75rem; }


@media (max-width: 48rem) {
  .site-nav-static .btn-outline { display: none; }
}

/* ------------------------------------------------------------------ the report (report/, lib/report_html.php)
   A cetome.com page rather than one long box: the score is a card beside the title in the hero, and
   each part of the report is a section of its own, white and slate in turn, with its content in cards. */

/* the hero: the domain and its dates on the left, the score card on the right */
.hero-compact.hero-with-aside { padding: 3rem 0 3.5rem; }
.hero-compact.hero-with-aside .container { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); align-items: center; }
.hero-compact .hero-lead p.hero-sub { margin-top: 0.75rem; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

.score-card {
  --band: var(--blue);
  --band-wash: var(--blue-wash);
  padding: 2.25rem;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.score-great { --band: var(--green); --band-wash: #dcfce7; }
.score-good { --band: #ca8a04; --band-wash: #fef9c3; }
.score-limited { --band: #ea580c; --band-wash: #ffedd5; }
.score-poor { --band: var(--red); --band-wash: #fee2e2; }
.score-none { --band: var(--slate-500); --band-wash: var(--slate-100); }
.score-card-label { margin: 0 0 0.75rem; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-500); }
.score-card-head { display: flex; align-items: center; gap: 0.75rem; }
.score-card-emoji { font-size: 2.5rem; line-height: 1; }
.score-card-n { font-size: 4rem; font-weight: 900; line-height: 1; color: var(--ink); }
.score-card-n span { font-size: 1.25rem; font-weight: 500; color: var(--slate-500); }
.score-card-band {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--band-wash);
  color: var(--band);
  font-size: 12px;
  font-weight: 800;
}
.score-card-bar { margin-top: 1rem; height: 0.5rem; border-radius: 999px; background: var(--slate-100); overflow: hidden; }
.score-card-bar span { display: block; height: 100%; border-radius: 999px; background: var(--band); }
.score-card-title { margin: 1.25rem 0 0.4rem; font-size: 1.15rem; font-weight: 800; line-height: 1.35; color: var(--ink); }
.score-card-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--slate-600); }
.score-card .r-pdf { margin: 1.5rem 0 0; }
.score-card .r-pdf .btn { width: 100%; justify-content: center; }

/* the sections: each carries its own padding, so the page around them has none */
.report-main { padding: 0; }
.report-section { padding: 4rem 0; }
.report-section .section-head { margin-bottom: 2rem; }
.report-section .section-head .lead { margin: 0; }
.report-disclosure { padding: 2.5rem 0 0; }
.r-banner { margin: 0; padding: 1rem 1.25rem; border: 1px solid #bfdbfe; border-radius: var(--radius); background: var(--blue-wash); color: #1e3a8a; }
.r-banner p { margin: 0 0 0.3rem; }
.r-banner p:last-child { margin: 0; }
.r-banner-title { font-weight: 700; }
.report-note { margin: 1.5rem 0 0; }

/* shared bits of the cards */
.card-label { margin: 0 0 0.6rem; font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-500); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.status::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.status-yes { background: #dcfce7; color: var(--green); }
.status-no { background: #fee2e2; color: var(--red); }
.report-section h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; color: var(--ink); }

/* accessibility: one tile per criterion, its points on top, coloured by how many it earned */
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.metric {
  --state: var(--amber);
  padding: 1.5rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
}
.metric-good { --state: var(--green); }
.metric-bad { --state: var(--red); }
.metric-points { margin: 0 0 0.75rem; font-size: 2rem; font-weight: 900; line-height: 1; color: var(--state); }
.metric-points span { font-size: 1rem; font-weight: 500; color: var(--slate-500); }
.metric-result { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate-600); }

/* discovery: the policy and the security.txt, side by side */
.report-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.report-card-block { padding: 1.75rem; }
.report-card-block p { margin: 0 0 0.6rem; }
.report-card-block p:last-child { margin-bottom: 0; }
.report-card-block .card-label { margin-bottom: 0.6rem; }
.r-url { font-weight: 700; word-break: break-all; }
.r-muted { color: var(--slate-500); }
.r-small { font-size: 13px; }
.r-summary { color: var(--slate-700); }
.r-note { padding: 0.6rem 0.9rem; border-radius: 0.4rem; background: var(--slate-100); font-size: 14px; }
.r-note-warn { background: var(--amber-wash); color: #78350f; }
.r-list { margin: 0.5rem 0 0; }
.r-list li { margin-bottom: 0.5rem; }
.r-warn li { color: #b45309; }

/* content: one card per mandatory item, its verdict on top and the sentence it relies on below */
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.check-card { padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: 0.75rem; background: #fff; min-width: 0; }
.check-comment { margin: 0; font-size: 14px; line-height: 1.55; color: var(--slate-600); word-break: break-word; }
.check-card blockquote {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.8rem;
  border-left: 3px solid var(--blue);
  background: var(--slate-50);
  font-size: 14px;
  font-style: italic;
  color: var(--slate-600);
  word-break: break-word;
}

/* reporting: four facts */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.fact { padding: 1.5rem; border: 1px solid var(--slate-200); border-radius: 0.75rem; background: #fff; }
.fact .card-label { margin-bottom: 0.5rem; }
.fact-value { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--ink); }

/* the study's issues, each linking to its page */
.issue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.issue-card { padding: 1.5rem; border: 1px solid var(--blue); border-radius: 0.75rem; background: #fff; }
.issue-card .card-label { color: var(--red); }
.issue-card p:last-child { margin: 0; font-size: 14px; line-height: 1.6; color: var(--slate-600); }
.report-details { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--slate-200); border-radius: 0.75rem; background: #fff; }
.report-details summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--slate-600); }
.report-details[open] summary { margin-bottom: 0.75rem; }

/* recommendations, most urgent first */
.reco-list { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.reco {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
}
.reco p { grid-column: 2; margin: 0; }
.reco .r-pill { grid-row: span 2; justify-self: start; text-transform: capitalize; }
.reco-source { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 13px; color: var(--slate-500); }
.reco-source:empty { display: none; }
.r-pill { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 12px; font-weight: 700; }
/* priority is urgency, not risk: cetome blue, strongest for high, grey for low */
.r-pill-high { background: var(--blue); color: #fff; font-weight: 800; }
.r-pill-medium { background: var(--blue-wash); color: var(--blue-accent); font-weight: 500; }
.r-pill-low { background: var(--slate-100); color: var(--slate-600); font-weight: 500; }
.r-tag { display: inline-block; padding: 0 0.35rem; border-radius: 0.25rem; background: var(--blue-wash); color: var(--blue); font-size: 11px; font-weight: 700; }

/* the way on */
.report-next .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center; }
.report-next .lead { margin: 0; }
.report-next-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.report-next-actions .r-pdf { margin: 0; }
.report-foot { margin: 0; padding: 1.5rem 0 3rem; font-size: 13px; color: var(--slate-500); }

@media (max-width: 64rem) {
  .hero-compact.hero-with-aside .container { grid-template-columns: 1fr; gap: 2rem; }
  .report-next .container { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  .report-section { padding: 3rem 0; }
  .report-split, .check-grid { grid-template-columns: 1fr; }
  .score-card { padding: 1.25rem; }
  .score-card-n { font-size: 2.75rem; }
  .reco { grid-template-columns: 1fr; }
  .reco p, .reco .r-pill { grid-column: 1; grid-row: auto; }
}

@media print {
  .site-header, .site-footer, .r-pdf, .report-next { display: none; }
  .hero { background: #fff; color: var(--ink); padding: 0 0 1rem; }
  .hero h1, .hero-lead p, .hero-kicker { color: var(--ink); }
  .report-section { padding: 1.5rem 0; background: #fff; }
  .score-card { box-shadow: none; border: 1px solid var(--slate-200); }
}

/* ------------------------------------------------------------------ the contact form
   cetome.com's (layouts/partials/contact-form.html, assets/css/components/contact-form.css), with
   its tokens written out. Class names are kept as they are there, so the two stay easy to compare. */

/* white here, not cetome.com's slate: on this page the grey privacy band sits just above it */
.contact-section { background-color: #fff; padding-block: 5rem; }
.contact-grid {
  display: grid;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  align-items: flex-start;
  gap: 4rem;
}
@media (min-width: 64rem) { .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.contact-header-col { margin-bottom: 1.5rem; }
@media (min-width: 64rem) { .contact-header-col { grid-column: span 12 / span 12; } }
.section-title-blue {
  margin: 0 0 0.75rem;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-header-main {
  display: inline-block;
  margin: 0;
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}
.contact-info-col { margin-bottom: 0.75rem; border-color: var(--slate-200); }
@media (min-width: 64rem) {
  .contact-info-col { grid-column: span 4 / span 4; border-left: 1px solid var(--slate-200); padding: 0.75rem 0 3.5rem 2rem; }
  .address-group-title { margin-bottom: 1.5rem; }
}
.contact-next-text { font-size: 15px; line-height: 1.625; color: var(--slate-600); }
.contact-book { margin: 1.25rem 0 0; }
.contact-book-note { margin: 0.5rem 0 2rem; font-size: 13px; line-height: 1.5; color: var(--slate-500); }
.address-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 64rem) { .address-group { grid-template-columns: 1fr; gap: 3rem; } }
.address-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  margin: 0 0 0.75rem;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.address-title-dot { width: 0.5rem; height: 0.5rem; flex-shrink: 0; background-color: var(--blue); }
.address-text { margin: 0; font-size: 13px; line-height: 1.625; font-weight: 500; color: var(--slate-600); }
@media (min-width: 48rem) { .address-text { font-size: 15px; } }
@media (min-width: 64rem) { .contact-form-col { grid-column: span 8 / span 8; } }
.contact-form { display: grid; column-gap: 3rem; row-gap: 2.5rem; }
@media (min-width: 40rem) {
  .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-group-full { grid-column: span 2 / span 2; }
}
.form-group > :not(:last-child), .form-group-full > :not(:last-child) { margin-block: 0 0.5rem; }
.input-label {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
/* cetome.com's fields are a single underline, not a box */
.contact-form .input-field, .contact-form .input-textarea {
  width: 100%;
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--slate-300);
  border-radius: 0;
  background-color: transparent;
  padding: 0.75rem 0;
  font: 400 15px/1.43 'Inter', system-ui, sans-serif;
  color: #1e293b;
  transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}
.contact-form .input-field::placeholder, .contact-form .input-textarea::placeholder { color: var(--slate-500); }
.contact-form .input-field:focus, .contact-form .input-textarea:focus { border-color: var(--blue); outline: none; }
.contact-form .input-textarea { height: 8rem; resize: none; }
.btn-submit {
  width: 100%;
  height: 52px;
  padding-inline: 3rem;
  border: 2px solid var(--blue);
  border-radius: 0.75rem;
  background-color: var(--blue);
  color: #fff;
  font: 900 11px/1 'Inter', system-ui, sans-serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) { .btn-submit:hover { background-color: transparent; color: var(--blue); } }
.btn-submit:active { scale: 0.98; }
@media (min-width: 40rem) { .btn-submit { width: auto; } }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; filter: grayscale(0.5); }
.contact-form .error { margin: 0; font-size: 14px; color: var(--red); }
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}
.success-message[hidden], .contact-form[hidden], .contact-form .error[hidden] { display: none; }
.success-message h3 {
  display: flex;
  align-items: center;
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 1.33;
  font-weight: 700;
  color: var(--blue);
}
.success-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  padding: 0.25rem;
  border-radius: 999px;
  background-color: var(--blue);
  color: #fff;
}
.success-icon svg { width: 2rem; height: 2rem; }
.success-message p { max-width: 20rem; margin: 0 0 2rem; color: var(--slate-600); }
.btn-reset { border: 0; background: none; cursor: pointer; font: 700 16px/1.5 'Inter', system-ui, sans-serif; color: var(--blue); }
@media (hover: hover) { .btn-reset:hover { color: var(--blue-light); } }
.honeypot { display: none; }
/* The widget injects its own stylesheet after ours. */
altcha-widget { border: none; }

/* ------------------------------------------------------------------ external links
   cetome.com's rule (assets/js/links.js, base/typography.css): a link to any host other than
   cetome.com itself, subdomains included, opens in a new tab and carries this mark, drawn in the
   link's own colour. js/site.js applies the class. */

a.external-link .link-end { white-space: nowrap; }
a.external-link:not(.link-glued)::after, a.external-link .link-end::after {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-left: 0.25rem;
  margin-bottom: 0.25rem;
  vertical-align: middle;
  background-color: currentcolor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14'%3E%3C/path%3E%3C/svg%3E") center / contain no-repeat;
}

/* the hero cards carry cetome.com's own icons (layouts/partials/hero-card.html) */
.hero-card .card-icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; color: var(--slate-400); }
.hero-card:hover .card-icon { color: var(--blue); }

/* the small label above the title of a page built in PHP, where cetome.com has its breadcrumb */
.hero-kicker {
  margin: 0 0 1.25rem;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* The footer of a single tool: the logo, one line, and the bottom bar. */
.footer-simple .footer-brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-simple .footer-brand img { margin: 0; }
.footer-simple .footer-brand p { margin: 0; font-size: 14px; }
.footer-simple .footer-bottom { margin-top: 1.75rem; }

/* ------------------------------------------------------------------ the generator, as cetome.com's VDP score
   assets/css/apps/vdp-scoring.css with its tokens written out: bordered cards of equal height, heavy
   uppercase questions, fields drawn like its answer cards, rows like its security.txt toggle, and the
   one wide button. */

.questionnaire { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 48rem) {
  .questionnaire { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .questionnaire .form-footer { grid-column: span 2 / span 2; }
}
.q-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--blue);
  border-radius: 0.75rem;
  background: #fff;
}
.q-card > div + div { margin-top: 1.25rem; }
.q-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 900;
  text-transform: uppercase;
  color: #020617;
}
.q-card h3 label { margin: 0; font: inherit; color: inherit; }
.q-help { margin: -0.5rem 0 0.75rem; }
.q-help em { font-size: 13px; line-height: 1.33; font-style: italic; color: var(--slate-500); }

/* a field, drawn like the score's answer cards */
.questionnaire .q-input {
  min-height: 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 75ms ease-in-out;
}
.questionnaire .q-input::placeholder { color: var(--slate-500); }
@media (hover: hover) { .questionnaire .q-input:hover { border-color: var(--blue-light); } }
.questionnaire .q-input:focus-visible { outline: none; border-color: var(--blue); background: var(--slate-50); }

/* a timeline, drawn like the score's "Is the security.txt valid?" row */
.q-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  background: #fff;
}
.q-row label { margin: 0; font-size: 15px; font-weight: 500; color: var(--slate-500); }
.q-days { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 15px; font-weight: 500; color: var(--slate-500); }
.questionnaire .q-days input {
  width: 4.5rem;
  min-height: 0;
  padding: 0.625rem 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--slate-100);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #020617;
}
.questionnaire .q-days input:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }
.q-row .field-hint { grid-column: 1 / -1; margin: 0; }
.q-card .field-error { margin: 0.5rem 0 0; }
.q-card > .q-row + .q-row { margin-top: 0; }

.questionnaire hr { margin: 0.5rem 0 1.5rem; border: 0; border-top: 1px solid var(--slate-200); }
.q-submit {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 1rem auto 0;
  padding: 1.25rem 2rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font: 900 11px/1.5 'Inter', system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 75ms ease-in-out;
}
@media (hover: hover) { .q-submit:hover { translate: 0 -1px; background: var(--blue-light); } }
.q-submit:disabled { cursor: not-allowed; background: var(--slate-300); translate: none; }

@media (max-width: 48rem) {
  .q-card { padding: 1.25rem; }
}
.questionnaire .q-input.is-invalid { border-color: var(--red); }

/* ------------------------------------------------------------------ running text (privacy/) */
.prose { max-width: 48rem; font-size: 16px; line-height: 1.75; color: var(--slate-700); }
.prose h2 { margin: 3rem 0 1rem; font-size: 1.35rem; }
.prose p, .prose ul { margin: 0 0 1rem; }
.prose li { margin-bottom: 0.6rem; }
.prose strong { color: var(--ink); }
