/* IT Edge Pro — brand palette sampled from the supplied logo artwork:
   #2087C9 blue, #3F4040 charcoal. Archivo is self-hosted (no Google Fonts CDN,
   which would ship EU visitors' IPs to a third party). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --blue: #2087c9;
  --blue-dark: #1a6ea6;
  --blue-tint: #eaf4fb;
  --ink: #3f4040;
  --ink-soft: #5f6161;
  --ink-mute: #7c7f7f;
  --line: #e3e6e8;
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --wrap: 1140px;
  --radius: 10px;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--blue);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem);
  font-weight: 600;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}
.narrow {
  max-width: 46rem;
}
.muted {
  color: var(--ink-mute);
}
.small {
  font-size: 0.92rem;
}
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.req {
  color: var(--blue);
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 100;
}
.skip:focus {
  left: 0.6rem;
  top: 0.6rem;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ nav --- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}
.brand img {
  display: block;
  width: 200px;
  height: auto;
}
.site-nav ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.45rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover {
  color: var(--blue);
}
.site-nav a[aria-current='page'] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* --------------------------------------------------------------- blocks --- */

.hero {
  background: linear-gradient(168deg, var(--blue-tint) 0%, #fff 62%);
  padding: clamp(3rem, 1.5rem + 6vw, 6rem) 0 clamp(2.5rem, 1rem + 5vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 44rem;
}
.lede {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 42rem;
}
.lede-sm {
  color: var(--ink-soft);
  max-width: 46rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-light {
  background: #fff;
  color: var(--blue-dark);
}
.btn-light:hover {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.section {
  padding: clamp(2.6rem, 1.5rem + 4vw, 4.5rem) 0;
}
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.2rem, 1.2rem + 4vw, 3.8rem) 0;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: ' \2192';
}
.link-arrow:hover {
  text-decoration: underline;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.card h3 {
  color: var(--blue-dark);
}
.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.93rem;
  color: var(--ink-mute);
}
.card li {
  margin-bottom: 0.3rem;
}

.vendors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
}
.vendors li {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.accred-group h3 {
  color: var(--blue-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--blue-tint);
}
.accred-group ul {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.accred-group li {
  margin-bottom: 0.42rem;
}

.section-cta {
  background: var(--blue);
  color: #fff;
}
.section-cta h2,
.section-cta p {
  color: #fff;
}
.section-cta p {
  opacity: 0.92;
  margin-bottom: 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner .actions {
  margin-top: 0;
}

.section-eu {
  padding: 2.6rem 0;
}
.eu-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.eu-inner img {
  width: 300px;
  flex-shrink: 0;
}
.eu-inner h2 {
  font-size: 1.25rem;
}
.eu-inner p {
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.eu-logo {
  display: block;
  width: 420px;
  max-width: 100%;
  margin-bottom: 2rem;
}

.prose p {
  color: var(--ink-soft);
}
.prose h2 {
  margin-top: 2.2rem;
}
.prose h2:first-child {
  margin-top: 0;
}

.callout {
  background: var(--blue-tint);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  margin-top: 2.4rem;
}
.callout h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.callout p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* ------------------------------------------------------------- contact --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-details {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.contact-details h2 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
}
.contact-details h2:first-child {
  margin-top: 0;
}

ul.plain {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.plain li {
  margin-bottom: 0.7rem;
}

.form {
  margin-top: 1.2rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.93rem;
  margin-bottom: 0.35rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue-tint);
  outline-offset: 0;
}
.field textarea {
  resize: vertical;
  min-height: 8rem;
}
.field-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.field-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.field-check label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Honeypot — hidden from people, reachable by naive bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.notice-ok {
  background: #e9f7ef;
  border: 1px solid #b7e3c8;
  color: #1c6b3c;
}
.notice-err {
  background: #fdeceb;
  border: 1px solid #f5c2be;
  color: #9b2c22;
}

/* --------------------------------------------------------------- footer --- */

.site-footer {
  background: var(--ink);
  color: #d7d9d9;
  padding-top: 3rem;
}
.site-footer h2 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a {
  color: #d7d9d9;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .muted {
  color: #9a9d9d;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
}
.footer-brand img {
  width: 190px;
  margin-bottom: 0.9rem;
}
.footer-grid ul.plain li {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}
.footer-bottom {
  border-top: 1px solid #565858;
  padding: 1.2rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.88rem;
}

/* ----------------------------------------------------------- responsive --- */

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .site-nav a[aria-current='page'] {
    border-bottom-color: var(--line);
  }
  .brand img {
    width: 165px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- admin --- */
/* Hidden panel opened with Ctrl+Shift+F12. These rules live here rather than
   being injected by app.js so the Content-Security-Policy can stay strict —
   style-src 'self' blocks JS-injected <style> elements, by design. */

.adm-hidden {
  display: none !important;
}

#adm {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(63, 64, 64, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
#adm .box {
  background: #fff;
  border-radius: var(--radius);
  width: min(960px, 94vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}
#adm header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
#adm h2 {
  margin: 0;
  font-size: 1rem;
}
#adm .tabs {
  display: flex;
  gap: 0.4rem;
}
#adm .tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink-soft);
}
#adm .tabs button.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
#adm .body {
  padding: 1.2rem;
  overflow: auto;
}
#adm label {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-mute);
  margin: 0.7rem 0 0.2rem;
  font-weight: 600;
}
#adm input,
#adm textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
}
#adm textarea {
  min-height: 5rem;
  resize: vertical;
}
#adm .grp {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 1rem 1rem;
  margin-bottom: 1rem;
}
#adm .grp > h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0.9rem 0 0.2rem;
}
#adm footer {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
#adm .btn {
  background: var(--blue);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 0.4rem;
  width: auto;
}
#adm .btn.sec {
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
#adm .msg {
  font-size: 0.85rem;
  color: var(--ink-mute);
  white-space: pre-wrap;
}
#adm table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
#adm th,
#adm td {
  text-align: left;
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
#adm th {
  color: var(--ink-mute);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
