/* Nano Utilities — nanoutilities.co.uk
   Colours, fonts and type sizes from the brand pack (brand.css). Phone first. */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/barlow-400.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/barlow-500.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/barlow-600.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-700.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-700.woff2) format('woff2'); }

:root {
  --nu-navy: #0B2340;
  --nu-lime: #D9E021;        /* never as text on white */
  --nu-blue: #29ABE2;        /* small accents only */
  --nu-grey-light: #F2F4F6;
  --nu-grey-body: #3D4C5E;
  --nu-slate: #4A5A6E;
  --nu-mist: #C8D2DE;
  --nu-border: #D5DBE1;
  --nu-footer: #071629;
  --nu-font-head: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif;
  --nu-font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  --gutter: 20px;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--nu-font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--nu-navy);
  background: #FFFFFF;
}

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

a { color: var(--nu-navy); }
a:hover { color: var(--nu-blue); }

:focus-visible { outline: 3px solid var(--nu-navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--nu-lime); }

h1, h2 {
  margin: 0;
  font-family: var(--nu-font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}
h1 { font-size: clamp(2.75rem, 5vw, 4.5rem); line-height: 0.98; }
h2 { font-size: clamp(2.25rem, 3.6vw, 3rem); }
h3 { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--nu-navy); color: #FFFFFF; font-weight: 700;
  padding: 12px 18px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #FFFFFF; }

.on-navy { background: var(--nu-navy); color: #FFFFFF; }
.lead { font-size: 19px; color: var(--nu-grey-body); }
.on-navy .lead { color: var(--nu-mist); }

/* Buttons: 44px minimum touch target */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none;
  border: 1px solid transparent;
}
.btn-lime { background: var(--nu-lime); color: var(--nu-navy); }
.btn-lime:hover { background: #E6EC5A; color: var(--nu-navy); }
.btn-outline { color: #FFFFFF; border-color: #FFFFFF; }
.btn-outline:hover { background: #FFFFFF; color: var(--nu-navy); }
.btn-navy { background: var(--nu-navy); color: #FFFFFF; }
.btn-navy:hover { background: #163556; color: #FFFFFF; }

/* Header */
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--nu-border); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px; padding-top: 12px; padding-bottom: 4px;
}
.brand { display: block; padding: 4px 0; }
.brand img { height: 34px; width: auto; }
.header-cta { order: 2; min-height: 44px; padding: 10px 18px; font-size: 16px; }
.main-nav { order: 3; flex-basis: 100%; display: flex; gap: 4px 22px; font-size: 16px; font-weight: 600; }
.main-nav a { text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; }

/* Hero */
.hero .wrap { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--nu-lime); }
.hero .lead { max-width: 34rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-art img { width: 100%; border-radius: 20px; }

/* Sections */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 44rem; }

/* What we do */
.cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.card {
  background: var(--nu-grey-light); border-radius: 14px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.card p { font-size: 16px; color: var(--nu-grey-body); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--nu-lime);
  display: flex; align-items: center; justify-content: center;
}

.process { margin: 40px auto 0; max-width: 920px; }
.process img { width: 100%; }
.process figcaption {
  display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2.72%;
  margin-top: 12px; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--nu-grey-body);
}
.process figcaption span { display: flex; flex-direction: column; gap: 2px; }
.process figcaption b { font-family: var(--nu-font-head); font-size: 22px; color: var(--nu-navy); letter-spacing: 0.5px; }

/* How we work */
.standards h2 { max-width: 40rem; }
.points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 32px; }
.points li { display: flex; flex-direction: column; gap: 10px; }
.points p { font-size: 16px; color: var(--nu-mist); }

/* Coverage */
.coverage .wrap { display: grid; gap: 32px; align-items: start; }
.coverage-copy { display: flex; flex-direction: column; gap: 14px; }
.panel {
  border-radius: 16px; background: var(--nu-grey-light); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.panel .label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--nu-slate); }
.panel h3 { font-size: 24px; line-height: 1.2; }
.panel p { font-size: 16px; color: var(--nu-grey-body); }

/* Contact band */
.contact { background: var(--nu-lime); color: var(--nu-navy); }
.contact .wrap { display: grid; gap: 24px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.contact-copy { display: flex; flex-direction: column; gap: 10px; }
.contact-copy p { font-size: 19px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.contact-actions .btn { overflow-wrap: anywhere; }
.phone { font-size: 21px; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.phone:hover { color: var(--nu-navy); text-decoration: underline; }
.address { font-size: 15px; font-style: normal; flex-basis: 100%; }

/* Footer */
.site-footer { background: var(--nu-footer); color: var(--nu-mist); font-size: 14px; line-height: 1.55; }
.site-footer .wrap { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.site-footer img { height: 40px; width: auto; }
.footer-text { display: flex; flex-direction: column; gap: 10px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.footer-links a { color: #FFFFFF; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--nu-lime); }
.footer-links svg { width: 22px; height: 22px; fill: currentColor; }
.site-footer :focus-visible { outline-color: var(--nu-lime); }

/* Privacy page */
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--nu-navy); }
.doc .lead { margin-top: 20px; }
.doc .note {
  margin-top: 28px; padding: 20px 24px; border-radius: 14px;
  background: var(--nu-grey-light); color: var(--nu-grey-body); font-size: 16px;
}
.doc .back { margin-top: 32px; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .process figcaption { font-size: 16px; }
}

/* Desktop */
@media (min-width: 900px) {
  .site-header .wrap { flex-wrap: nowrap; padding-top: 14px; padding-bottom: 14px; gap: 32px; }
  .brand img { height: 42px; }
  .main-nav { order: 2; flex-basis: auto; margin-left: auto; gap: 28px; }
  .header-cta { order: 3; }
  .hero .wrap { grid-template-columns: 1.1fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .section { padding-top: 88px; padding-bottom: 88px; }
  .points { margin-top: 40px; }
  .coverage .wrap { grid-template-columns: 1fr 1fr; gap: 40px; }
  .panel { padding: 32px; }
  .contact .wrap { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .contact-actions { justify-content: flex-end; }
  .address { text-align: right; }
  .site-footer .wrap { grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
}

/* Wide: four across, as in the design reference */
@media (min-width: 1100px) {
  .cards, .points { grid-template-columns: repeat(4, 1fr); }
}
