:root {
  --paper: #ffffff;
  --paper-soft: #f6f9ff;
  --paper-strong: #eef4ff;
  --ink: #0b1a33;
  --ink-soft: #40506b;
  --ink-muted: #667894;
  --line: rgba(11, 26, 51, 0.09);
  --line-strong: rgba(11, 26, 51, 0.16);
  --brand: #0a7cff;
  --brand-strong: #0057cc;
  --brand-soft: rgba(10, 124, 255, 0.12);
  --aqua: #dff4ff;
  --shadow: 0 18px 50px rgba(53, 84, 144, 0.12);
  --shadow-lg: 0 28px 70px rgba(29, 60, 119, 0.16);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1200px, calc(100% - 2rem));
  --display: "Aptos Display", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
  --body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(10, 124, 255, 0.09), transparent 26%),
    radial-gradient(circle at 88% 10%, rgba(140, 224, 255, 0.28), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 46%, #f3f7ff 100%);
  line-height: 1.72;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(10, 124, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 55%);
  z-index: -1;
}

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

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

button {
  font: inherit;
}

p {
  margin: 0;
  color: var(--ink-soft);
  text-align: justify;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.65);
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #5eaeff);
  transition: width 0.1s linear;
}

.site-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 87, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 87, 204, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 80%);
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 26, 51, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
}

.brand img,
.footer-brand img {
  width: min(17rem, 52vw);
  height: auto;
}

.site-nav,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-nav {
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  color: var(--ink-muted);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: var(--paper-strong);
  color: var(--ink);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
}

.menu-toggle span {
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 16px 30px rgba(10, 124, 255, 0.18);
}

.button--ghost {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.split-grid,
.content-grid,
.contact-layout,
.service-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.5rem;
}

.chip,
.proof-pill,
.section-kicker,
.eyebrow-label,
.card-index,
.case-tag,
.breadcrumb,
.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chip,
.proof-pill,
.mini-tag {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 124, 255, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-strong);
}

.section-kicker,
.eyebrow-label {
  color: var(--brand-strong);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.breadcrumb {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--brand-strong);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
}

.hero-text {
  max-width: 44rem;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-actions,
.cta-actions,
.centered-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stage {
  position: relative;
  min-height: 37rem;
}

.float-card,
.service-card,
.case-card,
.feature-card,
.value-card,
.cta-panel,
.detail-card,
.faq-card,
.contact-card,
.service-panel,
.metric-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(10, 124, 255, 0.12), transparent 44%);
  opacity: 0;
  transition: opacity 0.24s ease;
  pointer-events: none;
}

.spotlight-card:hover::before,
.spotlight-card:focus-within::before {
  opacity: 1;
}

.float-card {
  position: absolute;
  max-width: 21rem;
  padding: 1.5rem;
}

.float-card h2 {
  margin: 0.7rem 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 11ch;
}

.float-card:first-child {
  top: 0;
  left: 0;
}

.float-card--alt {
  right: 0;
  bottom: 0;
}

.hero-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(22rem, 78%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(10, 124, 255, 0.28);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(10, 124, 255, 0.14), rgba(10, 124, 255, 0.02)),
    rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.62);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(10, 124, 255, 0.18);
  animation: rotate 24s linear infinite;
}

.hero-orbit::after {
  inset: 28%;
  animation-direction: reverse;
  animation-duration: 18s;
}

.hero-orbit span {
  position: absolute;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 124, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-strong);
  font-weight: 700;
}

.hero-orbit span:nth-child(1) {
  top: 10%;
  left: 42%;
}

.hero-orbit span:nth-child(2) {
  top: 44%;
  right: -3%;
}

.hero-orbit span:nth-child(3) {
  bottom: 8%;
  left: 44%;
}

.hero-orbit span:nth-child(4) {
  top: 44%;
  left: -4%;
}

.section {
  padding: 6rem 0;
}

.section--compact {
  padding: 1.4rem 0 2rem;
}

