/* =====================================================================
   Formation Technology — Enterprise Design System
   Modern, secure, government/enterprise-ready visual language.
   Palette anchored on the Formation brand: deep navy + brand cyan (#40B0D0).
   ===================================================================== */

/* ----------  Local fonts (Montserrat, already bundled — no external calls) ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-medium.ttf") format("truetype");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-semi-bold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat/montserrat-extra-bold.ttf") format("truetype");
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ----------  Design tokens ---------- */
:root {
  /* Core palette */
  --color-navy: #0a1c33;          /* deep navy — heroes, footer */
  --color-navy-900: #061425;      /* near-black navy */
  --color-navy-700: #102a46;      /* raised navy surface */
  --color-charcoal: #11161d;      /* charcoal/near-black */
  --color-blue: #155e9c;          /* refined Formation blue — primary actions */
  --color-blue-600: #11507f;
  --color-cyan: #40b0d0;          /* brand cyan — accent */
  --color-cyan-200: #8fd6e8;      /* light cyan tint */
  --color-teal: #0fa28c;          /* trust / security highlight */
  --color-teal-600: #0c8473;

  /* Neutrals / backgrounds */
  --color-light: #f5f8fc;         /* off-white / pale blue-grey */
  --color-light-2: #eef3f9;       /* slightly deeper panel */
  --color-white: #ffffff;
  --color-ink: #16222f;           /* primary body text */
  --color-muted: #51637a;         /* secondary text (AA on white) */
  --color-border: #dbe4ee;        /* hairline borders */
  --color-border-dark: rgba(255, 255, 255, 0.12);

  /* Text on dark */
  --on-dark: #eaf2fb;
  --on-dark-muted: #a9bdd4;

  /* Radii */
  --radius-card: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 6px 24px rgba(10, 28, 51, 0.08), 0 2px 6px rgba(10, 28, 51, 0.05);
  --shadow-strong: 0 24px 60px rgba(10, 28, 51, 0.18), 0 8px 20px rgba(10, 28, 51, 0.10);
  --shadow-glow: 0 0 0 1px rgba(64, 176, 208, 0.35), 0 18px 50px rgba(64, 176, 208, 0.18);

  /* Spacing / layout */
  --container: 1180px;
  --section-pad: clamp(3.5rem, 7vw, 6.5rem);
  --gap: clamp(1.25rem, 2.5vw, 2rem);

  /* Type */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----------  Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--color-cyan); }

h1, h2, h3, h4, h5 { font-family: var(--font-sans); color: var(--color-ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }
li { margin-bottom: .4rem; }
strong, b { font-weight: 700; color: var(--color-ink); }

/* Focus visibility for keyboard users */
:focus-visible { outline: 3px solid var(--color-cyan); outline-offset: 2px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--color-cyan); color: var(--color-navy-900);
  padding: .65rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ----------  Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--light { background: var(--color-light); }
.section--panel { background: var(--color-light-2); }

.text-center { text-align: center; }
.measure { max-width: 720px; }
.measure-narrow { max-width: 600px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* Section heading group */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-teal-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--color-cyan); border-radius: 2px; }
.eyebrow--center { justify-content: center; }
.section__lead { font-size: 1.15rem; color: var(--color-muted); }

/* ----------  Buttons ---------- */
.btn {
  --btn-bg: var(--color-blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .98rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); color: var(--btn-fg); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { --btn-bg: var(--color-blue); }
.btn-primary:hover { background: var(--color-blue-600); }
.btn-accent { --btn-bg: var(--color-cyan); --btn-fg: var(--color-navy-900); }
.btn-accent:hover { background: var(--color-cyan-200); color: var(--color-navy-900); box-shadow: var(--shadow-glow); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--color-navy); }
.btn-light:hover { --btn-fg: var(--color-blue); }
.btn-ghost { background: transparent; color: var(--color-blue); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-blue); background: var(--color-light); color: var(--color-blue); }
.btn-ghost--dark { color: var(--on-dark); border-color: rgba(255,255,255,.28); }
.btn-ghost--dark:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* ISO 27001 certification badge */
.iso-badge { display: block; width: 112px; height: auto; }
.iso-badge--float { float: right; width: 104px; margin: .2rem 0 .8rem 1.4rem; }
@media (max-width: 640px) { .iso-badge--float { float: none; margin: 0 auto 1rem; } }

