:root {
  --navy: #082c59;
  --navy-deep: #061f3f;
  --blue: #12477f;
  --gold: #d6a437;
  --gold-soft: #f4e4b8;
  --green: #6f8f5c;
  --ink: #17212b;
  --muted: #5c6975;
  --cream: #fbf8f0;
  --white: #ffffff;
  --line: #dce3e9;
  --shadow: 0 18px 50px rgba(8, 44, 89, 0.11);
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  background: var(--navy-deep);
  color: #eaf1f8;
  font-size: 0.82rem;
}

.topbar-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: var(--gold-soft);
  font-weight: 750;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(8, 44, 89, 0.1);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.brand img {
  width: min(390px, 38vw);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
}

.primary-nav a {
  position: relative;
  padding: 0.7rem 0.68rem;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: 0.36rem;
  left: 0.7rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button,
button.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.15rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(8, 44, 89, 0.16);
}

.button.gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
}

.button.outline {
  background: transparent;
  color: var(--navy);
}

.button.light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.primary-nav .button {
  min-height: 42px;
  margin-left: 0.35rem;
  padding: 0.62rem 1rem;
  color: var(--white);
}

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

.narrow {
  width: min(820px, 100%);
}

.section {
  padding: clamp(4.2rem, 8vw, 7.5rem) 0;
}

.section.compact {
  padding: clamp(3.2rem, 6vw, 5.2rem) 0;
}

.cream {
  background: var(--cream);
}

.navy {
  background: var(--navy);
  color: var(--white);
}

.navy p,
.navy .section-intro {
  color: #dbe6f2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--gold);
}

.navy .eyebrow {
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 5.7rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.62rem);
}

.navy h1,
.navy h2,
.navy h3 {
  color: var(--white);
}

p {
  margin: 0 0 1.15rem;
}

.lead {
  color: #344454;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.section-intro {
  max-width: 680px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--gold);
}

.hero-grid {
  min-height: min(720px, calc(100vh - 128px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy .lead {
  max-width: 640px;
  margin-top: 1.4rem;
}

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

.hero-art {
  position: relative;
}

.hero-art::before {
  content: "";
  position: absolute;
  top: -22px;
  right: -22px;
  width: 58%;
  height: 38%;
  border: 5px solid var(--gold);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 36px 0 0;
}

.hero-art::after {
  content: "Hartford, Connecticut";
  position: absolute;
  right: -14px;
  bottom: 34px;
  padding: 0.7rem 1rem;
  border-radius: 999px 0 0 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-art img {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 44% 44% 22px 22px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

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

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

.trust-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

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

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

.card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(8, 44, 89, 0.05);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  width: 54px;
  height: 4px;
  background: var(--gold);
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
  color: var(--blue);
  font-weight: 820;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

.quick-card {
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quick-card .step {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.split.top {
  align-items: start;
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 22px;
  right: -22px;
  bottom: -22px;
  left: 22px;
  border-radius: var(--radius);
  background: var(--gold-soft);
}

.image-frame img {
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.feature-list,
.check-list,
.plain-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  margin: 0.7rem 0;
  padding-left: 1.8rem;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.plain-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(8, 44, 89, 0.12);
}

.plain-list li:last-child {
  border-bottom: 0;
}

.statement {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: 34px;
  background: var(--navy);
  color: var(--white);
}

.statement::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 250px;
  height: 250px;
  border: 48px solid rgba(214, 164, 55, 0.22);
  border-radius: 50%;
}

.statement h2 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  color: var(--white);
}

.statement p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-top: 1rem;
  color: #dbe6f2;
}

.statement .button {
  position: relative;
  z-index: 1;
  margin-top: 0.7rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: var(--navy);
  color: var(--white);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -115px;
  width: 360px;
  height: 360px;
  border: 58px solid rgba(214, 164, 55, 0.22);
  border-radius: 50%;
}

.page-hero h1 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 1.4rem;
  color: #dbe6f2;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crumbs a {
  text-decoration: none;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.value {
  min-height: 220px;
  padding: 1.65rem;
  background: var(--white);
}

.value strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.service-row {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
}

.service-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-row h2,
.service-row h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.service-row p {
  color: var(--muted);
}

.number-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.process {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  counter-increment: process;
  position: relative;
  min-height: 230px;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
}

.process-step::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 2.4rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.process-step h3 {
  margin-bottom: 0.7rem;
}

.partner-cloud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.partner-type {
  min-height: 160px;
  display: flex;
  align-items: end;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card a {
  color: var(--gold-soft);
}

.contact-detail {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-detail:last-child {
  border-bottom: 0;
}

.contact-detail strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.field {
  margin-bottom: 1rem;
}

.field label,
.fieldset-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy-deep);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #b9c5d0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 0.9rem;
}

.field textarea {
  min-height: 150px;
  padding: 0.8rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 71, 127, 0.13);
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.8rem;
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  background: var(--navy-deep);
  color: #dbe6f2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 0.7fr;
  gap: 3rem;
  padding: 4.5rem 0 3rem;
}

.footer-brand img {
  width: min(390px, 100%);
  max-height: 90px;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  background: var(--white);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 0 transparent);
}

.footer-brand p {
  max-width: 520px;
  margin-top: 1rem;
}

.footer-title {
  margin-bottom: 0.85rem;
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 0.3rem 0;
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.83rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .brand img {
    width: 300px;
  }

  .primary-nav a {
    padding-inline: 0.48rem;
    font-size: 0.8rem;
  }

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

@media (max-width: 900px) {
  .topbar-inner span:first-child {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: min(300px, calc(100vw - 90px));
    height: 62px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .primary-nav {
    position: fixed;
    top: 116px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 1.2rem 1rem 3rem;
    overflow-y: auto;
    background: var(--white);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav .button {
    margin: 1rem 0 0;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-art {
    width: min(620px, 95%);
    margin: 0 auto;
  }

  .hero-art img {
    aspect-ratio: 16 / 10;
    border-radius: 28px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: center;
    font-size: 0.76rem;
  }

  .section {
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .hero-grid {
    padding: 3.6rem 0 4rem;
  }

  .hero-art::before {
    right: -10px;
  }

  .hero-art::after {
    right: -6px;
    bottom: 18px;
  }

  .trust-grid,
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .value-grid,
  .process,
  .partner-cloud,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 85px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .value {
    min-height: auto;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
