/* Northward Technology — site styles. Everything is self-hosted: no third-party fonts or scripts. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-800.woff") format("woff"); }

:root {
  --ink: #0A0A0B;
  --paper: #FFFFFF;
  --mist: #F4F7FD;
  --blue: #1D4ED8;
  --blue-bright: #3B82F6;
  --brand: #0057FF;
  --tint: #DCE6FB;
  --tint-ink: #1D3FA8;
  --navy: #1B2A4D;
  --navy-ink: #9CC0FF;
  --body: #3F4350;
  --muted: #4A4A55;
  --on-dark: #C9CBD3;
  --line: #E3E8F2;
  --field: #C9D3E6;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
section[id] { scroll-margin-top: 16px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons and tags */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 4px; padding: 14px 24px; border: 0; font: inherit; font-weight: 700; cursor: pointer; line-height: 1.3; }
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { background: var(--ink); color: #FFFFFF; }
.btn-bright { background: var(--blue-bright); color: var(--ink); padding: 16px 26px; }
.btn-bright:hover { background: #FFFFFF; color: var(--ink); }
.btn-ghost { color: #FFFFFF; font-weight: 600; border: 1.5px solid #3A3D46; padding: 15px 24px; }
.btn-ghost:hover { color: #FFFFFF; border-color: #FFFFFF; }
.btn-dark { background: var(--ink); color: #FFFFFF; font-size: 15px; padding: 12px 20px; }
.btn-dark:hover { background: var(--blue); color: #FFFFFF; }
.tag { display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 4px; background: var(--tint); color: var(--tint-ink); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--blue); }
.tick { flex-shrink: 0; margin-top: 3px; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; }
.brand img { display: block; height: 34px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 600; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--blue); }
.main-nav .btn { color: #FFFFFF; padding: 12px 22px; }
.main-nav .btn:hover { color: #FFFFFF; }

/* Hero */
.hero { background: var(--ink); color: #FFFFFF; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-tag { align-self: flex-start; background: var(--navy); color: var(--navy-ink); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 4px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -0.028em; font-weight: 800; }
.hero-lede { font-size: 19px; color: var(--on-dark); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.check-card { flex: 1 1 320px; min-width: 0; background: var(--paper); color: var(--ink); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.check-card h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; }
.check-card p { font-size: 15px; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-card .btn { align-self: flex-start; margin-top: 6px; }

/* Section headings */
.section-head { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 800; }

/* About */
.about { background: var(--paper); }
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(56px, 7vw, 80px); }
.about-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about-copy p { color: var(--body); }
.points { flex: 1 1 300px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: center; background: var(--mist); padding: 12px 16px; font-weight: 600; }
.points .tick { margin-top: 0; }

/* Services */
.services .wrap { display: flex; flex-direction: column; gap: 44px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.service-group { display: flex; flex-direction: column; gap: 20px; }
.group-banner { background: var(--ink); color: #FFFFFF; padding: 20px clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.group-banner > div { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.group-banner h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; }
.group-banner p { font-size: 16px; color: var(--on-dark); }
.group-banner svg { width: 220px; height: auto; display: block; flex-shrink: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card-icon { width: 48px; height: 48px; border-radius: 4px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.card h4 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card p { color: var(--muted); font-size: 16px; }

/* Contact */
.contact { background: var(--paper); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.contact-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-copy p { color: var(--body); }
.email-btn { align-self: flex-start; background: var(--tint); color: var(--tint-ink); text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 4px; margin-top: 4px; overflow-wrap: anywhere; }
.email-btn:hover { background: var(--ink); color: #FFFFFF; }
.area { font-size: 15px; color: var(--muted); margin-top: 4px; }
.enquiry { flex: 999 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 13px 18px; border: 1.5px solid var(--field); border-radius: 4px; background: var(--mist); color: var(--ink); width: 100%; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form-foot p { font-size: 13px; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; color: var(--tint-ink); min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: #A3A6B1; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.site-footer img { display: block; height: 40px; width: auto; }
.site-footer .meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer .links a { color: #FFFFFF; }
.site-footer .links a:hover { color: var(--navy-ink); }

/* Policy pages */
.page { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 7vw, 88px); }
.panel { background: var(--paper); padding: clamp(28px, 5vw, 56px); max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.panel h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.panel h2 { font-size: 21px; font-weight: 800; margin-top: 12px; }
.panel p, .panel li { color: var(--body); }
.panel ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.updated { font-size: 14px; color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 28px; }
  .main-nav { gap: 2px 18px; font-size: 14px; }
  .main-nav .btn { padding: 10px 16px; }
  .hero-lede { font-size: 17px; }
  .check-card, .card { padding: 24px; }
  .group-banner svg { width: 180px; }
}
