:root {
  --gp-teal-700: #0B5F5C;
  --gp-teal-600: #0E7A75;
  --gp-teal-500: #14918B;
  --gp-teal-100: #E6F4F3;
  --gp-teal-50: #F3FAF9;

  --gp-navy-900: #0C1B2A;
  --gp-navy-700: #1B3348;
  --gp-navy-500: #3A556B;

  --gp-gold-600: #B0892E;
  --gp-gold-500: #C4A35A;
  --gp-gold-100: #F6EFD9;

  --gp-ink: #12202C;
  --gp-body: #3A4A56;
  --gp-muted: #6B7C86;
  --gp-line: #D7E2E6;
  --gp-paper: #F7F4EE;
  --gp-white: #FFFFFF;

  --gp-live: #1B7F4E;
  --gp-soon: #9A6B12;
  --gp-danger: #B42318;
}

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

html {
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gp-paper);
  color: var(--gp-ink);
  font-family: ui-sans-serif, "Segoe UI", "Noto Sans", system-ui, sans-serif;
  overflow-wrap: break-word;
}

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

body.nav-lock {
  overflow: hidden;
}

main {
  flex: 1;
}

#content {
  scroll-margin-top: 88px;
}

#content:focus,
#content:focus-visible {
  outline: none;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  background: var(--gp-teal-700);
  color: var(--gp-white);
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--gp-teal-600);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header a,
.site-header summary,
.site-footer a,
.nav-toggle {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--gp-white);
  border-bottom: 1px solid var(--gp-line);
}

.site-header__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 44px;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
}

.nav-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gp-navy-900);
  border-radius: 1px;
}

.site-nav {
  display: none;
  flex: 1 1 100%;
  padding: 8px 0 24px;
  border-top: 1px solid var(--gp-line);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

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

.site-nav__list,
.nav-products__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.nav-products summary {
  color: var(--gp-navy-900);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.nav-products summary[aria-current="page"],
.site-nav a:hover,
.nav-products summary:hover {
  color: var(--gp-teal-700);
}

.site-nav__list > li > a,
.nav-products summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}

.nav-products summary {
  cursor: pointer;
  list-style: none;
  gap: 8px;
}

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

.nav-products summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.nav-products[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-products__menu {
  padding: 4px 0 8px 12px;
}

.nav-products__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.badge--live {
  color: var(--gp-live);
  background: var(--gp-teal-50);
}

.badge--soon {
  color: var(--gp-navy-700);
  background: var(--gp-gold-100);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn--secondary {
  background: transparent;
  color: var(--gp-teal-700);
  border-color: var(--gp-teal-700);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--gp-teal-50);
  color: var(--gp-teal-700);
}

.btn--primary {
  background: var(--gp-teal-700);
  color: var(--gp-white);
}

.btn--primary:hover,
.btn--primary:focus-visible,
.site-header .btn--primary[aria-current="page"] {
  background: var(--gp-teal-600);
  color: var(--gp-white);
}

.site-header .btn--primary {
  color: var(--gp-white);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    flex-wrap: nowrap;
    gap: 24px;
  }

  .logo {
    flex: 0 0 auto;
  }

  .site-nav {
    display: block;
    flex: 0 1 auto;
    margin-left: auto;
    padding: 0;
    border-top: 0;
    max-height: none;
    overflow: visible;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-nav__list > li > a,
  .nav-products summary {
    padding: 0 12px;
  }

  .nav-products {
    position: relative;
  }

  .nav-products__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: var(--gp-white);
    border: 1px solid var(--gp-line);
    border-radius: 16px;
  }

  .nav-products__menu a {
    padding: 0 12px;
    border-radius: 10px;
  }

  .nav-products__menu a:hover {
    background: var(--gp-teal-50);
  }
}

/* Footer */

.site-footer {
  background: var(--gp-navy-900);
  color: var(--gp-paper);
  margin-top: 48px;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  padding: 48px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.site-footer .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__brand p {
  margin: 8px 0 0;
  max-width: 62ch;
  color: var(--gp-paper);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gp-paper);
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--gp-teal-500);
}

.site-footer__legal {
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-teal-100);
}

.site-footer__legal p {
  margin: 0 0 8px;
}

.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gp-paper);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--gp-teal-500);
}

.site-footer__copy {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--gp-navy-700);
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-teal-100);
}

@media (min-width: 1024px) {
  .site-footer__inner {
    padding: 64px 0 40px;
  }
}

/* Home */

.home__inner,
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.home section,
.page section {
  padding: 64px 0;
}

.home h1,
.home h2,
.home h3,
.page h1,
.page h2,
.page h3 {
  color: var(--gp-navy-900);
  font-weight: 700;
}

.home h1,
.page h1 {
  margin: 12px 0 16px;
  font-size: 28px;
  line-height: 1.2;
}

.home h2,
.page h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.25;
}

.home h3,
.page h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.home p,
.page p {
  margin: 0 0 16px;
  max-width: 62ch;
  color: var(--gp-body);
  font-size: 16px;
  line-height: 1.6;
}

.page .lead {
  margin-bottom: 32px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-body);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gp-teal-700);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.product__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  max-width: none;
}

.page ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
  max-width: 62ch;
  color: var(--gp-body);
  font-size: 16px;
  line-height: 1.6;
}

