:root {
  color-scheme: light;
  --paper: #fafbf8;
  --ink: #172033;
  --muted: #4f5a6b;
  --blue: #1b43c9;
  --blue-dark: #123298;
  --line: #cbd1db;
  --tint: #eef1f8;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, nav, a, button, address, code, p, span, label, legend {
  overflow-wrap: anywhere;
}
h1, h2, h3 { line-height: 1.08; font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 6.8vw, 6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
p + p { margin-top: 16px; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--blue);
  padding: 16px 24px;
  background: var(--blue);
  color: #fff;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  max-width: 100%;
  transition: background-color .18s ease, color .18s ease;
}
button:hover, .button:hover { background: var(--blue-dark); color: #fff; }
button:disabled { background: #e1e5ed; color: #4f5a6b; border-color: #aeb7c7; cursor: not-allowed; }
.secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.secondary:hover { background: var(--tint); color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #9b3d00;
  outline-offset: 4px;
}
[hidden] { display: none !important; }
.container { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.site-header {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-inline: 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.site-header > *, .hero > *, .card-grid > *, .section-heading > *,
.supporting > *, .footer-grid > *, .contact-grid > *, .cookie-banner > *,
.cookie-actions > *, .check-label > * { min-width: 0; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}
.brand svg { flex: 0 0 32px; width: 32px; height: 32px; }
.brand span { min-width: 0; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--ink); font-size: 14px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; }
.header-cta { justify-self: end; color: var(--blue); font-size: 14px; font-weight: 700; }
.menu-toggle { display: none; }
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 16px;
  background: #fff;
  color: var(--blue);
}
.skip-link:focus { transform: translateY(0); }
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 64px;
}
.hero > div { display: grid; gap: 24px; justify-items: start; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.5;
}
.lead { color: var(--muted); font-size: clamp(1.125rem, 2vw, 1.35rem); max-width: 720px; line-height: 1.55; }
.robot-figure { padding: 24px; background: linear-gradient(140deg, #eef1f8, #f6f7f4); color: var(--ink); }
.learning-robot-illustration { display: block; width: 100%; height: auto; }
figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }
.section { margin-top: 64px; }
.section-heading {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-heading .eyebrow, .supporting .eyebrow { margin-bottom: 16px; }
.section-heading > p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.guide-card {
  border: 0;
  border-top: 4px solid var(--blue);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: var(--tint);
  color: var(--ink);
}
.guide-card > * { min-width: 0; margin: 0; max-width: 100%; }
.guide-card > a { margin-top: auto; font-weight: 700; }
.guide-card .tags { color: var(--muted); font-size: 14px; }
.card-grid .guide-card:last-child { grid-column: 1 / -1; }
.supporting {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.text-link { display: inline-block; margin-top: 24px; font-weight: 700; }
.site-footer { margin-top: 64px; padding: 64px 0; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.25fr .8fr; gap: 40px; }
.site-footer a, .site-footer .text-button { color: #e0e7ff; }
.site-footer a:hover, .site-footer .text-button:hover { color: #fff; }
.site-footer h2 { font-size: 16px; letter-spacing: 0; margin-bottom: 24px; }
.site-footer p { font-size: 14px; color: #e0e4ec; margin-top: 16px; }
.site-footer .footer-brand { font-size: 20px; font-weight: 700; text-decoration: none; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.site-footer nav h2 { margin-bottom: 16px; }
.site-footer nav a { font-size: 14px; }
.site-footer :focus-visible { outline-color: #ffd38c; }
.text-button {
  padding: 0;
  border: 0;
  display: inline;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-align: left;
}
.text-button:hover { background: transparent; color: var(--blue-dark); }
.small { font-size: 14px; color: var(--muted); }
.article-heading { padding-top: 64px; display: grid; gap: 24px; max-width: 980px; }
.article-heading > a { justify-self: start; }
.article-body { max-width: 780px; margin-top: 64px; }
.article-body section + section { margin-top: 64px; }
.article-body h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); margin-bottom: 24px; }
.article-body p { font-size: 17px; }
.article-body ul, .article-body ol { margin: 24px 0; padding-left: 24px; }
.article-body li { margin-top: 16px; padding-left: 4px; }
.next-guide { margin-top: 64px; max-width: 780px; }
.next-guide h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
.table-wrapper { margin-top: 24px; overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
caption { text-align: left; font-weight: 700; padding: 16px; background: var(--ink); color: #fff; }
th, td { padding: 16px; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
thead th { background: var(--tint); color: var(--ink); }
code { font-size: .9em; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact-grid h2 { margin-bottom: 24px; font-size: 2rem; }
.contact-form { margin-top: 40px; display: grid; gap: 24px; }
.contact-form > * { min-width: 0; }
.form-field { display: grid; gap: 8px; }
.form-field label { font-weight: 700; }
.form-field label span { color: var(--muted); font-weight: 400; font-size: 14px; }
input, textarea, select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 16px;
  border: 1px solid #7c88a3;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; }
.field-help, .field-error { font-size: 14px; margin: 0; }
.field-help { color: var(--muted); }
.field-error { color: #9d2323; }
.is-invalid { border: 2px solid #9d2323; }
.form-status { margin: 0; color: var(--blue-dark); }
.form-status:empty { display: none; }
.contact-form > button, .contact-form > .button { justify-self: start; }
.contact-details { display: grid; gap: 64px; }
.contact-details .guide-card h2 { margin: 0; }
address { font-style: normal; }
.static-map { padding: 24px; border-top: 4px solid var(--blue); background: var(--tint); color: var(--ink); }
.bristol-area-schematic-map { width: 100%; height: auto; display: block; }
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  max-height: 75vh;
  max-height: 75dvh;
  overflow-y: auto;
  padding: 24px 40px;
  border-top: 2px solid var(--blue);
  background: #fff;
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 -4px 24px #17203314;
}
.cookie-banner h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.cookie-banner p { font-size: 14px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions button { padding: 16px; font-size: 14px; flex: 1 1 auto; }
.cookie-banner fieldset {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
}
.cookie-banner legend { padding: 0 8px; font-weight: 700; }
.cookie-banner fieldset > * + * { margin-top: 16px; }
.check-label { display: flex; gap: 16px; align-items: flex-start; font-size: 14px; }
.check-label input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
@media (max-width: 1050px) {
  .cookie-banner { grid-template-columns: minmax(0, 1fr); }
  .cookie-actions { justify-content: flex-start; }
  .cookie-actions button { flex-grow: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid nav { grid-column: 1 / -1; }
  .contact-grid { gap: 40px; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 48px); }
  .site-header { height: 52px; padding-inline: 16px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; }
  .brand { max-width: 185px; font-size: 12px; }
  .brand svg { width: 24px; height: 24px; flex-basis: 24px; }
  .header-cta { font-size: 12px; }
  .menu-toggle { display: inline-flex; padding: 8px; font-size: 12px; }
  .site-nav {
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 24px;
    background: var(--paper);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    overflow-y: auto;
    gap: 24px;
    padding-top: 40px;
  }
  .site-nav a { font-size: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 64px; gap: 40px; }
  .robot-figure { max-width: 480px; width: 100%; justify-self: center; }
  .section-heading, .supporting, .contact-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .card-grid .guide-card:last-child { grid-column: auto; }
  .footer-grid nav { grid-column: auto; }
  .site-footer { padding-block: 40px; }
  .article-body p { font-size: 16px; }
  .contact-grid { gap: 64px; }
  .cookie-banner { padding: 24px; }
  .cookie-actions button { flex: 1 1 auto; }
  .cookie-banner fieldset { padding: 16px; }
  th, td { padding: 16px; }
}
@media (max-width: 399px) {
  .container { width: calc(100% - 40px); }
  .site-header { gap: 8px; }
  .brand { font-size: 11px; gap: 4px; }
  .brand svg { flex-basis: 20px; width: 20px; height: 20px; }
  .header-cta { font-size: 11px; }
  h1 { font-size: 2.65rem; }
  .guide-card, .robot-figure, .static-map { padding: 16px; }
  .cookie-banner { padding: 16px; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .cookie-actions button { width: 100%; }
  .button, button { padding-inline: 16px; }
  .article-heading { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}