:root {
  --black: #080808;
  --white: #ffffff;
  --soft: #f4f0e8;
  --sand: #d8c3a5;
  --green: #536b5c;
  --line: rgba(8, 8, 8, 0.18);
  --muted: #595959;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--soft);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 32px;
  color: var(--white);
  mix-blend-mode: difference;
}

.logo {
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.start {
  display: inline-flex;
  min-width: 88px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.18), rgba(8, 8, 8, 0.72)),
    url("https://images.unsplash.com/photo-1596462502278-27bfdc403348?auto=format&fit=crop&w=2200&q=85") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  padding: 0 clamp(24px, 6vw, 88px) clamp(42px, 7vw, 96px);
}

.kicker,
.section-label {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  width: min(980px, 100%);
  margin-bottom: 26px;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  width: min(680px, 100%);
  margin-bottom: 34px;
  font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.48;
}

.primary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: var(--black);
  background: var(--white);
  font-weight: 800;
}

.intro {
  display: grid;
  grid-template-columns: 0.34fr 1fr 0.5fr;
  gap: 36px;
  padding: 92px clamp(24px, 6vw, 88px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.5vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

.intro-copy {
  align-self: end;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 620px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 620px;
  padding: 34px;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.showcase-card.dark {
  color: var(--white);
  background: var(--black);
}

.showcase-card.tan {
  background: var(--sand);
}

.showcase-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
}

.product-type {
  margin-bottom: 10px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  opacity: 0.62;
  text-transform: uppercase;
}

.showcase-card p {
  max-width: 360px;
  color: currentColor;
  line-height: 1.65;
  opacity: 0.78;
}

.card-link {
  width: max-content;
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.product-visual {
  position: relative;
  width: 100%;
  max-width: 390px;
  min-height: 300px;
  margin-bottom: 58px;
  overflow: hidden;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.serum-visual {
  background:
    radial-gradient(circle at 75% 24%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #161616, #34322f 58%, #70614e);
}

.foundation-visual {
  background:
    linear-gradient(135deg, rgba(83, 107, 92, 0.18), transparent 48%),
    #f1ebe0;
}

.lip-visual {
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 245, 227, 0.55), transparent 28%),
    linear-gradient(135deg, #d8c3a5, #b89073);
}

.bottle {
  position: absolute;
  display: grid;
  place-items: end center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.bottle .cap {
  position: absolute;
  top: -30px;
  width: 54px;
  height: 30px;
  border: 1px solid currentColor;
  background: currentColor;
}

.bottle .label {
  margin-bottom: 24px;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.bottle.tall {
  left: 56px;
  bottom: 34px;
  width: 116px;
  height: 210px;
  border-radius: 54px 54px 10px 10px;
}

.bottle.square {
  right: 34px;
  bottom: 28px;
  width: 112px;
  height: 150px;
  background: #d7b79b;
}

.dropper {
  position: absolute;
  right: 70px;
  top: 42px;
  width: 36px;
  height: 164px;
  border: 1px solid currentColor;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  transform: rotate(18deg);
}

.tone-chip {
  position: absolute;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.tone-chip.light {
  right: 22px;
  bottom: 26px;
  background: #fff;
  color: var(--black);
}

.tone-chip.dark {
  left: 22px;
  bottom: 24px;
  color: var(--white);
  background: var(--black);
}

.shine {
  position: absolute;
  right: 30px;
  top: 28px;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.compact {
  position: absolute;
  left: 28px;
  top: 32px;
  width: 150px;
  height: 150px;
  border: 1px solid var(--black);
  border-radius: 50%;
  background: #171717;
}

.compact span {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background: #c8a27f;
}

.swatches {
  position: absolute;
  left: 26px;
  bottom: 88px;
  display: flex;
  gap: 8px;
}

.swatches i {
  display: block;
  width: 38px;
  height: 56px;
  border: 1px solid var(--black);
  background: #ead6bf;
}

.swatches i:nth-child(2) {
  background: #ddb890;
}

.swatches i:nth-child(3) {
  background: #c9946e;
}

.swatches i:nth-child(4) {
  background: #9d6b4e;
}

.lipstick {
  position: absolute;
  left: 62px;
  bottom: 36px;
  width: 58px;
  height: 190px;
  border: 1px solid var(--black);
  background: var(--black);
}

.lipstick span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: -70px;
  height: 86px;
  border-radius: 22px 22px 4px 4px;
  background: #8f3d36;
}

.lipstick.short {
  left: 136px;
  height: 142px;
  background: #f5ebdd;
}

.lipstick.short span {
  background: #6f2d2f;
}

.lip-stroke {
  position: absolute;
  right: 32px;
  top: 46px;
  width: 142px;
  height: 42px;
  border-radius: 50%;
  background: #8f3d36;
  transform: rotate(-12deg);
}

.shade-list {
  position: absolute;
  right: 26px;
  bottom: 28px;
  display: grid;
  gap: 8px;
  width: 128px;
  font-size: 12px;
  font-weight: 800;
}

.shade-list span {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(8, 8, 8, 0.5);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 760px;
  background: var(--green);
  color: var(--white);
}

.feature-image {
  min-height: 520px;
  background:
    linear-gradient(0deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.12)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 96px);
}

.feature-text p:not(.section-label) {
  max-width: 580px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.72;
}

.underlined {
  width: max-content;
  margin-top: 22px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.grid-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  padding: 96px clamp(24px, 6vw, 88px);
  background: var(--white);
}

.grid-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.grid-list article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.grid-list h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.grid-list p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.7;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-strip article {
  min-height: 280px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.product-strip span {
  display: block;
  margin-bottom: 78px;
  color: var(--green);
  font-weight: 800;
}

.product-strip h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.product-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.pricing {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 24px;
  text-align: center;
  color: var(--white);
  background: var(--black);
}

.pricing h2 {
  max-width: 980px;
  margin-bottom: 34px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .intro,
  .showcase,
  .feature-band,
  .grid-section,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 24px;
  }

  .showcase-card {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: 62px;
    padding: 0 18px;
  }

  .logo {
    font-size: 17px;
  }

  .login {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 64px;
    padding: 0 18px;
  }

  .login {
    display: none;
  }

  .start {
    min-width: 70px;
    min-height: 36px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .intro,
  .grid-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .showcase-card,
  .feature-text {
    padding: 24px;
  }

  .product-visual {
    min-height: 255px;
    margin-bottom: 44px;
  }

  .bottle.tall {
    left: 34px;
    bottom: 28px;
    width: 96px;
    height: 178px;
  }

  .dropper {
    right: 42px;
    height: 132px;
  }

  .compact {
    left: 22px;
    width: 122px;
    height: 122px;
  }

  .bottle.square {
    right: 24px;
    width: 94px;
    height: 128px;
  }

  .swatches {
    left: 22px;
    bottom: 78px;
  }

  .swatches i {
    width: 28px;
    height: 44px;
  }

  .lipstick {
    left: 40px;
    width: 48px;
    height: 152px;
  }

  .lipstick.short {
    left: 98px;
    height: 116px;
  }

  .lip-stroke {
    right: 22px;
    width: 112px;
  }

  .shade-list {
    right: 20px;
    width: 112px;
  }

  .product-strip article {
    min-height: 230px;
  }

  .product-strip span {
    margin-bottom: 46px;
  }

  .footer {
    padding: 24px 18px;
  }
}
