:root {
  --gold: #D9A441;
  --blue: #0B3A75;
  --light: #EDEDED;
  --white: #FFFFFF;
  --ink: #111827;
  --muted: #526071;
  --line: #DDE2EA;
  --soft-blue: #F4F8FC;
  --soft-gold: #FBF5E8;
  --logo-bg: #F6F5F5;
  --shadow: 0 20px 55px rgba(11, 58, 117, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.75);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(221, 226, 234, 0.9);
  background: rgba(246, 245, 245, 0.96);
  backdrop-filter: blur(14px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: var(--header-height);
}

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

.brand img,
.footer-brand img {
  width: 150px;
  height: auto;
}

.footer-brand img {
  width: 210px;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.primary-nav > a,
.nav-dropdown > summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 11px;
  color: #203044;
  transition: background 180ms ease, color 180ms ease;
}

.primary-nav > a:hover,
.nav-dropdown:hover > summary,
.nav-dropdown[open] > summary {
  background: var(--soft-blue);
  color: var(--blue);
}

.nav-cta {
  border: 1px solid rgba(217, 164, 65, 0.45);
  background: var(--soft-gold);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  cursor: pointer;
  list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(380px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #27364A;
  line-height: 1.35;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: var(--soft-blue);
  color: var(--blue);
}

.menu-button {
  display: none;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
}

.nav-toggle:focus-visible + .menu-button {
  outline: 3px solid rgba(217, 164, 65, 0.75);
  outline-offset: 4px;
}

.section-pad {
  padding: 100px 0;
}

.hero {
  background:
    linear-gradient(135deg, rgba(237, 237, 237, 0.72), rgba(255, 255, 255, 0.96) 45%),
    radial-gradient(circle at 85% 20%, rgba(217, 164, 65, 0.16), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue);
  font-family: Poppins, Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
}

h3 {
  font-size: 21px;
  font-weight: 700;
}

.lead {
  max-width: 62ch;
  margin: 28px 0 0;
  color: #253348;
  font-size: 21px;
  line-height: 1.55;
}

.support-copy {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  margin-top: 24px;
  color: var(--muted);
}

.support-copy p,
.about-copy p,
.cta-shell p,
.action-panel p {
  margin: 0;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(120%);
}

.button.primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(11, 58, 117, 0.2);
}

.button.secondary {
  border: 1px solid rgba(11, 58, 117, 0.18);
  background: var(--white);
  color: var(--blue);
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% 8% auto auto;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(217, 164, 65, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(217, 164, 65, 0.32) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 28%, rgba(11, 58, 117, 0.2), transparent 28px);
  animation: orbit-pulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-media img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: system-float 7s ease-in-out infinite;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-lead {
  margin: 18px 0 0;
  color: #253348;
  font-size: 24px;
}

.value,
.partners {
  background: var(--white);
}

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

.capability-card,
.product-card,
.partner-card,
.action-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.capability-card {
  min-height: 188px;
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.capability-card:hover,
.product-card:hover,
.partner-card:hover,
.action-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 164, 65, 0.5);
  box-shadow: var(--shadow);
}

.capability-card:nth-child(2n) .line-icon::before {
  animation-delay: 350ms;
}

.capability-card:nth-child(3n) .line-icon::after {
  animation-delay: 700ms;
}

.line-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(11, 58, 117, 0.22);
  border-radius: 50%;
  background: var(--soft-blue);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: var(--gold);
}

.line-icon::before {
  width: 22px;
  height: 3px;
  top: 22px;
  left: 13px;
}

.line-icon::after {
  width: 3px;
  height: 22px;
  top: 13px;
  left: 22px;
}

.capability-card:hover .line-icon::before,
.capability-card:hover .line-icon::after {
  animation: connector-pulse 900ms ease-in-out;
}

.products,
.about,
.quick-actions {
  background: #F7F8FA;
}

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