/* ----------  Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 22, 40, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border-dark);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.nav-bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a {
  color: var(--on-dark); font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  padding: .4rem 0; position: relative;
}
.primary-nav ul a:hover, .primary-nav ul a:focus-visible { color: #fff; }
.primary-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--color-cyan); transition: right .22s ease;
}
.primary-nav ul a:hover::after, .primary-nav li[aria-current="page"] a::after, .primary-nav ul a.is-active::after { right: 0; }
.primary-nav li[aria-current="page"] a, .primary-nav ul a.is-active { color: #fff; }
.nav-cta { padding: .62rem 1.5rem; font-size: .92rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .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); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-navy-900);
    border-bottom: 1px solid var(--color-border-dark);
    padding: .5rem 0 1.25rem;
    max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav li { margin: 0; }
  .primary-nav ul a { display: block; padding: .95rem clamp(1.1rem, 4vw, 2rem); border-bottom: 1px solid var(--color-border-dark); }
  .primary-nav ul a::after { display: none; }
  .nav-cta { margin: 1rem clamp(1.1rem, 4vw, 2rem) 0; }
}

/* ----------  Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 78% -10%, rgba(64,176,208,.22), transparent 60%),
    radial-gradient(800px 500px at 12% 110%, rgba(21,94,156,.30), transparent 60%),
    linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-900) 100%);
  color: var(--on-dark);
}
.hero::before { /* faint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 60% 30%, #000, transparent 78%);
  mask-image: radial-gradient(circle at 60% 30%, #000, transparent 78%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--color-cyan); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-dark-muted); max-width: 36ch; margin-bottom: 1.8rem; }
.hero__cta { margin-bottom: 1.8rem; }
.hero__visual { position: relative; }
.hero__float-card {
  position: absolute; left: -10px; bottom: 22px;
  display: flex; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--color-border); border-radius: 14px;
  padding: .75rem 1rem; box-shadow: var(--shadow-strong);
}
.hero__float-card svg { width: 30px; height: 30px; color: var(--color-teal); flex: none; }
.hero__float-card strong { display: block; font-size: .95rem; color: var(--color-ink); line-height: 1.1; }
.hero__float-card span { font-size: .78rem; color: var(--color-muted); }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hero__float-card { display: none; } }

/* Heroes on inner pages (shorter) */
.page-hero { background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-900) 100%); color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(700px 360px at 85% -20%, rgba(64,176,208,.20), transparent 60%),
    radial-gradient(600px 320px at 5% 120%, rgba(21,94,156,.28), transparent 60%);
}
.page-hero__inner { position: relative; padding: clamp(2.8rem, 6vw, 4.5rem) 0; max-width: 820px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 60ch; margin-bottom: 0; }
.breadcrumb { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.1rem; font-size: .85rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--color-cyan-200); }
.breadcrumb li::after { content: "/"; margin-left: .5rem; color: rgba(255,255,255,.3); }
.breadcrumb li:last-child::after { content: ""; }

/* ----------  Trust badges ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  color: var(--on-dark); font-size: .85rem; font-weight: 600;
}
.trust-badge svg { width: 16px; height: 16px; color: var(--color-cyan); flex: none; }

/* ----------  Generic grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Split (text + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--media-first .split__media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--media-first .split__media { order: 0; } }

/* ----------  Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: clamp(1.4rem, 2.5vw, 2rem); box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); border-color: #c7d6e6; }
.card h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.card--flush:hover { transform: none; box-shadow: var(--shadow-soft); }

.icon-chip {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(64,176,208,.16), rgba(21,94,156,.12));
  color: var(--color-blue); margin-bottom: 1.1rem; border: 1px solid var(--color-border);
}
.icon-chip svg { width: 26px; height: 26px; }
.icon-chip--teal { color: var(--color-teal-600); background: linear-gradient(150deg, rgba(15,162,140,.16), rgba(64,176,208,.10)); }

/* Numbered/step cards */
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-navy); color: #fff; font-weight: 800; margin-bottom: 1rem;
}

