:root {
  color-scheme: light;
  --ink: #112433;
  --muted: #536674;
  --brand: #0b3558;
  --brand-dark: #06233c;
  --accent: #2da3df;
  --line: #dbe5ec;
  --surface: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 53, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}

.site-header,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

main {
  width: 100%;
}

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
}

.brand img {
  display: block;
  width: min(280px, 58vw);
  height: auto;
}

.header-contact {
  font-weight: 700;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: clamp(700px, 61vw, 900px);
  overflow: hidden;
  padding: clamp(72px, 7vw, 108px) max(20px, calc((100vw - 1160px) / 2));
  background-color: #eef6ff;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 31%, rgba(247, 251, 255, 0.5) 46%, rgba(238, 247, 255, 0.08) 70%),
    url("/assets/hsp-product-hero-v2.webp");
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42));
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(610px, 52%);
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.6rem, 5.1vw, 4.9rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.audience-note {
  max-width: 700px;
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--brand);
  font-size: 0.98rem;
  font-weight: 750;
}

.actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.button-primary {
  background: var(--brand);
  color: var(--white);
}

.button-primary:hover {
  background: var(--brand-dark);
}

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

.button-icon {
  display: block;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  margin-right: 10px;
}

.reassurance {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.transition h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.transition {
  width: min(1160px, calc(100% - 40px));
  margin: 76px auto;
  padding: clamp(36px, 6vw, 64px);
  border-radius: 20px;
  background: var(--brand);
  color: var(--white);
}

.transition .eyebrow {
  color: #9edfff;
}

.transition p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: #d9e8f2;
  font-size: 1.08rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy p:not(:first-child) {
  font-size: 0.78rem;
}

footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

footer a {
  color: inherit;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    padding-top: 64px;
    padding-bottom: clamp(340px, 78vw, 540px);
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 68%, rgba(244, 250, 255, 0.84) 77%, rgba(233, 245, 255, 0.18) 100%),
      url("/assets/hsp-product-hero-v2.webp");
    background-position: 70% center;
    background-size: auto 100%;
  }

  .hero-copy {
    width: min(100%, 640px);
  }
}

@media (max-width: 560px) {
  .site-header,
  footer {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-right: 14px;
    padding-bottom: 350px;
    padding-left: 14px;
    background-position: 72% center;
  }

  .transition {
    width: min(100% - 28px, 1160px);
    margin-block: 56px;
  }

  .site-header {
    gap: 12px;
    min-height: 92px;
  }

  .brand img {
    width: min(210px, 48vw);
  }

  .header-contact {
    max-width: 150px;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    text-align: right;
  }

  .actions,
  .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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