:root {
  --cream: #fff2e6;
  --ink: #25170e;
  --muted: #bfa199;
  --max-width: 1340px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Montserrat", sans-serif;
  --display-size: clamp(3.1rem, 4.45vw, 4rem);
  --section-title-size: clamp(2.15rem, 2.8vw, 2.5rem);
  --body-copy-size: clamp(1rem, 1.7vw, 1.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

.content-section {
  width: min(var(--max-width), calc(100% - 100px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 56.25vw, 810px);
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  background:
    url("./public/assets/newhero.png") center center / cover no-repeat,
    #735139;
  clip-path: ellipse(83% 61% at 50% 38%);
  margin-bottom: -24px;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 11, 6, 0.58) 0%, rgba(20, 11, 6, 0.13) 34%, transparent 58%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(480px, calc(100% - 48px));
  margin-left: max(50px, calc((100vw - var(--max-width)) / 2));
  margin-top: -80px;
  padding-top: 4px;
}

.hero h1 {
  max-width: 520px;
  font-family: var(--serif);
  font-size: var(--display-size);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-wrap: balance;
}

.hero p {
  margin-top: 30px;
  color: #e1d0bf;
  font-size: 1rem;
  font-weight: 600;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid #d68b55;
  outline-offset: 4px;
}

.button--glass {
  width: 330px;
  max-width: 100%;
  margin-top: 50px;
  border: 1px solid rgba(255, 242, 230, 0.34);
  color: var(--cream);
  background: rgba(255, 242, 230, 0.22);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.button--glass:hover {
  background: rgba(255, 242, 230, 0.34);
}

.founder {
  display: grid;
  min-height: 375px;
  place-items: center;
  padding-block: 72px 60px;
}

.founder__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 58px;
}

.founder__portrait {
  width: 183px;
  height: 183px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
}

.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder__copy {
  width: 440px;
}

.founder h2,
.section-heading h2,
.benefit h2,
.subscription h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.founder h2 {
  font-size: var(--section-title-size);
}

.founder blockquote {
  margin-top: 22px;
  font-size: var(--body-copy-size);
  font-style: italic;
  line-height: 1.34;
}

.divider {
  width: min(var(--max-width), calc(100% - 100px));
  height: 18px;
  margin-inline: auto;
  background-image: url("data:image/svg+xml,%3Csvg width='1340' height='18' viewBox='0 0 1340 18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 8C35 4 69 13 103 8S171 13 205 8 273 12 307 8 375 13 409 8 477 12 511 8 579 13 613 8 681 12 715 8 783 13 817 8 885 12 919 8 987 13 1021 8 1089 12 1123 8 1191 13 1237 8 1286 12 1340 8' fill='none' stroke='%2325170e' stroke-width='1.2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 18px;
  opacity: 0.9;
}

.discovery {
  padding-block: 72px 90px;
}

.section-heading {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: var(--section-title-size);
}

.section-heading p {
  margin-top: 36px;
  font-size: var(--body-copy-size);
  line-height: 1.34;
}

.process {
  display: grid;
  grid-template-columns: 1fr 64px 0.82fr 56px 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 54px auto 0;
}

.process__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process__item h3,
.process__item p {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.process__item > img:not(.process__logo) {
  width: 100%;
  height: 235px;
  object-fit: contain;
}

.process__logo {
  display: block;
  margin-bottom: 2px;
  padding-left: 0.26em;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1;
  white-space: nowrap;
}

.process__item--box > img:not(.process__logo) {
  width: 301px;
}

.process__item--box p {
  margin-top: -2px;
}

.process__brace,
.process__dash {
  color: rgba(37, 23, 14, 0.48);
  font-family: var(--sans);
  font-size: 13rem;
  font-weight: 200;
  line-height: 0.5;
  text-align: center;
}

.process__dash {
  font-size: 3.75rem;
  transform: translateY(-8px);
}

.benefits {
  padding-block: 68px 88px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 90px;
}

.benefit {
  display: flex;
  min-height: 186px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.benefit--wide {
  grid-column: 1 / -1;
  width: 560px;
  max-width: 100%;
  justify-self: center;
}

.benefit__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.benefit__top img {
  width: 118px;
  height: 96px;
  object-fit: contain;
}

.benefit h2 {
  font-size: var(--section-title-size);
}

.benefit p {
  max-width: 550px;
  margin-top: 18px;
  font-size: var(--body-copy-size);
  line-height: 1.34;
}

.subscription {
  display: flex;
  min-height: 680px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 72px;
  text-align: center;
}

.subscription h2 {
  font-size: var(--display-size);
}

.subscription__intro {
  max-width: 780px;
  margin-top: 10px;
  font-size: var(--body-copy-size);
  line-height: 1.34;
}

.plan-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
  margin-top: 32px;
  padding: 6px;
  gap: 6px;
  border: 1px solid rgba(37, 23, 14, 0.28);
  border-radius: 28px;
}

.plan-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 96px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border: 0;
  border-radius: 21px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.plan-option:hover:not(.is-active) {
  background: rgba(37, 23, 14, 0.06);
}

.plan-option:focus-visible {
  outline: 3px solid #d68b55;
  outline-offset: 3px;
}

.plan-option.is-active {
  color: var(--cream);
  background: var(--ink);
}

.plan-option__duration {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-option strong {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.plan-option__detail {
  margin-top: 5px;
  color: rgba(37, 23, 14, 0.58);
  font-size: 0.7rem;
}

.plan-option.is-active .plan-option__detail {
  color: rgba(255, 242, 230, 0.68);
}

.price {
  display: flex;
  align-items: baseline;
  margin-block: 20px 20px;
  line-height: 1;
}

.price strong {
  font-size: 5.2rem;
  font-weight: 600;
  letter-spacing: -0.09em;
}

.price span {
  font-size: 1.3rem;
  font-weight: 600;
}

.button--dark {
  width: 464px;
  max-width: 100%;
  min-height: 80px;
  color: var(--cream);
  background: var(--ink);
  font-size: 1.45rem;
}

.button--dark:hover {
  background: #432719;
  box-shadow: 0 14px 30px rgba(37, 23, 14, 0.16);
}

.subscription__shipping {
  margin-top: -6px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.subscription__note {
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 200;
}

.subscription__urgency {
  margin-top: 6px;
  color: rgba(37, 23, 14, 0.56);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 200;
}

.footer {
  display: flex;
  width: min(var(--max-width), calc(100% - 100px));
  min-height: 130px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  color: rgba(37, 23, 14, 0.56);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content {
    animation: hero-enter 850ms cubic-bezier(0.23, 1, 0.32, 1) both;
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 900px) {
  .content-section,
  .divider,
  .footer {
    width: min(100% - 40px, 720px);
  }

  .hero {
    min-height: 760px;
    background-position: 58% center;
    clip-path: ellipse(108% 61% at 50% 38%);
  }

  .hero__shade {
    background: linear-gradient(90deg, rgba(20, 11, 6, 0.62), rgba(20, 11, 6, 0.08) 78%);
  }

  .hero__content {
    margin-left: 36px;
    margin-top: 0;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process__item {
    width: min(420px, 100%);
    margin-inline: auto;
  }

  .process__brace,
  .process__dash {
    display: none;
  }

  .process__item--box {
    position: relative;
  }

  .process__item--box::before,
  .process__item--box::after {
    content: "";
    width: 64px;
    height: 1px;
    margin-block: 4px 30px;
    background: rgba(37, 23, 14, 0.42);
  }

  .process__item--box::after {
    margin-block: 30px 4px;
  }

  .benefits__grid {
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .content-section,
  .divider,
  .footer {
    width: calc(100% - 36px);
  }

  .hero {
    min-height: 710px;
    align-items: end;
    padding-bottom: 102px;
    background-position: 60% center;
    clip-path: ellipse(132% 59% at 54% 40%);
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(20, 11, 6, 0.58), transparent 62%),
      linear-gradient(90deg, rgba(20, 11, 6, 0.35), transparent);
  }

  .hero__content {
    width: calc(100% - 48px);
    margin-inline: 24px;
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 13vw, 4rem);
    line-height: 0.91;
  }

  .hero p {
    margin-top: 24px;
    font-size: 0.76rem;
  }

  .button--glass {
    width: 100%;
    min-height: 52px;
    margin-top: 28px;
  }

  .founder {
    min-height: 0;
    padding-block: 70px 64px;
  }

  .founder__inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .founder__portrait {
    width: 148px;
    height: 148px;
  }

  .founder__copy {
    width: 100%;
  }

  .founder h2,
  .section-heading h2,
  .benefit h2 {
    font-size: var(--section-title-size);
  }

  .founder blockquote {
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .discovery {
    padding-block: 60px 72px;
  }

  .section-heading h2 br {
    display: none;
  }

  .section-heading p {
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .process {
    margin-top: 42px;
  }

  .process__item > img:not(.process__logo) {
    height: 210px;
  }

  .process__item h3,
  .process__item p {
    font-size: 0.76rem;
  }

  .benefits {
    padding-block: 56px 70px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 58px;
    width: 100%;
  }

  .benefit,
  .benefit--wide {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }

  .benefit p {
    width: 100%;
  }

  .benefit__top {
    flex-direction: column;
    gap: 10px;
  }

  .benefit__top img {
    width: 126px;
    height: 92px;
  }

  .benefit p {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .subscription {
    min-height: 680px;
    padding-block: 74px;
  }

  .subscription h2 {
    max-width: 340px;
    font-size: var(--display-size);
    line-height: 0.93;
  }

  .subscription__intro {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .plan-selector {
    margin-top: 28px;
    padding: 4px;
    gap: 3px;
    border-radius: 22px;
  }

  .plan-option {
    min-height: 88px;
    padding: 10px 4px;
    border-radius: 17px;
  }

  .plan-option__duration {
    font-size: 0.61rem;
    letter-spacing: 0.04em;
  }

  .plan-option strong {
    font-size: 1.45rem;
  }

  .plan-option__detail {
    font-size: 0.54rem;
  }

  .price {
    margin-block: 18px 24px;
  }

  .price strong {
    font-size: 4.7rem;
  }

  .button--dark {
    min-height: 64px;
    font-size: 1rem;
  }

  .subscription__note {
    margin-top: 9px;
    font-size: 0.66rem;
  }

  .footer {
    min-height: 100px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
