:root {
  color-scheme: light dark;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #0f141c;
  --ink-soft: #505a6b;
  --paper: #ffffff;
  --paper-alt: #f4f6f9;
  --card: #ffffff;
  --line: #e3e7ee;
  --accent: #1f56d6;
  --accent-2: #19c3b2;
  --accent-soft: #e8eefc;
  --check: #0f8a7e;
  --night: #0b0f17;
  --night-ink: #e9edf5;
  --night-soft: #9aa5b8;
  --night-line: #1f2633;
  --focus: #1d4ed8;
  --focus-on-dark: #ffd166;
  --max: 1140px;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9edf5;
    --ink-soft: #a0aabb;
    --paper: #0d1119;
    --paper-alt: #111723;
    --card: #141b28;
    --line: #232c3b;
    --accent: #6d97ff;
    --accent-soft: #18223a;
    --check: #19c3b2;
    --focus: #ffd166;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a[href^="tel:"] { white-space: nowrap; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Accessibility helpers */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -200px; z-index: 100;
  padding: 12px 20px; border-radius: 10px;
  background: var(--night); color: #fff; font-weight: 600; text-decoration: none;
  --focus: var(--focus-on-dark);
}
.skip-link:focus { top: 12px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--night) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--night-ink);
  --focus: var(--focus-on-dark);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { header.site { background: var(--night); } }
