/* UK Computing website. Design language shared with the PSA (help.ukcomputing.co.uk):
   dark navy canvas, layered surfaces, colour-coded card edges, icon tiles and badges.
   Dark is the default; the light theme is opt-in via the header button (remembered on the device).
   All sizing is in rem so browser text zoom and 200-400% page zoom reflow cleanly. */

:root {
  color-scheme: dark;
  --canvas: #0b111b;
  --surface-1: #111a27;
  --surface-2: #172233;
  --surface-3: #1d2a3d;
  --text: #e9eef5;
  --heading: #ffffff;
  --muted: #9ba9b9;
  --line: #26364a;
  --line-strong: #354a63;
  --link: #4da3e6;
  --link-hover: #8ccaf7;
  --btn-bg: #4da3e6;
  --btn-bg-hover: #6bb4ee;
  --btn-text: #07101c;
  --green: #55c98b;
  --green-soft: rgb(85 201 139 / 13%);
  --red: #ed7777;
  --red-soft: rgb(237 119 119 / 13%);
  /* card accent palette (same hues as the PSA) */
  --c-blue: #4da3e6;
  --c-green: #55c98b;
  --c-purple: #a98bea;
  --c-amber: #e2b957;
  --c-teal: #3fc6b7;
  --c-red: #ed7777;
  --c-orange: #ff9a1f;
  --header-bg: rgb(14 23 35 / 92%);
  --shadow: 0 18px 50px rgb(0 0 0 / 22%);
  --glow-a: rgb(255 140 0 / 13%);
  --glow-b: rgb(77 163 230 / 12%);
  --radius: 0.75rem;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --canvas: #f3f6fa;
  --surface-1: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef3f8;
  --text: #202a3a;
  --heading: #10243e;
  --muted: #566579;
  --line: #dbe3ec;
  --line-strong: #c5d0dd;
  --link: #1769aa;
  --link-hover: #0b3f6b;
  --btn-bg: #1769aa;
  --btn-bg-hover: #0e4f84;
  --btn-text: #ffffff;
  --green: #1d6f43;
  --green-soft: #edf8f1;
  --red: #b33434;
  --red-soft: #fff0f0;
  --c-blue: #1769aa;
  --c-green: #1d6f43;
  --c-purple: #6f4fb3;
  --c-amber: #8a6410;
  --c-teal: #0f7f74;
  --c-red: #b33434;
  --c-orange: #b55000;
  --header-bg: rgb(255 255 255 / 94%);
  --shadow: 0 14px 36px rgb(16 36 62 / 9%);
  --glow-a: rgb(255 140 0 / 12%);
  --glow-b: rgb(23 105 170 / 8%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0; background: var(--canvas); color: var(--text); font-family: var(--font);
  font-size: 1rem; line-height: 1.6; overflow-wrap: break-word; min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
/* No underlines. Links inside running text are semi-bold so they are not told apart by colour alone. */
p a, .prose a, address a, .faq-body a { font-weight: 650; }
p a:hover, .prose a:hover, address a:hover, .faq-body a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
address { font-style: normal; }
code { font-size: 0.9em; background: var(--surface-3); padding: 0.1em 0.35em; border-radius: 0.3rem; }

.container { width: min(100% - 2rem, 72rem); margin-inline: auto; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: var(--btn-bg); color: var(--btn-text); padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 0.5rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4rem; padding-block: 0.5rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--heading); text-decoration: none; font-weight: 700; }
.brand img { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 0.5rem 0.8rem; border-radius: 0.5rem; color: var(--text); text-decoration: none; font-weight: 500; border: 1px solid transparent; }
.site-nav a:hover { background: var(--surface-3); }
.site-nav a[aria-current="page"], .site-nav a.is-active { color: var(--heading); background: var(--surface-3); border-color: var(--line); box-shadow: inset 0 -2px 0 var(--c-orange); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); cursor: pointer; }
.icon-btn:hover { background: var(--surface-3); }
.menu-btn { display: none; }

