:root {
  --ink: #2b2d33;
  --ink-2: #383b42;
  --text: #24303c;
  --muted: #5b6875;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --accent: #00adef;
  --btn: #0090cf;
  --accent-2: #4cc6f5;
  --accent-ink: #007bb0;
  --logo-dark: #818286;
  --radius: 14px;
  --wrap: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.015em; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-ink);
  margin-bottom: .8em;
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 36em; }
.section-lead { font-size: 1.1rem; color: var(--muted); max-width: 44em; margin-bottom: 2.2em; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 20px rgba(0, 173, 239, .25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 173, 239, .32); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 8px 18px; font-size: .92rem; box-shadow: none; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; font-size: 1.1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-menu a:not(.btn):hover { color: var(--accent-ink); }
.nav-menu .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

.wordmark {
  display: flex; flex-direction: column; align-items: flex-end;
  font-family: "Barlow", "DIN Alternate", Arial, sans-serif;
  font-weight: 500; font-size: 1.1rem; line-height: 1.05; letter-spacing: .05em;
}
.wordmark span:first-child { color: var(--logo-dark); }
.wordmark span:last-child { color: var(--accent); }
.site-footer .wordmark { font-size: .82rem; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(0, 173, 239, .18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(0, 173, 239, .10), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(43, 45, 51, .25);
  overflow: hidden;
}
.term-bar { display: flex; gap: 7px; padding: 14px 16px; background: var(--ink-2); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4654; }
.term-bar i:first-child { background: var(--accent); }
.term-bar i:nth-child(2) { background: #5b6875; }
.term {
  margin: 0; padding: 22px 24px 26px;
  font-family: var(--mono); font-size: .9rem; line-height: 1.75;
  color: #d6dde5; white-space: pre; overflow-x: auto;
}
.term .c { color: #6f7d8b; }
.term .k { color: #8cc8ff; }
.term .s { color: #f7b267; }
.term .b { color: #7ee0a1; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 30px 20px; border-left: 1px solid var(--line); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats-grid strong { display: block; font-size: 1.9rem; color: var(--ink); letter-spacing: -.02em; }
.stats-grid span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #c9cbd0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(0, 173, 239, .45); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(43, 45, 51, .06); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0, 173, 239, .1);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* AI */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.ai-points { display: grid; gap: 18px; }
.ai-point { border: 1px solid #474a52; border-radius: var(--radius); padding: 24px 26px; background: var(--ink-2); }
.ai-point p { margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: none; }
.steps li { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--mono); color: var(--accent-ink); font-size: .9rem; display: block; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .98rem; }
.engage { background: var(--bg-alt); border-radius: var(--radius); padding: 36px; }
.engage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 12px; }
.engage-grid strong { display: block; color: var(--ink); margin-bottom: 6px; }
.engage-grid span { color: var(--muted); font-size: .97rem; }

/* Expertise */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 44px; }
.sectors span { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech div { background: #fff; padding: 22px; }
.tech h3 { font-size: .82rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); font-weight: 500; }
.tech p { margin: 0; font-size: .96rem; }
.highlights { margin-top: 48px; }
.highlights ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.highlights li { position: relative; padding-left: 26px; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }

/* About */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 48px; }
.person { display: flex; gap: 20px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.avatar {
  flex: 0 0 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink), #4a4d55);
  color: #fff; font-weight: 700; letter-spacing: .04em;
}
.role { color: var(--accent-ink); font-weight: 500; font-size: .95rem; margin-bottom: .7em; }
.person p:not(.role) { color: var(--muted); font-size: .98rem; }
.link { font-weight: 600; text-decoration: none; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.values div { border-left: 3px solid var(--accent); padding-left: 18px; }
.values p { color: var(--muted); margin: 0; }

/* Contact */
.contact { padding-top: 0; }
.contact-box {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--ink), #45484f);
  color: #c9cbd0;
  border-radius: 22px;
  padding: 56px;
}
.contact-box h2 { color: #fff; }
.contact-box .eyebrow { color: var(--accent-2); }
.contact-actions .small { font-size: .9rem; margin-top: 16px; color: #a4a7ad; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .92rem; color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-grid p { margin: 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.site-footer .brand { font-size: 1rem; }
.footer-grid .terms { flex-basis: 100%; font-size: .85rem; }
.footer-grid .terms a { text-decoration: underline; }

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .tech { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-grid div { border-top: 1px solid var(--line); }
  .stats-grid div:nth-child(-n+2) { border-top: 0; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 56px; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-menu .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .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); }
  .cards, .steps, .tech, .engage-grid, .values, .highlights ul { grid-template-columns: 1fr; }
  .contact-box { padding: 36px 24px; }
  .person { flex-direction: column; }
  .term { font-size: .8rem; }
}