header.site .wrap { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; color: #fff; font-weight: 600; letter-spacing: .01em; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); flex: none; }
.brand small { display: block; font-weight: 400; font-size: .6875rem; color: var(--night-soft); letter-spacing: .14em; text-transform: uppercase; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--night-soft); text-decoration: none; font-size: .9375rem; }
.site-nav a:hover { color: #fff; }
.site-nav a.nav-cta { color: #fff; border: 1px solid rgba(255,255,255,.4); padding: 7px 16px; margin-left: 8px; }
.site-nav a.nav-cta:hover { background: rgba(255,255,255,.1); }
.menu-toggle { display: none; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; min-width: 44px; padding: 6px 12px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: .9375rem;
}
.lang-switch:hover { background: rgba(255,255,255,.1); }
.lang-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-short { display: none; }

@media (max-width: 880px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 12px; cursor: pointer;
    border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  }
  .menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: block; }
  .js .site-nav ul { display: none; }
  .js header.site.menu-open .site-nav ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px 16px 20px; background: var(--night); border-bottom: 1px solid var(--night-line);
  }
  .js header.site.menu-open .site-nav a { padding: 14px 10px; border-radius: 10px; color: var(--night-ink); font-size: 1.0625rem; }
  .js header.site.menu-open .site-nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  html:not(.js) header.site .wrap { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .site-nav ul { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .lang-switch svg, .lang-long { display: none; }
  .lang-short { display: inline; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; font-size: .9375rem; }
  .brand small { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 24px; border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, #1f56d6, #4f3fe6);
  color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.3;
  box-shadow: 0 8px 24px -8px rgba(31,86,214,.6);
}
.btn:hover { box-shadow: 0 12px 28px -8px rgba(31,86,214,.8); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn.ghost:hover { background: rgba(127,127,127,.12); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .2s, box-shadow .2s; }
  .btn:hover { transform: translateY(-1px); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--night); color: var(--night-ink);
  padding: 7.5rem 0 0;
  --focus: var(--focus-on-dark);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(91,77,255,.35), transparent 70%),
    radial-gradient(500px 380px at 70% 80%, rgba(25,195,178,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero .wrap { position: relative; }
.eyebrow {
  display: block; margin: 0 0 .75rem;
  color: var(--accent); font-weight: 700; font-size: .8125rem; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero .eyebrow { color: var(--accent-2); margin: 0; }
.hero h1 { font-weight: 700; font-size: clamp(2.75rem, 8vw, 5.75rem); line-height: 1.02; margin: 1.125rem 0 1.75rem; }
.grad { background: linear-gradient(90deg, #6d97ff, #19c3b2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--night-soft); max-width: 58ch; margin: 0 0 2.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn.ghost { color: var(--night-ink); border-color: rgba(255,255,255,.5); }

/* Ticker */
.ticker { position: relative; display: flex; align-items: center; margin-top: 6rem; padding: 14px 0; border-top: 1px solid var(--night-line); }
.ticker-toggle { display: none; }
.js .ticker-toggle {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  margin: 0 12px 0 max(16px, calc((100vw - var(--max)) / 2 + 24px));
  border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: var(--night); color: var(--night-ink);
}
.ticker-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.ticker-toggle .i-play, .ticker-toggle[aria-pressed="true"] .i-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .i-play { display: block; }
.ticker-viewport {
  flex: 1; min-width: 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { white-space: nowrap; color: var(--night-soft); font-size: 1.0625rem; font-weight: 500; padding: 8px 0; }
.ticker li::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 1.6rem;
  vertical-align: middle; background: var(--accent-2); transform: rotate(45deg);
}
.js .ticker-track { animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .js .ticker-track { animation: none; }
  .js .ticker-toggle { display: none; }
  .ticker-viewport { mask-image: none; -webkit-mask-image: none; padding: 0 16px; max-width: var(--max); margin: 0 auto; }
  .ticker-track { width: auto; }
  .ticker-track ul { flex-wrap: wrap; }
  .ticker-track ul[aria-hidden="true"] { display: none; }
}

/* Sections */
section { padding: 6.5rem 0; }
section.alt { background: var(--paper-alt); }
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
section h2 { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; margin: 0 0 1.125rem; }
section .intro { color: var(--ink-soft); font-size: 1.125rem; margin: 0; }

/* Service pillars */
.pillars, .offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.pillars { grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.pillar:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); box-shadow: 0 20px 40px -24px rgba(15,20,28,.35); }
@media (prefers-reduced-motion: no-preference) {
  .pillar { transition: transform .25s, box-shadow .25s, border-color .25s; }
  .pillar:hover { transform: translateY(-4px); }
}
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 22px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.375rem; margin: 0 0 .625rem; }
.pillar p { color: var(--ink-soft); font-size: .96875rem; margin: 0 0 1.125rem; }
.pillar ul { list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid var(--line); }
.pillar li { position: relative; padding: 4px 0 4px 18px; font-size: .90625rem; }
.pillar li::before { content: ""; position: absolute; left: 0; top: calc(4px + .8em - 3.5px); width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* Offers */
.offers { grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
/* The heading comes first in the source (screen readers land on it), the tag is shown above it */
.offer { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.offer.featured { position: relative; overflow: hidden; background: var(--night); color: var(--night-ink); border-color: var(--night); --check: var(--accent-2); }
.offer.featured::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px 260px at 100% 0%, rgba(91,77,255,.4), transparent 70%); }
.offer > * { position: relative; }
.offer h3 { font-size: 1.5rem; margin: 1.125rem 0 .625rem; }
.offer p { margin: 0; color: var(--ink-soft); font-size: .96875rem; }
.featured p { color: var(--night-soft); }
.offer .tag { order: -1; align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent); }
.offer.featured .tag { background: rgba(25,195,178,.15); color: var(--accent-2); }
.offer ul { list-style: none; padding: 0; margin: 1.125rem 0 0; }
.offer li { position: relative; padding: 6px 0 6px 28px; font-size: .9375rem; }
.offer li::before {
  content: ""; position: absolute; left: 5px; top: calc(6px + .25em);
  width: 6px; height: 11px; border: solid var(--check); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--line); }
.steps .n {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--line);
  font-weight: 600; font-size: .875rem; color: var(--accent);
}
.steps h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.steps p { color: var(--ink-soft); font-size: .96875rem; margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; gap: 56px; grid-template-columns: 1fr 1.3fr; align-items: start; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; gap: 24px; } }
.about blockquote { margin: 8px 0 0; padding-left: 20px; border-left: 3px solid var(--accent-2); font-size: 1.625rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.about blockquote p { margin: 0; }
.about p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after {
  content: ""; position: absolute; left: 9px; top: 6px;
  width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* Contact */
section.cta { padding: 0 0 6.5rem; }
.alt + .cta { padding-top: 6.5rem; background: var(--paper-alt); }
.cta-box {
  position: relative; overflow: hidden; border-radius: 24px; padding: 64px 56px;
  background: var(--night); color: var(--night-ink);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  --focus: var(--focus-on-dark);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 100% 100%, rgba(25,195,178,.28), transparent 70%), radial-gradient(500px 300px at 0% 0%, rgba(91,77,255,.3), transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box .eyebrow { color: var(--accent-2); }
.cta-box h2 { margin-bottom: .75rem; }
.cta-box p { color: var(--night-soft); margin: 0; }
.cta-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-links .btn { max-width: 100%; overflow-wrap: anywhere; }
.cta-links .btn.ghost { color: var(--night-ink); border-color: rgba(255,255,255,.5); }
.cta-links .vcard {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px;
  color: var(--night-ink); font-weight: 500; text-decoration-color: rgba(255,255,255,.45);
}
.cta-links .vcard:hover { text-decoration-color: currentColor; }
.cta-links .vcard svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.file-meta { color: var(--night-soft); font-weight: 400; }
@media (max-width: 880px) { .cta-box { grid-template-columns: 1fr; padding: 44px 24px; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem; color: var(--ink-soft); font-size: .875rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer p { margin: 0; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
footer a { display: inline-block; padding: 8px 0; color: var(--ink-soft); text-decoration-color: transparent; }
footer a:hover, footer a[aria-current="page"] { color: var(--ink); text-decoration-color: currentColor; }

/* Legal pages */
.legal { padding-top: 4rem; padding-bottom: 6rem; max-width: 760px; }
.legal h1 { font-size: clamp(2.125rem, 5vw, 2.75rem); margin: 0 0 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: .5rem; }
.legal .note { margin-top: 2.5rem; font-size: .875rem; }
.legal .lang-note { padding: 14px 18px; border-radius: 12px; background: var(--paper-alt); border: 1px solid var(--line); }

/* System settings "Increase contrast" and "Reduce transparency" */
@media (prefers-contrast: more) {
  :root { --ink-soft: var(--ink); --night-soft: var(--night-ink); --line: #6b7587; }
  .hero-bg, .offer.featured::before, .cta-box::before { display: none; }
  .hero .btn.ghost, .cta-links .btn.ghost, .site-nav a.nav-cta, .ticker-toggle, .menu-toggle { border-color: currentColor; }
  a { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-transparency: reduce) {
  header.site { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Windows high contrast and other forced-colour modes */
@media (forced-colors: active) {
  .grad { background: none; color: CanvasText; }
  .btn, .lang-switch, .menu-toggle, .ticker-toggle, .site-nav a.nav-cta { border: 2px solid ButtonText; }
  .pillar li::before, .ticker li::after, .checks li::before { forced-color-adjust: none; background: CanvasText; }
  .checks li::after { border-color: Canvas; forced-color-adjust: none; }
}
