:root {
  --navy: #17254a;
  --charcoal: #20242e;
  --warm-white: #fafaf7;
  --light-grey: #eef1f4;
  --white: #ffffff;
  --green: #5a9b5b;
  --blue: #315bb7;
  --blue-deep: #1f3e85;
  --blue-pale: #eaf1ff;
  --red: #d82f35;
  --red-deep: #a91f27;
  --red-pale: #fff0f1;
  --line: rgba(23, 37, 74, 0.14);
  --shadow: 0 24px 60px rgba(23, 37, 74, 0.14);
  --radius: 8px;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--warm-white);
  font-family: var(--sans);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(90, 155, 91, 0.5);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

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

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

.top-bar {
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
}

.top-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(32, 36, 46, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a {
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--navy);
}

.header-action,
.order-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(23, 37, 74, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-action {
  background: var(--navy);
}

.order-button:hover,
.header-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(23, 37, 74, 0.2);
}

.pressure-action {
  background: var(--blue);
}

.pressure-action:hover {
  background: var(--blue-deep);
}

.sugar-action {
  background: var(--red);
}

.sugar-action:hover {
  background: var(--red-deep);
}

.menu-toggle,
.close-panel {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  padding: 88px 0;
}

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

.section-heading p:last-child {
  font-size: 1.08rem;
}

.eyebrow,
.small-label {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 1rem 0 0;
}

.hero {
  min-height: calc(100vh - 118px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 47, 53, 0.16), transparent 28rem),
    radial-gradient(circle at 58% 76%, rgba(49, 91, 183, 0.2), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, var(--warm-white) 48%, #eef3ee 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto auto;
  width: min(48vw, 620px);
  height: min(48vw, 620px);
  border: 1px solid rgba(23, 37, 74, 0.08);
  border-radius: 50%;
  transform: translateX(18%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -8rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(90, 155, 91, 0.14);
  border-radius: 50%;
}

.hero__inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 56px 0;
}

.hero__content {
  max-width: 650px;
}

.hero__content > p:not(.eyebrow):not(.trust-note) {
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.trust-note {
  color: rgba(32, 36, 46, 0.72);
  font-size: 0.95rem;
}

.hero__art {
  min-height: 560px;
  position: relative;
  isolation: isolate;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: 13% 5% 12% 6%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.38)),
    linear-gradient(90deg, rgba(234, 241, 255, 0.84), rgba(255, 240, 241, 0.84));
  box-shadow: 0 36px 90px rgba(23, 37, 74, 0.16);
  z-index: -2;
}

.hero__art::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 12%;
  bottom: 10%;
  height: 22px;
  border-radius: 50%;
  background: rgba(23, 37, 74, 0.18);
  filter: blur(18px);
  z-index: -1;
}

.hero__halo,
.product-image-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(90, 155, 91, 0.18);
  border-radius: 50%;
  transform: rotate(28deg) scaleX(0.72);
}

.hero__halo {
  width: min(68%, 430px);
  height: min(68%, 430px);
  left: 18%;
  top: 12%;
  border-color: rgba(90, 155, 91, 0.22);
}

.hero__product {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0;
}

.hero__product img {
  filter: drop-shadow(0 30px 28px rgba(23, 37, 74, 0.2));
}

.hero__product--pressure {
  left: 8%;
  bottom: 10%;
}

.hero__product--pressure img {
  width: min(22vw, 270px);
}

.hero__product--sugar {
  right: 6%;
  top: 10%;
}

.hero__product--sugar img {
  width: min(24vw, 300px);
}

.hero__product figcaption {
  min-width: 190px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 36px rgba(23, 37, 74, 0.12);
  font-weight: 900;
  line-height: 1.25;
  backdrop-filter: blur(16px);
}

.hero__product figcaption span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--green);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.formula-card,
.buy-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.pressure-panel {
  background: linear-gradient(135deg, var(--white), var(--blue-pale));
}

.sugar-panel {
  background: linear-gradient(135deg, var(--white), var(--red-pale));
}

.formula-card__image {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.formula-card img,
.buy-card img {
  width: 190px;
  filter: drop-shadow(0 18px 20px rgba(23, 37, 74, 0.16));
}

.check-list,
.care-list,
.price-card ul {
  padding: 0;
  margin: 1.2rem 0;
  list-style: none;
}

.check-list li,
.care-list li,
.price-card li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.55rem 0;
}

.check-list li::before,
.care-list li::before,
.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.intro-section,
.routine-section,
.buy-section {
  background: var(--white);
}

.intro-layout,
.care-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.intro-layout > p {
  margin: 0;
  font-size: 1.12rem;
}

.product-stage {
  overflow: hidden;
}

.pressure-stage {
  background: linear-gradient(135deg, var(--warm-white), var(--blue-pale));
}

.sugar-stage {
  background: linear-gradient(135deg, var(--warm-white), var(--red-pale));
}

.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.product-layout--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.product-layout--reverse .product-copy {
  order: 2;
}

.product-copy {
  max-width: 680px;
}

.product-copy h3 {
  margin-top: 1.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.feature-card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.product-image-panel {
  min-height: 480px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.product-image-panel img {
  width: min(320px, 76%);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 28px rgba(23, 37, 74, 0.2));
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.routine-grid article,
.price-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(23, 37, 74, 0.08);
}

.routine-grid article {
  padding: 1.2rem;
}

.routine-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--green);
  font-weight: 900;
}

