:root {
  --apsz-blue: #0b5fae;
  --apsz-blue-2: #134d86;
  --apsz-navy: #14243d;
  --apsz-deep: #0d1b2d;
  --apsz-cyan: #e5f4fb;
  --apsz-green: #19745b;
  --apsz-orange: #d97928;
  --apsz-ink: #172134;
  --apsz-muted: #647187;
  --apsz-line: #dce5ef;
  --apsz-soft: #f5f8fb;
  --apsz-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--apsz-ink);
  background: #eef4f8;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--apsz-line);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.main-wrap,
.site-footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 136px;
  height: auto;
  display: block;
}

.brand span {
  display: block;
  font-size: 13px;
  color: var(--apsz-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--apsz-blue);
  border-radius: 6px;
  background: var(--apsz-blue);
  color: var(--apsz-white);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 95, 174, 0.18);
}

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

.button.light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--apsz-blue);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.main-wrap {
  flex: 1;
  padding: 48px 0 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 36px;
  align-items: stretch;
}

.hero > *,
.tech-card > *,
.site-footer__inner > *,
.final-cta > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 44px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 52, 95, 0.98), rgba(11, 95, 174, 0.94) 68%, rgba(25, 116, 91, 0.92)),
    #12345f;
  color: var(--apsz-white);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.eyebrow,
.card-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.card-kicker {
  color: var(--apsz-green);
}

.eyebrow.company-name {
  text-transform: none;
}

h1 {
  position: relative;
  margin: 0;
  max-width: 840px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy p {
  position: relative;
  margin: 20px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(20, 36, 61, 0), rgba(20, 36, 61, 0.58)),
    url("hgs-cover-collage.jpg") center 26px / calc(100% - 42px) auto no-repeat,
    #e8f2f8;
  color: var(--apsz-white);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(20, 36, 61, 0.15);
}

.hero-panel__box {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(20, 36, 61, 0.84);
}

.hero-panel__box b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.section {
  margin-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div,
.how-grid div,
.coming-card {
  padding: 20px;
  border: 1px solid var(--apsz-line);
  border-radius: 8px;
  background: var(--apsz-white);
}

.trust-strip b,
.how-grid b,
.coming-card h3 {
  display: block;
  color: var(--apsz-navy);
}

.trust-strip span,
.how-grid p,
.coming-card p {
  display: block;
  margin-top: 6px;
  color: var(--apsz-muted);
}

.trust-item {
  min-width: 0;
}

.trust-title,
.trust-text {
  overflow-wrap: anywhere;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.section-head h2,
.final-cta h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p,
.final-cta p {
  margin: 0;
  max-width: 650px;
  color: var(--apsz-muted);
}

.tech-card {
  position: relative;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--apsz-line);
  border-radius: 8px;
  background: var(--apsz-white);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tech-card + .tech-card {
  margin-top: 16px;
}

.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.46) 42%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.tech-card:hover {
  border-color: #b9d0e5;
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(20, 36, 61, 0.12);
}

.tech-card:hover::after {
  transform: translateX(120%);
}

.tech-card__media {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--apsz-soft);
}

.tech-card__media a {
  display: block;
}

.tech-card__media img,
.tech-card > img {
  width: 100%;
  height: auto;
  max-height: 246px;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.tech-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.16;
}

.tech-card p {
  margin: 0;
  color: var(--apsz-muted);
}

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

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge,
.coming-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cfe0ee;
  border-radius: 999px;
  background: #f8fbfd;
  color: #23415f;
  font-size: 13px;
  font-weight: 700;
}

.coming-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

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

.coming-card {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(229, 244, 251, 0.6), rgba(255, 255, 255, 0.92)),
    #ffffff;
}

.coming-card h3 {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.18;
}

.how-section {
  padding: 30px;
  border-radius: 8px;
  background: #ffffff;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #e8f2f8);
  border: 1px solid var(--apsz-line);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--apsz-line);
  background: var(--apsz-white);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 84px;
  color: var(--apsz-muted);
  font-size: 14px;
}

.mobile-sticky {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .tech-card,
  .tech-card::after {
    transition: none;
  }
}

@media (max-width: 960px) {
  .trust-strip,
  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero,
  .tech-card,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 30px 24px;
  }

  .hero-panel {
    min-height: 320px;
    max-width: 100%;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 620px) {
  .site-header__inner,
  .main-wrap,
  .site-footer__inner {
    width: min(1180px, calc(100% - 24px));
  }

  body {
    padding-bottom: 72px;
  }

  .brand img {
    width: 122px;
  }

  .brand span {
    display: none;
  }

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

  .button,
  .hero-actions .button,
  .card-actions .button {
    width: 100%;
    min-width: 0;
    padding: 0 12px;
    white-space: normal;
    text-align: center;
  }

  h1 {
    font-size: 21px;
    line-height: 1.08;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-panel__box span {
    display: block;
    overflow-wrap: anywhere;
  }

  .hero-copy p {
    font-size: 15px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-panel {
    min-height: 300px;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(20, 36, 61, 0), rgba(20, 36, 61, 0.62)),
      url("hgs-cover-collage.jpg") center 18px / calc(100% - 24px) auto no-repeat,
      #e8f2f8;
  }

  .trust-strip,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .tech-card {
    padding: 18px;
  }

  .tech-card__media {
    padding: 10px;
  }

  .tech-card__media img,
  .tech-card > img {
    max-height: none;
  }

  .how-section,
  .final-cta {
    padding: 22px;
  }

  .mobile-sticky {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 30;
    display: block;
  }
}
