:root {
  --bg: #f3f7fc;
  --bg-strong: #081a34;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-dark: rgba(7, 18, 38, 0.88);
  --text: #0a1f44;
  --text-soft: #4d5f7d;
  --line: rgba(10, 31, 68, 0.12);
  --line-strong: rgba(255, 255, 255, 0.14);
  --primary: #0b63d8;
  --primary-strong: #0a56c8;
  --accent: #27c8a4;
  --accent-soft: rgba(39, 200, 164, 0.14);
  --shadow: 0 20px 45px rgba(9, 27, 56, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 99, 216, 0.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(39, 200, 164, 0.13), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 54%, #f6f8fc 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: transparent;
  border-bottom: 0;
}

.site-header .container,
.footer-grid,
.cta-band,
.hero-grid,
.metrics,
.grid-2,
.grid-3,
.grid-4,
.contact-grid,
.service-grid,
.story-grid {
  display: grid;
  gap: 1.5rem;
}

.site-header .container {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 88px;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 31, 68, 0.08);
  box-shadow: 0 20px 40px rgba(9, 27, 56, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: 100%;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0b63d8 0%, #0a56c8 56%, #092c66 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
}

.brand-mark::before {
  width: 22px;
  height: 10px;
  top: 11px;
  left: 11px;
  border-radius: 16px 20px 8px 12px;
  transform: rotate(-28deg);
}

.brand-mark::after {
  width: 20px;
  height: 4px;
  top: 22px;
  left: 10px;
  border-radius: 999px;
  transform: rotate(26deg);
  box-shadow: 6px 10px 0 -1px rgba(255, 255, 255, 0.82);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--text);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 16px;
  color: var(--text-soft);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(10, 31, 68, 0.06);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 0 0 1px rgba(10, 31, 68, 0.04);
}

.header-actions {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 12px 24px rgba(11, 99, 216, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(10, 31, 68, 0.08);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.page-shell {
  overflow: clip;
}

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

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(10, 31, 68, 0.06);
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(39, 200, 164, 0.16);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-family: var(--font-display);
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.75rem, 4.7vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.5rem;
}

.hero p,
.section-heading p,
.lead,
.page-hero p {
  color: var(--text-soft);
}

.lead {
  margin: 1.2rem 0 0;
  font-size: 1.12rem;
  max-width: 60ch;
}

.hero-actions,
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-card,
.glass-card,
.card,
.service-card,
.faq-item,
.timeline-item,
.stat-card,
.highlight-card,
.process-card,
.contact-card,
.service-nav-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  z-index: 0;
}

.hero-card {
  position: relative;
  padding: 1.5rem;
  z-index: 1;
  width: min(680px, 100%);
}

.hero-card.top {
  margin: 0;
}

.hero-card.middle {
  margin: 0;
}

.hero-card.bottom {
  margin: 0;
}

.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-label::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card h3,
.card h3,
.service-card h3,
.highlight-card h3,
.process-card h3,
.contact-card h3,
.service-nav-card h3 {
  margin-top: 0.75rem;
}

.hero-card p,
.card p,
.service-card p,
.highlight-card p,
.process-card p,
.contact-card p,
.service-nav-card p,
.faq-item p,
.timeline-item p {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
}

.orbital-ring {
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  border: 1px dashed rgba(10, 31, 68, 0.14);
  z-index: 0;
}

.orbital-ring::before,
.orbital-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(10, 31, 68, 0.08);
}

.orbital-ring::after {
  inset: 28%;
}

.pulse-dot {
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 10px rgba(11, 99, 216, 0.16);
  z-index: 0;
}

.pulse-dot.dot-1 {
  top: 18%;
  right: 24%;
}

.pulse-dot.dot-2 {
  top: 44%;
  left: 14%;
  background: var(--accent);
  box-shadow: 0 0 0 10px rgba(39, 200, 164, 0.18);
}

