/**
 * @file styles.css
 * @description Stylesheet for the Holdfast marketing page. Follows the NHS Digital Service
 * Manual colour/type/spacing conventions (see docs/nhs-brand.md) without using the NHS logo.
 */

:root {
  --color-blue: #005eb8;
  --color-blue-dark: #003087;
  --color-green: #007f3b;
  --color-red: #d5281b;
  --color-amber: #ed8b00;
  --color-text: #212b32;
  --color-text-muted: #4c6272;
  --color-border: #d8dde0;
  --color-tint: #f0f4f5;
  --color-white: #ffffff;
  --focus-yellow: #ffeb3b;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  font-size: 16px;
}

@media (min-width: 641px) {
  body {
    font-size: 19px;
  }
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.65rem;
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-blue);
}

a:visited {
  color: var(--color-blue-dark);
}

a:hover {
  color: #7c2855;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-yellow);
  outline-offset: 2px;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Header */

.site-header {
  background: var(--color-blue);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.wordmark {
  color: var(--color-white) !important;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-nav a {
  color: var(--color-white) !important;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  text-decoration: underline;
}

.site-nav a.nav-cta {
  background: var(--color-white);
  color: var(--color-blue-dark) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-weight: 700;
}

.nav-cta:hover {
  text-decoration: none !important;
  background: var(--color-tint);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white) !important;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #00602c;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-blue) !important;
  border-color: var(--color-blue);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-tint);
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--color-tint) 0%, var(--color-white) 100%);
  padding: 3rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 55ch;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.phone-shot {
  max-width: 260px;
  width: 100%;
  border-radius: 18px;
  border: 6px solid var(--color-text);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-tint {
  background: var(--color-tint);
}

.section-body {
  color: var(--color-text-muted);
  max-width: 75ch;
}

.section-body-full {
  max-width: none;
}

/* Stats */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 641px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-blue);
  border-radius: 6px;
  padding: 1.5rem;
}

.stat-figure {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin: 0 0 0.4rem;
  line-height: 1;
}

.stat-label {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Flow diagram */

.flow-diagram {
  margin: 2rem 0;
}

.flow-row {
  display: flex;
  justify-content: center;
}

.flow-row-teams {
  gap: 1.25rem;
  flex-wrap: wrap;
}

.flow-arrow {
  text-align: center;
  color: var(--color-blue);
  font-size: 1.5rem;
  line-height: 1;
  margin: 0.35rem 0;
}

.flow-node {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-blue);
  border-radius: 6px;
  padding: 1.1rem 1.4rem;
  max-width: 620px;
  width: 100%;
}

.flow-row-teams .flow-node {
  max-width: 320px;
}

.flow-node-tenant {
  border-left-color: var(--color-blue-dark);
}

.flow-node-icb {
  border-left-color: var(--color-blue);
}

.flow-node-loop {
  border-left-color: var(--color-green);
  max-width: 720px;
}

.flow-kicker {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--color-blue-dark);
  margin-bottom: 0.25rem;
}

.flow-node strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.flow-desc {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.callout {
  background: #fff9c4;
  border: 1px solid var(--color-amber);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  max-width: 75ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.callout p {
  margin: 0;
}

/* Pathways */

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 641px) {
  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 990px) {
  .pathway-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pathway-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
}

.pathway-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Instrument / assessment library (flows.html) - reuses the persona colour
   variables defined below for the map, so respondent type reads consistently
   whether you're looking at the map or this grid. */

.instrument-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.instrument-legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.instrument-dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--clr, var(--color-blue));
}

.instrument-grid {
  margin-top: 1rem;
}

.instrument-card h3 {
  margin: 0 0 0.35rem;
}

.instrument-card p {
  margin-bottom: 0.85rem;
}

.instrument-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.instrument-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--clr, var(--color-blue)) 12%, white);
  color: var(--clr, var(--color-blue-dark));
  border: 1px solid color-mix(in srgb, var(--clr, var(--color-blue)) 35%, white);
  white-space: nowrap;
}

/* Security & compliance */

.framework-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

@media (min-width: 700px) {
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1150px) {
  .framework-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.framework-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-blue-dark);
  border-radius: 6px;
  padding: 1.5rem;
}

.framework-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.compliance-shot {
  margin-bottom: 2.5rem;
}

/* Two-column screenshot section */

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.browser-shot {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Roles */

.role-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 641px) {
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 990px) {
  .role-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.role-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem;
}

