:root {
  --ink: #171118;
  --muted: #5e5661;
  --line: rgba(116, 100, 137, .18);
  --purple: #7b6caf;
  --pink: #c25b8a;
  --green: #6f9f65;
  --paper: #fff;
  --lilac-bg: #f5eff8;
  --pink-bg: #fbf2f6;
  --green-bg: #f3f7ef;
  --radius: 8px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.28;
}

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

a {
  color: inherit;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 22px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.brand {
  display: flex;
  align-items: center;
}

.farmabol-logo {
  width: 92px;
  height: auto;
}

.menu-pill {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-pill span {
  width: 18px;
  height: 2px;
  background: var(--purple);
  border-radius: 99px;
  transform-origin: center;
  transition: transform .2s ease, opacity .2s ease;
}

.desktop-nav {
  display: none;
}

.topbar.is-open .menu-pill span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.topbar.is-open .menu-pill span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 50;
  top: 92px;
  left: 50%;
  width: min(480px, 100vw);
  transform: translateX(-50%);
  padding: 8px 22px 22px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 18px 40px rgba(42, 33, 55, .12);
  opacity: 0;
  pointer-events: none;
  translate: 0 -8px;
  transition: opacity .2s ease, translate .2s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  translate: 0 0;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-subitem {
  min-height: 40px;
  padding-left: 18px;
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 600 !important;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 860px;
  padding: 34px 30px 24px;
  background: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.76) 28%, rgba(255,255,255,.18) 48%, rgba(255,255,255,.04) 100%);
  pointer-events: none;
}

.hero-products {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero-products img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero > :not(.hero-products) {
  position: relative;
  z-index: 2;
}

.neosana-logo {
  width: 120px;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}

h1 {
  max-width: 360px;
  font-size: 38px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 28px;
}

.hero-copy {
  max-width: 335px;
  margin: 24px 0 430px;
  font-size: 17px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.button.pink {
  background: var(--pink);
}

.button.green {
  background: var(--green);
}

.trust {
  padding: 34px 28px 22px;
  display: grid;
  gap: 24px;
}

.trust-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 18px;
}

.trust-icon,
.feature-icon {
  display: grid;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--purple);
  font-family: var(--serif);
  font-size: 30px;
}

.feature-icon-img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.trust-icon {
  width: 58px;
  height: 58px;
  border: 0;
  font-size: 0;
}

.trust-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.trust-title {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.05;
}

.trust-text {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 46px 24px;
}

.section.soft-pink {
  background: var(--pink-bg);
}

.section.soft-green {
  background: var(--green-bg);
}

.section.soft-lilac {
  background: var(--lilac-bg);
}

.product {
  display: grid;
  gap: 24px;
}

.product-image {
  position: relative;
  aspect-ratio: 1 / .86;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eee;
}

.product-image img {
  height: 100%;
  object-fit: cover;
}

.product-slider {
  isolation: isolate;
}

.slider-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track img {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: center;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--pink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 28px rgba(42, 33, 55, .16);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  translate: 0 -50%;
}

.slider-arrow-prev {
  left: 12px;
}

.slider-arrow-next {
  right: 12px;
}

.slider-arrow:hover {
  background: #fff;
}