.pulse-dot.dot-3 {
  right: 11%;
  bottom: 18%;
}

.section {
  padding: 4.8rem 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading p {
  margin: 1rem 0 0;
  font-size: 1.06rem;
}

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

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

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

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 1.4rem;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.card,
.service-card,
.faq-item,
.timeline-item,
.highlight-card,
.process-card,
.contact-card,
.service-nav-card {
  padding: 1.6rem;
}

.feature-list,
.check-list,
.inline-list,
.faq-list,
.footer-links,
.service-links,
.mini-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.feature-list li,
.check-list li,
.mini-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-top: 0.7rem;
  color: var(--text-soft);
}

.feature-list li::before,
.check-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
  align-items: start;
}

.dark-panel {
  background: linear-gradient(145deg, rgba(8, 26, 52, 0.98), rgba(5, 16, 34, 0.94));
  color: #fff;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 24px 48px rgba(8, 26, 52, 0.24);
}

.dark-panel p,
.dark-panel li,
.dark-panel .overline {
  color: rgba(255, 255, 255, 0.72);
}

.overline {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 800;
}

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

.service-card a.inline-link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  color: var(--primary-strong);
  font-weight: 700;
}

.service-card .tag-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(11, 99, 216, 0.09);
  color: var(--primary-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 1rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 99, 216, 0.26), rgba(39, 200, 164, 0.3));
}

.timeline-item {
  position: relative;
  margin-top: 1rem;
  padding-left: 4rem;
}

.timeline-item::before {
  content: attr(data-step);
  position: absolute;
  top: 1.2rem;
  left: 0.25rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-strong));
}

.quote-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(11, 99, 216, 0.1), rgba(39, 200, 164, 0.06));
  border: 1px solid rgba(11, 99, 216, 0.12);
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  color: rgba(11, 99, 216, 0.18);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
}

.quote-card p {
  position: relative;
  margin: 1.2rem 0 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.insight-panel {
  padding: 1.9rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 31, 68, 0.08);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.insight-panel h3 {
  margin-top: 0.8rem;
  font-size: 1.78rem;
}

.insight-list {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.insight-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.insight-list li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.page-hero .container,
.page-section .container {
  position: relative;
}

.service-hero-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
}

.service-visual {
  min-height: 360px;
  padding: 1.6rem;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(226, 236, 249, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.visual-node {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(10, 31, 68, 0.08);
}

.visual-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.visual-connector {
  height: 38px;
  margin-left: 1.5rem;
  border-left: 2px dashed rgba(11, 99, 216, 0.28);
}

.page-section {
  padding: 4.4rem 0;
}

.content-block {
  max-width: 820px;
}

.content-block p + p {
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item h3 {
  font-size: 1.15rem;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 2rem;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #0a56c8, #081a34);
  box-shadow: 0 24px 48px rgba(8, 26, 52, 0.28);
}

.cta-band p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(10, 31, 68, 0.14);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.site-footer {
  margin-top: 4rem;
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(7, 18, 38, 0), rgba(7, 18, 38, 0.02));
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr));
  align-items: start;
}

.footer-links,
.service-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a,
.service-links a {
  color: var(--text-soft);
}

.footer-note {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(10, 31, 68, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 980px) {
  .site-header .container {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    padding-bottom: 1rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0 0;
  }

  .header-actions {
    display: none;
  }

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

  .hero-visual {
    min-height: auto;
    padding: 0;
  }

  .hero-card.top,
  .hero-card.middle,
  .hero-card.bottom {
    margin: 0;
    width: auto;
  }

  .service-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero,
  .page-hero {
    padding: 4.5rem 0 3.5rem;
  }

  .section,
  .page-section {
    padding: 3.5rem 0;
  }

  .service-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .metrics {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }

  .brand-logo {
    height: 46px;
  }

  .btn,
  .hero-actions a,
  .page-hero-actions a {
    width: 100%;
  }

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