.role-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* About */

.about-inner {
  max-width: 80ch;
}

.flows-teaser {
  text-align: center;
  margin-top: 2rem;
}

/* Flows page */

.flows-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.jump-nav a {
  font-size: 0.9rem;
  text-decoration: none;
}

.jump-nav a:hover,
.jump-nav a:focus-visible {
  text-decoration: underline;
}

/* Accessibility utility */

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

body {
  counter-reset: scenario;
}

/* ============================================================
   System map - interactive "transit map" diagram
   ============================================================ */

/* Persona colour tokens - one custom property per role, consumed by
   .map-line / .map-node-fill / .map-node-ring below. Keeping colour and
   geometry separate lets one class combo (persona + role) drive fill,
   stroke and legend swatches from a single source of truth. */

.persona-admin {
  --clr: #64748b;
}

.persona-patient {
  --clr: #0e7c86;
}

.persona-carer {
  --clr: #8952d1;
}

.persona-support-worker {
  --clr: #1f6fd6;
}

.persona-clinician {
  --clr: var(--color-green);
}

.persona-cso {
  --clr: #7a1f2b;
}

.persona-commissioner {
  --clr: #6b7280;
}

.persona-system {
  --clr: #334155;
}

.persona-hub {
  --clr: #111827;
}

.persona-risk {
  --clr: var(--color-red);
}

.persona-wait {
  --clr: var(--color-amber);
}

.map-toolbar {
  margin: 1.5rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.5rem;
}

.map-filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-right: 0.15rem;
}

.chip {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-text);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: var(--color-blue);
}

.chip[aria-pressed="true"] {
  background: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  color: var(--color-white) !important;
}

.map-zoom {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.map-zoom button {
  font: inherit;
  font-weight: 700;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
}

.map-zoom button:hover {
  border-color: var(--color-blue);
}

#map-zoom-reset {
  width: auto;
  padding: 0 0.75rem;
  font-size: 0.8rem;
}

.map-frame {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fbfcfd;
  padding: 0.75rem;
}

.map-scroll {
  overflow: auto;
  border-radius: 8px;
  background: var(--color-white);
  max-height: 70vh;
}

.system-map {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
  transform-origin: top left;
  transition: transform 0.2s ease;
}

/* Zone (region) backdrops */

.map-zone-fill {
  opacity: 0.6;
}

.zone-admin {
  fill: rgba(100, 116, 139, 0.12);
  stroke: rgba(100, 116, 139, 0.4);
}

.zone-patient {
  fill: rgba(14, 124, 134, 0.1);
  stroke: rgba(14, 124, 134, 0.32);
}

.zone-green {
  fill: rgba(31, 157, 85, 0.1);
  stroke: rgba(31, 157, 85, 0.32);
}

.zone-red {
  fill: rgba(213, 40, 27, 0.08);
  stroke: rgba(213, 40, 27, 0.3);
}

.zone-amber {
  fill: rgba(237, 139, 0, 0.1);
  stroke: rgba(237, 139, 0, 0.32);
}

.zone-blue {
  fill: rgba(31, 111, 214, 0.08);
  stroke: rgba(31, 111, 214, 0.3);
}

.zone-slate {
  fill: rgba(51, 65, 85, 0.08);
  stroke: rgba(51, 65, 85, 0.3);
}

.map-zone-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  fill: var(--color-text-muted);
}

/* Lines */

.map-line {
  fill: none;
  stroke: var(--clr);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-highway {
  stroke-width: 5.5;
}

.line-standard {
  stroke-width: 3;
}

.line-side {
  stroke-width: 2.2;
  stroke-dasharray: 1 7;
}

.line-auto {
  stroke-width: 1.6;
  stroke-dasharray: 6 5;
  opacity: 0.6;
}

.map-loop-label {
  font-size: 11px;
  font-weight: 700;
  fill: var(--color-green);
}

/* Nodes */

.map-node {
  cursor: pointer;
}

.map-node-fill {
  fill: var(--clr);
}

.map-node-ring {
  fill: var(--color-white);
  stroke: var(--clr);
  stroke-width: 4;
}

.map-node svg,
.map-node use {
  overflow: visible;
}

.map-node-icon {
  stroke: var(--color-white);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.map-node-diamond {
  fill: var(--clr);
}

.map-label {
  font-size: 12px;
  font-weight: 700;
  fill: var(--color-text);
  text-anchor: middle;
  pointer-events: none;
}

.map-label-sub {
  font-size: 10px;
  font-weight: 400;
  fill: var(--color-text-muted);
  text-anchor: middle;
  pointer-events: none;
}

.map-node:hover .map-node-fill,
.map-node:hover .map-node-diamond,
.map-node.map-node-active .map-node-fill,
.map-node.map-node-active .map-node-diamond {
  filter: drop-shadow(0 0 0 2px var(--color-white)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.35));
}

.map-node:focus-visible {
  outline: 3px solid var(--focus-yellow);
  outline-offset: 3px;
}

/* Dim / highlight states, toggled by JS */

.system-map.has-filter .map-el {
  opacity: 0.15;
  transition: opacity 0.2s ease;
}

.system-map.has-filter .map-el.map-match {
  opacity: 1;
}

/* Info panel */

.map-info-panel {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: var(--color-white);
  font-size: 0.9rem;
  min-height: 3.5rem;
}

.map-info-empty {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.88rem;
}

.map-info-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
}

