/* Inire Trust Check. Main track of the Inire design system (inireab/inire-design-system tokens/*.css, 2a2964a):
   cream page, Space Grotesk headings, DM Sans body, teal-deep links, coral primary button with dark text. Mobile
   first. No inline style anywhere, so the CSP keeps style-src 'self'. Fonts are self-hosted (SIL OFL 1.1, licence
   texts in /fonts/). Every traffic light carries a text label; colour is never the only signal. */

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.woff2") format("woff2"), url("fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans.woff2") format("woff2"), url("fonts/DMSans.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #10917C;
  --teal-deep: #0B6E5D;
  --teal-mid: #7BA9A0;
  --coral: #D96B6B;
  --coral-text: #B04040;
  --yellow: #F2D024;
  --light: #D6DDD9;
  --cream: #FBF5EC;
  --cream-paper: #FDFAF4;
  --cream-deep: #F4EDE1;
  --dark: #1C2320;
  --dark-deep: #141915;
  --text-muted: #666666;
  --border-subtle: #E2DBCD;
  --surface-field: #F2EADB;
  --surface-field-hover: #EEE4D2;
  --tint-teal: #DEEAE2;
  --tint-coral: #F7E4DD;
  --tint-coral-2: #F2D3CC;
  --tint-yellow: #FAF1D4;
  --tint-dark: #E9E4DC;
  --font-display: "Space Grotesk", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-accent: Georgia, serif;
  --font-mono: ui-monospace, Menlo, monospace;
  --gutter: 20px;
  --measure: 68ch;
  --tap: 44px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

:where(p, li, td, figcaption) :where(em, i), :where(blockquote) {
  font-family: var(--font-accent);
  font-style: italic;
}

a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--teal-mid); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--dark); margin: 0 0 12px; }
h1 { font-size: 26px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
h2 { font-size: 19px; line-height: 1.3; font-weight: 600; }
h3 { font-size: 17px; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 12px; max-width: var(--measure); }
code { font-family: var(--font-mono); font-size: 13px; overflow-wrap: anywhere; word-break: break-word; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 10; padding: 10px 16px;
  background: var(--dark); color: var(--cream); text-decoration: none;
}
.skip:focus { top: 8px; color: var(--cream); }

.kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 8px;
}

/* Header and language switcher. */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter); border-bottom: .5px solid rgba(28, 35, 32, .14);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: var(--tap); }
.brand img { height: 24px; width: auto; display: block; }
.brand-tool { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dark); }
.lang ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--text-muted); text-decoration: none;
}
.lang a[aria-current="page"] { color: var(--dark); text-decoration: underline; text-decoration-thickness: 1.5px; }
.lang a:hover { color: var(--dark); }
.suggest { margin: 0; padding: 8px var(--gutter); background: var(--cream-deep); font-size: 15px; max-width: none; }

main { display: block; padding: 32px var(--gutter) 16px; max-width: 880px; margin: 0 auto; }
main > section { margin-bottom: 40px; }
.lead { font-size: 17px; }

/* The form (forms-validation card: label above, help below, coral primary button, 480px field). */
.check-form { margin-top: 24px; max-width: 560px; }
.check-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.check-form input[type="text"] {
  flex: 1 1 260px; max-width: 480px; min-height: 48px; padding: 10px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--dark);
  background: var(--surface-field); border: 1.5px solid var(--surface-field); border-radius: 0;
}
.check-form input[type="text"]:hover { background: var(--surface-field-hover); }
.check-form input[type="text"]:focus-visible { border-color: var(--teal); outline: 2px solid var(--teal); outline-offset: 2px; }
.check-form input[aria-invalid="true"] { border-color: var(--coral-text); }
.help { font-size: 13px; color: var(--text-muted); margin: 6px 0 0; }
.help-error { color: var(--coral-text); font-weight: 600; }
.privacy { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: .8rem 1.5rem;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 2px;
  transition: background-color .2s ease, color .2s ease;
}
.button-primary { background: var(--coral); border-color: var(--coral); color: var(--dark); }
.button-primary:hover { background: transparent; color: var(--coral); }
.button-teal { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--cream); }
.button-teal:hover { background: transparent; color: var(--teal-deep); }
.arrow { font-family: var(--font-body); }

.alert {
  border-left: 3px solid var(--coral-text); background: var(--tint-coral); padding: 12px 16px; margin: 16px 0 0;
  max-width: 560px;
}
.alert p { margin: 0; }
.alert a { color: var(--coral-text); }

