:root {
  --brand: #1d5fd1;
  --brand-dark: #12418f;
  --brand-ink: #0b2545;
  --teal: #0e7c6b;
  --teal-dark: #0a5a4e;
  --teal-soft: #e3f5f1;
  --red: #d62f2f;
  --sun: #f0b35c;
  --ink: #0b2545;
  --muted: #51657a;
  --line: #e6edf4;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06), 0 2px 8px rgba(11, 37, 69, 0.05);
  --shadow: 0 18px 44px rgba(11, 37, 69, 0.1);
  --container: 1180px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  line-height: 1.65;
}

a {
  color: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease,
    border-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 26px rgba(29, 95, 209, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 16px 32px rgba(29, 95, 209, 0.38);
}

.btn--ghost {
  color: var(--brand);
  background: #fff;
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: #f4f8ff;
}

.btn--light {
  color: var(--brand-dark);
  background: #fff;
}

.btn--light:hover {
  background: #eef4ff;
}

.btn--block {
  width: 100%;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(var(--container), calc(100% - 2rem));
  height: var(--header-h);
  margin: 0 auto;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.nav__brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.nav__brand-text em {
  font-style: normal;
  color: var(--brand);
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto 0 1rem;
  padding: 0;
  list-style: none;
}

.nav__links a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.nav__links a:hover {
  color: var(--brand);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 7rem) 0 4rem;
}

.hero__copy {
  max-width: 34rem;
}

.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  font-weight: 600;
}

.hero__accent {
  color: var(--brand);
}

.hero__lead {
  margin-top: 1.2rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero__stats {
  display: flex;
  gap: 2.2rem;
  margin: 2.4rem 0 0;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero__stats dt {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
}

.hero__stats dd {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__graphic {
  width: 100%;
  height: auto;
}

.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__badge strong {
  display: block;
  font-size: 0.85rem;
}

.hero__badge small {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero__badge--vitals {
  top: 6%;
  left: -2%;
  animation: float 5s ease-in-out infinite;
}

.hero__badge--vitals .hero__badge-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 107, 0.16);
}

.hero__badge--zoom {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  right: -2%;
  top: 30%;
  animation: float 6s ease-in-out infinite reverse;
}

.hero__badge--zoom strong {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  color: var(--brand);
}

.hero__badge--invite {
  left: 4%;
  bottom: 8%;
  animation: float 5.5s ease-in-out infinite 0.6s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Sections ---------- */
.section {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--tint {
  width: 100%;
  max-width: none;
}

.section--tint > .section__head,
.section--tint > .extra-grid {
  width: min(var(--container), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.section__head {
  max-width: 44rem;
  margin-bottom: 2.2rem;
}

.section__head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.section__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.section__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--tint {
  background: linear-gradient(180deg, #eef4fb, #f6f9fc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Cards */
.card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
}

/* Extra grid */
.extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.product__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.product__head h3 {
  font-size: 1.5rem;
}

.product__lead {
  color: var(--muted);
  font-size: 0.95rem;
}

.product__features {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
  padding: 1.3rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.product__features strong {
  font-size: 1rem;
}

.product__features p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Product visual (H-call center) */
.product__visual {
  position: relative;
  margin: 1.4rem 0 0;
}

.product__graphic {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f4f8fd, #f6fafc);
}

.product__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.product__badge > div {
  min-width: 0;
}

.product__badge strong,
.product__badge small {
  white-space: normal;
  line-height: 1.3;
}

.product__badge strong {
  display: block;
  font-size: 0.78rem;
}

.product__badge small {
  color: var(--muted);
  font-size: 0.7rem;
}

.product__badge--tl {
  top: -20px;
  left: 0.5rem;
  max-width: calc(50% - 0.75rem);
}

.product__badge--tr {
  top: -20px;
  right: 0.5rem;
  max-width: calc(50% - 0.75rem);
  padding: 0.4rem 0.55rem;
}

.product__badge--bottom {
  left: 50%;
  bottom: -0.75rem;
  transform: translateX(-50%);
}

.product__badge--bottom .product__badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 107, 0.16);
}

/* H-mob graphic: pull badges further off the illustration */
#h-mob .product__visual {
  margin-top: 3.25rem;
}

#h-mob .product__badge--tl,
#h-mob .product__badge--tr {
  top: -42px;
}

#h-mob .product__badge--bottom {
  bottom: -3.5rem;
}

#h-mob .product__features {
  margin-top: 3rem;
}

/* Product card CTA */
.product__more {
  margin-top: 1.4rem;
}

/* ---------- Product detail pages ---------- */
.detail-hero {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0 1rem;
  text-align: center;
}

.detail-hero__logo {
  width: 132px;
  height: 132px;
  margin: 0 auto 1.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.detail-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
}

.detail-hero__lead {
  max-width: 62ch;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.detail-hero__visual {
  max-width: 620px;
  margin: 2.6rem auto 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.detail-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-card h3 {
  font-size: 1.25rem;
}

.detail-card p {
  color: var(--muted);
}

.detail-value {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.detail-value__dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 107, 0.16);
}

.detail-value p {
  color: var(--muted);
  font-size: 1.02rem;
}

.detail-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  max-width: 780px;
}

.detail-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 124, 107, 0.16);
}

.detail-list li strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.product__summary {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.detail-page .section__head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(var(--container), calc(100% - 2rem));
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding: 2.4rem 2.6rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 24px 50px rgba(29, 95, 209, 0.28);
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.6rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.nav__brand--footer {
  font-size: 0.98rem;
}

.site-footer__inner > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--brand);
}

.site-footer__legal {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3rem;
  }

  .hero__copy {
    max-width: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .extra-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
    margin-left: auto;
  }

  .mobile-menu.is-open {
    display: block;
    padding: 0.4rem 1rem 1.2rem;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .mobile-menu__links {
    display: grid;
    gap: 0.3rem;
    margin: 0.6rem 0 1rem;
    padding: 0;
    list-style: none;
  }

  .mobile-menu__links a {
    display: block;
    padding: 0.7rem 0.4rem;
    text-decoration: none;
    font-weight: 600;
    color: var(--ink);
  }

  .mobile-menu__links a:hover {
    color: var(--brand);
  }
}

@media (max-width: 640px) {
  .hero__stats {
    flex-wrap: wrap;
    gap: 1.4rem;
  }

  .hero__badge,
  .product__badge {
    display: none;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
