:root {
  --bg: #f6f7ff;
  --ink: #15182f;
  --muted: #626984;
  --line: #dfe3f4;
  --panel: #ffffff;
  --blue: #2563eb;
  --blue-dark: #1d3fb8;
  --purple: #7c3aed;
  --violet-soft: #d8d5ff;
  --rose: #c45a8d;
  --shadow: 0 24px 70px rgba(32, 38, 92, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
main[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 227, 244, 0.88);
  background: rgba(246, 247, 255, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.proof-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nav {
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.mobile-nav a:hover,
.site-footer a:hover {
  color: var(--blue-dark);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle span:last-child {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle span:last-child::before,
.menu-toggle span:last-child::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-toggle span:last-child::before {
  top: -6px;
}

.menu-toggle span:last-child::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  flex-basis: 100%;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  padding-top: 2px;
}

.mobile-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-header.nav-open .mobile-nav {
  display: grid;
}

.js .reveal {
  opacity: 0.86;
  transform: translateY(14px) scale(0.996);
  transition: opacity 620ms ease, transform 620ms ease;
  will-change: opacity, transform;
}

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

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 170ms;
}

.delay-3 {
  transition-delay: 250ms;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: #12152b;
}

.button {
  padding: 0 20px;
}

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

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-dark), var(--purple));
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
}

.secondary {
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(40px, 7vw, 92px) clamp(20px, 4vw, 56px) 52px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: #45504b;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.proof-row {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #46514c;
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  min-height: 430px;
}

.hero-media::before {
  position: absolute;
  inset: 8% -4% -6% 8%;
  content: "";
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet-soft), #7dd3fc);
}

.hero-media picture,
.hero-media img {
  display: block;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: min(68vh, 690px);
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section,
.visual-section,
.contact,
.trust-band,
.company-details {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro p:last-child,
.visual-copy p,
.contact p,
.outcome-card p,
.example-card p,
.trust-item span {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.outcomes {
  background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
}

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

.outcome-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(223, 227, 244, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(32, 38, 92, 0.06);
}

.outcome-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

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

.service-card {
  min-height: 265px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(32, 38, 92, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 24px 58px rgba(32, 38, 92, 0.13);
}

.service-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p,
.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--blue-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--purple);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: #17142f;
  color: #fff;
}

.visual-copy {
  max-width: 650px;
}

.visual-section .eyebrow {
  color: #93c5fd;
}

.visual-copy p {
  color: #cfd5ff;
}

.visual-image,
.visual-image img {
  display: block;
}

.visual-section img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.examples {
  background: #fff;
}

.example-list {
  display: grid;
  gap: 14px;
}

.example-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.26fr) minmax(260px, 0.42fr) minmax(260px, 0.32fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbff;
}

.example-card span {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.example-card h3,
.example-card p {
  margin-bottom: 0;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #17142f;
}

.trust-item {
  display: grid;
  min-height: 180px;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.trust-item strong {
  font-size: 1.12rem;
}

.trust-item span {
  color: #cfd5ff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.timeline div {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  transition: transform 180ms ease, background 180ms ease;
}

.timeline div:hover {
  transform: translateY(-3px);
  background: #fbfbff;
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.82fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: #eef1ff;
}

.availability {
  display: grid;
  gap: 5px;
  max-width: 560px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.availability span {
  color: var(--muted);
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-panel a,
.contact-panel p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.contact-panel a:hover {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 46px rgba(32, 38, 92, 0.11);
}

.contact-panel span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.message-guide {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(32, 38, 92, 0.08);
}

.message-guide .eyebrow {
  margin-bottom: 0;
}

.message-guide ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 1.02rem;
}

.message-guide li::marker {
  color: var(--blue-dark);
}

.message-guide .button {
  width: fit-content;
}

.company-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: #eef1ff;
}

.company-details div {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.company-details span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-details strong,
.company-details a {
  font-size: 1.05rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: #fff;
}

.subpage-hero {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 4vw, 56px) clamp(44px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}

.subpage-hero h1 {
  max-width: 980px;
}

.subpage-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(280px, 0.26fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px);
}

.article-content {
  max-width: 850px;
}

.article-content h2 {
  margin-top: 46px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.article-content p,
.article-content li {
  color: var(--muted);
  font-size: 1.06rem;
}

.article-content li + li {
  margin-top: 10px;
}

.side-panel {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(32, 38, 92, 0.08);
}

.side-panel p {
  margin: 0;
  color: var(--muted);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.listing-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(32, 38, 92, 0.06);
}

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

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 900px;
  }

  .hero-media img,
  .hero-media {
    min-height: 360px;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
  }

  .intro,
  .visual-section,
  .contact,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .service-grid,
  .timeline,
  .outcome-grid,
  .trust-band,
  .company-details,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .example-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-cta {
    flex-basis: 100%;
    order: 3;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(2.25rem, 11.6vw, 3rem);
    line-height: 1.02;
  }

  .button {
    width: 100%;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
    order: 4;
  }

  .service-grid,
  .timeline,
  .outcome-grid,
  .trust-band,
  .company-details,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline div {
    min-height: auto;
  }

  .contact-panel a,
  .contact-panel p {
    font-size: 1rem;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
