:root {
  --ivory: #fffaf4;
  --cream: #f8f2ec;
  --beige: #eadbd0;
  --blush: #f5e8e5;
  --peach: #e7bba8;
  --clay: #9d6048;
  --cocoa: #5c352b;
  --ink: #291c18;
  --muted: #786058;
  --line: rgba(92, 53, 43, 0.14);
  --shadow: 0 24px 72px rgba(92, 53, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 16px clamp(22px, 4vw, 56px);
  background: rgba(255, 250, 244, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: 178px;
}

.main-nav,
.header-actions,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.nav-cta,
.button,
.site-footer a,
.mobile-sticky-cta {
  text-decoration: none;
}

.main-nav a,
.site-footer a {
  color: var(--cocoa);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-actions {
  justify-content: flex-end;
}

.nav-cta,
.button,
.signup-form button,
.mobile-sticky-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cocoa);
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.nav-cta,
.button.primary,
.signup-form button,
.mobile-sticky-cta {
  background: var(--cocoa);
  color: var(--ivory);
  box-shadow: 0 14px 28px rgba(92, 53, 43, 0.12);
}

.button.secondary {
  background: rgba(255, 250, 244, 0.68);
  color: var(--cocoa);
}

.nav-cta:hover,
.button:hover,
.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(92, 53, 43, 0.16);
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
  padding: clamp(72px, 9vw, 132px) clamp(22px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.9) 42%, rgba(255, 250, 244, 0.2) 100%),
    url("assets/hero-skincare-texture.jpg") center / cover;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--cocoa);
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 5.8rem;
  line-height: 0.92;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  color: var(--cocoa);
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.2rem;
}

.signup-form {
  max-width: 560px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--cocoa);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.signup-form input {
  min-width: 0;
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(92, 53, 43, 0.2);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.signup-form input:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(231, 187, 168, 0.22);
}

.signup-form input:disabled {
  color: rgba(41, 28, 24, 0.42);
  background: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.serum-orbit {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.78;
  border: 1px solid rgba(255, 250, 244, 0.8);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.5), rgba(245, 232, 229, 0.54)),
    rgba(255, 250, 244, 0.42);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.serum-orbit::before {
  content: "";
  position: absolute;
  inset: auto 8% 12% 8%;
  height: 15%;
  background: rgba(92, 53, 43, 0.1);
  border-radius: 50%;
  filter: blur(20px);
}

.bottle {
  position: absolute;
  bottom: 18%;
  display: grid;
  place-items: end center;
  padding: 0 8px 22px;
  color: var(--cocoa);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(92, 53, 43, 0.14);
  box-shadow: 0 20px 42px rgba(92, 53, 43, 0.14);
}

.bottle-one {
  left: 50%;
  width: 30%;
  height: 58%;
  transform: translateX(-50%);
  border-radius: 22px 22px 10px 10px;
  background: linear-gradient(180deg, #fffaf4 0 30%, #dbc1b4 30% 100%);
}

.bottle-two {
  left: 18%;
  width: 22%;
  height: 50%;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #fff5f1 0 26%, #dfaca3 26% 100%);
}

.bottle-three {
  right: 15%;
  width: 22%;
  height: 45%;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf4 0 32%, #d7c4b7 32% 100%);
}

.bottle-two::before,
.bottle-three::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 50%;
  width: 42%;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 16px 16px 7px 7px;
  background: var(--cocoa);
}

.products,
.promise,
.community,
.early-access {
  padding: clamp(64px, 9vw, 132px) clamp(22px, 6vw, 92px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

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

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

.product-card {
  position: relative;
  min-height: 440px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.82);
  box-shadow: 0 10px 34px rgba(92, 53, 43, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(157, 96, 72, 0.28);
  box-shadow: 0 22px 56px rgba(157, 96, 72, 0.16);
}

.product-art {
  min-height: 250px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  overflow: hidden;
}

.art-bright {
  background: linear-gradient(180deg, #fffaf4, #eadbd0);
}

.art-pdrn {
  background: linear-gradient(180deg, #fff6f2, #edc8bf);
}

.art-teen-serum {
  background: linear-gradient(180deg, #fffaf4, #e6d8cc);
}

.art-teen-moisturiser {
  background: linear-gradient(180deg, #fff8f1, #e0bba8);
}

.jar,
.dropper,
.tube {
  position: relative;
  display: block;
  border: 1px solid rgba(92, 53, 43, 0.16);
  box-shadow: 0 18px 38px rgba(92, 53, 43, 0.13);
}

.jar {
  width: 118px;
  height: 104px;
  border-radius: 20px 20px 32px 32px;
  background: linear-gradient(180deg, #fffaf4 0 32%, #be8d78 32% 100%);
}

.dropper {
  width: 82px;
  height: 192px;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(180deg, #fffaf4 0 28%, #c98582 28% 100%);
}

.dropper::before {
  content: "";
  position: absolute;
  top: -46px;
  left: 50%;
  width: 38%;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 16px 16px 7px 7px;
  background: var(--cocoa);
}

.dropper.short {
  height: 174px;
  background: linear-gradient(180deg, #fffaf4 0 30%, #d2baab 30% 100%);
}

.tube {
  width: 104px;
  height: 210px;
  border-radius: 54px 54px 14px 14px;
  background: linear-gradient(180deg, #fffaf4 0 34%, #cc917b 34% 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  border: 1px solid rgba(157, 96, 72, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--clay);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.promise {
  background: var(--cream);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.promise-grid article {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.78);
}

.promise-grid span {
  display: block;
  margin-bottom: 38px;
  color: var(--peach);
  font-weight: 900;
}

.promise-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.community-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.instagram-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.instagram-preview article {
  aspect-ratio: 0.78;
  display: grid;
  align-content: end;
  padding: 18px;
  border: 1px solid rgba(255, 250, 244, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.08), rgba(92, 53, 43, 0.22)),
    var(--blush);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.instagram-preview article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.04), rgba(92, 53, 43, 0.2)),
    var(--beige);
}

.instagram-preview article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.1), rgba(92, 53, 43, 0.22)),
    #e7c9bd;
}

.instagram-preview span {
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 900;
}

.instagram-preview p {
  margin: 0;
  font-weight: 800;
}

.early-access {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  background: var(--blush);
}

.early-access > div > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.waitlist-form {
  padding: 30px;
  border: 1px solid rgba(255, 250, 244, 0.88);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.78);
  box-shadow: var(--shadow);
}

.site-footer {
  display: grid;
  grid-template-columns: 190px 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 30px clamp(22px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: var(--ivory);
  color: var(--cocoa);
}

.footer-logo {
  width: 190px;
  height: auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.3rem;
  }

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

  .hero,
  .community,
  .early-access {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    grid-template-columns: 148px 1fr;
    min-height: auto;
    padding: 14px 18px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    width: 148px;
  }

  .nav-left {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 10px;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-right,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
    background:
      linear-gradient(180deg, rgba(255, 250, 244, 0.98) 0%, rgba(255, 250, 244, 0.82) 54%, rgba(255, 250, 244, 0.42) 100%),
      url("assets/hero-skincare-texture.jpg") center / cover;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .form-row,
  .product-grid,
  .promise-grid,
  .instagram-preview {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }

  .serum-orbit {
    width: min(100%, 390px);
  }

  .product-card {
    min-height: auto;
  }

  .community,
  .early-access,
  .products,
  .promise {
    padding-block: 62px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 30;
    display: flex;
  }
}

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

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