/* =============================================================================
   CODEXAARA — design system
   Mobile-first. Tokens first, then base, layout, components, sections.
   Palette: deep navy + electric blue, one cyan accent used only on dark.
   ========================================================================== */

/* ---- Fonts (self-hosted, no third-party requests) ------------------------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Inter";
  src: url("../assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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;
}
/* Metric-matched fallback so text does not jump when Inter loads. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ink: #0a0e27;
  --ink-2: #0f1638;
  --ink-3: #141c4a;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --line: #e2e7f1;
  --line-strong: #c9d1e3;

  --text: #0b1030;
  --text-2: #2a3358;
  --muted: #525c7a;
  --muted-dark: #a9b4d6;

  --blue: #2563eb;
  --blue-600: #1d4ed8;
  --blue-500: #3b82f6;
  --blue-300: #8db8ff;
  --blue-50: #eef3ff;
  --accent: #22d3ee;

  --success: #047857;
  --danger: #b91c1c;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 39, 0.05), 0 1px 3px rgba(10, 14, 39, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(10, 14, 39, 0.18);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, 0.45);

  --gutter: 16px;
  --header-h: 68px;
  --focus: #1d4ed8;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.nav-open { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.125rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.1875rem; letter-spacing: -0.015em; line-height: 1.3; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: #bfd4ff; color: var(--ink); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 600; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 12px; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: var(--radius-sm);
  font: 600 0.9375rem/1.2 var(--font); text-align: center; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(37, 99, 235, 0.8); }
.btn-primary:hover { background: var(--blue-600); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.03); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); padding-inline: 10px; }
.btn-ghost:hover { background: var(--blue-50); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.lead + .btn, .ticks + .btn { margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-weight: 600; font-size: 0.9375rem; color: var(--blue); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.card-link:hover .link-arrow .icon { transform: translateX(4px); }

/* ---- Type helpers --------------------------------------------------------- */
.eyebrow { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow-light, .section--dark .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; margin-top: 18px; }
.section--dark .lead, .page-hero .lead, .hero .lead { color: var(--muted-dark); }
.section--dark .lead a { color: var(--blue-300); }
.h3 { font-size: 1.1875rem; margin-bottom: 16px; }
.section-note { margin-top: 32px; font-size: 0.9375rem; color: var(--muted); max-width: 70ch; }
.section-note.center { margin-inline: auto; text-align: center; }
.card-foot { margin: 22px 0 10px; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.hero-meta { font-size: 0.875rem; color: var(--muted-dark); }

/* ---- Sections ------------------------------------------------------------- */
.section { padding-block: clamp(56px, 8vw, 104px); background: var(--bg); }
.section--white { background: #fff; }
.section--dark {
  color: #dde4fa;
  background: radial-gradient(60% 50% at 88% 0%, rgba(37, 99, 235, 0.2), transparent 70%), var(--ink);
  --focus: #8db8ff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .lead { margin-inline: auto; }
.head-row { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 900px) { .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; } .head-row .section-head { margin-bottom: clamp(32px, 5vw, 56px); } .head-row-cta { margin-bottom: clamp(32px, 5vw, 56px); flex: none; } }
@media (max-width: 899px) { .head-row-cta { align-self: flex-start; margin-bottom: 32px; } }
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.cols-2, .cols-3, .cols-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.split { display: grid; gap: 40px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; } }

/* ---- Cards & small components -------------------------------------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card h3 { margin: 20px 0 8px; }
.card > h3:first-child { margin-top: 0; }
.card p { color: var(--muted); }
.card-link:hover { border-color: #b3c6f7; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stretched { color: inherit; text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:has(.stretched:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.stretched:focus-visible { outline: none; }
.stretched:hover { color: var(--blue); }
.card-dark { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.1); color: #dde4fa; }
.card-dark p, .card-dark dd { color: var(--muted-dark); }
.card-dark.card-link:hover { border-color: rgba(141, 184, 255, 0.55); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.7); }
.card-dark .stretched:hover { color: var(--blue-300); }
.card-dark .link-arrow, .section--dark .link-arrow { color: var(--blue-300); }

.icon-tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.icon-tile .icon { width: 22px; height: 22px; }
.icon-tile--sm { width: 38px; height: 38px; border-radius: 10px; }
.icon-tile--sm .icon { width: 19px; height: 19px; }
.icon-tile--dark { background: rgba(141, 184, 255, 0.14); color: var(--blue-300); }
.card h3 .icon-tile { display: inline-grid; margin-right: 12px; vertical-align: middle; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips li { font-size: 0.8125rem; font-weight: 500; line-height: 1; padding: 7px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--text-2); }
.chips--dark li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); color: #c9d4f5; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 600; line-height: 1; padding: 6px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.badge-accent { background: #ecfeff; color: #0e7490; border: 1px solid #a5f3fc; }
.badge-soft { background: var(--blue-50); color: var(--blue-600); border: 1px solid #d3e0fc; }
.badge-info { background: var(--bg); color: var(--text-2); border: 1px solid var(--line); }
.badge-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-muted { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }
.badge-status { letter-spacing: 0.08em; font-weight: 700; }
.badge-feature { font-size: 0.6875rem; padding: 5px 8px; }
.page-hero .badge-success, .section--dark .badge-success { background: rgba(16, 185, 129, 0.14); color: #6ee7b7; border-color: rgba(16, 185, 129, 0.4); }
.page-hero .badge-muted, .section--dark .badge-muted { background: rgba(255, 255, 255, 0.1); color: #e2e8f0; border-color: rgba(255, 255, 255, 0.28); }
.page-hero .badge-info, .section--dark .badge-info { background: rgba(255, 255, 255, 0.08); color: #dbeafe; border-color: rgba(147, 197, 253, 0.4); }
.page-hero .badge-accent, .section--dark .badge-accent, .card-dark .badge-accent { background: rgba(34, 211, 238, 0.12); color: #67e8f9; border-color: rgba(34, 211, 238, 0.35); }

.ticks { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); background: var(--blue-50); border-radius: 50%; padding: 3px; }
.card .ticks { margin-top: 0; }

.notice { display: flex; gap: 12px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); }
.notice .icon { margin-top: 3px; color: var(--blue); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin: 24px 0; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.9375rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
tbody th { font-weight: 600; color: var(--text); }
tbody tr:last-child > * { border-bottom: 0; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.prose strong { color: var(--text); }
.prose a { font-weight: 500; }

.facts { margin: 0; display: grid; }
.facts > div { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--text-2); }
@media (min-width: 720px) { .facts > div { grid-template-columns: 170px minmax(0, 1fr); } }
.related-box { margin-top: 48px; background: var(--bg); }
.related-box ul { list-style: none; display: grid; gap: 14px; }
.related-box li { color: var(--muted); }
.related-box li span { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.related-box a { font-weight: 600; }

/* Breadcrumbs */
.crumbs { margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.875rem; color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff;
  transition: background-color 0.25s, box-shadow 0.25s, color 0.25s;
  --focus: #8db8ff; --ind: var(--accent);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; letter-spacing: 0.1em; font-size: 1.0625rem; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { height: 30px; width: auto; }
.brand-mark--dark { display: none; }
.nav-desktop { display: none; margin-left: auto; }
.nav-desktop ul, .mobile-nav ul { list-style: none; }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cta { display: none; white-space: nowrap; }
.nav-toggle { position: relative; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: inherit; cursor: pointer; display: grid; place-items: center; }
.nav-toggle-icon { grid-area: 1 / 1; display: grid; transition: opacity 0.2s, transform 0.2s; }
.nav-toggle-icon .icon { width: 22px; height: 22px; }
.nav-toggle-close { opacity: 0; transform: rotate(-45deg); }
.menu-open .nav-toggle-open { opacity: 0; transform: rotate(45deg); }
.menu-open .nav-toggle-close { opacity: 1; transform: none; }

.site-header.is-scrolled { background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: 0 1px 0 var(--line); --focus: #1d4ed8; --ind: var(--blue); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-header.is-scrolled .brand-mark--light { display: none; }
.site-header.is-scrolled .brand-mark--dark { display: block; }
.site-header.is-scrolled .nav-toggle { background: rgba(10, 14, 39, 0.06); }
/* Menu open: solid dark bar, no backdrop-filter (it would trap the fixed panel). */
.site-header.menu-open, .site-header.menu-open.is-scrolled { background: var(--ink); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; --focus: #8db8ff; }
.site-header.menu-open .brand-mark--light { display: block; }
.site-header.menu-open .brand-mark--dark { display: none; }
.site-header.menu-open .nav-toggle { background: rgba(255, 255, 255, 0.1); }

.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); transition: opacity 0.22s, transform 0.22s; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav[hidden] { display: none; }
.mobile-nav-inner { display: flex; flex-direction: column; min-height: 100%; padding-block: 8px 28px; }
.mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.mobile-nav nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav nav a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mobile-nav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 22px; }
.mobile-contact { display: grid; gap: 2px; }
.mobile-contact a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; min-height: 44px; color: var(--muted-dark); text-decoration: none; font-size: 0.9375rem; }
.mobile-contact .icon { width: 20px; height: 20px; color: var(--blue-300); }

@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .nav-desktop { display: block; }
  .nav-desktop ul { display: flex; gap: 2px; }
  .nav-desktop a { position: relative; display: block; white-space: nowrap; padding: 9px 10px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 0.9375rem; font-weight: 500; opacity: 0.85; transition: opacity 0.2s, background-color 0.2s; }
  .nav-desktop a:hover { opacity: 1; background: rgba(255, 255, 255, 0.09); color: inherit; }
  .is-scrolled .nav-desktop a:hover { background: rgba(10, 14, 39, 0.06); }
  .nav-desktop a[aria-current="page"] { opacity: 1; font-weight: 600; }
  .nav-desktop a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ind); }
  .header-actions { margin-left: 8px; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---- Hero (home) ---------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink); --focus: #8db8ff;
  padding-top: calc(var(--header-h) + clamp(28px, 6vw, 72px));
  padding-bottom: clamp(56px, 8vw, 104px);
}
.hero-bg, .page-hero::before {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 60% at 82% 28%, rgba(37, 99, 235, 0.32), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
  mask-image: linear-gradient(#000 60%, transparent);
}
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.125rem, 1.2rem + 3vw, 3.5rem); }
.hero .lead { max-width: 54ch; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 30px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Skeleton interface used by the captioned wireframe. */

.mock { background: #0e1538; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); color: #4c8dff; text-align: left; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.mock-top i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mock-url { margin-left: 10px; height: 16px; flex: 1; max-width: 220px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); }
.mock-body { display: grid; grid-template-columns: 40px minmax(0, 1fr); }
.mock-side { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.mock-nav { width: 18px; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, 0.14); }
.mock-nav.is-active { background: var(--blue-500); }
.mock-main { padding: 14px; display: grid; gap: 12px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-pill { width: 64px; height: 20px; border-radius: 10px; background: var(--blue-500); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-kpi { display: grid; gap: 8px; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.07); }
.mock-chart { height: 92px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.mock-chart svg { width: 100%; height: 100%; }
.mock-rows { display: grid; gap: 9px; }
.mock-row { display: flex; align-items: center; gap: 10px; }
.mock-row .sk:last-child { margin-left: auto; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.sk { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
.sk.tall { height: 13px; background: rgba(255, 255, 255, 0.3); }
.w15 { width: 15%; } .w20 { width: 20%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; }
.w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; }


/* ---- Inner-page hero ------------------------------------------------------ */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); --focus: #8db8ff; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px)); padding-bottom: clamp(44px, 6vw, 72px); }
.page-hero::before { content: ""; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.875rem, 1.3rem + 2.8vw, 3.25rem); max-width: 24ch; }
.page-hero .lead { margin-top: 18px; }
.page-hero .hero-actions { align-items: center; margin-top: 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: 0.9375rem; color: var(--muted-dark); }
.notfound { min-height: 78vh; display: grid; align-items: center; }

/* ---- Trusted / stats ------------------------------------------------------ */
.trusted { background: #fff; padding-block: 36px; border-bottom: 1px solid var(--line); }
.trusted-title { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-align: center; color: var(--muted); margin-bottom: 22px; }
.logo-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.logo-row img { height: 32px; width: auto; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.logo-row a:hover img { filter: none; opacity: 1; }
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 30px 16px 30px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { padding-left: 16px; padding-right: 0; border-left: 1px solid var(--line); }
.stat:nth-last-child(-n + 2) { border-bottom: 0; }
.stat-num { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 12px; font-weight: 650; color: var(--text); font-size: 0.9375rem; }
.stat-note { margin-top: 6px; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 40px 28px; border-bottom: 0; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(2n) { padding-left: 28px; }
  .stat + .stat { border-left: 1px solid var(--line); }
}

/* ---- Card content patterns ------------------------------------------------ */
.outcome, .why-card, .feature { min-height: 100%; }
.service-top, .solution-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-num { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.service-card h3, .solution-card h3 { font-size: 1.25rem; }
.service-card .chips { margin-top: 18px; }
.solution-short { margin-bottom: 4px; }
@media (max-width: 639px) { .solution-card .chips { display: none; } }
.ps { display: grid; gap: 12px; margin: 16px 0 0; }
.ps dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 3px; }
.ps dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; }
.card:not(.card-dark) .ps dt { color: var(--blue); }
.ps-card p:not(.eyebrow) { color: var(--text-2); font-size: 1.0625rem; }
.ps-card--solution { border-color: #b3c6f7; background: linear-gradient(180deg, var(--blue-50), #fff 60%); }
.ideal { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.ideal .chips { margin-top: 0; }
.tech-line { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.tech-line .chips { margin-top: 0; }

/* ---- Projects ------------------------------------------------------------- */
.case-list { display: grid; gap: 24px; }
.case-card { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); }
.case-visual { display: grid; align-content: center; padding: clamp(20px, 3.2vw, 44px); background: radial-gradient(70% 70% at 70% 20%, rgba(37, 99, 235, 0.35), transparent 70%), linear-gradient(135deg, #0a0e27, #141c4a); }
.case-info { padding: clamp(22px, 3.2vw, 44px); display: flex; flex-direction: column; }
.case-info h2, .case-info h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 16px 0 10px; }
.case-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.case-type { font-size: 0.875rem; color: var(--muted); }
.case-industry { font-size: 0.9375rem; color: var(--muted); margin-bottom: 10px; }
.case-industry span, .case-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.case-label { display: block; margin: 20px 0 6px; }
.case-tech { font-weight: 600; color: var(--text) !important; }
.case-info .chips { margin-top: 4px; }
.case-cta { margin-top: 28px; align-self: flex-start; }
@media (min-width: 900px) { .case-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }

.preview { margin: 0; }
.preview figcaption { margin-top: 12px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); text-align: center; }
.case-visual .preview figcaption { color: var(--muted-dark); }
.mock-pos { max-width: 680px; margin-inline: auto; }
.shot img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.shot + .shot { margin-top: 20px; }
.pos-tabs { display: flex; gap: 4px; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.6875rem; font-weight: 600; color: #8fa0d0; overflow: hidden; }
.pos-tabs span { padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.pos-tabs .is-active { background: var(--blue); color: #fff; }
.pos-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; padding: 14px; }
.pos-tables { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-content: start; }
.pos-table { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.6875rem; font-weight: 600; color: #c9d4f5; }
.pos-table.is-busy { background: rgba(37, 99, 235, 0.38); border-color: var(--blue-500); }
.pos-table.is-pay { background: rgba(34, 211, 238, 0.16); border-color: rgba(34, 211, 238, 0.7); color: #67e8f9; }
.pos-order { display: grid; gap: 9px; align-content: start; padding: 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.pos-order .mock-row { justify-content: space-between; }
.pos-total { display: block; height: 26px; margin-top: 6px; border-radius: 6px; background: var(--blue-500); }

.case { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.case-main { display: grid; gap: 36px; max-width: 70ch; }
.case-main h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.875rem); margin-bottom: 12px; }
.case-main p { color: var(--text-2); }
.case-facts dl { margin: 0; display: grid; gap: 18px; }
.case-facts dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-facts dd { margin: 4px 0 0; font-weight: 600; color: var(--text); }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; } .case-facts { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---- Technology ----------------------------------------------------------- */
.tech-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech-card.is-wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tech-card.is-wide { grid-column: span 2; } }
.tech-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.0625rem; }
.tech-card h3 .icon-tile { margin: 0; }
.tech-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tech-list li { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 11px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 0.9375rem; font-weight: 550; color: var(--text); }
.tech-list img { width: 20px; height: 20px; object-fit: contain; }
.tech-glyph { width: 20px; height: 20px; color: var(--blue); }

/* ---- Process timeline ----------------------------------------------------- */
.timeline { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }
.timeline .step { position: relative; padding: 0 0 30px 64px; min-height: 44px; }
.timeline .step:last-child { padding-bottom: 0; }
.timeline .step::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, 0.16); }
.timeline .step:last-child::before { display: none; }
.step-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 700; font-size: 0.875rem; letter-spacing: 0.02em; }
.timeline .step-dot { position: absolute; left: 0; top: 0; background: var(--ink-3); color: var(--accent); border: 1px solid rgba(34, 211, 238, 0.45); }
.timeline h3 { margin-bottom: 6px; padding-top: 9px; }
.timeline p { color: var(--muted-dark); font-size: 0.9375rem; }
@media (min-width: 1200px) {
  .timeline { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .timeline .step { padding: 64px 14px 0 0; }
  .timeline .step::before { left: 52px; right: 8px; top: 21px; bottom: auto; width: auto; height: 1px; }
  .timeline h3 { padding-top: 0; }
}
.step-dot--light { background: var(--blue-50); color: var(--blue); border: 1px solid #d3e0fc; margin-bottom: 16px; }
.steps-grid { list-style: none; display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
.steps-grid .card h3 { margin: 0 0 8px; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- About / team / testimonials / products / internships ---------------- */
.mv { display: grid; gap: 16px; }
.person { align-items: flex-start; }
.person-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.person-photo--empty { display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 1.75rem; }
.person h3, .person h4 { margin: 0 0 4px; }
.person-role { font-weight: 600; color: var(--blue) !important; font-size: 0.9375rem; margin-bottom: 10px; }
.person-link { margin-top: auto; padding-top: 14px; font-weight: 600; font-size: 0.9375rem; }
.leaders { max-width: 820px; }
.leaders .person { flex-direction: row; align-items: center; gap: 20px; }
.leaders .person-photo { flex: none; margin-bottom: 0; }
.leaders .person-role { margin-bottom: 0; }
.leaders .person-body > p:not(.person-role) { margin-top: 10px; }
@media (max-width: 380px) { .leaders .person { flex-direction: column; align-items: flex-start; } }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 20px; font-size: 1.0625rem; color: var(--text-2); }
.quote blockquote p { color: var(--text-2); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 0.9375rem; color: var(--muted); }
.quote figcaption img { border-radius: 50%; width: 44px; height: 44px; object-fit: cover; }
.quote figcaption strong { color: var(--text); }

.product { display: grid; gap: 32px; padding: clamp(24px, 4vw, 44px); grid-template-columns: minmax(0, 1fr); }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; }
.product-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.product-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 20px 0 12px; }
.product-copy p { margin-bottom: 26px; max-width: 52ch; }
.product-features { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-content: start; }
.product-features li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); line-height: 1.5; }
.product-features strong { display: block; color: var(--text); margin-bottom: 2px; }
@media (min-width: 560px) { .product-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; } }

.intern-points { list-style: none; display: grid; gap: 14px; }
.intern-points .card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 20px; }
.intern-points strong { display: block; margin-bottom: 2px; color: var(--text); }
.intern-points .card > span:last-child { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }

/* ---- Blog ----------------------------------------------------------------- */
.post-card { padding: 0; overflow: hidden; }
.post-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--ink); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.post-body h3, .post-body h2 { margin: 0; font-size: 1.1875rem; }
.post-body p { font-size: 0.9375rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.8125rem; color: var(--muted) !important; }
.post-author { margin-top: auto; padding-top: 6px; font-size: 0.8125rem !important; }
.article { background: #fff; padding-top: clamp(32px, 5vw, 56px); }
.article-cover { margin: 0 0 clamp(28px, 4vw, 44px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }

/* ---- FAQ ------------------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color 0.2s, background-color 0.2s; }
.faq:hover { border-color: var(--line-strong); }
.faq[open] { border-color: #b3c6f7; background: #fbfcff; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; cursor: pointer; list-style: none; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform 0.2s; }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { color: var(--muted); max-width: 70ch; }
.section--white .faq { background: var(--bg); }
.section--white .faq[open] { background: #fff; }

/* ---- Contact & forms ------------------------------------------------------ */
.contact-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; } }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 36px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted-dark); line-height: 1.5; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.contact-list strong { display: block; color: #fff; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue-300); }

.form-card { background: #fff; color: var(--text); border-radius: 18px; padding: clamp(20px, 3.2vw, 36px); box-shadow: var(--shadow-lg); --focus: #1d4ed8; }
.form-card h2, .form-card h3 { color: var(--text); }
.form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a93ad; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa6c4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.16); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--muted); pointer-events: none; }
.hint { font-size: 0.8125rem; color: var(--muted); }
.error { color: var(--danger); font-size: 0.875rem; font-weight: 500; }
.error:empty { display: none; }
.form-error-summary { padding: 12px 14px; border-radius: var(--radius-sm); background: #fef2f2; border: 1px solid #fecaca; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }
.btn-spinner { display: none; }
[data-submit][aria-busy="true"] .btn-arrow { display: none; }
[data-submit][aria-busy="true"] .btn-spinner { display: block; animation: spin 0.8s linear infinite; }
[data-submit][aria-busy="true"] { opacity: 0.85; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-result { text-align: center; padding: clamp(16px, 4vw, 40px) 0; }
.form-result:focus { outline: none; }
.result { display: grid; justify-items: center; gap: 14px; }
.result[hidden], .form-result[hidden], .form[hidden] { display: none; }
.result-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue); }
.result-icon .icon { width: 30px; height: 30px; }
.result-success .result-icon { background: #ecfdf5; color: var(--success); }
.result-error .result-icon { background: #fef2f2; color: var(--danger); }
.result h3 { font-size: 1.5rem; margin: 0; }
.result p { color: var(--muted); max-width: 46ch; }
.result-actions { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 6px; }
.result-small { font-size: 0.875rem; }

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { padding-block: clamp(48px, 7vw, 80px); }
.cta-inner { display: grid; gap: 28px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem); }
.cta-inner p { margin-top: 12px; color: var(--muted-dark); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-actions .btn { width: 100%; } }
@media (min-width: 900px) { .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(48px, 7vw, 80px); padding-bottom: 96px; border-top: 1px solid rgba(255, 255, 255, 0.06); --focus: #8db8ff; }
.foot-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 14px; max-width: 34ch; font-size: 0.9375rem; }
.brand--footer { color: #fff; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.socials a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; color: #fff; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.socials a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.foot-title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 2px; }
.foot-col a { display: inline-block; padding: 6px 0; font-size: 0.9375rem; color: var(--muted-dark); text-decoration: none; }
.foot-col a:hover, .legal a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.875rem; }
.legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.legal a { color: var(--muted-dark); text-decoration: none; padding: 6px 0; display: inline-block; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: minmax(0, 1.6fr) repeat(5, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }
@media (min-width: 720px) { .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---- WhatsApp button ------------------------------------------------------ */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(10, 14, 39, 0.08); transition: transform 0.2s, box-shadow 0.2s; }
.wa-float img { width: 40px; height: 40px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(10, 14, 39, 0.1); }
.wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 50%; }
@media (min-width: 1024px) { .wa-float { right: 24px; bottom: 24px; } }
/* Keep the chat button out of the way while someone is typing in a form. */
body:has(.form input:focus, .form select:focus, .form textarea:focus) .wa-float { opacity: 0; pointer-events: none; transform: translateY(8px); }
/* ---- Scroll reveal (progressive; content is visible without JS) ---------- */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); animation: reveal-fallback 0s 3s forwards; }
  .reveal-ready .reveal { animation: none; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-group > .reveal:nth-child(2) { transition-delay: 60ms; }
  .reveal-group > .reveal:nth-child(3) { transition-delay: 120ms; }
  .reveal-group > .reveal:nth-child(4) { transition-delay: 180ms; }
  .reveal-group > .reveal:nth-child(5) { transition-delay: 240ms; }
  .reveal-group > .reveal:nth-child(6) { transition-delay: 300ms; }
  @keyframes reveal-fallback { to { opacity: 1; transform: none; } }
}

