/* Recursive Technologies: site stylesheet. Plain CSS, no build step. */

/* ---------- Tokens ---------- */
:root {
  --navy-950: #061430;
  --navy-900: #0a1f44;
  --navy-800: #112b5c;
  --brand: #1c64ff;
  --brand-dark: #1550d9;
  --sky: #0ea5ff;
  --ink: #13203a;
  --body: #4a5568;
  --muted: #6b7686;
  --line: #dde3ec;
  --surface: #f5f7fa;
  --surface-2: #eef2f7;
  --red: #dc2626;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 0.5rem;
  --container: 1200px;
  --gutter: 1.25rem;
  --shadow-card: 0 20px 40px -25px rgb(10 31 68 / 0.35);
}
@media (min-width: 640px) {
  :root { --gutter: 2rem; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  background: #fff;
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }
h1, h2, h3 { font-weight: 600; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
[id] { scroll-margin-top: 6rem; }

.icon {
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.i-sm { width: 0.875rem; height: 0.875rem; }
.i-md { width: 1rem; height: 1rem; }
.i-lg { width: 1.5rem; height: 1.5rem; }
.i-xl { width: 2rem; height: 2rem; }
.i-thin { stroke-width: 1.5; }
.i-light { stroke-width: 1.6; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: #fff; padding: 0.5rem 1rem; border-radius: 0.25rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 56rem; }
.container.prose-w { max-width: 48rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 5rem 0; }
.bg-surface { background: var(--surface); }
.border-top { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.grid > *, .footer-main > * { min-width: 0; }
.gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; } .gap-14 { gap: 3.5rem; }
.items-center { align-items: center; }
.stack > * + * { margin-top: 1.25rem; }

@media (min-width: 640px) {
  .sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .lg-hero { grid-template-columns: 0.95fr 1.05fr; }
  .lg-1-3 { grid-template-columns: 1fr 3fr; }
  .lg-faq { grid-template-columns: 1fr 1.6fr; }
  .lg-wide-left { grid-template-columns: 1.4fr 1fr; }
  .lg-cta { grid-template-columns: 1.6fr 1fr; }
  .lg-main-aside { grid-template-columns: 1.7fr 1fr; }
  .lg-contact { grid-template-columns: 1fr 1.7fr; }
  .lg-about { grid-template-columns: 1.3fr 1fr; }
  .lg-split { grid-template-columns: 1fr 1.3fr; }
  .lg-quote { grid-template-columns: 1.5fr 1fr; }
  .lg-team { grid-template-columns: 18rem 1fr; }
}

/* ---------- Type ---------- */
.serif { font-family: var(--serif); }
.kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.kicker.sky { color: var(--sky); }
.kicker.muted { color: var(--muted); }
.kicker.white { color: #fff; }

.h-display {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 3.75rem); line-height: 1.1; letter-spacing: -0.015em;
}
.h-section {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em;
}
.h-3xl { font-family: var(--serif); font-size: 1.875rem; line-height: 1.2; font-weight: 600; color: var(--ink); }
.h-2xl { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; font-weight: 600; color: var(--ink); }
.h-xl { font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.h-xl-serif { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; font-weight: 600; color: var(--ink); }
.h-lg { font-size: 1.125rem; line-height: 1.5; font-weight: 600; color: var(--ink); }
.strong { font-weight: 600; color: var(--ink); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--body); }
.text { line-height: 1.65; color: var(--body); }
.text-17 { font-size: 17px; line-height: 1.65; color: var(--body); }
.text-15 { font-size: 15px; line-height: 1.65; color: var(--body); }
.small { font-size: 0.875rem; line-height: 1.6; color: var(--body); }
.xs { font-size: 0.75rem; }
.ink { color: var(--ink); }
.brand { color: var(--brand); }
.sky { color: var(--sky); }
.muted { color: var(--muted); }
.medium { font-weight: 500; }
.num { font-family: var(--serif); font-size: 1.875rem; font-weight: 600; color: var(--brand); line-height: 1.2; }
.num-4 { font-size: 2.25rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; } .mt-12 { margin-top: 3rem; } .mt-14 { margin-top: 3.5rem; }
.max-xl { max-width: 36rem; } .max-2xl { max-width: 42rem; } .max-3xl { max-width: 48rem; } .max-4xl { max-width: 56rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.prose p + p { margin-top: 1rem; }
.legal { padding: 4rem 0; line-height: 1.65; color: var(--body); }
.legal > * + * { margin-top: 1.25rem; }
.legal h2 { padding-top: 1rem; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.legal a { font-weight: 600; color: var(--brand); }

/* ---------- Section heading ---------- */
.sh { max-width: 48rem; }
.sh .h-section { margin-top: 1rem; }
.sh .lead { margin-top: 1.25rem; }
.sh.dark .h-section { color: #fff; }
.sh.dark .lead { color: rgb(255 255 255 / 0.7); }
.sh.dark .kicker { color: var(--sky); }
.head-row { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 1024px) {
  .head-row { flex-direction: row; align-items: flex-end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 0.375rem; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.5; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.btn:hover .icon { transform: translateX(2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: rgb(19 32 58 / 0.2); color: var(--ink); flex-shrink: 0; align-self: flex-start; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgb(255 255 255 / 0.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: #fff; color: var(--navy-900); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--surface-2); }
.btn-link { padding: 0; border: 0; color: var(--brand); }
.btn-link:hover { color: var(--brand-dark); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.btn-block { width: 100%; }
@media (min-width: 640px) { .btn-block { width: auto; } }
@media (min-width: 1024px) { .head-row .btn-outline { align-self: auto; } }

.link-arrow { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--brand); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { width: 0.875rem; height: 0.875rem; transition: transform .2s; }

/* ---------- Cards & lists ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.75rem; }
.card.p-5 { padding: 1.25rem; } .card.p-6 { padding: 1.5rem; } .card.p-8 { padding: 2rem; }
.card.surface { background: var(--surface); }
.card.dark { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card.brand-fill { background: var(--brand); border-color: var(--brand); color: #fff; }
.card.glass { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.15); padding: 2rem; }
a.card { display: block; transition: border-color .2s, box-shadow .2s, background-color .2s; }
a.card:hover { border-color: var(--brand); }
a.card.lift:hover { box-shadow: var(--shadow-card); }
.card-col { display: flex; flex-direction: column; }
.grow { flex: 1; }
.push { margin-top: auto; }
a.group:hover .hover-brand { color: var(--brand); }
a.group:hover .nudge { transform: translateX(4px); }
.nudge { transition: transform .2s; }

/* Hairline grid: cells separated by 1px lines */
.hairline { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hairline > * { background: #fff; padding: 2rem; }
.hairline > a { display: block; transition: background-color .2s; }
.hairline > a:hover { background: var(--surface); }
.hairline > a .reveal { opacity: 0; transition: opacity .2s; }
.hairline > a:hover .reveal, .hairline > a:focus-visible .reveal { opacity: 1; }
.hairline.p-7 > * { padding: 1.75rem; }

.ticks > li { display: flex; gap: 0.75rem; color: var(--ink); }
.ticks > li .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--brand); }
.ticks.sp-2 > li + li { margin-top: 0.625rem; }
.ticks.sp-3 > li + li { margin-top: 0.75rem; }
.ticks.body > li { color: var(--body); }
.ticks.lg > li .icon { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; }

.divided { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.divided > li { padding: 1.25rem 0; }
.divided > li + li { border-top: 1px solid var(--line); }
.divided.py-4 > li { padding: 1rem 0; }

.dot-list > li { display: flex; gap: 0.5rem; }
.dot-list > li + li { margin-top: 0.375rem; }
.dot-list > li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); flex-shrink: 0; margin-top: 0.55rem; }

.icon-box { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 0.375rem; flex-shrink: 0; }
.icon-box.navy { background: var(--navy-900); color: #fff; }
.icon-box.soft { background: var(--surface-2); color: var(--brand); }
.icon-box.sm { width: 2.75rem; height: 2.75rem; }
.icon-box.xs { width: 2.5rem; height: 2.5rem; background: #fff; color: var(--brand); box-shadow: 0 0 0 1px var(--line); }

.circle-num {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 2px solid var(--brand); background: #fff; color: var(--brand);
  font-family: var(--serif); font-size: 1.125rem; font-weight: 600; position: relative; z-index: 1;
}
.circle-num.sm { width: 2.25rem; height: 2.25rem; font-family: var(--sans); font-size: 0.875rem; flex-shrink: 0; }
.circle-num.navy { width: 2.5rem; height: 2.5rem; border: 0; background: var(--navy-900); color: #fff; font-size: 1rem; }

.tag { display: inline-block; border-radius: 0.25rem; padding: 0.25rem 0.625rem; font-size: 0.75rem; }
.tag.soft { background: var(--surface-2); color: var(--body); font-weight: 500; }
.tag.outline { border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 0.875rem; }
.tag.light { border: 1px solid rgb(255 255 255 / 0.2); color: rgb(255 255 255 / 0.8); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags.tight { gap: 0.375rem; }
.tag-check { display: inline-flex; align-items: center; gap: 0.375rem; }
.tag-check .icon { width: 0.875rem; height: 0.875rem; color: var(--brand); }

.note { border-radius: 0.375rem; background: var(--surface); padding: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--body); }

/* ---------- Navy bands ---------- */
.navy { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; }
.navy-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.navy-grid.fade-tr { -webkit-mask-image: radial-gradient(ellipse at top right, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at top right, #000 20%, transparent 70%); }
.navy-grid.fade-b { -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent); }
.watermark { position: absolute; z-index: -1; width: auto; color: #fff; opacity: 0.04; pointer-events: none; }
.text-w85 { color: rgb(255 255 255 / 0.85); }
.text-w80 { color: rgb(255 255 255 / 0.8); }
.text-w75 { color: rgb(255 255 255 / 0.75); }
.text-w70 { color: rgb(255 255 255 / 0.7); }
.text-w65 { color: rgb(255 255 255 / 0.65); }
.text-w45 { color: rgb(255 255 255 / 0.45); }

/* ---------- Utility bar & header ---------- */
.utility { display: none; background: var(--navy-950); color: rgb(255 255 255 / 0.7); font-size: 13px; }
@media (min-width: 768px) { .utility { display: block; } }
.utility .container { display: flex; height: 2.5rem; align-items: center; justify-content: space-between; }
.utility .row { display: flex; align-items: center; gap: 1.5rem; }
.utility .item { display: inline-flex; align-items: center; gap: 0.5rem; }
.utility .item { white-space: nowrap; }
/* Tablets: keep the strip on one line by showing only email and phone. */
@media (max-width: 1023px) { .utility .row:first-child { display: none; } .utility .container { justify-content: flex-end; } }
.utility .icon { width: 0.875rem; height: 0.875rem; color: var(--sky); }
.utility a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px -12px rgb(10 31 68 / 0.25); }
.header-bar { display: flex; height: 72px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo img { height: 2.25rem; width: auto; }
.nav { display: none; height: 100%; }
.nav > ul { display: flex; height: 100%; align-items: center; }
.nav > ul > li { height: 100%; }
.nav-link {
  position: relative; display: flex; height: 100%; align-items: center; gap: 0.25rem; padding: 0 0.75rem;
  font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: var(--brand); }
.nav-link .icon { width: 0.875rem; height: 0.875rem; transition: transform .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transition: transform .2s;
}
.nav-link.active::after, .has-menu.open > .nav-link::after { transform: scaleX(1); }
.has-menu.open > .nav-link .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-cta { display: none; padding: 0.625rem 1rem; font-size: 0.875rem; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
.menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 0.375rem; color: var(--ink); }
.menu-toggle:hover { background: var(--surface); }
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(10 31 68 / 0.25);
}
.mega-inner { max-width: var(--container); margin: 0 auto; padding: 2rem; }
.mega-services { display: grid; grid-template-columns: 1fr 3fr; gap: 2.5rem; }
.mega-services > div:first-child { border-right: 1px solid var(--line); padding-right: 2.5rem; }
.mega-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem 1.5rem; align-content: start; }
.mega-list a { display: flex; gap: 0.75rem; padding: 0.625rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; transition: background-color .2s, color .2s; }
.mega-list a:hover { background: var(--surface); color: var(--brand); }
.mega-list .icon { width: 1rem; height: 1rem; margin-top: 0.125rem; color: var(--brand); }
.mega-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mega-cards a { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; transition: border-color .2s, background-color .2s; }
.mega-cards a:hover { border-color: var(--brand); background: var(--surface); }
.mega-cards a:hover .strong { color: var(--brand); }

@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .has-menu.open > .mega { display: block; }
}

.mobile-menu {
  display: none; position: fixed; left: 0; right: 0; top: 72px; bottom: 0; overflow-y: auto;
  background: #fff; border-top: 1px solid var(--line); padding: 0 1.25rem 2.5rem;
}
.menu-open .mobile-menu { display: block; }
@media (min-width: 1024px) { .menu-open .mobile-menu { display: none; } }
.mobile-menu ul > li + li { border-top: 1px solid var(--line); }
.mobile-menu ul a { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 1.125rem; font-weight: 500; color: var(--ink); }
.mobile-menu ul .icon { width: 1rem; height: 1rem; color: var(--muted); transform: rotate(-90deg); }
.mobile-menu .btn { width: 100%; margin-top: 1.5rem; padding: 0.875rem 1.25rem; }
body.no-scroll { overflow: hidden; }

/* ---------- Page header ---------- */
.page-header { padding: 4rem 0 5rem; }
@media (min-width: 640px) { .page-header { padding: 5rem 0 6rem; } }
.page-header .watermark { right: -6rem; bottom: -7rem; height: 30rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.55); }
.crumbs li { display: flex; align-items: center; gap: 0.375rem; }
.crumbs .icon { width: 0.875rem; height: 0.875rem; color: rgb(255 255 255 / 0.35); }
.crumbs a:hover { color: #fff; }
.crumbs .current { color: rgb(255 255 255 / 0.85); }
.page-header .kicker { margin-top: 2.5rem; }
.page-header h1 { margin-top: 1rem; max-width: 56rem; }
.page-header .lead { margin-top: 1.5rem; max-width: 42rem; color: rgb(255 255 255 / 0.75); }
.page-header .btn-row { margin-top: 2.25rem; }
.chip-link { border: 1px solid rgb(255 255 255 / 0.25); border-radius: 0.375rem; padding: 0.5rem 1rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.85); transition: border-color .2s, color .2s; }
.chip-link:hover { border-color: #fff; color: #fff; }

/* ---------- Home ---------- */
.hero .container { padding-top: 4rem; padding-bottom: 8rem; }
@media (min-width: 1024px) { .hero .container { padding-top: 6rem; padding-bottom: 10rem; } }
.hero .watermark { right: -8rem; bottom: -10rem; height: 38rem; }
.hero h1 { margin-top: 1.5rem; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 4.6vw, 3.6rem); line-height: 1.1; letter-spacing: -0.015em; }
.hero .lead { margin-top: 1.5rem; max-width: 36rem; color: rgb(255 255 255 / 0.75); }
.hero .lead strong { display: block; margin-top: 0.75rem; font-weight: 500; color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, #5cc8ff, #6b9bff 50%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .btn-row { margin-top: 2.25rem; }
.hero-shot { overflow: hidden; border: 1px solid rgb(255 255 255 / 0.15); border-radius: var(--radius); background: #fff; padding: 0.375rem; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6); }
.hero-shot img { width: 100%; border-radius: 0.35rem; }
/* Hero product shot shown inside a browser window so it reads as a live web app. */
.browser { overflow: hidden; border-radius: 0.75rem; background: #fff; box-shadow: 0 50px 100px -30px rgb(0 0 0 / 0.7), 0 0 0 1px rgb(255 255 255 / 0.12), 0 0 110px -30px rgb(28 100 255 / 0.55); }
.browser-bar { display: flex; align-items: center; gap: 0.75rem; height: 2.25rem; padding: 0 0.9rem; background: #e9edf4; border-bottom: 1px solid #d9dfe9; }
.browser-bar .dots, .browser-bar .dots-spacer { display: flex; gap: 0.4rem; width: 3.2rem; flex-shrink: 0; }
.browser-bar .dots i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #ff5f57; }
.browser-bar .dots i:nth-child(2) { background: #febc2e; }
.browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url { flex: 1; min-width: 0; max-width: 22rem; margin: 0 auto; height: 1.45rem; border-radius: 0.4rem; background: #fff; color: #4a5568; font-size: 0.72rem; display: flex; align-items: center; justify-content: center; gap: 0.35rem; white-space: nowrap; overflow: hidden; }
.browser-bar .url svg { color: #12a150; flex-shrink: 0; }
.browser img { display: block; width: 100%; }
.hero figcaption { margin-top: 0.75rem; text-align: right; font-size: 0.75rem; color: rgb(255 255 255 / 0.45); }

.creds { position: relative; z-index: 10; margin-top: -5rem; }
.creds ul { display: grid; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -25px rgb(10 31 68 / 0.35); }
.creds li { display: flex; gap: 1rem; padding: 1.5rem; }
.creds li + li { border-top: 1px solid var(--line); }
.creds .icon-box { color: var(--brand); }
@media (min-width: 640px) {
  .creds ul { grid-template-columns: repeat(2, 1fr); }
  .creds li + li { border-top: 0; }
  .creds li:nth-child(even) { border-left: 1px solid var(--line); }
  .creds li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 1024px) {
  .creds ul { grid-template-columns: repeat(4, 1fr); }
  .creds li:nth-child(n+3) { border-top: 0; }
  .creds li + li { border-left: 1px solid var(--line); }
}

.gaps li { display: flex; gap: 1rem; }
.gaps li + li { margin-top: 1.5rem; }
.gaps .icon { margin-top: 0.125rem; color: var(--brand); }

.process { position: relative; display: grid; gap: 2rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .process { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(7, 1fr); gap: 1rem; }
  .process::before { content: ""; position: absolute; left: 0; right: 0; top: 1.5rem; height: 1px; background: var(--line); }
}
.process li { position: relative; }

.roles { display: grid; gap: 1rem; margin-top: 3.5rem; }
@media (min-width: 768px) {
  .roles { grid-template-columns: repeat(3, 1fr); padding: 2rem; }
  .roles > div + div { border-left: 1px solid var(--line); padding-left: 1.5rem; }
}

.phase-line { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.phase-line > li + li { margin-top: 1.25rem; }

.industry-chip { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; font-weight: 500; }
.industry-chip .icon { width: 1.5rem; height: 1.5rem; color: var(--brand); }

.team-card { display: grid; gap: 1.5rem; padding: 1.5rem; }
@media (min-width: 640px) { .team-card { grid-template-columns: 10rem 1fr; } }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.portrait { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--navy-900); width: 10rem; }
.portrait.lg { width: 100%; max-width: 18rem; }
.portrait .navy-grid { z-index: 0; }
.portrait svg { position: absolute; right: -2.5rem; bottom: -2.5rem; height: 66%; width: auto; color: #fff; opacity: 0.1; }
.portrait span { position: relative; font-family: var(--serif); font-size: 3.75rem; font-weight: 600; color: #fff; }

.why-list li { display: flex; gap: 0.75rem; line-height: 1.65; color: rgb(255 255 255 / 0.85); }
.why-list .icon { width: 1rem; height: 1rem; margin-top: 0.3rem; color: var(--sky); }
.dark-divided > li { padding: 1rem 0; }
.dark-divided > li:first-child { padding-top: 0; }
.dark-divided > li:last-child { padding-bottom: 0; }
.dark-divided > li + li { border-top: 1px solid rgb(255 255 255 / 0.1); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { display: flex; cursor: pointer; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span:first-child { font-size: 17px; font-weight: 600; color: var(--ink); }
.faq .plus { display: grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--body); transition: transform .2s, background-color .2s, color .2s, border-color .2s; }
.faq .plus .icon { width: 1rem; height: 1rem; }
.faq details[open] .plus { transform: rotate(45deg); border-color: var(--brand); background: var(--brand); color: #fff; }
.faq details p { max-width: 48rem; padding-bottom: 1.5rem; line-height: 1.65; color: var(--body); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); }
.cta-band .container { display: grid; align-items: center; gap: 2rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .cta-band .container { grid-template-columns: 1.6fr 1fr; padding-top: 5rem; padding-bottom: 5rem; } }
.cta-band h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; color: #fff; }
.cta-band .lead { margin-top: 1rem; color: rgb(255 255 255 / 0.85); }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.85); }
.cta-meta > * { display: inline-flex; align-items: center; gap: 0.5rem; }
.cta-meta .icon { width: 1rem; height: 1rem; }
.cta-meta a:hover { color: #fff; }
@media (min-width: 1024px) { .cta-side { align-items: flex-end; } .cta-meta { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgb(255 255 255 / 0.7); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .footer-main { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { display: inline-block; border-radius: 0.375rem; background: #fff; padding: 0.5rem 0.75rem; }
.footer-logo img { height: 2rem; width: auto; }
.site-footer ul { margin-top: 1.25rem; font-size: 0.875rem; }
.site-footer ul li + li { margin-top: 0.75rem; }
.site-footer a:hover { color: #fff; }
.site-footer .all { font-weight: 600; color: var(--sky); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 0.1); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.75rem; }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
@media (min-width: 640px) { .footer-bottom .container { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; min-width: 40rem; text-align: left; }
.table-wrap thead { background: var(--navy-900); color: #fff; }
.table-wrap th, .table-wrap td { padding: 1.25rem 1.5rem; vertical-align: top; }
.table-wrap thead th { padding-top: 1rem; padding-bottom: 1rem; font-size: 0.875rem; font-weight: 600; }
.table-wrap tbody tr + tr { border-top: 1px solid var(--line); }
.table-wrap tbody th { font-weight: 600; color: var(--ink); }
.table-wrap tbody tr.alt { background: var(--surface); }
.cmp th.custom { background: var(--brand); }
.cmp td.custom { background: rgb(28 100 255 / 0.04); color: var(--ink); }
.cmp td span { display: flex; gap: 0.75rem; }
.cmp td .icon { width: 1rem; height: 1rem; margin-top: 0.25rem; }

/* ---------- Approach page ---------- */
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.5rem; top: 0.5rem; bottom: 0.5rem; width: 1px; background: var(--line); }
.timeline > li { position: relative; display: grid; gap: 1rem; padding-left: 5rem; }
.timeline > li + li { margin-top: 1.5rem; }
.timeline .circle-num { position: absolute; left: 0; top: 0; }
@media (min-width: 768px) { .timeline > li { grid-template-columns: 1fr 1.4fr; gap: 2.5rem; } }

/* ---------- Team page ---------- */
@media (min-width: 1024px) { .sticky-aside { position: sticky; top: 7rem; align-self: start; } }
.stat dt { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--brand); }
.stat dd { margin-top: 0.25rem; font-size: 0.875rem; color: var(--body); }
.def-rows > li { display: grid; gap: 0.5rem; }
@media (min-width: 768px) { .def-rows > li { grid-template-columns: 14rem 1fr; gap: 1.5rem; } }
.h-icon { display: flex; align-items: center; gap: 0.5rem; }
.h-icon .icon { color: var(--brand); }

/* ---------- Contact ---------- */
.contact-rows li { display: flex; align-items: center; gap: 1rem; }
.contact-rows .label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.contact-rows .value { font-weight: 500; color: var(--ink); }
.contact-rows a.value:hover { color: var(--brand); }
.next-steps li { display: flex; gap: 0.75rem; }
.next-steps li + li { margin-top: 0.75rem; }

.form { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.5rem; box-shadow: 0 20px 50px -30px rgb(10 31 68 / 0.35); }
@media (min-width: 640px) { .form { padding: 2rem; } }
.fields { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 0.375rem; padding: 0.625rem 0.875rem;
  border: 1px solid var(--line); border-radius: 0.375rem; background: #fff; font-size: 15px; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgb(107 118 134 / 0.7); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(28 100 255 / 0.15); }
.field.invalid input, .field.invalid textarea { border-color: #ef4444; }
.field .error, .form-error { margin-top: 0.375rem; font-size: 0.875rem; color: var(--red); }
.form-error { margin-top: 1rem; }
.form .btn { margin-top: 1.5rem; padding: 0.875rem 1.5rem; font-size: 1rem; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-done { display: flex; min-height: 28rem; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem; text-align: center; }
.form-done .icon { width: 3rem; height: 3rem; color: var(--brand); }
[hidden] { display: none !important; }

/* ---------- Misc ---------- */
.about-mark { display: grid; place-items: center; padding: 3rem; }
.about-mark svg { height: 12rem; width: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Product screenshots ---------- */
.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: 0.75rem; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 30px 60px -30px rgb(10 31 68 / 0.35), 0 2px 6px -2px rgb(10 31 68 / 0.08);
}
.shot figcaption { margin-top: 0.75rem; text-align: right; font-size: 0.75rem; color: var(--muted); }
.navy .shot figcaption { color: rgb(255 255 255 / 0.45); }
.shot-band { background: var(--navy-900); padding-bottom: 0; }
.shot-band .container { transform: translateY(0); }
.shot.lifted { position: relative; z-index: 1; margin-top: -1rem; margin-bottom: -5rem; }
.shot.lifted figcaption { display: none; }
.shot-band + .section-sm { padding-top: 9rem; }
@media (min-width: 1024px) { .shot.lifted { margin-bottom: -9rem; } .shot-band + .section-sm { padding-top: 13rem; } }
.gallery { display: grid; gap: 2.5rem 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery-item { display: block; }
.gallery-item img { transition: transform .3s, box-shadow .3s; }
.gallery-item:hover img { transform: translateY(-4px); box-shadow: 0 40px 70px -30px rgb(10 31 68 / 0.45); }
.on-surface > .card { background: #fff; }
.shot-band { display: flow-root; }
