@import url('https://use.typekit.net/qjl2mpy.css');

@font-face {
  font-family: 'Hurme';
  src: url('./assets/fonts/hurme-geometric-bold.woff2') format('woff2'),
    url('./assets/fonts/hurme-geometric-bold.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: 'sofia-pro', sans-serif;
  --font-heading: 'Hurme', Helvetica, Arial, sans-serif;
  --white: #ffffff;
  --brand-primary: #ffd326;
  --brand-primary-lighter: #fef6dc;
  --gray: #333333;
  --gray-light: #79776b;
  --gray-dark: #2b2b2b;
  --border: #d1cdc1;
  --container: 1200px;
  --gutter: 16px;
  --shadow: 0 0.4px 0.4px rgba(0, 0, 0, 0.02),
    0 1px 1px rgba(0, 0, 0, 0.03), 0 2.1px 2.1px rgba(0, 0, 0, 0.04),
    0 4.4px 4.4px rgba(0, 0, 0, 0.05), 0 12px 12px rgba(0, 0, 0, 0.07);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background: var(--white);
}

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

a {
  color: var(--gray);
}

p {
  margin: 0 0 24px;
}

p a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  margin-top: 0;
}

h3 {
  font-family: var(--font-body);
  font-weight: 500;
  margin-top: 0;
}

h1 {
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 32px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 32px;
}

h3 {
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 32px;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: transform 0.24s ease, background-color 0.24s ease,
    backdrop-filter 0.24s ease, -webkit-backdrop-filter 0.24s ease,
    box-shadow 0.24s ease;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  position: relative;
}

.brand img {
  width: 60px;
  height: 25px;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  height: 100%;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--gray);
  text-decoration: none;
  font-size: 16px;
}

.topbar.is-hidden {
  transform: translateY(-100%);
}

.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 700px;
  text-align: left;
  background-color: var(--brand-primary-lighter);
  background-image: url('./assets/hero_dot_bg1.png');
  background-repeat: no-repeat;
  background-position: 50% 30%;
  background-size: 338px;
  color: var(--gray);
  padding-top: 115px;
}

.hero__grid,
.row,
.row-centered {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

.hero__copy,
.hero__media,
.row > *,
.row-centered > * {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-left: 8px;
  padding-right: 8px;
}

.hero__copy {
  padding-top: 36px;
  padding-bottom: 48px;
  text-align: center;
}

.hero__media {
  display: none;
}

.hero__mobile-image {
  display: block;
  width: 100%;
  max-width: 265px;
  margin: 0 auto 30px;
}

.hero__description {
  margin: 0 auto 35px auto;
  font-size: 18px;
  line-height: 24px;
  max-width: 453px;
}

.rule {
  display: block;
  height: 2px;
  width: 75px;
  border: 0;
  background: var(--brand-primary);
  margin: -16px auto 24px;
}

.rule-dark {
  background: var(--gray-dark);
}

.rule-center {
  margin-left: auto;
  margin-right: auto;
}

.rule-left {
  margin-left: 0;
  margin-right: 0;
}

.option-picker {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.option-card {
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 168px;
  min-height: 76px;
  padding: 8px;
  background: transparent;
  color: var(--gray);
}

.option-card.is-active {
  border: 2px solid var(--brand-primary);
}

.option-card img {
  width: 60px;
  opacity: 0.65;
  transition: opacity 0.2s linear;
}

.option-card.is-active img {
  opacity: 1;
}

.option-card span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 4px;
  font-size: 14px;
}

.option-card strong {
  font-weight: 600;
}

.option-card small {
  display: none;
}

.purchase-card {
  max-width: 344px;
  margin: 24px auto 0;
}

.plan-option {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px 10px 32px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: default;
  text-align: left;
  font-weight: 700;
  background: transparent;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.plan-option__mark {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  transform: translateY(-50%);
}

.plan-option__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.plan-option input:checked + .plan-option__mark::after {
  background: var(--brand-primary);
}

.plan-option__label {
  flex-grow: 1;
}

.plan-option__price {
  margin-left: 12px;
}

.button {
  position: relative;
  width: 100%;
  min-width: 160px;
  height: 50px;
  padding-left: 30px;
  padding-right: 30px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-primary);
}

.button:hover {
  box-shadow: var(--shadow);
}

.button:disabled {
  opacity: 0.5;
  cursor: default;
}

.purchase-card__meta {
  margin-top: 16px;
  font-size: 14px;
}

.section {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
}

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

.section--tinted,
.section--nutrition {
  background-color: var(--brand-primary-lighter);
}

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

.row--center {
  align-items: center;
}

.content {
  text-align: left;
}

.content-text-centered {
  text-align: center;
}

.icons-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icons {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.icon {
  margin: 16px 0;
  text-align: center;
}

.icon-box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray);
  margin: 0 auto;
}

.icon-box img {
  width: 45px;
}

.icon span {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.content-text-centered {
  text-align: center;
}

.content-text-centered img {
  width: 140px;
  margin: 0 auto 16px;
}

.section-quality {
  padding: 0;
}

.faq-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 8px;
  padding-right: 8px;
}

.row-centered {
  align-items: center;
}