/* ----------  Check / feature lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.checklist li { position: relative; padding-left: 2rem; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat var(--color-teal);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .checklist--two { grid-template-columns: 1fr; } }

/* Inline pill tags */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.pill--cyan { background: rgba(64,176,208,.14); color: var(--color-blue-600); }
.pill--teal { background: rgba(15,162,140,.14); color: var(--color-teal-600); }
.pill--navy { background: var(--color-navy); color: #fff; }

/* ----------  Security feature grid (icon + text) ---------- */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(64,176,208,.14); color: var(--color-blue); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h4 { margin: 0 0 .3rem; }
.feature p { margin: 0; color: var(--color-muted); font-size: .96rem; }

/* On dark sections */
.on-dark { background: var(--color-navy); color: var(--on-dark); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p { color: var(--on-dark-muted); }
.on-dark .card { background: var(--color-navy-700); border-color: rgba(255,255,255,.10); box-shadow: none; }
.on-dark .card:hover { border-color: rgba(64,176,208,.5); box-shadow: var(--shadow-glow); }
.on-dark .feature__icon { background: rgba(64,176,208,.18); color: var(--color-cyan); }
.on-dark .feature p { color: var(--on-dark-muted); }
.on-dark .eyebrow { color: var(--color-cyan); }

/* ----------  Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat__num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--color-cyan); line-height: 1; letter-spacing: -0.02em; }
.stat__label { color: var(--on-dark-muted); font-size: .95rem; margin-top: .4rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat-figure { font-size: clamp(2.3rem, 4.8vw, 3.1rem); font-weight: 800; color: var(--color-blue); line-height: 1; letter-spacing: -0.02em; margin-bottom: .6rem; }
.stat-figure span { font-size: .4em; font-weight: 700; color: var(--color-muted); margin-left: .12rem; }

/* ----------  Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; }
.logo-wall__item { background: #fff; display: grid; place-items: center; padding: 1.5rem 1rem; min-height: 110px; }
.logo-wall__item img { max-height: 52px; width: auto; filter: grayscale(100%); opacity: .68; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
.logo-wall__item:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.04); }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

/* ----------  Accordion (native <details>) ---------- */
.accordion { display: grid; gap: .85rem; }
.acc { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); overflow: hidden; }
.acc > summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.35rem; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--color-ink);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--color-light-2); border-radius: 50%; position: relative; transition: background .2s ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23155e9c' d='M12 5v14M5 12h14' stroke='%23155e9c' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.acc[open] > summary { color: var(--color-blue); }
.acc[open] > summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 1.35rem 1.3rem; color: var(--color-muted); }
.acc__body p:first-child { margin-top: 0; }
.acc__body ul { margin-top: .5rem; }

/* ----------  Timeline (roadmap) ---------- */
.timeline { position: relative; max-width: 880px; margin: 0 auto; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--color-cyan), var(--color-border)); }
.tl-item { position: relative; margin-bottom: 2.2rem; }
.tl-item::before { content: ""; position: absolute; left: -2.2rem; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--color-cyan); box-shadow: 0 0 0 4px rgba(64,176,208,.15); }
.tl-item--security::before { border-color: var(--color-teal); box-shadow: 0 0 0 4px rgba(15,162,140,.18); }
.tl-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: clamp(1.3rem, 2.5vw, 1.8rem); }
.tl-date { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .35rem; }
.tl-card h3 { margin-bottom: .7rem; }
.tl-card h4 { margin: 1rem 0 .3rem; color: var(--color-blue-600); font-size: 1rem; }
.tl-card p, .tl-card li { color: var(--color-ink); }