@media (max-width: 60rem) {
  .menu-btn { display: inline-grid; }
  .header-inner { justify-content: space-between; }
  .header-actions { margin-inline-start: auto; }
  .site-nav { order: 3; flex: 1 0 100%; margin: 0; }
  .site-nav ul { flex-direction: column; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; padding-bottom: 0.5rem; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.2rem; border-radius: 0.6rem; border: 1px solid transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn svg { flex: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); text-decoration: none; }
.btn-ghost { background: var(--surface-2); color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-3); text-decoration: none; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Buttons inside any box always sit at its lower right */
.card-actions { margin-top: auto; padding-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; align-items: center; }

/* ---------- Hero and page heads ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(60rem 28rem at 88% -10%, var(--glow-a), transparent 60%), radial-gradient(50rem 26rem at -10% 110%, var(--glow-b), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 2rem; align-items: center; padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-art { justify-self: center; width: min(100%, 20rem); }
.hero-art img { display: block; width: 100%; filter: drop-shadow(0 16px 40px rgb(255 120 0 / 25%)); }
@media (max-width: 52rem) { .hero-inner { grid-template-columns: 1fr; } .hero-art { display: none; } }
.eyebrow { display: inline-block; margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.accent { background: linear-gradient(90deg, #ffc000, #ff7a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="light"] .accent { background: linear-gradient(90deg, #d97a00, #b84a00); -webkit-background-clip: text; background-clip: text; }
@media (forced-colors: active) { .accent { background: none; color: inherit; } }

.page-head { padding-block: 1.25rem clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); background: radial-gradient(40rem 16rem at 100% -20%, var(--glow-a), transparent 60%); }
.page-head p.lead { font-size: 1.08rem; color: var(--muted); max-width: 44rem; margin: 0; }
.breadcrumb { margin-bottom: 1.25rem; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0; padding: 0; color: var(--muted); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--heading); }
.breadcrumb [aria-current] { color: var(--heading); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(1.75rem, 4.5vw, 3.25rem); }
.section.alt { background: var(--surface-1); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 1.5rem; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid.pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.align-start { align-items: start; }

/* ---------- Cards (PSA style: coloured top edge, icon tile, badge) ---------- */
[data-c="blue"]   { --cc: var(--c-blue); }
[data-c="green"]  { --cc: var(--c-green); }
[data-c="purple"] { --cc: var(--c-purple); }
[data-c="amber"]  { --cc: var(--c-amber); }
[data-c="teal"]   { --cc: var(--c-teal); }
[data-c="red"]    { --cc: var(--c-red); }
[data-c="orange"] { --cc: var(--c-orange); }

.card { --cc: var(--c-blue); display: flex; flex-direction: column; background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 1px solid var(--line); border-top: 3px solid var(--cc); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); transition: border-color 0.15s ease, transform 0.15s ease; }
.card:hover { border-color: var(--line-strong); border-top-color: var(--cc); }
.section.alt .card { background: linear-gradient(180deg, var(--surface-3), var(--surface-2)); }
.card-top { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.card-title { margin: 0; flex: 1; font-size: 1.05rem; }
.card p { font-size: 0.95rem; }
.card p:last-of-type, .card ul:last-of-type { margin-bottom: 0; }
.card-icon { flex: none; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.7rem; color: var(--cc, var(--c-blue)); background: color-mix(in srgb, var(--cc, var(--c-blue)) 14%, transparent); border: 1px solid color-mix(in srgb, var(--cc, var(--c-blue)) 45%, transparent); }
.card-icon svg { width: 1.45rem; height: 1.45rem; }
.badge { flex: none; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; padding: 0.15rem 0.6rem; border-radius: 999px; color: var(--muted); background: var(--surface-3); border: 1px solid var(--line); white-space: nowrap; }
.check-list { list-style: none; padding: 0; margin-top: 0.75rem; }
.check-list li { position: relative; padding-left: 1.75rem; font-size: 0.95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 0.9rem; height: 0.5rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Quick-action tiles */
.tile { --cc: var(--c-blue); position: relative; display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1rem 1.9rem; text-decoration: none; color: var(--text); background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 1px solid var(--line); border-top: 3px solid var(--cc); border-radius: var(--radius); }
.tile:hover { border-color: var(--line-strong); border-top-color: var(--cc); background: var(--surface-3); text-decoration: none; }
.tile-text { display: flex; flex-direction: column; min-width: 0; }
.tile-text strong { color: var(--heading); }
.tile-text span { font-size: 0.85rem; color: var(--muted); }
.tile-arrow { position: absolute; right: 0.85rem; bottom: 0.6rem; color: var(--cc); display: inline-flex; }

/* Stat cards */
.stat { --cc: var(--c-blue); background: var(--surface-1); border: 1px solid var(--line); border-left: 3px solid var(--cc); border-radius: var(--radius); padding: 0.9rem 1rem; }
.stat .label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat .value { display: block; font-size: 1.35rem; font-weight: 750; color: var(--heading); line-height: 1.25; margin: 0.15rem 0; }
.stat .note { font-size: 0.85rem; color: var(--muted); }

/* Call-to-action box: text left, buttons lower right */
.cta-band { --cc: var(--c-orange); display: flex; flex-direction: column; gap: 0.25rem; background: var(--surface-1); border: 1px solid var(--line); border-top: 3px solid var(--cc); border-radius: var(--radius); padding: clamp(1.25rem, 3.5vw, 2rem); box-shadow: var(--shadow); background-image: radial-gradient(30rem 12rem at 100% 0, var(--glow-a), transparent 70%); }
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: var(--muted); max-width: 40rem; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { margin: 0; padding: 0.35rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 0.9rem; font-weight: 550; }
.notice { border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--c-blue) 10%, transparent); border-radius: var(--radius); padding: 1rem 1.25rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: step; margin: 0; padding: 1rem 1rem 1.1rem; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.95rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-bottom: 0.6rem; border-radius: 50%; font-size: 0.85rem; font-weight: 750; color: var(--link); background: color-mix(in srgb, var(--c-blue) 14%, transparent); border: 1px solid var(--line-strong); }
.steps strong { display: block; color: var(--heading); margin-bottom: 0.2rem; }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-1); margin-bottom: 0.6rem; }
.faq summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 650; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--link); flex: none; }
.faq[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 1.1rem 1rem; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Legal / long text ---------- */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose h3 { margin-top: 1.5rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border: 1px solid var(--line); }
.prose th { background: var(--surface-2); color: var(--heading); }
.table-wrap { overflow-x: auto; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.fw-normal { font-weight: 400 !important; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 1.25rem 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; color: var(--heading); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 0.6rem; padding: 0.7rem 0.85rem; min-height: 2.75rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field .error { color: var(--red); font-size: 0.9rem; margin-top: 0.3rem; font-weight: 600; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; flex: none; accent-color: var(--btn-bg); }
.form-actions { display: flex; justify-content: flex-end; }
.alert { border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid; margin-bottom: 1.25rem; }
.alert h2, .alert h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }
.alert ul { margin: 0.4rem 0 0; }
.alert-ok { background: var(--green-soft); border-color: var(--green); }
.alert-err { background: var(--red-soft); border-color: var(--red); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 4.1rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 2rem; background: var(--surface-1); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); padding-block: 2.5rem 1.5rem; }
.footer-grid > div:first-child { grid-column: span 2; }
@media (max-width: 40rem) { .footer-grid > div:first-child { grid-column: auto; } }
.footer-h { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--link); }
.footer-base { border-top: 1px solid var(--line); padding-block: 1rem 1.5rem; }
.footer-base p { margin: 0; }

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

