:root {
  --color-bg: #ffffff;
  --color-surface: #f8f8fc;
  --color-soft: #f0effb;
  --color-dark: #0b0b1a;
  --color-dark-2: #13132a;
  --color-text: #111128;
  --color-muted: #5a586f;
  --color-accent: #ff2f68;
  --color-accent-dark: #d7134c;
  --color-border: rgba(17, 17, 40, .12);
  --color-border-strong: rgba(17, 17, 40, .22);
  --color-line: rgba(9, 9, 34, .06);
  --container: 1180px;
  --radius-card: 20px;
  --radius-btn: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--color-dark); color: #fff; padding: 10px 14px; z-index: 10; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.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; }

/* ─── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 900;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -.01em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 16px rgba(255,47,104,.25));
}
.primary-nav { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.primary-nav a {
  color: var(--color-muted);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--color-text);
  background: var(--color-surface);
}
.primary-nav .btn { color: #fff; background: var(--color-text); border: none; }
.primary-nav .btn:hover { background: var(--color-accent); color: #fff; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--color-border-strong); background: #fff; border-radius: 8px; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--color-text); border-radius: 2px; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 88px;
  background: var(--color-dark);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 80% -10%, rgba(255,47,104,.22), transparent),
    radial-gradient(ellipse 50% 50% at -10% 80%, rgba(116,96,255,.22), transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .14em;
}
h1, h2, h3 { line-height: 1.1; margin: 0 0 16px; }
h1 {
  font-size: clamp(42px, 6.5vw, 78px);
  letter-spacing: -.03em;
  line-height: 1.04;
  color: #fff;
}
h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -.025em;
}
h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.accent-text { color: var(--color-accent); }
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,.65);
  max-width: 680px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card);
  padding: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-panel h2 { color: #fff; font-size: clamp(20px, 2.4vw, 26px); }
.hero-panel ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.hero-panel ul li { color: rgba(255,255,255,.75); padding-left: 20px; position: relative; font-size: 15px; }
.hero-panel ul li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,47,104,.3);
}
.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
  box-shadow: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn-light { background: #fff; color: var(--color-accent); border-color: #fff; }
.btn-dark { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.btn-dark:hover { background: #000; border-color: #000; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat-row div {
  padding: 28px 0 0;
  position: relative;
}
.stat-row div + div { border-left: 1px solid rgba(255,255,255,.1); padding-left: 32px; }
.stat-row strong {
  display: block;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  color: #fff;
  letter-spacing: -.03em;
  font-weight: 900;
}
.stat-row span { display: block; margin-top: 6px; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ─── Sections ───────────────────────────────────────────── */
.section { padding: 96px 0; }
.compact-contact-fit { padding: 52px 0; }
.section-muted { background: var(--color-surface); }
.section-dark { background: var(--color-dark); color: #fff; }
.section-heading { max-width: 680px; margin-bottom: 48px; }
.section-heading p { color: var(--color-muted); font-size: 17px; margin: 12px 0 0; }
.section-dark .section-heading p { color: rgba(255,255,255,.55); }
.section-dark h2 { color: #fff; }

/* ─── Cards ──────────────────────────────────────────────── */
.card-grid { display: grid; gap: 20px; }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(9, 9, 34, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(9, 9, 34, .1);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--color-muted); margin: 0; font-size: 15px; line-height: 1.65; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-soft);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 20px;
}

/* ─── Process ────────────────────────────────────────────── */
.process-list { counter-reset: step; display: grid; gap: 12px; }
.process-item {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  padding: 22px 28px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 8px rgba(9,9,34,.04);
}

/* ─── Pills ──────────────────────────────────────────────── */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  padding: 9px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s, background .15s, color .15s;
}
.pill:hover { border-color: var(--color-accent); background: #fff0f4; color: var(--color-accent); }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(9,9,34,.04);
}
details[open] { border-color: var(--color-border-strong); }
summary { cursor: pointer; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }

/* ─── CTA Band ───────────────────────────────────────────── */
.cta-band {
  padding: 80px 0;
  background: var(--color-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(255,47,104,.18), transparent);
  pointer-events: none;
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.6); position: relative; margin: 0 0 32px; font-size: 18px; }
.cta-inner { max-width: 620px; }

/* ─── Two-col split ──────────────────────────────────────── */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; align-items: center; }
.split-content p { color: var(--color-muted); font-size: 17px; }

/* Plain two-col prose blocks (used in "Different by design") */
.card-grid.two > div > p { color: var(--color-muted); font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.card-grid.two > div > p:last-child { margin-bottom: 0; }

.company-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.company-logo-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: #fff;
  color: var(--color-text);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  text-align: center;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(9, 9, 34, .05);
}
.company-logo-card.ibm {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .08em;
}
.company-logo-card.td {
  background: #f4fbf4;
  color: #087a2e;
}
.company-logo-card.worldpay {
  color: #5b2bbf;
  text-transform: lowercase;
}
.company-logo-card.pffcu {
  color: #163b6d;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .08em;
}
.company-logo-card.booz {
  color: #1a4f8f;
}
.legal-disclaimer {
  max-width: 920px;
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.project-showcase {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 48px rgba(9, 9, 34, .1);
  background: #fff;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--color-border-strong);
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255,47,104,.1);
}
textarea { min-height: 150px; resize: vertical; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.notice.success { background: #dcfce7; color: #14532d; }
.notice.error { background: #fee2e2; color: #7f1d1d; }
.hidden-field { position: absolute; left: -9999px; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { padding: 72px 0 28px; background: var(--color-dark); color: rgba(255,255,255,.5); }
.site-footer h2 { font-size: 13px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 16px; }
.site-footer a { display: block; color: rgba(255,255,255,.6); text-decoration: none; margin: 10px 0; font-size: 14px; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand { color: #fff !important; margin-bottom: 16px; }
.footer-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}
.footer-founder img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.18);
}
.footer-founder strong {
  display: block;
  color: #fff;
  line-height: 1.2;
}
.footer-founder span {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 14px;
}
.footer-tagline { color: rgba(255,255,255,.4); font-size: 14px; margin: 8px 0 0; max-width: 260px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px;
  padding-top: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-heading { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--color-border-strong);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(17,24,39,.12);
    gap: 2px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; padding: 10px 12px; }
  .hero-grid,
  .card-grid.three,
  .card-grid.two,
  .company-logo-grid,
  .footer-grid,
  .form-grid,
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 56px; }
  .stat-row { gap: 0; }
  .stat-row div + div { border-left: none; border-top: 1px solid rgba(255,255,255,.1); padding-left: 0; padding-top: 20px; margin-top: 20px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .section { padding: 64px 0; }
  .project-showcase { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
