:root {
  --blue: #315aa7;
  --blue-2: #1f76b7;
  --navy: #12315d;
  --teal: #1a9aa0;
  --orange: #f6a219;
  --green: #2f9e63;
  --ink: #132238;
  --muted: #647085;
  --line: #d8e2ee;
  --soft: #f3f7fb;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(18, 38, 63, .13);
  --shadow-sm: 0 10px 30px rgba(18, 38, 63, .08);
  --radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 18px;
  top: -60px;
  z-index: 1000;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

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

.top-strip {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
}

.top-strip__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.top-strip a {
  text-decoration: none;
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(216, 226, 238, .9);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: 254px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a,
.nav-group > a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.nav-group:hover > a {
  color: var(--blue);
}

.nav-cta {
  border: 1px solid var(--orange);
  color: var(--navy) !important;
  background: #fff7e8;
}

.nav-group {
  position: relative;
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  display: none;
}

.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  display: grid;
}

.nav-menu a {
  padding: 9px 10px;
  min-height: 0;
  border-radius: 6px;
}

.nav-menu a:hover {
  background: var(--soft);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
}

.hero {
  min-height: calc(100vh - 124px);
  background:
    linear-gradient(108deg, rgba(18, 49, 93, .96) 0%, rgba(31, 118, 183, .92) 48%, rgba(26, 154, 160, .88) 100%),
    #12315d;
  color: var(--white);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__grid,
.detail-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: 52px;
  align-items: center;
  padding: 56px 0 72px;
}

.hero__copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.4;
}

.hero h1,
.page-hero h1,
.detail-hero h1,
.article-hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.detail-hero p,
.article-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, .88);
  margin: 0 0 18px;
}

.hero__lead {
  font-size: 20px;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--orange);
  color: var(--ink);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .65);
}

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

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: " →";
}

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

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  background: var(--white);
  padding: 28px 24px;
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: var(--soft);
}

.section-blue {
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  color: var(--white);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading h2,
.section-copy h2,
.two-column h2,
.contact-panel h2,
.article-aside h2 {
  margin: 10px 0 12px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.12;
}

.section-heading p,
.section-copy p,
.two-column p,
.mini-card p,
.solution-card p,
.resource-card p,
.post-card p {
  color: var(--muted);
}

.section-heading.on-dark h2,
.section-heading.on-dark p {
  color: var(--white);
}

.split-grid,
.contact-grid,
.article-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 48px;
  align-items: start;
}

.visual-panel img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .44em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
}

.check-list li::after {
  content: "";
  position: absolute;
  top: .73em;
  left: 6px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

.solution-tabs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.tab-list {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--white);
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
}

.tab-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .84fr);
  gap: 40px;
  align-items: center;
  padding: 34px;
}

.tab-panel.is-active {
  display: grid;
}

.tab-panel h3 {
  margin: 10px 0;
  font-size: 34px;
  line-height: 1.15;
  color: var(--navy);
}

.tab-panel img {
  border-radius: var(--radius);
}

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

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

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

.solution-card,
.resource-card,
.post-card,
.mini-card,
.value-item,
.contact-panel,
.quote-panel,
.article-aside,
.stack-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.solution-card,
.resource-card,
.post-card {
  overflow: hidden;
}

.solution-card img,
.resource-card img,
.post-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.solution-card div,
.resource-card div,
.post-card div {
  padding: 24px;
}

.solution-card h2,
.resource-card h2,
.post-card h2,
.solution-card h3,
.resource-card h3,
.post-card h3,
.mini-card h2,
.mini-card h3,
.value-item h3,
.stack-list h3 {
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.2;
}

.post-card span {
  color: var(--orange);
  font-weight: 800;
  font-size: 13px;
}

.image-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(1.04);
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 22%, rgba(10, 31, 61, .9));
}

.image-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

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

.value-item {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .24);
  color: var(--white);
  padding: 24px;
  box-shadow: none;
}

.value-item h3,
.value-item p {
  color: var(--white);
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.service-cloud span {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--navy);
}

.page-hero,
.detail-hero,
.article-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue-2));
  color: var(--white);
  padding: 82px 0;
}

.detail-hero__grid {
  padding: 0;
}

.detail-hero img {
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.mini-card,
.quote-panel,
.article-aside,
.contact-panel,
.stack-list article {
  padding: 24px;
}

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

.quote-panel h2,
.quote-panel p {
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 16px 18px;
  font-weight: 800;
  color: var(--navy);
}

.article-section {
  background: var(--soft);
}

.article-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.article-body img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.article-body p {
  color: #344154;
  font-size: 18px;
}

.article-aside {
  position: sticky;
  top: 120px;
}

.article-aside a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  grid-template-columns: 380px minmax(0, 1fr);
}

.contact-panel a {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  margin: 10px 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: 6px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-weight: 800;
}

.notice.success {
  background: #e7f6ef;
  color: #0e6042;
}

.notice.error {
  background: #fff0ef;
  color: #a12d21;
}

.stack-list {
  display: grid;
  gap: 14px;
}

.cta-band {
  background: var(--orange);
  color: var(--ink);
  padding: 42px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 8px 0 0;
  width: min(760px, 100%);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.16;
  color: var(--ink);
}

.cta-band .eyebrow {
  color: var(--navy);
}

.site-footer {
  background: #101e34;
  color: rgba(255, 255, 255, .78);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .7fr 1fr;
  gap: 34px;
}

.footer-logo {
  width: 240px;
  margin-bottom: 18px;
}

.site-footer h2 {
  color: var(--white);
  font-size: 18px;
  margin: 0 0 16px;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  margin: 8px 0;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 1060px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }

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

  .nav-group {
    display: grid;
  }

  .nav-group > a,
  .primary-nav a {
    min-height: 46px;
    padding: 0 12px;
  }

  .nav-menu {
    position: static;
    display: grid;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 18px;
    min-width: 0;
  }

  .hero__grid,
  .detail-hero__grid,
  .split-grid,
  .two-column,
  .article-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .top-strip__inner {
    justify-content: center;
    gap: 10px 16px;
    padding: 8px 0;
  }

  .nav-shell {
    min-height: 78px;
  }

  .brand img {
    width: 210px;
  }

  .hero__grid,
  .detail-hero__grid {
    gap: 28px;
    padding: 44px 0;
  }

  .hero h1,
  .page-hero h1,
  .detail-hero h1,
  .article-hero h1 {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .metrics-grid,
  .form-row.two,
  .card-grid.three,
  .industry-grid,
  .gallery-grid,
  .value-grid,
  .card-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero,
  .detail-hero,
  .article-hero {
    padding: 58px 0;
  }

  .tab-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .tab-panel h3 {
    font-size: 28px;
  }

  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 420px) {
  .brand img {
    width: 188px;
  }

  .btn {
    width: 100%;
  }

  .action-row {
    align-items: stretch;
  }
}
