:root {
  --bg: #f3f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --line: rgba(16, 43, 76, 0.12);
  --text: #11233e;
  --muted: #53657e;
  --brand: #0f6cbd;
  --brand-deep: #0b4d8c;
  --accent: #11a7a0;
  --warm: #ffb14a;
  --shadow: 0 20px 50px rgba(12, 37, 69, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(17, 167, 160, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(15, 108, 189, 0.2), transparent 26%),
    linear-gradient(180deg, #eef6fd 0%, #f9fbff 54%, #edf4fa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 35, 62, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 35, 62, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  position: sticky;
  top: 16px;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span:last-child {
  font-size: 0.82rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  margin-top: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.stats-strip,
.service-card,
.kb-section,
.process-card,
.callout-card,
.contact-card {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.kb-section,
.callout-card,
.contact-card {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-deep);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 15ch;
}

h3 {
  font-size: 1.3rem;
}

.hero-text,
.section-heading p,
.service-card p,
.kb-card p,
.process-card p,
.callout-card p,
.contact-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-text {
  max-width: 62ch;
  margin: 20px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.filter-chip:hover,
.kb-card:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 18px 36px rgba(15, 108, 189, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.hero-highlights li {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(16, 43, 76, 0.08);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-panel {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 177, 74, 0.4), transparent 70%);
}

.panel-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 167, 160, 0.12);
  color: #096b66;
  font-weight: 800;
  font-size: 0.83rem;
}

.signal-card {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.signal-title {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 800;
}

.signal-grid {
  display: grid;
  gap: 14px;
}

.signal-grid article {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 43, 76, 0.08);
}

.signal-grid strong {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.signal-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 24px 26px;
  border-radius: 24px;
}

.stats-strip article {
  display: grid;
  gap: 6px;
}

.stats-strip strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
}

.stats-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section {
  margin-top: 88px;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading p:last-child {
  max-width: 68ch;
  margin-top: 14px;
}

.services-grid,
.process-grid,
.kb-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.process-card {
  padding: 24px;
  border-radius: 24px;
}

.service-card h3,
.process-card h3,
.kb-card h3 {
  margin-bottom: 12px;
}

.kb-section {
  padding: 34px;
}

.kb-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: min(100%, 360px);
  font-weight: 700;
}

.search-box input {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.filter-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.filter-chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  border-color: transparent;
}

.results-meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 700;
}

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

.kb-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 43, 76, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.kb-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kb-card-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15, 108, 189, 0.1);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.kb-card p {
  margin: 0;
  flex: 1;
}

.kb-link {
  font-weight: 800;
  color: var(--brand-deep);
}

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

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 108, 189, 0.14), rgba(17, 167, 160, 0.18));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.callout-card {
  padding: 34px;
  background:
    radial-gradient(circle at bottom right, rgba(255, 177, 74, 0.18), transparent 25%),
    rgba(255, 255, 255, 0.8);
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
}

.contact-details {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-details a {
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 800;
}

.site-footer {
  margin-top: 28px;
  padding: 0 8px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.is-hidden {
  display: none;
}

@media (max-width: 1050px) {
  .hero,
  .services-grid,
  .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 14px;
  }

  .site-header,
  .contact-card,
  .stats-strip,
  .process-grid,
  .hero,
  .services-grid,
  .kb-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .contact-card {
    border-radius: 28px;
  }

  .site-header,
  .contact-card,
  .stats-strip {
    display: grid;
  }

  .site-nav {
    gap: 12px;
  }

  .hero-copy,
  .hero-panel,
  .kb-section,
  .callout-card,
  .contact-card {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }
}