/* ----------  Roadmap horizons (Now / Next / Later) ---------- */
.roadmap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
@media (max-width: 900px) { .roadmap-cols { grid-template-columns: 1fr; } }
.roadmap-card { background: #fff; border: 1px solid var(--color-border); border-top: 4px solid var(--color-cyan); border-radius: var(--radius-card); box-shadow: var(--shadow-soft); padding: clamp(1.4rem, 2.5vw, 2rem); height: 100%; }
.roadmap-card--next { border-top-color: var(--color-blue); }
.roadmap-card--later { border-top-color: var(--color-muted); }
.roadmap-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: 1.2rem; }
.roadmap-card__head h3 { margin: 0; }
.roadmap-card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }
.roadmap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.roadmap-list li { display: grid; gap: .4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); margin: 0; }
.roadmap-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.roadmap-list .pill { justify-self: start; }
.roadmap-list p { margin: 0; font-size: .97rem; color: var(--color-ink); line-height: 1.5; }

/* ----------  CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: var(--on-dark);
  background:
    radial-gradient(700px 300px at 50% -40%, rgba(64,176,208,.28), transparent 70%),
    linear-gradient(120deg, var(--color-blue-600), var(--color-navy) 70%);
}
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); }

/* ----------  Forms (contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--color-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--color-ink); background: #fff;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm); padding: .8rem .95rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-cyan); box-shadow: 0 0 0 3px rgba(64,176,208,.18); }
.form-status { font-size: 1.05rem; font-weight: 600; color: var(--color-teal-600); margin-top: 1rem; }
.req { color: #c0392b; }

/* Contact info panel */
.info-panel { background: var(--color-navy); color: var(--on-dark); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.2rem); height: 100%; }
.info-panel h3 { color: #fff; }
.info-panel a { color: var(--color-cyan-200); }
.info-item { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.4rem; }
.info-item svg { width: 22px; height: 22px; color: var(--color-cyan); flex: none; margin-top: 3px; }
.info-item p { margin: 0; color: var(--on-dark-muted); }
.info-item strong { color: #fff; display: block; margin-bottom: .15rem; }

/* Support callout */
.callout {
  display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(64,176,208,.10), rgba(15,162,140,.08));
  border: 1px solid var(--color-border); border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-card); padding: 1.4rem 1.6rem;
}
.callout svg { width: 30px; height: 30px; color: var(--color-teal-600); flex: none; }
.callout h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.callout p { margin: 0; color: var(--color-muted); }
.callout .callout__phone { font-size: 1.3rem; font-weight: 800; color: var(--color-navy); white-space: nowrap; }

/* ----------  Visual / SVG wrappers ---------- */
.visual { position: relative; }
.visual > svg { width: 100%; height: auto; border-radius: var(--radius-card); }
.visual--float { filter: drop-shadow(0 30px 50px rgba(4, 14, 28, .45)); }

/* Media frame for SVG mockups on light bg */
.frame { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-card); box-shadow: var(--shadow-strong); padding: 12px; }
.frame svg { border-radius: 8px; }

/* ----------  Footer ---------- */
.site-footer { background: var(--color-navy-900); color: var(--on-dark-muted); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .65rem; }
.site-footer a { color: var(--on-dark-muted); font-size: .95rem; }
.site-footer a:hover { color: var(--color-cyan); }
.footer-brand img { height: 30px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; max-width: 30ch; }
.footer-contact { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; color: var(--on-dark); font-weight: 600; }
.footer-contact svg { width: 18px; height: 18px; color: var(--color-cyan); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border-dark); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-social { display: flex; gap: .8rem; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid var(--color-border-dark); }
.footer-social svg { width: 18px; height: 18px; color: var(--on-dark); }
.footer-social a:hover { background: var(--color-cyan); }
.footer-social a:hover svg { color: var(--color-navy-900); }

/* ----------  Back to top ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--color-blue); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-strong); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--color-cyan); color: var(--color-navy-900); }
.to-top svg { width: 22px; height: 22px; }

/* ----------  Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ----------  Misc utilities ---------- */
.lead { font-size: 1.18rem; color: var(--color-muted); }
.divider { height: 1px; background: var(--color-border); border: 0; margin: 0; }
.note { font-size: .85rem; color: var(--color-muted); }
.kicker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: .8rem; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag-cloud span { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: .9rem; font-weight: 600; color: var(--color-ink); box-shadow: var(--shadow-soft); }
.on-dark .tag-cloud span { background: var(--color-navy-700); border-color: rgba(255,255,255,.12); color: var(--on-dark); }
