/* IT Edge Pro — "infrastructure-grade" design system.
   Brand blue #2087C9 (from the logo) anchors an electric blue→cyan accent on a
   deep navy ink. Every font is self-hosted: no Google Fonts CDN, which would
   ship EU visitors' IPs to a third party. Archivo (display), IBM Plex Sans
   (body), IBM Plex Mono (labels) — all SIL OFL. */

/* ---------------------------------------------------------------- fonts --- */

@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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plex-sans-latin-ext-400.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/plex-sans-latin-400.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;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/plex-sans-latin-ext-600.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: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/plex-sans-latin-600.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/plex-mono-latin-ext-500.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: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/plex-mono-latin-500.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;
}

/* --------------------------------------------------------------- tokens --- */

:root {
  /* ink — dark surfaces */
  --ink-950: #070e1a;
  --ink-900: #0b1526;
  --ink-800: #13223a;
  --line-d: rgba(160, 190, 225, 0.13);
  --line-d-strong: rgba(160, 190, 225, 0.26);
  --d-text: #e8eef6;
  --d-soft: #aab8c9;
  --d-mute: #8595aa;

  /* brand + accent */
  --brand: #2087c9;
  --brand-600: #1a6ea6;
  --brand-700: #145883;
  --sky: #5ab6f2;
  --cyan: #22d3ee;
  --grad: linear-gradient(100deg, #5ab6f2 0%, #22d3ee 100%);
  --grad-brand: linear-gradient(135deg, #2087c9 0%, #22d3ee 100%);

  /* light surfaces */
  --paper: #f5f7fa;
  --white: #ffffff;
  --line: #e0e6ed;
  --line-strong: #cdd6e1;
  --text: #142033;
  --soft: #44526a;
  --mute: #5d6a7c;

  --ok-bg: #e9f7ef;
  --ok-line: #b7e3c8;
  --ok-text: #1c6b3c;
  --err-bg: #fdeceb;
  --err-line: #f5c2be;
  --err-text: #9b2c22;

  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.06);
  --shadow-lg: 0 24px 50px -24px rgba(11, 21, 38, 0.28);
  --glow: 0 0 0 1px rgba(34, 211, 238, 0.28), 0 12px 36px -12px rgba(34, 211, 238, 0.45);

  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, monospace;

  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ----------------------------------------------------------------- base --- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
  color: inherit;
}

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

a {
  color: var(--brand-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--brand-700);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 1.3rem + 3.7vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
h2 {
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
p {
  margin: 0 0 1em;
}
strong {
  font-weight: 600;
}

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}
.narrow {
  max-width: 46rem;
}
.muted {
  color: var(--mute);
}
.small {
  font-size: 0.93rem;
}
.req {
  color: var(--brand-600);
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--cyan);
  color: var(--ink-900);
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 0.6rem;
  top: 0.6rem;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------------------------------------- kicker/mono --- */

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.kicker-index {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border: 1px solid currentColor;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.section-head .kicker::after {
  content: '';
  flex: 0 0 3.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.kicker-hero,
.blueprint p.kicker {
  color: var(--cyan);
}

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}
.btn .arr {
  transition: transform 0.18s var(--ease-out);
}
.btn:hover .arr {
  transform: translateX(3px);
}

.btn-accent {
  background: var(--grad);
  color: var(--ink-900);
  box-shadow: var(--glow);
}
.btn-accent:hover {
  color: var(--ink-900);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.45), 0 16px 40px -12px rgba(34, 211, 238, 0.6);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.03);
  color: var(--d-text);
  border-color: var(--line-d-strong);
}
.btn-ghost-dark:hover {
  color: #fff;
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-700);
  color: #fff;
  transform: translateY(-1px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.link-arrow::after {
  content: '\2192';
  transition: transform 0.18s var(--ease-out);
}
.link-arrow:hover::after {
  transform: translateX(3px);
}
.link-light {
  color: var(--cyan);
}
.link-light:hover {
  color: #fff;
}

/* -------------------------------------------------------------- header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 21, 38, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}
.brand img {
  display: block;
  width: 178px;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav ul {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--d-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover {
  color: #fff;
}
.main-nav a[aria-current='page'] {
  color: #fff;
}
.main-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
.lang a {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  color: var(--d-mute);
  text-decoration: none;
}
.lang a:hover {
  color: #fff;
}
.lang a[aria-current='true'] {
  background: rgba(34, 211, 238, 0.14);
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--line-d-strong);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--d-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------- blueprint --- */

.blueprint {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ink-900);
  color: var(--d-text);
}
.blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(90, 182, 242, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 182, 242, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(90, 182, 242, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 182, 242, 0.045) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 65% 30%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 80% at 65% 30%, #000 25%, transparent 100%);
}
.blueprint::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 64rem;
  height: 64rem;
  right: -22rem;
  top: -34rem;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.18), rgba(32, 135, 201, 0.1) 45%, transparent 72%);
  pointer-events: none;
}
.blueprint h1,
.blueprint h2,
.blueprint h3 {
  color: var(--d-text);
}
.blueprint .lede,
.blueprint p {
  color: var(--d-soft);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------- hero --- */

.hero {
  padding: clamp(4rem, 2rem + 7vw, 7.5rem) 0 clamp(4rem, 2rem + 6vw, 7rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.4rem;
}
.lede {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.6;
  max-width: 40rem;
}

.panel {
  font-family: var(--font-mono);
  background: linear-gradient(180deg, rgba(19, 34, 58, 0.9), rgba(11, 21, 38, 0.92));
  border: 1px solid var(--line-d-strong);
  border-radius: 16px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line-d);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-mute);
}
.panel-dots {
  display: inline-flex;
  gap: 6px;
}
.panel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26374f;
}
.panel-dots span:first-child {
  background: var(--brand);
}
.panel-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}
.panel-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px dashed var(--line-d);
}
.panel-list li:last-child {
  border-bottom: 0;
}
.pl-index {
  font-size: 0.78rem;
  color: var(--sky);
}
.pl-name {
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.35;
  color: var(--d-text);
}
.pl-tag {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--d-mute);
}
.pl-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}
.pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.panel-list li:nth-child(2) .pulse::after {
  animation-delay: 0.6s;
}
.panel-list li:nth-child(3) .pulse::after {
  animation-delay: 1.2s;
}
.panel-list li:nth-child(4) .pulse::after {
  animation-delay: 1.8s;
}

