:root {
  --ink: #0c1322;
  --ink-soft: #344054;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: #dfe4ea;
  --blue: #1463ff;
  --blue-dark: #0b46c8;
  --cyan: #28c8df;
  --navy: #081120;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(5, 15, 35, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 1000;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 18px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.88);
  border-bottom: 1px solid rgba(223, 228, 234, 0.8);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 28px rgba(20, 99, 255, 0.28);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  margin-top: 4px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}

.primary-nav > a:not(.button):hover { color: var(--blue); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 30px rgba(20, 99, 255, 0.24);
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(20, 99, 255, 0.3);
}

.button-small { min-height: 42px; padding-inline: 18px; }

.button-ghost {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 82px;
  background:
    radial-gradient(circle at 84% 18%, rgba(40, 200, 223, .18), transparent 28%),
    radial-gradient(circle at 12% 8%, rgba(20, 99, 255, .12), transparent 24%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 60px;
  align-items: center;
}

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

.eyebrow-light { color: #7de7f4; }

h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -.055em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -.04em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.hero-text {
  max-width: 680px;
  font-size: 1.16rem;
  color: var(--ink-soft);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
}

.hero-proof li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 8px;
}

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

.panel-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(20,99,255,.36), rgba(40,200,223,.3));
  filter: blur(45px);
  opacity: .55;
}

.panel-window {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: 26px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(24px);
}

.window-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(223,228,234,.9);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7d0dd;
}

.window-bar p {
  margin: 0 0 0 auto;
  color: var(--ink-soft);
  font-size: .78rem;
}

.window-content { padding: 24px; }

.metric-card {
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

.metric-large {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background:
    linear-gradient(155deg, rgba(20,99,255,.92), rgba(8,17,32,.98)),
    var(--navy);
  color: var(--white);
  border: 0;
  margin-bottom: 16px;
}

.metric-large strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
}

.metric-large p { margin: 10px 0 0; color: #cbd7eb; }

.metric-label {
  color: #9eeaf4;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: auto;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-grid .metric-card {
  display: grid;
  gap: 4px;
}

.mini-grid .icon {
  color: var(--blue);
  font-weight: 800;
  font-size: .78rem;
}

.mini-grid small { color: var(--ink-soft); }

.trust-strip {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid p {
  margin: 0;
  padding: 26px 24px;
  display: grid;
  border-right: 1px solid var(--line);
}

.trust-grid p:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { font-size: .96rem; }
.trust-grid span { color: var(--ink-soft); font-size: .82rem; }

.section { padding: 110px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading.compact { grid-template-columns: 1fr; }

.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--ink-soft); margin: 0 0 8px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 410px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(6, 19, 42, .06);
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(155deg, #0d67ff, #0b1730);
  border-color: transparent;
  transform: translateY(-12px);
}

.service-card.featured p,
.service-card.featured li { color: #dbe7f9; }

.service-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 52px;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--blue);
  font-weight: 800;
}

.featured .service-number {
  color: var(--white);
  background: rgba(255,255,255,.14);
}

.service-card p { color: var(--ink-soft); }

.service-card ul {
  padding-left: 18px;
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(40,200,223,.16), transparent 24%),
    var(--navy);
}

.platform-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 80px;
  align-items: start;
}

.muted { color: #aebbd0; max-width: 560px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: #7de7f4;
  font-weight: 700;
}

.platform-list {
  display: grid;
  border-top: 1px solid rgba(255,255,255,.15);
}

.platform-list a {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: padding .2s ease, color .2s ease;
}

.platform-list a:hover { padding-left: 12px; color: #7de7f4; }
.platform-list span { color: #91a3bd; font-size: .86rem; }
.platform-list strong { font-size: 1.05rem; }

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

.process-grid article {
  padding: 28px 26px;
  border-top: 3px solid var(--blue);
  background: var(--white);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 14px 38px rgba(6, 19, 42, .055);
}

.process-grid span {
  display: block;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 42px;
}

.process-grid p { color: var(--ink-soft); margin-bottom: 0; }

.about { padding-top: 20px; }

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-card {
  padding: 44px;
  border-radius: 28px;
  background: linear-gradient(145deg, #dffaff, #eef3ff);
  border: 1px solid #cce8ef;
}

.about-card h2 { margin-bottom: 0; font-size: clamp(2rem, 3.7vw, 3.5rem); }
.about-copy { font-size: 1.08rem; color: var(--ink-soft); }

.contact-section {
  background: linear-gradient(180deg, var(--paper), #eef4ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.contact-grid > div > p:not(.eyebrow) { color: var(--ink-soft); }

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  font-weight: 700;
}

.contact-details a { color: var(--blue); }

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd4df;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(20,99,255,.14);
  border-color: var(--blue);
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: .78rem;
}

.site-footer {
  color: var(--white);
  background: #060d19;
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand .brand-copy small,
.site-footer p { color: #8fa0b8; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 60px;
}

.footer-links div { display: grid; gap: 10px; }
.footer-links strong { margin-bottom: 4px; }
.footer-links a { color: #aab7ca; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #8fa0b8;
  font-size: .84rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .platform-grid,
  .about-grid,
  .contact-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card.featured { transform: none; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid p:nth-child(odd) { border-left: 1px solid var(--line); }

  .hero-panel { min-height: auto; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .hero { padding: 64px 0; }

  .brand-copy small { display: none; }

  .menu-toggle { display: block; }

  .primary-nav {
    position: absolute;
    inset: 78px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }

  .primary-nav.open { display: flex; }
  .primary-nav > a { padding: 13px 12px; }
  .primary-nav .button { margin-top: 8px; }

  .trust-grid,
  .process-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid p,
  .trust-grid p:first-child,
  .trust-grid p:nth-child(odd) {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .platform-list a { grid-template-columns: 1fr; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