.product-card {
  min-height: 330px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.product-card:hover::after {
  transform: scaleX(1);
}

.product-card:last-child {
  grid-column: 1 / -1;
  min-height: auto;
}

.product-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--soft-gold);
  color: var(--blue);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.product-card:hover .product-icon {
  background: var(--blue);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
}

.product-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.product-card li {
  position: relative;
  padding-left: 22px;
}

.product-card li + li {
  margin-top: 10px;
}

.product-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 20px;
  padding: 36px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: var(--white);
  color: #253348;
  box-shadow: 0 16px 42px rgba(11, 58, 117, 0.07);
}

.about-copy p {
  position: relative;
  padding-left: 18px;
}

.about-copy p::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

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

.partner-card {
  min-height: 210px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-card img {
  width: min(230px, 80%);
  filter: saturate(0.45);
  opacity: 0.9;
  transition: filter 180ms ease, opacity 180ms ease;
}

.partner-card:hover img,
.partner-card:focus-visible img {
  filter: none;
  opacity: 1;
  animation: partner-focus 700ms ease;
}

.quick-actions {
  padding: 28px 0 100px;
}

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

.action-panel {
  padding: 34px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.action-panel h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.action-panel p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.action-panel .button {
  margin-top: 26px;
}

.action-panel.dark {
  border-color: rgba(11, 58, 117, 0.35);
  background: var(--blue);
}

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

.action-panel.dark .eyebrow {
  color: var(--gold);
}

.action-panel.dark .button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #172033;
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(11, 58, 117, 0.96), rgba(11, 58, 117, 0.9)),
    linear-gradient(90deg, var(--blue), var(--gold));
  color: var(--white);
}

.cta-shell {
  max-width: 880px;
}

.cta-shell h2 {
  color: var(--white);
}

.cta-shell p:not(.eyebrow) {
  max-width: 70ch;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 22px;
}

.final-cta .button.primary {
  border-color: var(--gold);
  background: var(--gold);
  color: #172033;
}

.final-cta .button.secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: var(--logo-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px 48px;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #27364A;
}

.footer-nav a:hover {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
}

.reveal {
  animation: fade-in both ease-out;
  animation-timeline: view();
  animation-range: entry 8% cover 32%;
}

.capability-card:nth-child(2),
.product-card:nth-child(2),
.partner-card:nth-child(2),
.action-panel:nth-child(2) {
  animation-range: entry 12% cover 36%;
}

.capability-card:nth-child(3n),
.product-card:nth-child(3n) {
  animation-range: entry 16% cover 40%;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes system-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes orbit-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(12px) scale(1.06);
  }
}

@keyframes connector-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.32);
  }
}

@keyframes partner-focus {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 1060px) {
  :root {
    --header-height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: var(--blue);
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    display: none;
    max-height: calc(100vh - var(--header-height) - 24px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-toggle:checked ~ .primary-nav {
    display: grid;
    justify-items: stretch;
    gap: 4px;
  }

  .primary-nav > a,
  .nav-dropdown > summary {
    width: 100%;
    justify-content: space-between;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin: 4px 0 8px;
    transform: none;
    box-shadow: none;
    background: #FAFBFC;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-media {
    max-width: 760px;
  }

  h1 {
    max-width: 16ch;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-pad {
    padding: 72px 0;
  }

  .hero {
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .lead,
  .cta-shell p:not(.eyebrow) {
    font-size: 19px;
  }

  .hero-actions,
  .action-grid,
  .partner-grid,
  .product-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .product-card:last-child {
    grid-column: auto;
  }

  .capability-card,
  .product-card,
  .partner-card,
  .action-panel,
  .about-copy {
    padding: 24px;
  }

  .quick-actions {
    padding-bottom: 72px;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .brand img,
  .footer-brand img {
    width: 138px;
  }

  .site-header {
    min-height: 72px;
  }

  .header-shell {
    min-height: 72px;
  }

  .primary-nav {
    top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