.image-col {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.image-col img {
  padding: 0 16px 32px;
  margin: 0 auto;
}

.content-quality {
  text-align: left;
  padding-top: 72px;
  padding-bottom: 48px;
}

.accordion-group {
  margin-top: 24px;
}

details {
  border-bottom: 1px solid var(--gray);
  padding: 18px 0;
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  position: relative;
  padding-right: 55px;
}

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

summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 25px;
  border: 2px solid var(--brand-primary);
  box-sizing: border-box;
  transform: translateY(-50%);
}

summary::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 30px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
  transform: translateY(calc(-50% - 1px)) rotate(-45deg);
  transform-origin: 66.66% 66.66%;
}

details[open] summary::before {
  transform: translateY(calc(-50% - 1px)) rotate(45deg);
}

details p {
  margin: 16px 0 0;
}

.nutrition-card {
  border-top: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.nutrition-card summary {
  display: flex;
  align-items: center;
  text-align: left;
}

.nutrition-card summary img {
  width: 90px;
  position: absolute;
  left: 0;
  top: -10px;
}

.nutrition-card summary span {
  padding-left: 80px;
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.nutrition-card summary::after {
  top: 50%;
  right: 15px;
}

.nutrition-card summary::before {
  top: 50%;
  right: 30px;
}

.nutrition-card__body {
  width: 94%;
  padding-top: 16px;
}

.content-nutritional-info {
  width: 100%;
}

table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
}

td {
  padding: 8px 0;
}

.align-right {
  text-align: right;
}

.footer-lite {
  border-top: 1px solid rgba(51, 51, 51, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.footer-lite__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--gray-light);
}

.footer-lite__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-lite__links a {
  color: var(--gray-light);
  text-decoration: none;
}

.footer-lite__links a:hover {
  color: var(--gray);
}

@media screen and (min-width: 1280px) {
  .container {
    max-width: var(--container);
  }

  h1 {
    font-size: 40px;
    line-height: 48px;
  }

  h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .hero {
    background-position-x: calc(50% - 235px);
    background-position-y: 60%;
    background-size: 536px;
  }

  .hero__copy {
    width: 41.666667%;
    text-align: left;
    padding-top: 0;
    align-self: center;
  }

  .hero__media {
    width: 50%;
    display: block;
    align-self: center;
  }

  .hero__grid {
    flex-direction: row-reverse;
    align-items: center;
  }

  .hero__media img {
    width: auto;
    max-width: 486px;
    max-height: 560px;
    margin: 0 auto;
    object-fit: contain;
  }

  .hero__mobile-image {
    display: none;
  }

  .hero__description {
    max-width: 353px;
    margin-left: 0;
    margin-right: 0;
  }

  .rule {
    margin-left: 0;
    margin-right: 0;
  }

  .option-picker {
    justify-content: flex-start;
  }

  .purchase-card {
    margin-left: 0;
    margin-right: 0;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .topbar {
    background: transparent;
  }

  .topbar__inner {
    justify-content: space-between;
  }

  .content {
    width: 50%;
    text-align: left;
  }

  .icons-container,
  .content-text-centered,
  .image-col,
  .content-quality {
    width: 50%;
  }

  .icons-container {
    width: 41.666667%;
    margin-left: 8.333333%;
  }

  .content-nutritional-info {
    width: 66.666667%;
    margin-left: 16.666667%;
  }

  .image-col img {
    padding: 0 32px 0 0;
  }
}

@media screen and (max-width: 1279px) {
  .container,
  .faq-container,
  .topbar__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    min-height: auto;
    padding-top: 105px;
  }

  .hero__copy,
  .hero__media,
  .row > *,
  .row-centered > * {
    padding-left: 12px;
    padding-right: 12px;
  }

  .content,
  .icons-container,
  .content-text-centered,
  .image-col,
  .content-quality {
    width: 50%;
  }

  .icons-container {
    margin-left: 0;
  }

  .content-nutritional-info {
    width: 100%;
    margin-left: 0;
  }

  .faq-container {
    max-width: 738px;
  }

  .content-quality {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .image-col img {
    padding-right: 16px;
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  .container,
  .faq-container,
  .topbar__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    background-position: 50% 26%;
    background-size: 300px;
  }

  .hero__copy,
  .hero__media,
  .row > *,
  .row-centered > * {
    padding-left: 8px;
    padding-right: 8px;
  }

  .option-picker {
    gap: 8px;
  }

  .option-card {
    width: calc(50% - 4px);
    min-width: 0;
    padding: 8px;
  }

  .option-card img {
    width: 44px;
  }

  .option-card span {
    margin-left: 6px;
    font-size: 14px;
  }

  .purchase-card {
    max-width: 100%;
  }

  .plan-option {
    font-size: 14px;
  }

  .plan-option__price {
    margin-left: 8px;
  }

  .content,
  .icons-container,
  .content-text-centered,
  .image-col,
  .content-quality {
    width: 100%;
    text-align: center;
  }

  .content {
    text-align: center;
  }

  .rule-left {
    margin-left: auto;
    margin-right: auto;
  }

  .icons {
    flex-direction: column;
  }

  .content-quality {
    padding-top: 0;
    padding-bottom: 32px;
    text-align: center;
  }

  .row-centered {
    flex-direction: column-reverse;
  }

  .image-col img {
    padding: 0 8px 24px;
    max-width: 260px;
  }

  .nutrition-card summary span {
    padding-left: 72px;
    font-size: 22px;
  }

  .footer-lite__inner {
    flex-direction: column;
    text-align: center;
  }
}