.comparison-section,
.prices-section,
.faq-section {
  background: var(--warm-white);
}

.comparison-grid {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.78fr 1fr 1fr;
}

.comparison-row > div {
  padding: 1rem;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.comparison-row > div:last-child {
  border-right: 0;
}

.comparison-head > div {
  border-top: 0;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.comparison-row > div:first-child {
  color: var(--navy);
  font-weight: 900;
}

.comparison-actions .order-button {
  width: 100%;
}

.product-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.switch-option {
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.switch-option.is-selected {
  color: var(--white);
  background: var(--navy);
}

.price-set {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
}

.price-card--featured {
  transform: translateY(-10px);
  border-color: rgba(90, 155, 91, 0.55);
  box-shadow: 0 26px 70px rgba(23, 37, 74, 0.16);
}

.badge {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--light-grey);
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin-top: 1rem;
  color: var(--navy);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.price-card .order-button {
  margin-top: auto;
  width: 100%;
}

.pricing-note {
  margin-top: 1.2rem;
  color: rgba(32, 36, 46, 0.72);
  font-size: 0.95rem;
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.care-section {
  color: var(--white);
  background: var(--navy);
}

.care-section h2,
.care-section .eyebrow {
  color: var(--white);
}

.care-section p,
.care-list {
  color: rgba(255, 255, 255, 0.86);
}

.care-list {
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}

.care-list li {
  break-inside: avoid;
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 0;
  color: var(--navy);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--green);
  font-size: 1.4rem;
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 1rem 1rem;
}

.faq-answer p {
  margin-top: 0;
}

.faq-answer a {
  color: var(--blue);
  font-weight: 800;
}

.final-choice {
  padding: 70px 0;
  background: linear-gradient(90deg, var(--blue-pale), var(--white), var(--red-pale));
}

.final-choice__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.final-choice h2 {
  max-width: 780px;
}

.final-choice__actions {
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  padding: 52px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--charcoal);
}

.site-footer .brand {
  color: var(--white);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}

.footer-layout p {
  max-width: 560px;
}

.footer-menu {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.footer-menu a,
.footer-menu button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer-menu a:hover,
.footer-menu button:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(23, 37, 74, 0.62);
}

.legal-window {
  width: min(640px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.close-panel--modal {
  display: block;
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.close-panel span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
}

.close-panel span:first-child {
  transform: translateY(1px) rotate(45deg);
}

.close-panel span:last-child {
  transform: translateY(-1px) rotate(-45deg);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1040px) {
  .desktop-only,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.2rem 1.2rem;
    background: var(--white);
    box-shadow: -24px 0 60px rgba(23, 37, 74, 0.18);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu .close-panel {
    display: block;
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 54px 0 42px;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero__art {
    min-height: 440px;
  }

  .hero__product--pressure img,
  .hero__product--sugar img {
    width: min(34vw, 260px);
  }

  .choice-grid,
  .product-layout,
  .product-layout--reverse,
  .routine-grid,
  .buy-grid,
  .intro-layout,
  .care-layout,
  .faq-layout,
  .final-choice__inner,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .product-layout--reverse .product-copy {
    order: 0;
  }

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

  .price-set {
    grid-template-columns: 1fr;
  }

  .price-card--featured {
    order: -2;
    transform: none;
  }

  .price-card:nth-child(3) {
    order: -1;
  }

  .care-list {
    columns: 1;
  }

  .final-choice__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  .top-bar__inner {
    justify-content: center;
    text-align: center;
  }

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

  .hero__inner {
    padding: 44px 0 32px;
  }

  .hero__art {
    min-height: 420px;
  }

  .hero__art::before {
    inset: 10% 0 10%;
  }

  .hero__halo {
    left: 11%;
    top: 16%;
  }

  .hero__product--pressure {
    left: 2%;
    bottom: 12%;
  }

  .hero__product--pressure img {
    width: 154px;
  }

  .hero__product--sugar {
    right: 2%;
    top: 11%;
  }

  .hero__product--sugar img {
    width: 162px;
  }

  .hero__product figcaption {
    min-width: 138px;
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
  }

  .hero__actions,
  .final-choice__actions {
    flex-direction: column;
  }

  .order-button,
  .header-action {
    width: 100%;
  }

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

  .formula-card__image {
    min-height: 220px;
  }

  .feature-grid,
  .routine-grid {
    grid-template-columns: 1fr;
  }

  .product-image-panel {
    min-height: 320px;
  }

  .comparison-grid {
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .comparison-head {
    display: none;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 16px 38px rgba(23, 37, 74, 0.08);
  }

  .comparison-row > div {
    border-right: 0;
  }

  .comparison-row > div:nth-child(2)::before {
    content: "Blood Pressure Support: ";
    font-weight: 900;
    color: var(--blue);
  }

  .comparison-row > div:nth-child(3)::before {
    content: "Blood Sugar Support: ";
    font-weight: 900;
    color: var(--red);
  }

  .comparison-row > div:first-child {
    background: var(--light-grey);
  }
}

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