/* -------------------------------------------------------------- stats --- */

.stats {
  display: flex;
  gap: 2.5rem;
}
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--d-mute);
}
.panel-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-d);
}
.panel-foot > div {
  padding: 1rem 1.1rem;
}
.panel-foot > div + div {
  border-left: 1px solid var(--line-d);
}
.panel-foot strong {
  font-size: 1.9rem;
}
.stats-light strong {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
}
.stats-light span {
  color: var(--mute);
}

/* ------------------------------------------------------------ sections --- */

.section {
  padding: clamp(4rem, 2.4rem + 5vw, 6.75rem) 0;
}
.section-paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.section-dark {
  color: var(--d-text);
}
.section-dark .kicker {
  color: var(--cyan);
}

.section-head {
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.section-head h2 {
  max-width: 22ch;
}
.section-lede {
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--soft);
  margin-bottom: 0;
}
.section-dark .section-lede {
  color: var(--d-soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.split .section-head {
  margin-bottom: 0;
  position: sticky;
  top: 110px;
}
.split-gap {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding-top: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--line);
}

.prose p {
  color: var(--soft);
  font-size: 1.06rem;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  margin-top: 2.4rem;
}
.prose h2:first-child {
  margin-top: 0;
}

/* ------------------------------------------------------------ services --- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.svc {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.28s ease;
}
.svc::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.svc:hover::before {
  transform: scaleX(1);
}
.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.svc-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: var(--brand-600);
  border: 1px solid transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad-brand) border-box;
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mute);
  letter-spacing: 0.06em;
}
.svc-tag {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.svc h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.45rem);
  margin-bottom: 0.7rem;
}
.svc > p:not(.svc-tag) {
  color: var(--soft);
  font-size: 0.98rem;
}

.ticks {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px dashed var(--line-strong);
}
.ticks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.ticks li:last-child {
  margin-bottom: 0;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 0.5em;
  width: 7px;
  height: 7px;
  background: var(--grad-brand);
  transform: rotate(45deg);
}

/* ------------------------------------------------------ accreditations --- */

.accred-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 2.5rem;
  align-items: end;
}
.accred-head .section-head {
  margin-bottom: 0;
}
.accred-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  justify-self: end;
}
.accred-head-light {
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.marquee {
  margin-top: clamp(2.5rem, 1.8rem + 2vw, 3.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee ul {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0.3rem 0.9rem 0.3rem 0;
}
.marquee li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line-d-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--d-text);
}
.chip-dot {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.accred-card {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.accred-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.accred-card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.accred-card .count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-600);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
}
.accred-card .ticks li {
  font-size: 0.92rem;
  color: var(--soft);
}

.cta-band {
  padding: clamp(3.5rem, 2.4rem + 4vw, 5.5rem) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 {
  margin-bottom: 0.4rem;
}
.cta-inner p {
  margin: 0;
}
.cta-inner .actions {
  margin: 0;
}

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

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}

.direct {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.direct li {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.direct-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
}
.direct a,
.direct li > span:last-child {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.direct a:hover {
  color: var(--brand-600);
}

.form-card {
  position: relative;
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.form-card::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: -1px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--grad-brand);
}
.form-card h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  margin-bottom: 0.3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.contact-details {
  padding: 1.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-details h2 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin: 2rem 0 0.9rem;
}
.contact-details h2:first-child {
  margin-top: 0;
}
.contact-details .direct {
  border-top: 0;
}
.contact-details .direct li:first-child {
  padding-top: 0;
}

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

.form {
  margin-top: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.opt {
  font-weight: 400;
  color: var(--mute);
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fbfcfd;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field input:hover,
.field textarea:hover {
  border-color: #b7c3d1;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(32, 135, 201, 0.16);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #c0392b;
}
.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}
.field-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.field-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.22rem;
  flex-shrink: 0;
  accent-color: var(--brand-600);
}
.field-check label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--soft);
}
.form .btn {
  margin-top: 0.4rem;
}

