:root {
  --background: #f5f1ee;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.52);
  --text: #171717;
  --muted: #66615c;
  --line: rgba(23, 23, 23, 0.08);
  --brand: #113fb8;
  --brand-deep: #0b2e88;
  --ink: #0f0f11;
  --shadow: 0 30px 80px rgba(18, 24, 41, 0.08);
  --radius: 26px;
  --radius-small: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(17, 63, 184, 0.06), transparent 28%),
    linear-gradient(180deg, #f8f5f2 0%, #f4efea 100%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(248, 245, 242, 0.86);
  border-bottom: 1px solid rgba(23, 23, 23, 0.04);
}

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

.brand,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.site-nav a:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 12px 28px rgba(17, 63, 184, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(23, 23, 23, 0.1);
}

.button-compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -120px;
  width: 260px;
  height: 720px;
  border-radius: 42px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  transform: rotate(23deg);
  pointer-events: none;
}

.hero::before {
  right: 16%;
}

.hero::after {
  right: 2%;
  opacity: 0.58;
}

.hero-grid {
  min-height: 620px;
  display: grid;
  align-items: start;
}

.hero-copy {
  max-width: 640px;
  padding-top: 48px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 63, 184, 0.14);
  background: rgba(17, 63, 184, 0.06);
  color: var(--brand);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6.9rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.hero h1 span {
  display: block;
  color: var(--brand);
}

.hero-text {
  max-width: 560px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

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

.section {
  padding: 56px 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.28);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.text-stack {
  display: grid;
  gap: 18px;
}

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

.service-card,
.method-card,
.partner-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 10px 24px rgba(17, 63, 184, 0.2);
}

.section-label {
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

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

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

.service-card,
.partner-card {
  padding: 28px;
}

.service-icon {
  margin-bottom: 22px;
}

.section-centered,
.section-intro {
  text-align: center;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-intro p {
  font-size: 1.04rem;
}

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

.method-card {
  position: relative;
  min-height: 214px;
  padding: 26px 22px;
  overflow: hidden;
}

.method-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.method-meta span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: rgba(23, 23, 23, 0.1);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding-bottom: 86px;
}

.final-cta-inner {
  position: relative;
  text-align: center;
}

.glyph-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 18px;
  color: rgba(23, 23, 23, 0.08);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.site-footer {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(255, 255, 255, 0.46);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(2, minmax(160px, 0.75fr));
  gap: 40px;
  padding: 46px 0 52px;
}

.brand-footer {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 420px;
  margin-bottom: 18px;
}

.footer-brand small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.footer-column h3 {
  margin-bottom: 18px;
  font-size: 0.96rem;
  letter-spacing: -0.03em;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column a {
  color: var(--muted);
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--brand);
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 0 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .button-compact {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-copy {
    padding-top: 28px;
  }

  .hero-grid {
    min-height: 0;
  }

  .hero::before,
  .hero::after {
    right: -50px;
    width: 160px;
    height: 420px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 18vw, 4.6rem);
  }

  .hero-text,
  .section-intro p {
    font-size: 1rem;
  }

  .three-up,
  .method-grid,
  .four-up {
    grid-template-columns: 1fr;
  }

  .glyph-row {
    gap: 18px;
    font-size: 2.2rem;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 44px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .method-card,
  .partner-card {
    padding: 24px 20px;
  }
}