.map-info-swatch {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--clr);
}

.map-info-panel h4 {
  margin: 0;
  font-size: 1rem;
}

.map-info-panel p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.map-info-role {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

/* Legend */

.map-legend {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

@media (min-width: 700px) {
  .map-legend {
    grid-template-columns: repeat(3, 1fr);
  }
}

.legend-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin: 0 0 0.65rem;
}

.legend-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-group li {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  gap: 0.6rem;
}

.legend-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--clr);
}

.legend-line {
  display: inline-block;
  width: 34px;
  height: 0;
  border-top: 4px solid var(--color-blue);
  flex-shrink: 0;
}

.legend-line.line-standard {
  border-top-width: 3px;
}

.legend-line.line-side {
  border-top-width: 2px;
  border-top-style: dotted;
}

.legend-line.line-auto {
  border-top-width: 2px;
  border-top-style: dashed;
  opacity: 0.7;
}

.legend-shape {
  flex-shrink: 0;
  background: var(--color-text-muted);
}

.legend-shape-circle {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
}

.legend-shape-hub {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-text-muted);
}

.legend-shape-diamond {
  width: 0.8rem;
  height: 0.8rem;
  transform: rotate(45deg);
}

/* Map-linked buttons inside scenario/setup sections */

.map-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.75rem 0 0;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-blue);
  background: var(--color-white);
  color: var(--color-blue) !important;
  cursor: pointer;
  text-decoration: none;
}

.map-jump:hover {
  background: var(--color-tint);
}

@media (max-width: 640px) {
  .map-frame {
    padding: 0.5rem;
  }
}

/* Collapsible detail text, tucked under each diagram for anyone who wants the full narrative */

.detail-toggle {
  margin: 1.25rem 0 0.25rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-white);
  padding: 0 1.1rem;
}

.detail-toggle summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-blue-dark);
  padding: 0.85rem 0;
  list-style: none;
}

.detail-toggle summary::-webkit-details-marker {
  display: none;
}

.detail-toggle summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  text-align: center;
}

.detail-toggle[open] summary::before {
  content: "\2212";
}

.detail-toggle ol {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.detail-toggle li {
  margin-bottom: 0.6rem;
}

.detail-toggle li:last-child {
  margin-bottom: 0;
}

/* Scenario cards */

.scenario-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-blue);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.scenario-green {
  border-top-color: var(--color-green);
}

.scenario-red {
  border-top-color: var(--color-red);
}

.scenario-amber {
  border-top-color: var(--color-amber);
}

.scenario-blue {
  border-top-color: var(--color-blue);
}

.scenario-card {
  counter-increment: scenario;
}

.scenario-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.scenario-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--color-blue-dark);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.scenario-num::before {
  content: counter(scenario);
}

.scenario-header h3 {
  margin: 0;
}

.scenario-header .tag {
  margin-left: auto;
}

.scenario-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0.75rem 0 0;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag-green {
  background: #e3f2e1;
  color: var(--color-green);
}

.tag-amber {
  background: #fff3e0;
  color: #a35a00;
}

.tag-red {
  background: #fbe3e1;
  color: var(--color-red);
}

.tag-blue {
  background: #e3edf7;
  color: var(--color-blue-dark);
}

/* Contact */

.contact-inner {
  text-align: left;
}

/* Footer */

.site-footer {
  background: var(--color-blue-dark);
  color: var(--color-white);
  padding: 1.5rem 0;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: #cddce8;
}
