@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
:root {
  --aluminum: #F4F6FB;
  --aluminum-2: #E8EDF6;
  --line: #D3DAE6;
  --graphite: #0B1B33;
  --graphite-2: #17305A;
  --navy-deep: #061634;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(6, 22, 52, 0.06), 0 18px 40px -18px rgba(6, 22, 52, 0.28);
  --shadow-hover: 0 2px 4px rgba(6, 22, 52, 0.08), 0 26px 50px -18px rgba(6, 22, 52, 0.38);
  --machine: #0B2F71;
  --machine-dark: #08234F;
  --safety: #FFBA00;
  --text: #13233F;
  --text-soft: #44506A;
  --on-dark: #F5F7FA;
  --on-dark-soft: #C5D0E6;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 90rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--machine-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--graphite); outline-offset: 3px; box-shadow: 0 0 0 6px var(--safety); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3.5rem); }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--safety); color: var(--graphite);
  padding: 0.75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* Headings: one each, sizes strictly decrease h1 > h2 > h3 > h4 > any body text */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  color: inherit;
}
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
h2 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); }
h3 { font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); }
h4 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2rem); }
p { margin: 0 0 1rem; max-width: 75ch; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  line-height: 1.2;
}
.btn-primary { background: var(--safety); color: var(--graphite); box-shadow: 0 10px 24px -10px rgba(255, 186, 0, 0.75); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { background: #FFC933; color: var(--graphite); }
.btn-ghost { background: transparent; color: var(--graphite); border-color: currentColor; }
.btn-ghost:hover { background: var(--graphite); color: var(--on-dark); }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; box-shadow: 0 8px 24px -20px rgba(6, 22, 52, 0.5); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; flex-wrap: wrap; }
.brand { display: block; padding: 0.5rem 0; line-height: 0; }
.brand img { width: auto; height: 4.5rem; }
@media (max-width: 36rem) { .brand img { height: 3.5rem; } }
.nav-toggle {
  display: none; font: inherit; font-weight: 700; font-size: 1rem;
  background: var(--graphite); color: var(--on-dark);
  border: 0; border-radius: 4px; padding: 0.6rem 1rem; cursor: pointer;
}
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .2rem 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.site-header .wrap .primary-nav {max-width: calc(100% - 155px);}
.primary-nav a { color: var(--graphite); text-decoration: none; font-weight: 600; }
.primary-nav a:hover { text-decoration: underline; }
.primary-nav .btn { padding: 0.6rem 1rem; }
@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .js .primary-nav { display: none; width: 100%; padding-bottom: 1rem; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: block; padding: 0.6rem 0; }
  .primary-nav .btn { display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.1rem; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #FFFFFF;
  min-height: calc(100vh - 5.6rem); display: flex; align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(255, 186, 0, 0.22), rgba(255, 186, 0, 0) 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(47, 107, 255, 0.35), rgba(47, 107, 255, 0) 60%),
    linear-gradient(155deg, #0B2F71 0%, #061634 65%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, rgba(255, 255, 255, 0) 1.5px);
  background-size: 26px 26px;
}
.hero .wrap { position: relative; }
.hero h1 { color: #FFFFFF; }
.hero .btn-ghost { color: #FFFFFF; }
.hero .btn-ghost:hover { background: #FFFFFF; color: var(--graphite); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-lede { font-size: 1.3125rem; color: #D5DEF0; max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-figure { margin: 0; }
.hero-figure img { width: 100%; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } }

/* Engines strip */
.engines { background: var(--navy-deep); color: var(--on-dark); padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.engines .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; }
.engines p { margin: 0; color: var(--on-dark-soft); }
.engines ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-weight: 700; }
.engines li { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.3rem 0.9rem; }

/* Free tools band */
.tools { background: var(--aluminum); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.tools-head { text-align: center; max-width: 52rem; margin: 0 auto 2.5rem; }
.tools-head p { margin-left: auto; margin-right: auto; }
.tools-title { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; line-height: 1.2; margin-bottom: 0.5rem; }
.tools-sub { color: var(--text-soft); font-size: 1.125rem; }
.tool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.tool-card { background: #FFFFFF; border-radius: 22px; padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.tool-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; }
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tool-ada::before { background: linear-gradient(90deg, #0B2F71, #2F6BFF); }
.tool-ai::before { background: linear-gradient(90deg, #FFBA00, #FF8A00); }
.tool-w3c::before { background: linear-gradient(90deg, #2F6BFF, #0B2F71); }
.tool-icon { width: 3.75rem; height: 3.75rem; padding: 0.6rem; border-radius: 16px; margin-bottom: 1.1rem; color: #FFFFFF; }
.tool-ada .tool-icon { background: linear-gradient(135deg, #0B2F71, #2F6BFF); }
.tool-ai .tool-icon { background: linear-gradient(135deg, #FFBA00, #FF8A00); color: #0B1B33; }
.tool-w3c .tool-icon { background: linear-gradient(135deg, #2F6BFF, #0B2F71); }
.tool-name { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.2; margin-bottom: 0.6rem; }
.tool-desc { color: var(--text-soft); }
.tool-meta { font-size: 0.9375rem; font-weight: 700; color: var(--machine); margin-top: auto; padding-top: 0.25rem; }
.tool-btn { align-self: flex-start; }
@media (max-width: 62rem) { .tool-grid { grid-template-columns: 1fr; } }

/* Shift / comparison */
.shift { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.shift .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.shift-statement { font-size: 1.375rem; font-weight: 700; font-stretch: 108%; line-height: 1.3; max-width: 26rem; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 30rem; background: #FFFFFF; }
caption { text-align: left; font-weight: 700; padding: 1rem 1rem 0.75rem; font-size: 1.0625rem; background: #FFFFFF; }
th, td { text-align: left; vertical-align: top; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--graphite); color: #FFFFFF; border-bottom: 0; }
tbody th { font-weight: 700; width: 28%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.ai { background: #FFF5D6; }
@media (max-width: 52rem) { .shift .wrap { grid-template-columns: 1fr; } }
@media (max-width: 36rem) { table { min-width: 0; font-size: 0.9375rem; } th, td { padding: 0.65rem 0.6rem; } }

/* Services */
.services { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--aluminum); }
.services-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.services-intro p { color: var(--text-soft); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pillar { padding: 2rem 1.75rem; background: #FFFFFF; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--machine), #2F6BFF); }
.pillar:nth-child(2)::before { background: linear-gradient(90deg, #2F6BFF, var(--safety)); }
.pillar:nth-child(3)::before { background: linear-gradient(90deg, var(--safety), #FF8A00); }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.pillar-name { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.2; margin-bottom: 0.25rem; }
.pillar-short { color: var(--machine-dark); font-weight: 700; margin-bottom: 0.9rem; }
.pillar ul { margin: 1rem 0 0; padding-left: 1.1rem; }
.pillar li { margin-bottom: 0.4rem; }
@media (max-width: 58rem) {
  .services-intro { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* Scorecard */
.scorecard { background: radial-gradient(ellipse 50% 60% at 90% 10%, rgba(47, 107, 255, 0.25), rgba(47, 107, 255, 0) 60%), var(--navy-deep); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.scorecard a { color: var(--safety); }
.scorecard .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.scorecard-lead { font-size: 1.375rem; font-weight: 700; font-stretch: 108%; line-height: 1.3; }
.scorecard p { color: var(--on-dark-soft); }
.weights { list-style: none; margin: 1.75rem 0 1.5rem; padding: 0; }
.weights li { margin-bottom: 1rem; }
.weight-row { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: var(--on-dark); }
.weight-bar { display: block; height: 0.6rem; margin-top: 0.35rem; background: var(--graphite-2); border-radius: 999px; }
.weight-bar span { display: block; height: 100%; background: linear-gradient(90deg, #FF8A00, var(--safety)); border-radius: 999px; }
.tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tiers li { border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.35rem 0.7rem; font-size: 0.9375rem; color: var(--on-dark); }

.check { background: #FFFFFF; color: var(--text); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); padding: clamp(1.25rem, 3vw, 2rem); position: relative; }
.check::before {
  content: ""; position: absolute; top: 0.9rem; right: 0.9rem; width: 0.75rem; height: 0.75rem;
  border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 2px #A5ADBB;
}
.scorecard .check p { color: var(--text); }
.scorecard .check .check-sub, .scorecard .check #score-note { color: var(--text-soft); }
.scorecard .check a { color: var(--machine-dark); font-weight: 700; }
.check-title { font-size: 1.25rem; font-weight: 800; font-stretch: 108%; margin-bottom: 0.25rem; padding-right: 2rem; }
.check-sub { color: var(--text-soft); font-size: 1rem; }
.check fieldset { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 1rem 0; }
.check legend { font-weight: 700; padding: 0; margin-bottom: 0.6rem; float: left; width: 100%; }
.check .opts { clear: both; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.check .opts label {
  display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer;
  border: 2px solid var(--line); border-radius: 999px; padding: 0.45rem 0.9rem; background: #FFFFFF; font-size: 1rem;
}
.check .opts input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--machine); }
.check .opts label:has(input:checked) { border-color: var(--machine); background: #E4E9F3; }
.check-submit { margin-top: 0.5rem; font: inherit; cursor: pointer; }
.check-result { margin-top: 1.25rem; border-left: 6px solid var(--machine); padding: 0.75rem 1rem; background: #FFFFFF; }
.check-result[hidden] { display: none; }
.score-line { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin-bottom: 0.4rem; }
.scorecard .check .check-error { color: #8A1C1C; font-weight: 700; margin-top: 1rem; }
@media (max-width: 58rem) { .scorecard .wrap { grid-template-columns: 1fr; } }

/* Accessibility checker */
.a11y { background: #FFFFFF; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.a11y .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.a11y-lead { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.3; }
.a11y-intro p { color: var(--text-soft); }
.a11y-intro .a11y-lead { color: var(--text); }
.a11y-tool { border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--aluminum); box-shadow: var(--shadow); border-top: 5px solid var(--machine); }
.a11y-tool > label { display: block; font-weight: 700; margin-bottom: 0.4rem; }
.a11y-hint { font-size: 0.9375rem; color: var(--text-soft); margin-bottom: 0.6rem; }
.a11y-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.a11y-row input {
  flex: 1 1 16rem; min-width: 0; font: inherit; font-size: 1.0625rem;
  padding: 0.75rem 1.1rem; border: 2px solid var(--line); border-radius: 999px; background: #FFFFFF; color: var(--text);
}
.a11y-row input[aria-invalid="true"] { border-color: #8A1C1C; }
.a11y-row .btn { font: inherit; font-weight: 700; cursor: pointer; }
.a11y-error { color: #8A1C1C; font-weight: 700; margin: 0.6rem 0 0; }
.a11y-results { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.a11y-results[hidden], .a11y-error[hidden] { display: none; }
.a11y-results-title { font-weight: 800; margin-bottom: 0.25rem; }
.a11y-results-title:focus { outline: none; }
.a11y-results ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.a11y-results li { border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line); border-left: 6px solid var(--machine); padding: 0.85rem 1rem; margin-bottom: 0.75rem; }
.a11y-results li a { font-weight: 700; }
.a11y-results li p { margin: 0.25rem 0 0; font-size: 0.9375rem; color: var(--text-soft); }
.a11y-note { font-size: 0.9375rem; color: var(--text-soft); margin: 1rem 0 0; }
@media (max-width: 58rem) { .a11y .wrap { grid-template-columns: 1fr; } }

/* Live scan results */
.a11y-row .btn[disabled] { opacity: 0.7; cursor: progress; }
.a11y-status { margin: 0.75rem 0 0; font-weight: 600; min-height: 1.6em; }
.a11y-report { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.a11y-report[hidden], .a11y-fallback[hidden] { display: none; }
.a11y-report-title { font-weight: 800; margin-bottom: 0.25rem; }
.a11y-report-title:focus { outline: none; }
.a11y-score { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin: 0.75rem 0 0.4rem; }
.a11y-meter { height: 0.75rem; background: #FFFFFF; border: 1px solid var(--line); border-radius: 2px; margin-bottom: 0.75rem; }
.a11y-meter span { display: block; height: 100%; background: var(--machine); border-radius: 2px; }
.a11y-counts { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.a11y-counts li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 3px; padding: 0.3rem 0.65rem; font-size: 0.9375rem; }
.a11y-issues { list-style: none; margin: 0; padding: 0; }
.a11y-issues li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 0.6rem; }
.a11y-issue-name { font-weight: 700; margin: 0.35rem 0 0.2rem; }
.a11y-issue-meta { font-size: 0.9375rem; color: var(--text-soft); margin: 0 0 0.3rem; }
.a11y-issues a { font-weight: 700; font-size: 0.9375rem; }
.impact { display: inline-block; font-size: 0.8125rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; color: #FFFFFF; }
.impact-critical { background: #8A1C1C; }
.impact-serious { background: #8F4300; }
.impact-moderate { background: var(--machine); }
.impact-minor { background: #4F575D; }
.a11y-cta { margin: 1rem 0 0; font-weight: 700; }
.a11y-fallback { margin-top: 1.25rem; }
.a11y-fallback ul, .a11y-second ul { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.a11y-fallback li, .a11y-second li { margin-bottom: 0.4rem; }
.a11y-second { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.a11y-second-title { font-weight: 700; margin-bottom: 0; }

/* Videos */
.videos { background: radial-gradient(ellipse 60% 70% at 15% 0%, rgba(255, 186, 0, 0.16), rgba(255, 186, 0, 0) 60%), linear-gradient(180deg, #0B2F71 0%, #061634 100%); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.videos a { color: var(--safety); }
.videos-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 2rem; }
.videos-title { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin-bottom: 0.25rem; }
.videos-sub { color: var(--on-dark-soft); margin: 0; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.video-card { margin: 0; display: flex; flex-direction: column; }
.video-frame { position: relative; border: 0; border-radius: 20px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12); background: #000000; overflow: hidden; line-height: 0; }
.video-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: #000000; }
.video-card figcaption { padding-top: 1.1rem; }
.video-name { font-size: 1.25rem; font-weight: 800; font-stretch: 106%; margin-bottom: 0.35rem; color: var(--on-dark); }
.video-meta { font-size: 0.9375rem; color: var(--on-dark-soft); margin-bottom: 0.6rem; }
.video-card figcaption p { color: var(--on-dark-soft); }
.video-link { font-weight: 700; }
@media (max-width: 52rem) { .video-grid { grid-template-columns: 1fr; } }

/* Scan mode selector */
.scan-mode { border: 0; margin: 0 0 1.25rem; padding: 0; }
.scan-mode legend { font-weight: 700; margin-bottom: 0.5rem; padding: 0; }
.scan-mode .opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.scan-mode .opts label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; font-weight: 600; font-size: 0.9375rem; border: 2px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; background: #FFFFFF; margin: 0; }
.scan-mode .opts input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--machine); }
.scan-mode .opts label:has(input:checked) { border-color: var(--machine); background: #E4E9F3; }

/* Scan summary and validation blocks */
.a11y-checks { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text-soft); }
.a11y-checks li { margin-bottom: 0.5rem; }
.a11y-checks strong { color: var(--text); }
.scan-summary { list-style: none; margin: 1rem 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.scan-summary-1 { grid-template-columns: 1fr; }
.scan-summary-2 { grid-template-columns: repeat(2, 1fr); }
.scan-summary li { border-radius: 14px; padding: 1rem; background: #FFFFFF; box-shadow: var(--shadow); border-top: 5px solid #1C7C46; }
.scan-summary li.is-bad { border-top-color: #B42318; }
.scan-summary li.is-warn { border-top-color: #B54708; }
.tile-num { display: block; font-size: 1.5rem; font-weight: 800; font-stretch: 108%; line-height: 1.1; color: var(--text); }
.tile-label { display: block; font-size: 0.875rem; color: var(--text-soft); margin-top: 0.25rem; }
.scan-block { margin-top: 1.75rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.scan-block-first { margin-top: 0; border-top: 0; padding-top: 0; }
.scan-block[hidden] { display: none; }
.scan-block-title { font-weight: 800; font-size: 1.125rem; margin-bottom: 0.5rem; }
.issue-code { display: block; margin-top: 0.35rem; padding: 0.4rem 0.6rem; background: var(--aluminum); border-radius: 8px; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.8125rem; white-space: pre-wrap; word-break: break-word; color: var(--text); }
.impact-error { background: #B42318; }
.impact-warning { background: #8F4300; }
.scan-cta { margin-top: 1.75rem; padding: 1.25rem; border-radius: 16px; background: linear-gradient(135deg, #0B2F71, #061634); color: #FFFFFF; }
.scan-cta-text { font-weight: 700; color: #FFFFFF; }
@media (max-width: 36rem) { .scan-summary { grid-template-columns: 1fr; } }

/* Manufacturing news */
.news { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--aluminum); }
.news-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: 2rem; }
.news-title { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin-bottom: 0.25rem; }
.news-sub { color: var(--text-soft); margin: 0; }
.news-all { font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.news-col { background: #FFFFFF; border: 0; border-top: 5px solid var(--machine); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; display: flex; flex-direction: column; }
.news-cat { font-weight: 800; font-stretch: 104%; margin-bottom: 0.75rem; }
.news-cat a { color: var(--graphite); text-decoration: none; }
.news-cat a:hover { text-decoration: underline; }
.news-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.news-list li { padding: 0.7rem 0; border-top: 1px solid var(--line); }
.news-list time { display: block; font-size: 0.875rem; color: var(--text-soft); margin-bottom: 0.15rem; }
.news-list a { color: var(--graphite); font-weight: 600; font-size: 0.9375rem; line-height: 1.4; text-decoration: none; }
.news-list a:hover { text-decoration: underline; color: var(--machine); }
.news-more { margin-top: auto; font-weight: 700; font-size: 0.9375rem; }
@media (max-width: 66rem) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .news-grid { grid-template-columns: 1fr; } }

/* Process */
.process { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--aluminum); }
.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; background: #FFFFFF; border-radius: 20px; padding: 2rem 1.75rem; position: relative; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; background: linear-gradient(135deg, var(--safety), #FF8A00); color: var(--graphite); box-shadow: 0 10px 20px -8px rgba(255, 138, 0, 0.7);
  font-weight: 800; font-size: 1.25rem; border-radius: 50%; margin-bottom: 1rem;
}
.step-name { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin-bottom: 0.5rem; }
.steps p { color: var(--text-soft); }
.steps p:last-child { margin-bottom: 0; }
@media (max-width: 58rem) { .steps { grid-template-columns: 1fr; } }

/* Industries */
.industries { padding: 0 0 clamp(3.5rem, 7vw, 6rem); background: var(--aluminum); }
.industries-grid { border-top: 0; padding-top: 2.5rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.industries-lead { font-size: 1.375rem; font-weight: 700; font-stretch: 108%; line-height: 1.3; }
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
.industry-list li { padding: 0.9rem 1.1rem; margin-bottom: 0.6rem; background: #FFFFFF; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; }
@media (max-width: 52rem) { .industries-grid, .industry-list { grid-template-columns: 1fr; } }

/* Featured articles */
.articles { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #FFFFFF; }
.articles-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 2rem; }
.articles-title { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; margin: 0; }
.articles-all { font-weight: 700; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.article-card { background: #FFFFFF; border: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; position: relative; }
.article-media { margin: 0; background: var(--graphite); aspect-ratio: 16 / 9; overflow: hidden; }
.article-media img, .article-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-meta { font-size: 0.9375rem; color: var(--text-soft); margin-bottom: 0.6rem; }
.article-name { font-size: 1.3125rem; font-weight: 800; font-stretch: 104%; line-height: 1.25; margin-bottom: 0.75rem; }
.article-name a { color: var(--graphite); text-decoration: none; }
.article-name a::after { content: ""; position: absolute; inset: 0; }
.article-name a:hover { text-decoration: underline; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-card:focus-within { box-shadow: 0 0 0 4px var(--safety); }
.article-name a:focus-visible { outline: none; box-shadow: none; text-decoration: underline; }
.article-body p:last-child { margin-bottom: 0; }
.article-more { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--machine); }
@media (max-width: 52rem) {
  .article-list { grid-template-columns: 1fr; }
}

/* FAQ */
.faq { background: var(--aluminum); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.faq .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-intro p { color: var(--text-soft); }
.faq-list { min-width: 0; }
@media (max-width: 58rem) { .faq .wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.1875rem;
  padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 0.85rem;
  font-size: 1.5rem; font-weight: 400; line-height: 1.2; color: var(--machine-dark);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.25rem; color: var(--text-soft); }

/* CTA */
.cta { background: linear-gradient(110deg, #FFBA00 0%, #FF9F1C 100%); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-text { font-size: 1.375rem; font-weight: 800; font-stretch: 108%; line-height: 1.25; margin: 0; max-width: 38rem; }
.cta .btn-primary { background: var(--graphite); color: var(--on-dark); }
.cta .btn-primary:hover { background: var(--machine-dark); color: var(--on-dark); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 3rem 0 2rem; font-size: 0.9375rem; }
.site-footer a { color: var(--on-dark); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: inline-block; background: #FFFFFF; border-radius: 12px; padding: 0.6rem 0.8rem; margin-bottom: 1rem; line-height: 0; }
.footer-brand img { width: auto; height: 4rem; }
.validators { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.validators p { margin: 0; }
.validators a { display: inline-block; line-height: 0; border-radius: 2px; }
.validators img { height: 31px; width: auto; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-label { color: var(--on-dark); font-weight: 700; margin-bottom: 0.6rem; }
.legal { grid-column: 1 / -1; max-width: none; border-top: 1px solid #454C52; padding-top: 1.25rem; margin-top: 1rem; }
@media (max-width: 52rem) { .site-footer .wrap { grid-template-columns: 1fr; } }

.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;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; animation: none; }
}