/* ---------- Illustrations, page heads and extra polish (revision 3) ---------- */
.art { display: block; width: 100%; height: auto; overflow: visible; }
.art-ring { fill: none; stroke: var(--line-strong); stroke-width: 1.5; opacity: 0.7; }
.art-ring-2 { stroke-dasharray: 3 7; opacity: 0.9; transform-origin: center; transform-box: fill-box; animation: art-spin 90s linear infinite; }
.art-spoke, .art-line { stroke: var(--line-strong); stroke-width: 1.5; opacity: 0.8; }
.art-node { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1.5; }
.art-hub { fill: var(--surface-1); stroke: var(--line-strong); stroke-width: 2; }
.art-surface { fill: var(--surface-2); }
.art-hole { fill: var(--surface-2); }
.art-rec { fill: var(--c-red); animation: art-blink 1.6s ease-in-out infinite; }
.art-t1 { fill: var(--c-orange); } .art-t2 { fill: var(--c-green); } .art-t3 { fill: var(--c-blue); } .art-t4 { fill: var(--c-amber); }
.art-t1, .art-t2, .art-t3, .art-t4 { opacity: 0.9; }
.art-float { animation: art-bob 6s ease-in-out infinite; }
.art-float.d2 { animation-delay: -1.5s; } .art-float.d3 { animation-delay: -3s; } .art-float.d4 { animation-delay: -4.5s; }
.art-dot { animation: art-pulse 3.6s ease-in-out infinite; }
@keyframes art-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes art-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .art-ring-2, .art-float, .art-rec, .art-dot, .accent { animation: none !important; } }

