/* =========================================================
   Sprynter — shared stylesheet
   Brand: #0028FC primary blue · Plus Jakarta Sans
   ========================================================= */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:        #0028FC;
  --blue-dark:   #001EBF;
  --blue-tint:   #F0F2FF;
  --blue-pale:   rgba(0, 40, 252, 0.06);
  --black:       #000000;
  --white:       #FFFFFF;
  --gray-50:     #F5F6FA;
  --gray-100:    #EAECF2;
  --gray-200:    #D0D4DE;
  --gray-400:    #8C8C8C;
  --gray-600:    #4A4A52;
  --gray-900:    #111111;
  --green:       #1B9E4B;
  --red:         #D42B2B;

  --shadow-sm:   0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow-md:   0 4px 12px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg:   0 24px 48px rgba(0, 40, 252, .12), 0 8px 16px rgba(15, 23, 42, .06);

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;

  --container:   1200px;
  --nav-h:       72px;

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --ease:        cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ── LAYOUT ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--blue {
  background: var(--blue);
  color: var(--white);
}
.section--gray { background: var(--gray-50); }

/* ── TYPE ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(32px, 4.5vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 18px; line-height: 1.3; }
p  { color: var(--gray-600); font-size: 17px; }
.section--blue p, .section--blue h2, .section--blue h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section--blue .eyebrow { color: rgba(255,255,255,.85); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 40, 252, .25);
}
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 8px 20px rgba(0, 40, 252, .35); }
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--white {
  background: var(--white);
  color: var(--blue);
}
.btn--white:hover { background: var(--gray-50); }
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--gray-100);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img { height: 28px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .15s;
  position: relative;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--blue); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; padding: 8px; }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 96px;
  overflow: hidden;
  background: var(--white);
}
.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url('assets/patterns/sprynter-pattern-outline.png');
  background-size: 540px;
  opacity: .07;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-size: clamp(44px, 6.4vw, 80px);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero__title .accent { color: var(--blue); }
.hero__lede {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual {
  position: relative;
  aspect-ratio: 1;
  background: var(--blue);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/patterns/sprynter-pattern-outline.png');
  background-size: 320px;
  opacity: .18;
  filter: brightness(2.5);
}
.hero__emblem {
  position: relative;
  width: 55%;
}

/* ── PAGE HERO (subpages) ─────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 64px;
  background: var(--blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/patterns/sprynter-pattern-outline.png');
  background-size: 420px;
  opacity: .12;
  filter: brightness(2.5);
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 19px; max-width: 600px; }
.page-hero .eyebrow { color: rgba(255,255,255,.9); }

/* ── MARKETPLACE STRIP ────────────────────────────────── */
.markets {
  padding: 56px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
}
.markets__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 28px;
}
.markets__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 56px;
}
.markets__row img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(.6);
  transition: filter .25s;
}
.markets__row img:hover { filter: grayscale(0) opacity(1); }
.markets__row img.is-feature { height: 96px; }
@media (max-width: 600px) { .markets__row img.is-feature { height: 72px; } }
.market-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid var(--gray-100);
  transition: background .2s, color .2s, border-color .2s;
}
.market-badge:hover { background: var(--blue-tint); color: var(--blue); border-color: var(--blue); }
.markets__split {
  display: grid;
  gap: 32px;
}
.markets__split-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  text-align: center;
}

/* ── STAT CARDS ───────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.stat {
  position: relative;
  padding: 32px 32px 32px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.stat__value {
  font-size: clamp(38px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
}

/* ── SECTION HEADERS ──────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 18px; }

/* ── CARDS / SERVICES ─────────────────────────────────── */
.cards {
  display: grid;
  gap: 24px;
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; }

/* Detailed list (Products / Solutions pages) */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.detail {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: border-color .25s, box-shadow .25s;
}
.detail:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.detail__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 14px;
}
.detail h3 { margin-bottom: 12px; }

/* ── CYCLE / PROCESS ──────────────────────────────────── */
.cycle {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.cycle__step {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  transition: background .25s;
}
.cycle__step:hover { background: rgba(255,255,255,.1); }
.cycle__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.cycle__step h4 { color: var(--white); margin-bottom: 10px; font-size: 20px; }
.cycle__step p { color: rgba(255,255,255,.75); font-size: 14px; }

/* ── CTA BLOCK ────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 80px 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/patterns/sprynter-pattern-outline.png');
  background-size: 320px;
  opacity: .1;
  filter: brightness(2.5);
}
.cta-block > * { position: relative; }
.cta-block h2 { color: var(--white); margin-bottom: 16px; }
.cta-block p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 32px; }

/* ── CONTACT PAGE ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 24px; font-size: 22px; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--gray-100);
}
.contact-row:last-of-type { border-bottom: 1px solid var(--gray-100); }
.contact-row__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row__icon svg { width: 18px; height: 18px; }
.contact-row__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-row__value {
  font-size: 16px;
  color: var(--gray-900);
  font-weight: 500;
}
.contact-row__value a:hover { color: var(--blue); }
.calendly-frame {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand p { color: rgba(255,255,255,.6); font-size: 15px; max-width: 300px; margin-top: 18px; }
.footer__brand img { height: 28px; }
.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  transition: color .15s;
}
.footer ul a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; margin-top: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--blue); color: var(--white); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,.55);
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 360px; margin: 0 auto; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-110%);
    transition: transform .25s var(--ease);
    align-items: flex-start;
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__toggle { display: block; }
  .nav__cta .btn--ghost { display: none; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr; }
  .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .markets__row { gap: 32px; }
}
