:root {
  --pl-primary: #2B5D7D;
  --pl-dark: #17384F;
  --pl-bg: #F5F2EB;
  --pl-gray: #52606D;
  --pl-accent: #A95A2A;
  --pl-white: #FFFFFF;
  --pl-border: rgba(23, 56, 79, 0.12);
  --pl-border-strong: rgba(23, 56, 79, 0.2);
  --pl-shadow: 0 18px 40px rgba(23, 56, 79, 0.08);
  --pl-shadow-sm: 0 10px 24px rgba(23, 56, 79, 0.06);
  --pl-max-width: 1200px;
  --pl-radius: 18px;
  --pl-radius-sm: 12px;
  --pl-transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pl-bg);
  color: var(--pl-gray);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--pl-primary);
  text-decoration: none;
  transition: color var(--pl-transition), opacity var(--pl-transition), border-color var(--pl-transition), background-color var(--pl-transition);
}

a:hover,
a:focus {
  color: var(--pl-accent);
}

.container {
  width: min(100% - 40px, var(--pl-max-width));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-sm {
  padding: 64px 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pl-accent);
}

h1,
h2,
h3,
h4,
.site-logo,
.nav-link,
.btn,
.card-title,
.footer-title,
.menu-toggle {
  font-family: "IBM Plex Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  line-height: 1.15;
  color: var(--pl-dark);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

p {
  margin: 0 0 18px;
}

.lead {
  font-size: 1.12rem;
  color: var(--pl-dark);
}

.muted {
  color: var(--pl-gray);
}

.text-center {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 242, 235, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 56, 79, 0.08);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  color: var(--pl-dark);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-logo:hover,
.site-logo:focus {
  color: var(--pl-dark);
  opacity: 0.88;
}

.site-logo-image {
  display: block;
  width: auto;
  height: 70px;
  max-width: 100%;
}

@media (max-width: 780px) {
  .site-logo-image {
    height: 38px;
  }
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: var(--pl-dark);
  font-size: 0.98rem;
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus,
.nav-link[aria-current="page"] {
  color: var(--pl-accent);
}

.header-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(43, 93, 125, 0.18);
  border-radius: 999px;
  background: var(--pl-white);
  color: var(--pl-dark);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--pl-transition), border-color var(--pl-transition), background-color var(--pl-transition);
}

.menu-toggle:hover,
.menu-toggle:focus {
  color: var(--pl-accent);
  border-color: rgba(169, 90, 42, 0.38);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--pl-transition), color var(--pl-transition), background-color var(--pl-transition), border-color var(--pl-transition), box-shadow var(--pl-transition);
}

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

.btn-primary {
  background: var(--pl-primary);
  color: var(--pl-white);
  box-shadow: var(--pl-shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--pl-dark);
  color: var(--pl-white);
}

.btn-secondary {
  background: transparent;
  color: var(--pl-primary);
  border-color: rgba(43, 93, 125, 0.25);
}

.btn-secondary:hover,
.btn-secondary:focus {
  color: var(--pl-accent);
  border-color: rgba(169, 90, 42, 0.4);
  background: rgba(255, 255, 255, 0.45);
}

.hero {
  padding: 110px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero-copy p:last-child {
  margin-bottom: 0;
}

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

.hero-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-border);
  border-radius: 24px;
  box-shadow: var(--pl-shadow);
  overflow: hidden;
}

.hero-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7e0d6;
}

.hero-card-body {
  padding: 26px;
}

.hero-card-body p:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  padding: 18px;
  background: rgba(43, 93, 125, 0.06);
  border: 1px solid rgba(43, 93, 125, 0.08);
  border-radius: var(--pl-radius-sm);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--pl-dark);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.section-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--pl-white);
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  overflow: hidden;
  box-shadow: var(--pl-shadow-sm);
}

.card-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e7e0d6;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.card-title {
  margin-bottom: 12px;
  color: var(--pl-dark);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-body p {
  flex: 1;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.image-panel {
  background: var(--pl-white);
  border: 1px solid var(--pl-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--pl-shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: #e7e0d6;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius-sm);
  color: var(--pl-dark);
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-weight: 600;
}

.band {
  background: var(--pl-dark);
  color: var(--pl-white);
}

.band h2,
.band h3,
.band p,
.band .section-header p {
  color: var(--pl-white);
}

.band .eyebrow {
  color: #d9b08d;
}

.band .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.band .card-title,
.band .card-body p {
  color: var(--pl-white);
}

.band .btn-secondary {
  border-color: rgba(245, 242, 235, 0.26);
  color: var(--pl-white);
}

.band .btn-secondary:hover,
.band .btn-secondary:focus {
  background: rgba(245, 242, 235, 0.08);
  color: var(--pl-white);
  border-color: rgba(245, 242, 235, 0.4);
}

.cta-panel {
  padding: 34px;
  background: var(--pl-white);
  border: 1px solid var(--pl-border);
  border-radius: 24px;
  box-shadow: var(--pl-shadow);
}

.cta-panel h2 {
  margin-bottom: 14px;
}

.cta-panel p:last-of-type {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.site-footer {
  padding: 28px 0;
  background: #102b3d;
  border-top: 1px solid rgba(245, 242, 235, 0.08);
  color: rgba(245, 242, 235, 0.78);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-copy {
  font-size: 0.95rem;
}

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

.footer-nav a {
  color: rgba(245, 242, 235, 0.82);
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--pl-white);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--pl-primary);
  color: var(--pl-white);
  box-shadow: var(--pl-shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--pl-transition), visibility var(--pl-transition), transform var(--pl-transition), background-color var(--pl-transition);
  cursor: pointer;
  z-index: 1200;
}

.back-to-top:hover,
.back-to-top:focus {
  background: var(--pl-dark);
  color: var(--pl-white);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 88px;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: sticky;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    min-height: auto;
  }

  .site-logo {
    width: auto;
    justify-content: flex-start;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0 4px;
  }

  .nav-link {
    display: inline-block;
    font-size: 1rem;
  }

  .section,
  .section-sm {
    padding: 68px 0;
  }

  .hero {
    padding: 74px 0 64px;
  }

  .hero-actions,
  .cta-actions,
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .card-actions .btn {
    width: 100%;
  }

  .cards-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 28px, var(--pl-max-width));
  }

  .hero-card-body,
  .card-body,
  .cta-panel {
    padding: 22px;
  }

  .feature-list li,
  .stat {
    padding: 16px;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
}