.page li {
  margin-bottom: 8px;
}

.status {
  max-width: 62ch;
  margin: 24px 0 0;
  padding: 24px;
  background: var(--gp-gold-100);
  border-radius: 16px;
  border-left: 3px solid var(--gp-gold-600);
}

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

.related .card-grid {
  margin-top: 8px;
}

.steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.steps > li {
  position: relative;
  margin: 0;
  padding: 24px 24px 24px 72px;
  background: var(--gp-white);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(12, 27, 42, 0.08);
}

.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gp-teal-100);
  color: var(--gp-teal-700);
  font-size: 14px;
  font-weight: 700;
}

.steps h3 {
  margin-top: 4px;
}

.steps p {
  margin: 0;
  max-width: none;
}

.card-grid--3 {
  margin-top: 8px;
}

.facts {
  margin: 0;
  max-width: 62ch;
}

.facts div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gp-line);
}

.facts dt {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--gp-navy-900);
}

.facts dd {
  margin: 0;
  color: var(--gp-body);
  font-size: 16px;
  line-height: 1.6;
}

.facts a {
  color: var(--gp-teal-700);
  text-decoration: none;
}

.facts a:hover,
.facts a:focus-visible {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .steps,
  .card-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .related .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact__aside {
  margin-top: 24px;
  padding: 24px;
  background: var(--gp-white);
  border-radius: 16px;
}

.contact__aside p {
  margin: 0;
  max-width: none;
}

.contact__aside a {
  color: var(--gp-teal-700);
  text-decoration: none;
}

.contact__aside a:hover,
.contact__aside a:focus-visible {
  text-decoration: underline;
}

.contact__form .btn {
  margin-top: 8px;
}

.contact__fields {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--gp-navy-900);
}

.req {
  color: var(--gp-danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--gp-line);
  border-radius: 10px;
  background: var(--gp-white);
  color: var(--gp-ink);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--gp-danger);
}

.page .field__error {
  margin: 6px 0 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-danger);
}

.page .form-alert,
.page .form-status {
  max-width: none;
  padding: 12px 16px;
  border-radius: 10px;
}

.page .form-alert {
  border: 1px solid var(--gp-danger);
  color: var(--gp-danger);
  background: var(--gp-white);
}

.page .form-status {
  background: var(--gp-teal-50);
  color: var(--gp-teal-700);
}

.page .form-status a {
  color: var(--gp-teal-700);
}

@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .contact__aside {
    margin-top: 8px;
  }
}

.overline {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gp-teal-700);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gp-paper);
}

.hero__mark {
  position: absolute;
  right: -24px;
  top: 12px;
  width: 220px;
  height: 220px;
  color: var(--gp-teal-600);
  opacity: 0.08;
  pointer-events: none;
}

.hero .lead {
  margin-bottom: 24px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__ctas .btn {
  width: 100%;
}

.home-medicines {
  background: var(--gp-white);
  border-top: 1px solid var(--gp-line);
  border-bottom: 1px solid var(--gp-line);
}

.home-medicines .btn {
  margin-top: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 24px;
  background: var(--gp-white);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(12, 27, 42, 0.08);
}

.card p {
  max-width: none;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}

.card__mono {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gp-teal-100);
  color: var(--gp-teal-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card__cat {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-body);
}

.card__chips {
  margin: 0 0 12px;
}

.chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--gp-gold-600);
  border-radius: 999px;
  color: var(--gp-navy-700);
  background: transparent;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.card h3 a {
  color: var(--gp-navy-900);
  text-decoration: none;
}

.card h3 a:hover,
.card h3 a:focus-visible {
  color: var(--gp-teal-700);
}

.card__domain {
  margin-top: auto;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gp-body);
}

.card .btn {
  width: 100%;
  margin-top: auto;
}

.card .card__domain + .btn {
  margin-top: 0;
}

.home-soon .card .btn {
  margin-top: auto;
}

.pillars {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.pillar {
  padding: 24px;
  background: var(--gp-white);
  border-radius: 16px;
  border-top: 2px solid var(--gp-gold-600);
}

.pillar__icon {
  display: block;
  margin-bottom: 12px;
  color: var(--gp-teal-700);
}

.pillar p {
  margin: 0;
  max-width: none;
}

.home-close {
  background: var(--gp-teal-700);
}

.home-close h2 {
  color: var(--gp-white);
  margin-bottom: 24px;
}

.btn--on-dark {
  background: var(--gp-white);
  color: var(--gp-teal-700);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background: var(--gp-teal-50);
  color: var(--gp-teal-700);
}

@media (min-width: 768px) {
  .hero__ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__ctas .btn {
    width: auto;
  }

  .card-grid,
  .pillars {
    grid-template-columns: 1fr 1fr;
  }

  .card .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .home section,
  .page section {
    padding: 96px 0;
  }

  .home h1,
  .page h1 {
    font-size: 40px;
    line-height: 1.15;
  }

  .home h1 {
    max-width: 16ch;
  }

  .home h2,
  .page h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .home h3,
  .page h3 {
    font-size: 20px;
  }

  .hero__mark {
    right: 8%;
    top: 24px;
    width: 280px;
    height: 280px;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
