:root {
  --ccs-black: #080a0e;
  --ccs-charcoal: #151922;
  --ccs-ink: #202837;
  --ccs-muted: #637083;
  --ccs-red: #cf202f;
  --ccs-red-deep: #8f1420;
  --ccs-blue: #1268c4;
  --ccs-blue-deep: #123a65;
  --ccs-blue-soft: #eaf3ff;
  --ccs-line: #dce3ee;
  --ccs-paper: #f4f7fb;
  --ccs-white: #ffffff;
  --ccs-shadow: 0 22px 58px rgba(8, 10, 14, 0.16);
  --ccs-soft-shadow: 0 14px 34px rgba(18, 58, 101, 0.12);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  background: var(--ccs-paper);
}

body.site {
  margin: 0;
  color: var(--ccs-ink);
  background:
    linear-gradient(125deg, rgba(207, 32, 47, 0.07) 0%, rgba(207, 32, 47, 0) 34%),
    linear-gradient(315deg, rgba(18, 104, 196, 0.12) 0%, rgba(18, 104, 196, 0) 42%),
    linear-gradient(180deg, #f9fbfe 0%, #eef3f8 100%);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--ccs-blue);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ccs-red);
  text-decoration: underline;
}

.topbar {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 10, 14, 0.09);
  box-shadow: 0 12px 32px rgba(8, 10, 14, 0.08);
}

.topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--ccs-red) 0%, var(--ccs-blue) 100%);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  min-height: 78px;
  padding: 16px 28px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: 46px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.98rem;
  font-weight: 650;
}

.navlinks a {
  padding: 8px 12px;
  color: var(--ccs-charcoal);
  border-bottom: 2px solid transparent;
}

.navlinks a:hover {
  color: var(--ccs-blue-deep);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(18, 104, 196, 0.08) 0%, rgba(207, 32, 47, 0.06) 100%);
  border-bottom-color: var(--ccs-red);
}

.hero,
.pagehead {
  position: relative;
  overflow: hidden;
  color: var(--ccs-white);
  background:
    linear-gradient(115deg, rgba(207, 32, 47, 0.88) 0%, rgba(207, 32, 47, 0.2) 20%, rgba(18, 104, 196, 0) 48%),
    linear-gradient(135deg, #080a0e 0%, #141b28 34%, #123a65 68%, #1268c4 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero::before,
.pagehead::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.2;
}

.hero::after,
.pagehead::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  content: "";
  background: linear-gradient(90deg, var(--ccs-red) 0%, #7b1d5b 42%, var(--ccs-blue) 100%);
}

.hero__inner,
.pagehead__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 44px;
  align-items: center;
  padding: 88px 28px 74px;
}

.hero__content {
  max-width: 720px;
}

.pagehead__inner {
  padding: 64px 28px 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #b9d9ff;
  font-size: 0.86rem;
  font-weight: 750;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 4rem;
  line-height: 1.04;
}

.site--page h1 {
  font-size: 3.25rem;
}

.lede,
.description {
  max-width: 760px;
  margin: 20px 0 0;
  color: #e9f2ff;
  font-size: 1.18rem;
}

.hero__panel {
  padding: 26px 28px;
  color: #eef5ff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 5px solid var(--ccs-red);
  border-radius: 8px;
  box-shadow: var(--ccs-shadow);
}

.hero__panel h2 {
  margin: 0 0 14px;
  color: var(--ccs-white);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero__panel ul {
  padding-left: 20px;
  margin: 0;
}

.hero__panel li {
  margin: 10px 0;
}

.main {
  max-width: 1040px;
  padding: 52px 28px 86px;
  margin: 0 auto;
}

.content-shell {
  position: relative;
  padding: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid var(--ccs-line);
  border-radius: 8px;
  box-shadow: var(--ccs-soft-shadow);
}

.content-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--ccs-red) 0%, var(--ccs-blue) 100%);
}

.content-shell h2,
.content-shell h3,
.content-shell h4 {
  color: var(--ccs-blue-deep);
  line-height: 1.22;
}

.content-shell h2 {
  position: relative;
  padding-top: 18px;
  margin: 2.15rem 0 0.7rem;
  font-size: 1.75rem;
}

.content-shell h2:first-child {
  margin-top: 0;
}

.content-shell h2::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--ccs-red) 0%, var(--ccs-blue) 100%);
}

.content-shell h3 {
  margin: 1.7rem 0 0.45rem;
  font-size: 1.22rem;
}

.content-shell p,
.content-shell li {
  color: var(--ccs-muted);
  font-size: 1.02rem;
}

.content-shell p {
  margin: 0.9rem 0;
}

.content-shell ul {
  padding-left: 1.25rem;
}

.content-shell li {
  margin: 0.5rem 0;
}

.content-shell img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  background: var(--ccs-white);
  border: 1px solid rgba(18, 58, 101, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(8, 10, 14, 0.14);
}

