* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --navy: #0a1025;
  --navy-soft: #0d1836;
  --blue-deep: #043497;
  --blue: #0057ff;
  --blue-bright: #0090ff;
  --blue-dark-text: #0a44c4;
  --ink: #0a1024;
  --muted: #5b6474;
  --muted-soft: #8890a0;
  --border: #e5e8ee;
  --bg: #ffffff;
  --bg-grey: #f4f6fa;
  --chip-bg: #eef2fc;
  --shadow: 0 20px 45px rgba(10, 16, 37, 0.07);
  --shadow-lg: 0 30px 70px rgba(10, 16, 37, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
}

.brand-mark img {
  height: 38px;
  width: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 87, 255, 0.28);
}

.button-primary:hover {
  background: #0048d9;
}

.button-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.button-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.button-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}

.button-outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button-white {
  background: #ffffff;
  color: var(--blue-deep);
}

.button-white:hover {
  background: #eef4ff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 64px;
  background: linear-gradient(122deg, var(--navy) 0%, var(--blue-deep) 62%, var(--blue-bright) 100%);
  color: #ffffff;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #bcd6ff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 22px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: #4db2ff;
}

.hero .lede {
  max-width: 46ch;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-art img {
  width: min(420px, 100%);
  filter: drop-shadow(0 30px 60px rgba(0, 60, 200, 0.35));
}

.hero-art .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: rgba(120, 175, 255, 0.5);
}

.hero-art .dot-one { top: 8%; right: 12%; }
.hero-art .dot-two { bottom: 12%; left: 20%; background: rgba(255,255,255,0.35); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 22px 0;
}

.trust-strip span {
  position: relative;
  padding: 0 34px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.94rem;
}

.trust-strip span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.14);
}

.trust-strip span b {
  color: #ffffff;
  font-weight: 700;
}

/* ---------- Stats ---------- */
.stats {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.stats .wrap {
  display: flex;
  justify-content: center;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.stats-row article {
  position: relative;
  padding: 0 48px;
  text-align: center;
}

.stats-row article + article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--border);
}

.stats-row strong {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.stats-row span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Section heading ---------- */
.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.align-left {
  margin: 0 0 40px;
  text-align: left;
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 87, 255, 0.2);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--chip-bg);
  color: var(--blue);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-card.featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue-deep) 55%, var(--blue) 100%);
  border-color: transparent;
  color: #ffffff;
}

.service-card.featured .service-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #bcd6ff;
}

.service-card.featured h3 {
  color: #ffffff;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Generic content grid (about / tech&engagement) ---------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.flat-card {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.flat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.flat-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.flat-card p {
  margin: 0;
  color: var(--muted);
}

.flat-card.accent {
  background: linear-gradient(160deg, #eef4ff 0%, #e3edff 100%);
  border-color: rgba(0, 87, 255, 0.16);
}

.checklist {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Why-us split section ---------- */
.why-us {
  background: var(--bg-grey);
}

.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-split .eyebrow {
  display: block;
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.why-split h2 {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.why-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy) 0%, var(--blue-deep) 55%, var(--blue) 100%);
  box-shadow: var(--shadow-lg);
}

.why-panel img {
  width: min(280px, 70%);
  filter: drop-shadow(0 20px 40px rgba(0, 40, 150, 0.4));
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  gap: 14px;
}

.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--chip-bg);
  color: var(--blue);
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Case studies / portfolio ---------- */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.case-study-card {
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.portfolio-tag {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--blue-dark-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.case-study-card h3 {
  margin: 0 0 18px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 26ch;
}

.case-study-body {
  display: grid;
  gap: 16px;
}

.case-label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-study-body p {
  margin: 0;
  color: var(--muted);
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
}

.case-study-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-grey);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.case-outcomes {
  margin: 20px 0 0;
  padding: 16px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.case-outcomes li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.case-outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.portfolio-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.founder-card {
  padding: 30px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 18px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.founder-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.founder-role {
  margin: 8px 0 14px;
  color: var(--blue-dark-text);
  font-weight: 700;
  font-size: 0.92rem;
}

.founder-card p {
  margin: 0;
  color: var(--muted);
}

.founder-quote {
  display: grid;
  align-content: center;
  gap: 18px;
  background: linear-gradient(160deg, #eef4ff 0%, #e3edff 100%);
  border-color: rgba(0, 87, 255, 0.16);
}

.founder-quote p {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 500;
}

.founder-quote span {
  color: var(--muted);
  font-weight: 600;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 55%, var(--blue-bright) 100%);
  color: #ffffff;
}

.cta-banner h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0 auto 32px;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.cta-banner .button {
  min-height: 54px;
  padding: 0 30px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-links-inline {
  display: flex;
  gap: 20px;
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 60px 0 90px;
}

.legal-page .section-heading {
  text-align: left;
  margin: 0 0 32px;
}

.legal-body {
  max-width: 760px;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: grid;
  gap: 6px;
}

.legal-body h3 {
  margin-top: 22px;
  font-size: 1.05rem;
  color: var(--ink);
}

.legal-body p {
  margin: 0 0 4px;
  color: var(--muted);
}

.legal-body a {
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid,
  .content-grid,
  .why-split,
  .founder-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid,
  .case-study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-art {
    min-height: 220px;
    order: -1;
  }

  .hero-art img {
    width: min(260px, 70%);
  }
}

@media (max-width: 760px) {
  .site-header .wrap {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .section {
    padding: 64px 0;
  }

  .trust-strip .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 0;
  }

  .trust-strip span {
    padding: 0;
  }

  .trust-strip span + span::before {
    display: none;
  }

  .stats-row {
    gap: 28px 0;
  }

  .stats-row article {
    width: 50%;
    padding: 0 12px;
  }

  .stats-row article:nth-child(odd)::before {
    display: none;
  }

  .portfolio-grid,
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