/* Result: score card. */
.score-card {
  margin: 20px 0 12px; padding: 20px; background: var(--cream-paper); border: .5px solid var(--border-subtle);
  border-left: 3px solid var(--teal); border-radius: 2px;
}
.score-card.band-open, .score-card.state-lame { border-left-color: var(--coral-text); }
.score-card.band-partial { border-left-color: var(--yellow); }
.score-card.band-good { border-left-color: var(--teal); }
.score-card.band-excellent { border-left-color: var(--teal-deep); }
.score-card.state-domain-not-found, .score-card.state-indeterminate { border-left-color: var(--text-muted); }
.score { margin: 0; font-family: var(--font-display); }
.score-label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.score-number { font-size: 56px; line-height: 1; font-weight: 700; }
.score-of { font-size: 20px; color: var(--text-muted); margin-left: 4px; }
meter {
  display: block; width: 100%; max-width: 480px; height: 10px; margin: 12px 0;
  appearance: none; background: var(--tint-dark); border: 0;
}
meter::-webkit-meter-bar { background: var(--tint-dark); border: 0; border-radius: 0; height: 10px; }
meter::-webkit-meter-optimum-value { background: var(--teal); }
meter::-webkit-meter-suboptimum-value { background: var(--yellow); }
meter::-webkit-meter-even-less-good-value { background: var(--coral); }
meter::-moz-meter-bar { background: var(--teal); }
.band-label {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; background: var(--tint-dark); margin: 4px 0 8px;
}
.band-open .band-label, .state-lame .band-label { background: var(--tint-coral); color: var(--coral-text); }
.band-partial .band-label { background: var(--tint-yellow); }
.band-good .band-label, .band-excellent .band-label { background: var(--tint-teal); color: var(--teal-deep); }
.note { font-size: 14px; color: var(--text-muted); }
.path { font-size: 14px; color: var(--text-muted); }
details.parts { margin-top: 8px; font-size: 14px; }

details > summary { cursor: pointer; min-height: var(--tap); display: flex; align-items: center; color: var(--teal-deep); }
details > summary h2 { display: inline; margin: 0; }
details dl { margin: 8px 0 0; }
details dl > div { display: grid; grid-template-columns: 1fr; gap: 0 16px; padding: 6px 0; border-top: .5px solid var(--border-subtle); }
dt { font-weight: 600; font-size: 14px; }
dd { margin: 0; font-size: 14px; }

/* Call to action and contact. */
.cta { padding: 20px; background: var(--dark); color: var(--cream); border-radius: 2px; }
.cta .cta-text { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--cream); }
.cta a { color: var(--teal-mid); }
.cta a:hover { color: var(--cream); }
.cta dt { color: var(--teal-mid); }
.contact { display: grid; gap: 8px; margin: 12px 0 0; }
.contact > div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.contact dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; min-width: 80px; }
.contact dd { font-size: 16px; }
.contact a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* Checks and findings. */
.check-list { list-style: none; margin: 0; padding: 0; }
.check { padding: 16px 0; border-top: .5px solid rgba(28, 35, 32, .14); }
.check-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.check-head h3 { margin: 0; }
.what { font-size: 14px; color: var(--text-muted); margin: 4px 0 8px; }
.findings { list-style: none; margin: 0; padding: 0; }
.finding { padding: 10px 12px; margin: 8px 0; background: var(--cream-paper); border-left: 3px solid var(--light); }
.finding-red { border-left-color: var(--coral-text); }
.finding-orange { border-left-color: var(--coral); }
.finding-yellow { border-left-color: var(--yellow); }
.finding-green { border-left-color: var(--teal); }
.finding-grey { border-left-color: var(--text-muted); }
.finding-info { border-left-color: var(--teal-mid); }
.finding p { margin: 0 0 4px; }
.next { font-size: 15px; }

.light {
  display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; background: var(--tint-dark); color: var(--dark); white-space: nowrap;
}
.light .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); flex: none; }
.light-red { background: var(--tint-coral); color: var(--coral-text); }
.light-red .dot { background: var(--coral-text); }
.light-orange { background: var(--tint-coral-2); color: var(--dark); }
.light-orange .dot { background: var(--coral); }
.light-yellow { background: var(--tint-yellow); color: var(--dark); }
.light-yellow .dot { background: var(--yellow); box-shadow: 0 0 0 1px var(--dark); }
.light-green { background: var(--tint-teal); color: var(--teal-deep); }
.light-green .dot { background: var(--teal); }
.light-grey .dot { background: var(--text-muted); }
.light-info .dot { background: var(--teal-mid); }

.notes p { font-size: 14px; color: var(--text-muted); }
.extra-intro { max-width: var(--measure); color: var(--text-muted); margin: 0 0 8px; }
.how ul { padding-left: 20px; }
.how li { margin-bottom: 4px; max-width: var(--measure); }

/* The Inire block and the footer. */
.inire { background: var(--cream-deep); padding: 32px var(--gutter); }
.inire > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.inire .kicker { max-width: 880px; }
.services { padding-left: 20px; }
.services li { margin-bottom: 8px; max-width: var(--measure); }
.site-footer { background: var(--dark); color: var(--cream); padding: 24px var(--gutter) 32px; font-size: 14px; }
.site-footer > * { max-width: 880px; margin-left: auto; margin-right: auto; }
.site-footer .kicker { color: var(--teal-mid); }
.site-footer p { color: var(--cream); }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  body { font-size: 17px; }
  h1 { font-size: 42px; line-height: 1.15; }
  h2 { font-size: 24px; }
  .brand img { height: 28px; }
  main { padding-top: 48px; }
  .score-card, .cta { padding: 28px 32px; }
  details dl > div { grid-template-columns: 220px 1fr; }
}

@media (min-width: 1024px) {
  :root { --gutter: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