.lead {
  margin: 0;
  font-size: 18px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.feature {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.1;
}

.feature-icon {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

.product.pink .eyebrow,
.product.pink .feature-icon {
  color: var(--pink);
}

.product.green .eyebrow,
.product.green .feature-icon {
  color: var(--green);
}

.product.purple .eyebrow,
.product.purple .feature-icon {
  color: var(--purple);
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.info-block h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.info-block p {
  margin: 0;
  color: #231d25;
}

.how {
  display: grid;
  gap: 20px;
}

details {
  border-top: 1px solid var(--line);
  padding: 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  color: var(--purple);
  font-weight: 700;
  text-transform: uppercase;
}

summary::-webkit-details-marker {
  display: none;
}

.how-detail {
  display: grid;
  gap: 18px;
}

.how-image {
  aspect-ratio: 1 / .86;
  width: 100%;
  margin: 0 0 18px;
  border-radius: var(--radius);
  object-fit: cover;
}

ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

li + li {
  margin-top: 8px;
}

.study-card {
  display: grid;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
}

.study-card p {
  margin: 0;
}

.study-card small {
  color: var(--muted);
  line-height: 1.28;
}

.faq {
  display: grid;
  gap: 22px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 48px 18px 0;
  color: var(--purple);
  font-size: 16px;
  line-height: 1.42;
  text-transform: uppercase;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  translate: 0 -50%;
  color: var(--purple);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 2px 48px 28px 0;
  color: #221b24;
  line-height: 1.45;
}

.contact-section {
  background: #fff;
}

.where-section {
  background: #fff;
}

.where {
  display: grid;
  gap: 34px;
}

.where h2 {
  text-transform: uppercase;
}

.where-grid {
  display: grid;
  gap: 18px;
}

.where-card {
  display: grid;
  gap: 28px;
  padding: 30px 22px;
  border: 4px solid #eee9f1;
  border-radius: 8px;
  background: #fff;
}

.partner-logo {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.partner-logo strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.partner-logo small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.gdzie-po-lek {
  color: #69afd0;
  font-family: var(--serif);
}

.kto-ma-lek {
  color: #8bb35d;
  font-family: var(--sans);
}

.pin-mark {
  position: relative;
  width: 62px;
  height: 76px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 8px;
  rotate: -45deg;
  background:
    radial-gradient(circle at center, #fff 0 17px, transparent 18px),
    radial-gradient(circle at center, #69afd0 0 100%);
}

.pin-mark::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.pin-mark::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 19px;
  width: 30px;
  height: 3px;
  background: #69afd0;
  rotate: 90deg;
}

.map-mark {
  position: relative;
  width: 76px;
  height: 58px;
  flex: 0 0 auto;
  border: 5px solid currentColor;
  border-top: 0;
  border-radius: 18px;
}

.map-mark::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -34px;
  width: 25px;
  height: 34px;
  border: 5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: #fff;
}

.map-mark::after {
  content: "";
  position: absolute;
  left: 33px;
  top: -21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.where-card .button {
  max-width: 300px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form h2 {
  margin-bottom: 22px;
  text-transform: uppercase;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #423b46;
  font-size: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(116, 100, 137, .14);
  border-radius: 8px;
  background: #eee8f1;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123, 108, 175, .16);
}

.contact-form ::placeholder {
  color: #9b94a0;
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.hidden-field {
  display: none;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you {
  display: grid;
  gap: 24px;
  width: min(620px, 100%);
  text-align: center;
}

.thank-you .farmabol-logo {
  margin: 0 auto;
}

.footer {
  padding: 54px 24px 42px;
  color: var(--ink);
  background: var(--lilac-bg);
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.footer-brand {
  display: grid;
  gap: 26px;
  justify-items: start;
}

.footer-farmabol-logo {
  width: 102px;
}

.footer-neosana-logo {
  width: 116px;
}

.footer-links {
  display: grid;
  gap: 18px;
}

.footer-links h2 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}

.footer-pill {
  justify-self: start;
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--purple);
  font-size: 14px !important;
  line-height: 1;
  text-transform: uppercase;
}

.footer-contact,
.footer-copy {
  margin-top: 38px;
  text-align: center;
  font-size: 14px;
}

.footer-contact p,
.footer-copy {
  margin-bottom: 0;
}

.footer-contact a {
  color: inherit;
}

@media (min-width: 481px) {
  body {
    background: #eeeaf2;
  }

  .page {
    box-shadow: 0 20px 60px rgba(36, 28, 49, .16);
  }
}

@media (min-width: 900px) {
  body {
    background: #fff;
    font-size: 17px;
  }

  .page {
    max-width: none;
    overflow: visible;
    box-shadow: none;
  }

  .topbar {
    min-height: 96px;
    padding: 18px clamp(48px, 7vw, 112px);
  }

  .farmabol-logo {
    width: 132px;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 3vw, 44px);
    font-weight: 700;
  }

  .desktop-nav a,
  .desktop-products-button {
    color: var(--ink);
    text-decoration: none;
  }

  .nav-dropdown {
    position: relative;
  }

  .desktop-products-button {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
  }

  .desktop-products-button::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    rotate: 45deg;
    translate: 0 -2px;
    transition: rotate .18s ease, translate .18s ease;
  }

  .nav-dropdown.is-open .desktop-products-button::after {
    rotate: 225deg;
    translate: 0 2px;
  }

  .desktop-products-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: -22px;
    z-index: 40;
    display: grid;
    min-width: 260px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(42, 33, 55, .14);
    opacity: 0;
    pointer-events: none;
    translate: 0 -8px;
    transition: opacity .18s ease, translate .18s ease;
  }

  .nav-dropdown.is-open .desktop-products-menu,
  .nav-dropdown:focus-within .desktop-products-menu {
    opacity: 1;
    pointer-events: auto;
    translate: 0 0;
  }

  .desktop-products-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--ink);
    white-space: nowrap;
  }

  .desktop-products-menu a:hover {
    background: var(--lilac-bg);
    color: var(--purple);
  }

  .desktop-nav .nav-cta {
    min-width: 132px;
    padding: 14px 24px;
    border-radius: 8px;
    color: #fff;
    background: var(--purple);
    text-align: center;
  }

  .menu-pill,
  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: 660px;
    padding: 72px clamp(64px, 7vw, 128px) 68px;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 32%, rgba(255,255,255,.28) 56%, rgba(255,255,255,0) 100%);
  }

  .hero-products {
    inset: 0;
    width: 100%;
    transform: none;
  }

  .hero-products img {
    object-position: center center;
  }

  .neosana-logo {
    width: 132px;
    margin-bottom: 40px;
  }

  h1 {
    max-width: 650px;
    font-size: clamp(54px, 5vw, 78px);
  }

  h2 {
    font-size: clamp(40px, 3.2vw, 56px);
  }

  .hero-copy {
    max-width: 560px;
    margin: 32px 0 64px;
    font-size: 22px;
  }

  .hero .button {
    width: 320px;
  }

  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    margin: 0 auto;
    padding: 74px 48px;
    gap: 64px;
  }

  .trust-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .trust-icon {
    width: 76px;
    height: 76px;
    font-size: 40px;
  }

  .trust-title {
    font-size: 30px;
  }

  .section {
    padding: 86px clamp(56px, 7vw, 120px);
  }

  .product {
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    grid-template-areas:
      "intro image"
      "lead image"
      "features image"
      "info image"
      "button image";
    align-items: start;
    gap: 28px 64px;
  }

  .product > div:first-child {
    grid-area: intro;
  }

  .product-image {
    grid-area: image;
    position: sticky;
    top: 124px;
    aspect-ratio: 1 / .84;
  }

  .lead {
    grid-area: lead;
    max-width: 590px;
    font-size: 22px;
  }

  .features {
    grid-area: features;
    max-width: 540px;
    gap: 24px;
  }

  .feature {
    font-size: 18px;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .feature-icon-img {
    width: 104px;
    height: 104px;
  }

  .info-list {
    grid-area: info;
    max-width: 620px;
  }

  .product > .button {
    grid-area: button;
    width: 340px;
  }

  .how,
  .faq,
  .where,
  .contact-form {
    max-width: 980px;
    margin: 0 auto;
  }

  .how-detail {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: start;
    gap: 36px;
  }

  .how-detail .how-image {
    margin-top: 0;
  }

  .where {
    max-width: 1280px;
    gap: 78px;
  }

  .where-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }

  .where-card {
    min-height: 300px;
    align-content: center;
    padding: 58px 46px;
    border-radius: 22px;
  }

  .partner-logo strong {
    font-size: 40px;
  }

  .partner-logo small {
    font-size: 20px;
  }

  .contact-section {
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .contact-form {
    gap: 28px;
  }

  .contact-form h2 {
    margin-bottom: 34px;
  }

  .contact-form label {
    font-size: 22px;
  }

  .contact-form input {
    min-height: 44px;
  }

  .contact-form textarea {
    min-height: 96px;
  }

  details,
  .faq-item,
  .study-card {
    font-size: 19px;
  }

  summary,
  .faq-item summary {
    font-size: 18px;
  }

  .study-card {
    grid-template-columns: 1fr 260px;
    align-items: center;
    gap: 16px 36px;
  }

  .study-card .button {
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .footer {
    padding: 92px clamp(56px, 7vw, 120px) 54px;
  }

  .footer > * {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    align-items: start;
    gap: 72px;
  }

  .footer-farmabol-logo {
    width: 128px;
  }

  .footer-neosana-logo {
    width: 130px;
  }

  .footer-contact {
    margin-top: 88px;
  }

  .footer-copy {
    margin-top: 18px;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .product {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "intro"
      "image"
      "lead"
      "features"
      "info"
      "button";
  }

  .product-image {
    position: static;
    max-width: 760px;
  }
}