.content-shell strong {
  color: var(--ccs-charcoal);
}

.content-shell hr {
  height: 1px;
  margin: 2rem 0;
  background: var(--ccs-line);
  border: 0;
}

.service-grid,
.assurance-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.service-card,
.assurance-levels section {
  padding: 22px;
  background: #f8fbff;
  border: 1px solid rgba(18, 58, 101, 0.14);
  border-left: 4px solid var(--ccs-blue);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 58, 101, 0.08);
}

.service-card h3,
.assurance-levels h3 {
  margin-top: 0;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  margin-top: 10px;
  color: var(--ccs-blue-deep);
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  background: var(--ccs-white);
  border: 1px solid rgba(18, 104, 196, 0.28);
  border-radius: 6px;
}

.button-link:hover {
  color: var(--ccs-red-deep);
  text-decoration: none;
  border-color: rgba(207, 32, 47, 0.42);
}

.button-link--solid {
  color: var(--ccs-white);
  background: var(--ccs-blue-deep);
  border-color: var(--ccs-blue-deep);
}

.button-link--solid:hover {
  color: var(--ccs-white);
  background: var(--ccs-red-deep);
  border-color: var(--ccs-red-deep);
}

.cta-banner {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
  margin: 32px 0;
  background:
    linear-gradient(115deg, rgba(207, 32, 47, 0.1) 0%, rgba(207, 32, 47, 0) 44%),
    linear-gradient(135deg, #eef6ff 0%, #ffffff 100%);
  border: 1px solid rgba(18, 58, 101, 0.18);
  border-left: 5px solid var(--ccs-red);
  border-radius: 8px;
}

.cta-banner strong,
.cta-banner span {
  display: block;
}

.cta-banner .button-link {
  flex: 0 0 auto;
}

.cta-banner span {
  margin-top: 4px;
  color: var(--ccs-muted);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.process-flow div {
  position: relative;
  min-height: 170px;
  padding: 22px 18px 18px;
  background: #f8fbff;
  border: 1px solid rgba(18, 104, 196, 0.2);
  border-top: 4px solid var(--ccs-blue);
  border-radius: 8px;
}

.process-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--ccs-white);
  font-weight: 750;
  background: var(--ccs-blue);
  border-radius: 999px;
}

.process-flow strong,
.process-flow small {
  display: block;
}

.process-flow small {
  margin-top: 8px;
  color: var(--ccs-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr);
  gap: 30px;
  align-items: start;
  margin: 28px 0;
}

.split-feature figure {
  margin: 0;
}

.split-feature figcaption {
  margin-top: -16px;
  color: var(--ccs-muted);
  font-size: 0.9rem;
  text-align: center;
}

.contact-form {
  padding: 28px;
  margin: 28px 0;
  background: #f8fbff;
  border: 1px solid rgba(18, 58, 101, 0.16);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: center;
}

.form-grid label {
  color: var(--ccs-charcoal);
  font-weight: 700;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ccs-ink);
  font: inherit;
  background: var(--ccs-white);
  border: 1px solid rgba(18, 58, 101, 0.22);
  border-radius: 6px;
}

.form-grid textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: 3px solid rgba(18, 104, 196, 0.18);
  border-color: var(--ccs-blue);
}

.footer {
  color: #c9d6e8;
  background:
    linear-gradient(115deg, rgba(207, 32, 47, 0.28) 0%, rgba(207, 32, 47, 0) 38%),
    linear-gradient(135deg, #080a0e 0%, #121820 48%, #123a65 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__inner {
  max-width: 1160px;
  padding: 28px;
  margin: 0 auto;
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    min-height: 0;
  }

  .hero__inner {
    display: block;
    padding: 64px 24px 56px;
  }

  .hero__panel {
    margin-top: 30px;
  }

  h1 {
    font-size: 3rem;
  }

  .site--page h1 {
    font-size: 2.55rem;
  }
}

@media (max-width: 640px) {
  .nav {
    display: block;
    padding: 14px 20px 18px;
  }

  .brand__logo {
    height: 38px;
  }

  .navlinks {
    justify-content: flex-start;
    margin-top: 12px;
    font-size: 0.94rem;
  }

  .navlinks a {
    padding: 7px 9px;
  }

  .hero__inner,
  .pagehead__inner,
  .main {
    padding-right: 20px;
    padding-left: 20px;
  }

  .pagehead__inner {
    padding-top: 48px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .site--page h1 {
    font-size: 2.15rem;
  }

  .lede,
  .description {
    font-size: 1.06rem;
  }

  .content-shell {
    padding: 30px 24px;
  }

  .content-shell h2 {
    font-size: 1.45rem;
  }

  .service-grid,
  .assurance-levels,
  .process-flow,
  .split-feature,
  .form-grid {
    display: block;
  }

  .service-card,
  .assurance-levels section,
  .process-flow div {
    margin: 14px 0;
  }

  .cta-banner {
    display: block;
  }

  .form-grid label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
  }
}
