:root {
  --bg: #07111f;
  --surface: #ffffff;
  --surface-muted: #f4f7fa;
  --text: #102033;
  --text-soft: #536478;
  --white: #f8fbff;
  --white-soft: #b9c8d9;
  --accent: #4ad7d1;
  --accent-strong: #20b7b3;
  --accent-dark: #0e5f62;
  --line: #dce5ed;
  --shadow: 0 24px 70px rgba(2, 11, 22, 0.18);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
/* scroll-padding keeps anchor targets and keyboard-focused elements from
   settling underneath the fixed header (WCAG 2.4.11). */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-muted { background: var(--surface-muted); }
.section-accent { background: linear-gradient(135deg, #0a1a2b 0%, #0c2431 58%, #0d343b 100%); color: var(--white); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--bg);
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 17, 31, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em; }
.brand-dot { color: var(--accent); }
.brand-mark { width: 34px; height: 34px; color: var(--accent); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark path:first-child { fill: rgba(74,215,209,.08); stroke: currentColor; stroke-width: 2.25; }
.brand-mark path:not(:first-child) { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.25; }
.brand-mark-small { width: 28px; height: 28px; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #d6e0eb; font-size: .93rem; font-weight: 600; }
.site-nav > a:not(.button) { transition: color .2s ease; }
.site-nav > a:not(.button):hover, .site-nav > a:not(.button):focus-visible { color: var(--accent); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--white); transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  color: #032022;
  background: var(--accent);
  box-shadow: 0 12px 32px rgba(32,183,179,.2);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: #70e8e3; border-color: #70e8e3; }
.button-small { min-height: 42px; padding: 0 16px; border-radius: 9px; font-size: .88rem; }
.button-light { color: var(--bg); background: var(--white); border-color: var(--white); box-shadow: none; overflow-wrap: anywhere; }
.button-light:hover, .button-light:focus-visible { background: var(--accent); border-color: var(--accent); }
.text-link { color: var(--white); font-weight: 700; }
.text-link span { display: inline-block; margin-left: 5px; color: var(--accent); transition: transform .2s ease; }
.text-link:hover span, .text-link:focus-visible span { transform: translateX(4px); }

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 182px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 58px 58px;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; background: linear-gradient(transparent, rgba(7,17,31,.9)); pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 620px; height: 620px; top: 10%; right: -180px; background: radial-gradient(circle, rgba(30,183,179,.17), transparent 68%); }
.hero-glow-two { width: 430px; height: 430px; bottom: -160px; left: -120px; background: radial-gradient(circle, rgba(71,113,255,.12), transparent 68%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow, .section-accent .eyebrow, .contact-card .eyebrow { color: var(--accent); }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.045em; overflow-wrap: break-word; }
h2 .eyebrow { display: block; line-height: 1.5; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(3rem, 5.6vw, 5.35rem); }
h1 span { color: var(--accent); }
h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 4vw, 3.65rem); }
h3 { margin-bottom: 14px; font-size: 1.35rem; }
.hero-lead { max-width: 700px; margin: 0 0 34px; color: var(--white-soft); font-size: 1.16rem; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 42px 0 0; padding: 0; list-style: none; }
.trust-list li { padding: 7px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #c6d3e0; background: rgba(255,255,255,.035); font-size: .78rem; font-weight: 600; }

.architecture-card { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025)); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.architecture-card::before { content: ""; position: absolute; inset: 14px; z-index: -1; border: 1px solid rgba(74,215,209,.12); border-radius: 16px; }
.card-topline { display: flex; align-items: center; gap: 9px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.09); color: #d9e4ee; font-size: .78rem; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(74,215,209,.1); }
.status-label { margin-left: auto; color: var(--accent); }
.architecture-flow { padding: 30px 4px; }
.flow-node { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(5,16,29,.65); }
.flow-node strong, .flow-node small { display: block; }
.flow-node small { margin-top: 2px; color: #91a4b8; font-size: .75rem; }
.node-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; color: var(--accent); background: rgba(74,215,209,.1); font-size: .72rem; font-weight: 800; }
.flow-line { display: block; width: 1px; height: 18px; margin: 0 0 0 37px; background: linear-gradient(var(--accent), rgba(74,215,209,.12)); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.metric { padding: 14px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.metric span, .metric strong { display: block; }
.metric span { color: #8498ac; font-size: .68rem; }
.metric strong { margin-top: 3px; color: #e6f0f8; font-size: .82rem; }

.section-heading { max-width: 760px; margin-bottom: 56px; }
.section-heading > p:last-child { max-width: 670px; margin: 0; color: var(--text-soft); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 410px; padding: 35px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 14px 40px rgba(18,38,58,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(32,183,179,.38); box-shadow: 0 22px 54px rgba(18,38,58,.1); }
.service-number { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 30px; border-radius: 13px; color: var(--accent-dark); background: rgba(74,215,209,.14); font-size: .78rem; font-weight: 800; }
.service-card > p { color: var(--text-soft); }
.service-card ul { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-card li { position: relative; margin: 9px 0; padding-left: 20px; color: #405369; font-size: .9rem; }
.service-card li::before { content: ""; position: absolute; top: .72em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); }

.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: start; }
.approach-grid .section-heading { position: sticky; top: 130px; margin-bottom: 0; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 0 0 35px; }
.steps li:not(:last-child) { margin-bottom: 35px; border-bottom: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(32,183,179,.3); border-radius: 50%; color: var(--accent-dark); background: rgba(74,215,209,.1); font-weight: 800; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--text-soft); }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: center; }
.about-copy p:last-child { max-width: 620px; color: var(--white-soft); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.1); list-style: none; }
.principles li { min-height: 172px; padding: 30px; background: rgba(8,22,36,.86); }
.principles strong, .principles span { display: block; }
.principles strong { margin-bottom: 9px; color: var(--accent); }
.principles span { color: #aebfd0; font-size: .91rem; }

.contact-section { padding: 85px 0; background: var(--surface-muted); }
.contact-card { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; padding: 64px; border-radius: 28px; color: var(--white); background: linear-gradient(120deg, #0a1828 0%, #0a2830 100%); box-shadow: var(--shadow); }
.contact-card h2 { margin-bottom: 14px; }
.contact-card p { margin: 0; color: var(--white-soft); }
.contact-card > div { min-width: 0; }
.contact-actions { text-align: center; }
.contact-actions .button { width: 100%; }
.contact-actions p { margin-top: 14px; font-size: .8rem; }
.copy-email { margin-top: 12px; padding: 6px 10px; border: 0; background: transparent; color: var(--white-soft); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.copy-email:hover, .copy-email:focus-visible { color: var(--accent); }
.contact-actions .copy-status { margin: 6px 0 0; color: var(--accent); }

.site-footer { padding: 34px 0; color: #96a8ba; background: #050c15; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-wrap p { margin: 0; font-size: .78rem; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; color: var(--white); background: var(--bg); text-align: center; }
.error-card { width: min(100%, 680px); padding: 55px 35px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.error-code { margin: 0 0 8px; color: var(--accent); font-size: clamp(4rem, 15vw, 8rem); font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.error-card p { max-width: 500px; margin: 0 auto 28px; color: var(--white-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Windows High Contrast / forced-colors: the hamburger bars are drawn with
   background-color (removed by forced colors unless a system color is used),
   and the translucent fixed surfaces let content ghost through. */
@media (forced-colors: active) {
  .site-header, .site-nav { background: Canvas; }
  .menu-button span:not(.sr-only) { background-color: ButtonText; }
}

@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid, .approach-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 54px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 620px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .approach-grid, .about-grid { gap: 58px; }
  .approach-grid .section-heading { position: static; }
  .contact-card { gap: 35px; }
  .contact-actions { max-width: 420px; text-align: left; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 68px; }
  .js .menu-button { display: block; position: relative; z-index: 2; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  /* visibility keeps the closed menu's links out of the tab order and the
     accessibility tree. Hiding it immediately also prevents a brief flash
     when JavaScript enhancement begins or the viewport crosses this breakpoint.
     max-height + overflow-y keep every link reachable on short viewports
     (e.g. 400% zoom) while body scroll is locked (WCAG 1.4.10). */
  .js .site-nav { position: fixed; inset: 68px 0 auto; display: grid; gap: 0; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 28px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(7,17,31,.98); transform: translateY(-140%); visibility: hidden; transition: transform .25s ease; }
  .js .site-nav.open { transform: translateY(0); visibility: visible; transition: transform .25s ease, visibility 0s 0s; }
  .site-nav > a { padding: 15px 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .button { margin-top: 14px; border-bottom: 1px solid var(--accent); }
  /* Without JavaScript, show the navigation as part of the document instead
     of leaving visitors with an inoperative hamburger button. */
  html:not(.js) .site-header { position: static; }
  html:not(.js) .nav-wrap { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .site-nav { display: grid; width: 100%; gap: 0; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
  html:not(.js) .site-nav .button { margin-bottom: 4px; }
  html:not(.js) .hero { padding-top: 74px; }
  .hero { padding-top: 132px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .trust-list { margin-top: 34px; }
  .architecture-card { padding: 18px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric { display: flex; justify-content: space-between; align-items: center; }
  .metric strong { margin-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .principles li { min-height: auto; }
  .contact-card { padding: 38px 24px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .section { padding: 74px 0; }
  .hero { padding-top: 116px; }
  .hero-lead { font-size: 1.03rem; }
  .service-card { padding: 28px 22px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 16px; }
  .steps li > span { width: 40px; height: 40px; }
}

@media print {
  @page { margin: .65in; }

  html { scroll-padding-top: 0; }
  body { color: #000; background: #fff; font-size: 11pt; }
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }

  .site-header { position: static; border-bottom: 1px solid #aaa; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-wrap { min-height: auto; padding-bottom: 16px; }
  .site-nav, .menu-button, .skip-link, .hero-glow, .hero::after, .copy-email, .copy-status { display: none !important; }

  .container { width: 100%; }
  .hero, .section, .contact-section { min-height: auto; padding: 30px 0; }
  .hero { overflow: visible; }
  .hero-grid, .approach-grid, .about-grid, .contact-card { display: block; }
  .hero-visual, .principles { margin-top: 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .approach-grid .section-heading { position: static; }
  .contact-card { padding: 24px; }

  .hero, .section-muted, .section-accent, .contact-section, .contact-card,
  .site-footer, .architecture-card, .flow-node, .metric, .principles,
  .principles li, .error-page, .error-card {
    color: #000;
    background: #fff;
  }
  .site-header *, .hero *, .section-accent *, .contact-card *, .site-footer *, .error-page * { color: #000 !important; }
  .architecture-card, .flow-node, .metric, .service-card, .principles,
  .principles li, .contact-card, .error-card { border-color: #aaa; }
  .architecture-card::before { display: none; }
  .service-card, .steps li, .principles li, .contact-card, .error-card { break-inside: avoid; }
  .service-card, .principles li { min-height: auto; }
}