/* 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: var(--radius-sm);
  font-size: 0.95rem;
  margin: 1rem 0 0;
}
.notice-ok {
  background: var(--ok-bg);
  border: 1px solid var(--ok-line);
  color: var(--ok-text);
}
.notice-err {
  background: var(--err-bg);
  border: 1px solid var(--err-line);
  color: var(--err-text);
}

/* ------------------------------------------------------------ EU strip --- */

.eu-strip {
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.eu-inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.eu-inner img {
  width: 280px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.eu-inner .kicker {
  margin-bottom: 0.6rem;
}
.eu-inner h2 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}
.eu-inner p {
  color: var(--soft);
  margin-bottom: 0.5rem;
}
.eu-inner p:last-child {
  margin-bottom: 0;
}

.eu-logo {
  display: block;
  width: 420px;
  max-width: 100%;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.callout {
  margin-top: 2.4rem;
  padding: 1.4rem 1.6rem;
  background: #eef6fc;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.callout p {
  font-size: 0.97rem;
  margin: 0;
}

/* ----------------------------------------------------------- page head --- */

.page-head {
  padding: clamp(3.5rem, 2.2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 4vw, 5rem);
}
.page-head h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  max-width: 24ch;
  margin-bottom: 1rem;
}
.page-head .lede {
  margin-bottom: 0;
}
.page-head-tall {
  padding-block: clamp(5rem, 3rem + 8vw, 9rem);
}

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

.site-footer {
  background: var(--ink-950);
  color: var(--d-soft);
  padding-top: clamp(3rem, 2.4rem + 2vw, 4.5rem);
  border-top: 1px solid var(--line-d);
}
.site-footer h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.site-footer a {
  color: var(--d-soft);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer .muted {
  color: var(--d-mute);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 0.9fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}
.footer-brand img {
  width: 178px;
  margin-bottom: 1.1rem;
}
.footer-brand p {
  max-width: 21rem;
  font-size: 0.95rem;
}
.footer-grid ul.plain li {
  margin-bottom: 0.55rem;
  font-size: 0.93rem;
}
.site-footer .lang {
  margin-top: 1rem;
}
.site-footer .lang a:hover {
  text-decoration: none;
}
.footer-bottom {
  border-top: 1px solid var(--line-d);
  padding: 1.3rem 0;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--d-mute);
}

/* ---------------------------------------------------------- animations --- */

@keyframes fade-up {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Hero entrance — pure CSS, so above-the-fold content never waits for JS.
   Uses the individual `translate` property so hover `transform`s still work. */
.enter {
  animation: fade-up 0.8s var(--ease-out) both;
}
.d1 {
  animation-delay: 0.05s;
}
.d2 {
  animation-delay: 0.14s;
}
.d3 {
  animation-delay: 0.26s;
}
.d4 {
  animation-delay: 0.38s;
}

/* Scroll reveal — app.js adds .js-reveal to <html> only when it can observe,
   so without JS (or with reduced motion) everything is simply visible. */
.js-reveal [data-reveal] {
  opacity: 0;
}
.js-reveal [data-reveal].is-in {
  animation: fade-up 0.75s var(--ease-out) both;
}
.js-reveal .services-grid .svc.is-in:nth-child(2),
.js-reveal .accred-grid .accred-card.is-in:nth-child(2) {
  animation-delay: 0.08s;
}
.js-reveal .services-grid .svc.is-in:nth-child(3),
.js-reveal .accred-grid .accred-card.is-in:nth-child(3) {
  animation-delay: 0.16s;
}
.js-reveal .services-grid .svc.is-in:nth-child(4),
.js-reveal .accred-grid .accred-card.is-in:nth-child(4) {
  animation-delay: 0.24s;
}

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

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    max-width: 34rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: -1.25rem;
    right: -1.25rem;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--ink-900);
    border-bottom: 1px solid var(--line-d);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-d);
  }
  .main-nav a[aria-current='page']::after {
    display: none;
  }
  .main-nav a[aria-current='page'] {
    color: var(--cyan);
  }
  .site-nav .lang {
    align-self: flex-start;
  }
  .split,
  .contact-split,
  .contact-grid,
  .accred-head {
    grid-template-columns: 1fr;
  }
  .split .section-head {
    position: static;
    margin-bottom: 0;
  }
  .accred-side {
    justify-self: start;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .brand img {
    width: 150px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .eu-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .eu-inner img {
    width: 240px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .actions .btn,
  .form .btn {
    width: 100%;
  }
  .panel-list li {
    grid-template-columns: 1.6rem minmax(0, 1fr);
  }
  .pl-status {
    display: none;
  }
  .stats {
    gap: 1.8rem;
  }
  .marquee li {
    font-size: 0.98rem;
    padding: 0.7rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .enter {
    animation: none;
  }
  .pulse::after {
    display: none;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track {
    width: auto;
    animation: none;
  }
  .marquee ul {
    flex-wrap: wrap;
    padding-right: 0;
  }
  .marquee ul[aria-hidden='true'] {
    display: none;
  }
}

/* ---------------------------------------------------------------- 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(11, 21, 38, 0.6);
  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(--soft);
}
#adm .tabs button.on {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
#adm .body {
  padding: 1.2rem;
  overflow: auto;
}
#adm label {
  display: block;
  font-size: 0.78rem;
  color: var(--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(--text);
}
#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-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-600);
  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(--brand-600);
  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(--soft);
  border: 1px solid var(--line);
}
#adm .msg {
  font-size: 0.85rem;
  color: var(--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(--mute);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
