:root {
  --paper:      #FFFFFF;
  --ink:        #211D2A;
  --ink-soft:   #3A3444;
  --accent:     #FFE60B;
  --accent-dim: #E8CF00;
  --muted:      #6B6B6B;
  --rule:       #E5E5E5;
  --shade:      #F6F6F6;

  --font: 'Public Sans', Arial, sans-serif;
  --font-display: 'Oswald', 'Trebuchet MS', sans-serif;

  --content: 1100px;
  --gutter: 24px;
  --section: 96px;
  --measure: 68ch;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, p, ul, ol, dl, blockquote, figure, table { margin: 0; padding: 0; }

h1 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.1;
  font-weight: 500;
  text-wrap: balance;
  color: var(--ink);
  max-width: 22ch;
}

h2 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.15;
  font-weight: 500;
  text-wrap: balance;
  color: var(--ink);
  max-width: 28ch;
  margin-bottom: 24px;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

p { max-width: var(--measure); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { max-width: var(--measure); padding-left: 22px; margin-bottom: 1em; }
li { margin-bottom: 6px; }
li:last-child { margin-bottom: 0; }

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

/* Header */
.site-header {
  height: 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-header .brand { display: flex; align-items: center; text-decoration: none; }
.site-header .brand img { height: 32px; width: auto; }
.site-header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  font-size: 16px;
}
.site-header nav a {
  color: var(--ink);
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
}
.site-header nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.site-header nav a.btn { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--accent);
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover, .btn:focus { background: var(--ink); color: var(--accent); border-color: var(--ink); text-decoration: none; }

.btn--on-dark {
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--accent);
}
.btn--on-dark:hover, .btn--on-dark:focus {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

/* Hero */
.hero {
  background: var(--ink);
  color: #FFFFFF;
  padding: 112px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--accent);
}
.hero .container { position: relative; }
.hero-inner { max-width: 760px; }
.hero h1 { color: #FFFFFF; margin-bottom: 24px; max-width: 20ch; }
.hero-sub {
  color: #FFFFFF;
  opacity: .9;
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 32px;
  max-width: 56ch;
  font-weight: 300;
}
.hero .btn { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero .btn:hover, .hero .btn:focus { background: #FFFFFF; color: var(--ink); border-color: #FFFFFF; }

/* Sections */
.section { padding: var(--section) 0; }
.section--shade { background: var(--shade); }
.section--ink { background: var(--ink); color: #FFFFFF; }
.section--ink h2, .section--ink h3 { color: #FFFFFF; }
.section--ink p { color: #FFFFFF; opacity: .92; }
.section-intro { margin-bottom: 48px; font-size: 20px; line-height: 1.5; max-width: 60ch; }

/* Eyebrow */
.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: none;
}
.section--ink .eyebrow { color: var(--accent); }

/* Grid */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card {
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  border-radius: 3px;
  padding: 28px;
  background: var(--paper);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; color: var(--ink-soft); max-width: none; }

/* Step cards (how-it-works) */
.steps-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.step-card .step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--ink);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
  align-self: flex-start;
  text-transform: uppercase;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
.step-card .step-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: none;
}
.step-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  max-width: none;
}
.step-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.step-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

/* Pull quote */
.pull {
  background: var(--shade);
  border-left: 6px solid var(--accent);
  padding: 48px 40px;
  margin: 32px 0 32px;
  max-width: none;
}
.pull blockquote {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 28ch;
}
.pull p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 0;
}

/* Not-list (bullet lines with dash) */
.not-list {
  list-style: none;
  padding-left: 0;
  max-width: none;
}
.not-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.5;
}
.not-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 3px;
  background: var(--accent);
}
.not-list li strong { color: var(--accent); font-weight: 600; }

/* Testimonial */
.testimonial {
  background: var(--shade);
  border-left: 6px solid var(--accent);
  padding: 48px 40px;
  max-width: none;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 32ch;
}
.testimonial cite {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* About page: byline block */
.byline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.byline img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.byline-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.byline-meta { font-size: 14px; color: var(--muted); }
.byline-meta a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--accent); }

/* Logo strip */
.logo-strip { padding: 72px 0; background: var(--shade); }
.logo-caption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 32px;
  text-align: center;
  max-width: none;
}
.logo-row {
  display: flex;
  gap: 56px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-row img { height: 48px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; }
.logo-row img[alt="NHS"] { height: 30px; opacity: .55; }
.logo-row img[alt="Cisco"] { height: 54px; opacity: .85; }

@media (max-width: 768px) {
  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 24px; }
  .logo-strip { padding: 56px 0; }
  .logo-row { gap: 32px; }
  .logo-row img { height: 36px; }
  .logo-row img[alt="Cisco"] { height: 42px; }
  .logo-row img[alt="NHS"] { height: 24px; }
  .byline img { width: 72px; height: 72px; }
}

/* Contact */
.contact-block { padding-top: 16px; }
.contact-block .contact-cta {
  margin-top: 24px;
  font-size: 18px;
}
.contact-block .contact-name {
  margin-top: 32px;
  font-weight: 600;
  color: var(--ink);
}
.contact-block .contact-email a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #FFFFFF;
  padding: 56px 0 40px;
}
.site-footer .footer-mark { height: 36px; width: auto; margin-bottom: 24px; }
.site-footer .footer-disclosure {
  font-size: 14px;
  line-height: 1.6;
  color: #D4D1DB;
  max-width: 70ch;
  margin-bottom: 24px;
}
.site-footer .footer-rule {
  height: 2px;
  width: 48px;
  background: var(--accent);
  margin: 24px 0;
}
.site-footer .footer-copy {
  font-size: 14px;
  color: #B8B5C0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--accent);
  padding: 12px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
}

@media (max-width: 768px) {
  html, body { font-size: 17px; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .hero { padding: 72px 0 64px; }
  .hero-sub { font-size: 19px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps-stack { grid-template-columns: 1fr; }
  .pull { padding: 32px 24px; }
  .pull blockquote { font-size: 28px; }
  .site-header nav a:not(.btn) { display: none; }
  .site-header nav { gap: 0; }
}

/* Dark-mode preference: site is intentionally light with ink surfaces for */
/* dark bands. Honour prefers-color-scheme by darkening the paper only     */
/* lightly so text stays legible and brand yellow still reads well.        */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #F8F7F5;
    --shade: #EDEBE7;
    --rule: #D9D6D1;
  }
}