/* ---- Page transitions (Chromium; ignored elsewhere) ---------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.18s; }
}

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .wa-float, .mobile-nav, .cta-band { display: none !important; }
  body { background: #fff; }
}

/* ==== Global-company additions ============================================== */

/* Hero architecture visual */
.hero-visual { position: relative; padding: 8px 0; }
.arch { max-width: 520px; margin-inline: auto; padding: 16px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); box-shadow: var(--shadow-lg); }
.arch-layer { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: #0e1538; border: 1px solid rgba(255, 255, 255, 0.12); }
.arch-head { display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 600; color: #fff; }
.arch-head .icon { width: 18px; height: 18px; color: var(--accent); }
.arch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.arch-chips span { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 999px; background: rgba(141, 184, 255, 0.12); color: #c9d4f5; border: 1px solid rgba(141, 184, 255, 0.25); }
.arch-core { border-color: rgba(59, 130, 246, 0.75); background: linear-gradient(135deg, rgba(37, 99, 235, 0.38), #0e1538); }
.arch-link { display: block; width: 2px; height: 14px; margin: 0 auto; background: linear-gradient(var(--blue-500), rgba(59, 130, 246, 0.15)); }
.arch-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.arch-row .arch-layer { flex-direction: column; align-items: flex-start; }
.arch-cross { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; border: 1px dashed rgba(34, 211, 238, 0.5); color: #67e8f9; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.arch-cross span { display: inline-flex; align-items: center; gap: 6px; }
.arch-cross .icon { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .arch-layer, .arch-cross { animation: rise 0.6s both cubic-bezier(0.2, 0.7, 0.2, 1); }
  .arch-link { animation: rise 0.6s 0.1s both; }
  .arch [aria-hidden] > :nth-child(3) { animation-delay: 0.12s; }
  .arch [aria-hidden] > :nth-child(5) { animation-delay: 0.24s; }
  .arch [aria-hidden] > :nth-child(7) { animation-delay: 0.36s; }
  .arch-cross { animation-delay: 0.5s; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

/* Trust pillars */
.pillars { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pillar { padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.pillar h3 { margin: 16px 0 6px; font-size: 1.0625rem; }
.pillar p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.pillars + .section-note, .stats-grid + .pillars { margin-top: 32px; }

/* Industries */
.industry-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.industry-card h3 { font-size: 1.25rem; }
.section-cta { margin-top: 32px; }

/* Engineering flow and capability grid */
.flow { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(28px, 4vw, 48px); }
.flow-node { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.flow-node .icon-tile { margin-bottom: 8px; }
.flow-node strong { color: var(--text); }
.flow-node > span:last-child { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .flow-node { border-radius: 0; border-left-width: 0; }
  .flow-node:first-child { border-radius: var(--radius) 0 0 var(--radius); border-left-width: 1px; }
  .flow-node:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .flow-node:not(:last-child)::after { content: ""; position: absolute; right: -8px; top: 50%; width: 15px; height: 15px; background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); z-index: 1; }
}
.section--white .flow-node, .section--white .flow-node::after { background: var(--bg); }
.mini-card { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.section--white .mini-card { background: var(--bg); }
.mini-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 1rem; }
.mini-card h3 .icon { width: 18px; height: 18px; color: var(--blue); }
.mini-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }

/* Service technology and technology page */
.use-grid { list-style: none; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .use-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.use-grid li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.use-grid strong { color: var(--text); }
.use-grid span { color: var(--muted); font-size: 0.9375rem; }
.tech-detail { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.tech-detail li { display: flex; align-items: flex-start; gap: 12px; }
.tech-detail img, .tech-detail .tech-glyph { width: 24px; height: 24px; margin-top: 2px; object-fit: contain; flex: none; }
.tech-detail strong { display: block; color: var(--text); }
.tech-detail span > span, .tech-detail li > span { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; }
.tech-detail li > span strong { font-size: 1rem; }
.tech-card.is-wide .tech-detail { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Case study architecture */
.case-arch { margin: 0; }
.case-arch-layers { display: grid; gap: 10px; }
.case-arch-layer { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.1); color: #dde4fa; }
@media (min-width: 640px) { .case-arch-layer { grid-template-columns: 150px minmax(0, 1fr); align-items: center; } }
.case-arch-name { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.case-arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.case-arch-items span { font-size: 0.8125rem; padding: 5px 11px; border-radius: 999px; background: rgba(141, 184, 255, 0.12); border: 1px solid rgba(141, 184, 255, 0.25); }
.case-arch figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.h3-lg { font-size: 1.25rem; margin-bottom: 8px; }

/* Misc */
.steps-grid--6 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .steps-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-list { list-style: none; display: grid; gap: 12px; }
.link-list li { display: grid; gap: 2px; }
.link-list a { font-weight: 600; }
.link-list span { color: var(--muted); font-size: 0.9375rem; }
.cat-nav { margin-top: 24px; }
.cat-nav li { padding: 0; }
.cat-nav a { display: block; padding: 11px 15px; color: #c9d4f5; text-decoration: none; }
.cat-nav a:hover { color: #fff; }
.contact-social { margin-top: 28px; color: var(--muted-dark); font-size: 0.9375rem; }
.contact-social a { color: #fff; }
.foot-address { font-size: 0.875rem !important; max-width: 32ch !important; margin-top: 8px !important; }
.notice--spaced { margin-top: 16px; }
.lead--tight { margin-top: 0; margin-bottom: 24px; }
.cta-band { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Engagement models */
.engage-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.engage-top h3 { margin: 0; }
.engage-summary { font-weight: 600; color: var(--ink, inherit); }
.engage-facts { margin: 8px 0 0; display: grid; gap: 12px; }
.engage-facts div { border-top: 1px solid var(--line); padding-top: 12px; }
.engage-facts dt { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: 2px; }
.engage-facts dd { margin: 0; }
.spaced-top { margin-top: 20px; }
