:root {
  --ink: #0b1220;
  --ink-2: #142033;
  --slate: #536176;
  --muted: #748197;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --line: #dfe5ee;
  --blue: #316cff;
  --blue-2: #79a2ff;
  --cyan: #55d8d0;
  --shadow: 0 22px 65px rgba(15, 30, 60, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }

.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;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(11,18,32,.08);
  box-shadow: 0 5px 22px rgba(11,18,32,.05);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; }
.brand-lockup { width: 238px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: .93rem; font-weight: 600; }
.primary-nav a { position: relative; text-decoration: none; color: var(--ink-2); }
.primary-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.primary-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 11px 16px; border-radius: 11px; background: var(--ink); color: #fff !important; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 165px 0 105px;
  background:
    radial-gradient(circle at 82% 16%, rgba(49,108,255,.12), transparent 31%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: linear-gradient(rgba(49,108,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(49,108,255,.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .8fr); gap: 76px; align-items: center; }
.hero-copy { max-width: 700px; }
.eyebrow, .kicker { color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.eyebrow span { width: 23px; height: 2px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 26px; max-width: 750px; font-size: clamp(3rem, 5.45vw, 5.55rem); line-height: .99; letter-spacing: -.058em; font-weight: 720; }
.hero-lede { max-width: 650px; margin-bottom: 32px; color: var(--slate); font-size: 1.16rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 13px; text-decoration: none; font-size: .94rem; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(49,108,255,.25); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(49,108,255,.32); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.78); color: var(--ink); }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .81rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.hero-proof i { width: 3px; height: 3px; border-radius: 50%; background: #b6bfcd; }

.hero-panel { position: relative; padding: 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.74); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.hero-panel::after { content: ""; position: absolute; inset: 18% -32% -16% 38%; z-index: -1; border-radius: 50%; background: rgba(49,108,255,.13); filter: blur(42px); }
.panel-topline { display: flex; justify-content: space-between; gap: 16px; padding: 5px 5px 16px; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status { display: inline-flex; align-items: center; gap: 7px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #27b183; box-shadow: 0 0 0 4px rgba(39,177,131,.12); }
.signal-card { min-height: 238px; padding: 32px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, #0b1220, #172943); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.signal-label { display: block; margin-bottom: 34px; color: #94a7c5; font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.signal-card strong { display: block; margin-bottom: 11px; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.03em; }
.signal-card p { margin-bottom: 0; color: #bdc8d9; font-size: .94rem; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mini-card { min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mini-icon { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 19px; border-radius: 9px; background: #edf3ff; color: var(--blue); font-weight: 800; }
.mini-card strong { display: block; margin-bottom: 5px; font-size: .95rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.45; }
.accent-card { background: #f1fbfa; border-color: #cceeea; }
.accent-card .mini-icon { background: #d9f6f2; color: #168d84; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-orb-one { width: 410px; height: 410px; right: -250px; top: 85px; border: 1px solid rgba(49,108,255,.15); }
.hero-orb-two { width: 690px; height: 690px; right: -390px; top: -70px; border: 1px solid rgba(49,108,255,.08); }

.section { padding: 108px 0; }
.section-light { background: var(--surface-2); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .principles-copy h2, .about-copy h2, .contact-card h2 { margin: 9px 0 0; font-size: clamp(2.15rem, 3.5vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--slate); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-height: 430px; padding: 30px 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #c9d6ea; box-shadow: 0 18px 42px rgba(22,39,71,.09); }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 52px; border-radius: 13px; background: #edf3ff; color: var(--blue); font-size: 1.35rem; font-weight: 800; }
.service-card h3 { margin-bottom: 13px; font-size: 1.18rem; letter-spacing: -.02em; }
.service-card p { color: var(--slate); font-size: .92rem; }
.service-card ul { margin: 23px 0 0; padding: 19px 0 0; border-top: 1px solid #edf0f5; list-style: none; }
.service-card li { position: relative; padding: 6px 0 6px 18px; color: #5d697b; font-size: .84rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.principles-section { background: var(--ink); color: #fff; }
.principles-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.kicker-inverse { color: #86a9ff; }
.principles-copy { position: sticky; top: 125px; }
.principles-copy h2 { margin-bottom: 25px; }
.principles-copy p { color: #aab6c8; }
.text-link { display: inline-block; margin-top: 10px; color: #93b1ff; text-decoration: none; font-weight: 750; }
.principle-list { border-top: 1px solid #2b3647; }
.principle-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid #2b3647; }
.principle-item > span { color: #70809a; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.principle-item h3 { margin-bottom: 7px; font-size: 1.12rem; }
.principle-item p { margin: 0; color: #9eabbf; font-size: .93rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step { position: relative; min-height: 260px; padding: 34px 30px 34px 0; }
.process-step:not(:last-child) { border-right: 1px solid var(--line); margin-right: 30px; }
.process-step > span { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.process-step h3 { margin: 67px 0 10px; font-size: 1.18rem; }
.process-step p { color: var(--slate); font-size: .9rem; }

.about-section { background: #fbfcfe; }
.about-grid { display: grid; grid-template-columns: .9fr 1.05fr; gap: 88px; align-items: center; }
.about-card { min-height: 470px; padding: 58px 30px; border-radius: 27px; background: linear-gradient(140deg, #eaf0ff, #f7faff 62%, #e7faf7); }
.code-window { max-width: 470px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,.55); border-radius: 18px; background: #101929; box-shadow: 0 24px 55px rgba(21,35,60,.22); }
.code-top { display: flex; gap: 7px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.code-top i { width: 9px; height: 9px; border-radius: 50%; background: #536176; }
.code-window pre { margin: 0; padding: 40px 30px 48px; overflow: auto; color: #d5dfed; font: 500 .88rem/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-dim { color: #687b95; }
.code-key { color: #8fb0ff; }
.code-string { color: #6fe0d5; }
.about-copy p { color: var(--slate); font-size: 1rem; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.expertise-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #536176; font-size: .78rem; font-weight: 700; }

.contact-section { padding-top: 100px; padding-bottom: 100px; }
.contact-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; padding: 55px 62px; border: 1px solid #d7e2f3; border-radius: 27px; background: linear-gradient(135deg, #f4f7ff, #f8fffd); box-shadow: 0 18px 50px rgba(35,58,95,.07); }
.contact-card h2 { max-width: 700px; margin-bottom: 17px; }
.contact-card p { max-width: 700px; margin-bottom: 0; color: var(--slate); }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.contact-actions .button { width: 100%; }
.contact-phone { margin-top: 7px; text-decoration: none; font-size: 1.06rem; font-weight: 750; }
.contact-actions > span { color: var(--muted); font-size: .85rem; }

.site-footer { padding: 37px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .82rem; }
.footer-brand .brand-lockup { width: 220px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr 430px; gap: 42px; }
  h1 { font-size: clamp(3rem, 6vw, 4.7rem); }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 385px; }
  .principles-grid, .about-grid { gap: 55px; }
}

@media (max-width: 820px) {
  .site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom-color: rgba(11,18,32,.07); }
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 14px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { padding: 128px 0 82px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-panel { max-width: 610px; }
  .section { padding: 82px 0; }
  .section-heading, .principles-grid, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .principles-grid { gap: 45px; }
  .principles-copy { position: static; }
  .process-grid { grid-template-columns: 1fr 1fr; border-bottom: 0; }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:not(:last-child) { margin-right: 0; }
  .process-step:nth-child(2) { border-right: 0; }
  .contact-card { padding: 42px; gap: 32px; }
  .contact-actions { max-width: 390px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-lockup { width: 205px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-lede { font-size: 1.03rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 8px; }
  .hero-panel { padding: 12px; border-radius: 22px; }
  .signal-card { min-height: auto; padding: 27px 23px; }
  .metric-grid { grid-template-columns: 1fr; }
  .mini-card { min-height: auto; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 34px; }
  .process-step, .process-step:not(:last-child) { min-height: auto; padding: 29px 0; border-right: 0; }
  .process-step h3 { margin-top: 31px; }
  .about-card { min-height: auto; padding: 35px 13px; }
  .code-window pre { padding: 29px 20px 35px; font-size: .76rem; }
  .contact-card { padding: 31px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