.hero-art { width: min(100%, 26rem); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(var(--line-strong) 1px, transparent 1.3px); background-size: 1.6rem 1.6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 90%); mask-image: linear-gradient(90deg, transparent 5%, #000 90%); }
.hero-inner { position: relative; }
.hero-link { margin: 1.1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.hero-link a { color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.hero-link a:hover { color: var(--heading); }
.accent { background-size: 200% 100%; animation: shimmer 7s ease-in-out infinite alternate; }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 100% 0; } }

.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 2rem; align-items: center; }
.page-art { width: 100%; }
@media (max-width: 52rem) { .head-grid { grid-template-columns: 1fr; } .page-art { display: none; } }

.section-head h2 { position: relative; padding-bottom: 0.55rem; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3rem; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ffc000, #ff7a00); }
.card { position: relative; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--cc) 35%, transparent), 0 10px 30px color-mix(in srgb, var(--cc) 14%, transparent); }
.grid.cols4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.prose-wide { max-width: 52rem; }
.prose-wide p { color: var(--muted); font-size: 1.05rem; }
.section.intro { padding-bottom: 0; }

/* AI spotlight: gradient-border band */
.spotlight { position: relative; display: flex; flex-direction: column; gap: 0.5rem; border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); border: 1px solid transparent;
  background: linear-gradient(var(--surface-1), var(--surface-1)) padding-box, linear-gradient(120deg, #ffc000, #4da3e6, #a98bea) border-box;
  box-shadow: var(--shadow), 0 0 60px rgb(169 139 234 / 12%); overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(34rem 14rem at 100% 0, rgb(169 139 234 / 16%), transparent 70%); }
.spotlight > * { position: relative; }
.spotlight h2 { margin-bottom: 0.3em; }
.spotlight p { color: var(--muted); max-width: 44rem; }
.spot-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: center; }
.spot-grid .art-box { width: 100%; }
@media (max-width: 52rem) { .spot-grid { grid-template-columns: 1fr; } .spot-grid .art-box { display: none; } }

/* Brands and technology */
.brands { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.brand-tile { --cc: var(--c-blue); margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; padding: 0.8rem 0.9rem; background: linear-gradient(180deg, var(--surface-2), var(--surface-1)); border: 1px solid var(--line); border-left: 3px solid var(--cc); border-radius: var(--radius); transition: transform 0.15s ease, border-color 0.15s ease; }
.brand-tile:hover { transform: translateY(-2px); border-color: var(--line-strong); border-left-color: var(--cc); }
.brand-tile .card-icon { grid-row: span 2; width: 2.4rem; height: 2.4rem; }
.brand-name { font-weight: 750; color: var(--heading); line-height: 1.2; }
.brand-note { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
.fineprint { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

/* Footer facts strip (moved from the home page) */
.footer-facts { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); padding-block: 1.75rem 0; }
.fact { --cc: var(--c-blue); border-left: 3px solid var(--cc); padding: 0.15rem 0 0.15rem 0.8rem; }
.fact .label { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fact .value { display: block; font-weight: 700; color: var(--heading); }
.footer-facts + .footer-grid { padding-top: 1.75rem; }

.ce-line { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--muted); }
.ce-line strong { color: var(--heading); }
.ce-badge { flex: none; width: 4.5rem; height: auto; border-radius: 0.4rem; }
@media print {
  .site-header, .site-footer .footer-grid, .skip-link, .cta-band, .hero-art, .menu-btn, .tile { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card { box-shadow: none; }
}
.mb-0 { margin-bottom: 0 !important; }