.section--tint {
  background: linear-gradient(180deg, rgba(225, 240, 255, 0.42), rgba(255, 255, 255, 0));
}

.section--accent {
  padding-top: 3rem;
}

.section-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
  max-width: 52rem;
}

.marquee {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.marquee-track {
  display: flex;
  gap: 1rem;
  min-width: max-content;
  padding: 0.9rem 1rem;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink);
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

.card-grid--services {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.service-card {
  grid-column: span 4;
  display: grid;
  gap: 1rem;
  padding: 1.7rem;
  min-height: 18rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 6;
}

.service-card:hover,
.case-card:hover,
.feature-card:hover,
.value-card:hover,
.detail-card:hover,
.metric-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-index {
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--brand-strong);
}

.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--brand-strong);
}

.stacked-cases,
.feature-grid,
.value-grid,
.stats-grid,
.detail-grid,
.faq-grid,
.contact-grid,
.service-overview-grid,
.sector-grid,
.metric-grid {
  display: grid;
  gap: 1.2rem;
}

.stacked-cases,
.faq-grid {
  grid-template-columns: 1fr;
}

.case-card,
.feature-card,
.value-card,
.detail-card,
.metric-card,
.contact-card,
.service-panel {
  padding: 1.7rem;
}

.case-tag,
.mini-tag {
  color: var(--brand-strong);
}

.feature-grid,
.value-grid,
.stats-grid,
.detail-grid,
.contact-grid,
.service-overview-grid,
.sector-grid,
.metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card strong {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
  color: var(--ink);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 3vw, 2.7rem);
  background:
    linear-gradient(135deg, rgba(10, 124, 255, 0.1), rgba(255, 255, 255, 0.84)),
    rgba(255, 255, 255, 0.92);
}

.page-hero {
  padding: 4.5rem 0 2.4rem;
}

.page-hero__copy {
  display: grid;
  gap: 1.2rem;
  max-width: 50rem;
}

.page-hero__card {
  padding: 1.6rem;
}

.surface-block {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.list-clean,
.list-featured {
  display: grid;
  gap: 0.85rem;
}

.list-clean li,
.list-featured li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  text-align: justify;
}

.list-clean li::before,
.list-featured li::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--brand);
}

.number-rail {
  display: grid;
  gap: 1rem;
}

.number-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.number-step:last-child {
  border-bottom: 0;
}

.number-step__count {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--brand-strong);
  font-weight: 800;
}

.faq-card details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.15rem;
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card details p {
  margin-top: 0.9rem;
}

.site-footer {
  padding: 1rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid h3 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1080px) {
  .site-nav,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.menu-open .site-nav {
    display: grid;
  }

  body.menu-open .nav-actions {
    display: flex;
  }

  .site-header .nav-shell {
    flex-wrap: wrap;
  }

  .site-nav,
  .nav-actions {
    width: 100%;
  }

  .site-nav {
    order: 4;
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
    padding: 0.75rem;
  }

  .nav-actions {
    order: 5;
    justify-content: stretch;
  }

  .nav-actions .button {
    flex: 1 1 0;
  }

  .hero-grid,
  .split-grid,
  .content-grid,
  .contact-layout,
  .service-layout,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--services,
  .feature-grid,
  .value-grid,
  .stats-grid,
  .detail-grid,
  .contact-grid,
  .service-overview-grid,
  .sector-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .hero,
  .page-hero,
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .hero-stage {
    min-height: 32rem;
  }

  .float-card {
    max-width: 100%;
    position: relative;
  }

  .float-card:first-child,
  .float-card--alt {
    inset: auto;
  }

  .hero-orbit {
    position: relative;
    inset: auto;
    transform: none;
    margin: 1.4rem auto 0;
    width: min(18rem, 100%);
  }

  .hero-orbit::before,
  .hero-orbit::after {
    animation: none;
  }

  .hero-actions .button,
  .cta-actions .button,
  .centered-actions .button {
    width: 100%;
  }
}

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

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