
:root {
  --navy: #001e65;
  --blue: #3363d7;
  --brown: #825037;
  --light-brown: #A1745E;
  --rose: #c3a18e;
  --red: #c43131;
  --gold: #FFF4EB;
  --grey: #3C3C3C;
  --bg-ivory: #FFFDFB;	
  --bg-gold: #FFF4EB;	
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1200px;
  color: var(--navy);
  font-family: Inter,"Noto Sans TC",sans-serif;
  font-weight: 400;
}

img {
  display: block;
  max-width: 100%;
}

h2,h3,p {
  margin: 0;
}

a:focus-visible {
  outline: 3px solid #2768dc;
  outline-offset: 5px;
}

.panel,.image-panel {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.panel {
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.image-panel>img {
  width: 100%;
  height: auto;
}

.section-heading {
  text-align: center;
}

h1,h2,h3 {
  font-weight: 700;
}

/* 01  KV 與共用按鈕 */
.brown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.8cqw;
  height: 2.5cqw;
  padding: 0 1.25cqw;
  color: #fff;
  background: var(--brown);
  border-radius: 99px;
  text-decoration: none;
  font-size: 18px;
  box-shadow: inset 3px 3px 4.5px rgba(227,179,155,.4),inset -3px -3px 4.5px rgba(85,41,19,.6);
  transition: transform .2s,filter .2s;
}

.big-x {
  display: inline-block;
  font-size: 1.45em;
  font-weight: 300;
  line-height: 1;
  vertical-align: -0.02em;
  margin: 0 0.02em;
}

.brown-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.brown-button[aria-disabled="true"] {
  cursor: default;
}

.hero-content,.trial-content {
  position: absolute;
  z-index: 2;
}

.hero-content {
  top: 5%;
  left: 16.65%;
  width: 34%;
  color: #fff;
}

.hero-content .brand-logo {
  width: 17.2cqw;
  height: auto;
  margin-bottom: 3.2cqw;
}

.hero-content h1 {
  color: var(--brown);
  font-size: 80px;
  line-height: 1.19;
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 0 0 .75cqw;
}

.hero-subtitle {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 700;
  white-space: nowrap;
}

.hero-caption {
  font-size: 21px;
  line-height: 1.4;
  font-weight: 500;
  margin: .15cqw 0 1.45cqw;
  white-space: nowrap;
}

.hero-product-label {
  position: absolute;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.hero-product-line {
  position: absolute;
  font-size: 27px;
  font-weight: 700;
  white-space: nowrap;
  left: 60%;
  bottom: 6%;
  width: 22.5%;
  text-align: center;
}

.hero-product-line b {
  padding: .12cqw .8cqw;
  border-radius: 99px;
  background: var(--brown);
  color: white;
}

.hero-product-title {
  font-weight: 400;
}

.trial-content .brown-button {
  position: absolute;
  left: 21.2%;
  top: 79.75%;
  height: 2.25cqw;
  min-width: 8.65cqw;
  font-size: 20px;
  font-weight: 500;
}

.hero-subtitle,.hero-caption {
  text-shadow: 1.95px 1.95px 5.57px rgba(130,80,55,.31);
}

.serum-name {
  left: 61.51%;
  top: 29.67%;
}

.cream-name {
  left: 71.82%;
  top: 55.44%;
}

/* 02  肌膚困擾 */
.concerns {
  aspect-ratio: 1920/864;
  background-image: url('images/bg_section1.webp');
  color: var(--brown);
}

.concerns-heading {
  position: absolute;
  top: 16%;
  left: 0;
  width: 100%;
}

.concerns-heading h2 {
  font-size: 48px;
  line-height: 1.28;
}

.concerns-heading h2 strong {
  font-weight: 700;
}

.concerns-heading p {
  font-size: 28px;
  margin-top: 1.5cqw;
}

.concern-grid {
  position: absolute;
  top: 50%;
  left: 8.55%;
  width: 82.9%;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.9%;
}

.concern-card {
  aspect-ratio: 508/219;
  display: flex;
  background: #fff;
  color: #6b4130;
}

.concern-card>img {
  width: 44%;
  height: 100%;
  object-fit: cover;
}

.concern-copy {
  text-align: center;
  width: 56%;
  padding: 2.3cqw 24px 1cqw;
  overflow: hidden;
}

.problem-label {
  display: inline-block;
  padding: .13cqw .55cqw;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  background: var(--red);
}

.concern-copy h3 {
  font-size: 16px;
  margin: .6cqw 0 .52cqw;
  line-height: 1.35;
  white-space: nowrap;
}

.concern-copy p {
  font-size: 14px;
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-ideograph;
}

.concern-copy em {
  font-style: normal;
  color: var(--red);
}

/* 03  成分介紹 */
.ingredients {
  height: 1097px;
  background-image: url('images/bg_section2-1.webp');
  background-size: cover;
}

.ingredients-heading {
  position: absolute;
  top: 7.7%;
  left: 0;
  width: 100%;
  color: var(--brown);
}

.ingredients-heading h2 {
  max-width: 85%;
  margin-inline: auto;
  font-size: 32px;
  line-height: 1.4;
}

.ingredients-heading strong {
  display: inline-block;
  font-size: 40px;
  white-space: nowrap;
}

.ingredients-heading span {
  color: var(--navy);
}

.key-ingredient-wrap {
  position: absolute;
  width: 410px;
  left: 50%;
  top: 267px;
  transform: translateX(-50%);
}

.key-ingredient {
  width: 100%;
  height: auto;
  max-width: none;
}

.ingredient-grid {
  position: absolute;
  left: 50%;
  top: 726px;
  width: min(1284px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.ingredient-card {
  position: relative;
  min-height: 227px;
  padding: 0 21px 0 0;
  margin-right: 23px;
  border-right: 1px solid rgba(29,61,137,.4);
}

.ingredient-card:last-child {
  border: 0;
  margin-right: 0;
}

.ingredient-kicker {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  width: 42%;
  border-bottom: 1px solid #2e58ae;
  padding: 3px 0 7px;
}

.ingredient-kicker span {
  margin-right: 8px;
  letter-spacing: 0px;
}

.ingredient-card>img {
  position: absolute;
  right: 23px;
  top: -12px;
  width: 148px;
  height: 126px;
  object-fit: contain;
}

.ingredient-card:nth-child(2)>img {
  width: 88px;
  right: 38px;
}

.ingredient-card:nth-child(3)>img {
  width: 117px;
  right: 36px;
}

.ingredient-card h3 {
  font-size: 40px;
  font-weight: 500;
  margin: 24px 0 16px;
  letter-spacing: 0;
  white-space: nowrap;
}

.ingredient-card p {
  font-size: 16px;
  line-height: 1.42;
  font-weight: 400;
}

.ingredient-card .highlight {
  color: var(--blue);
}

.ingredient-cue {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
}

/* 04  臨床實證 */
.clinical {
  aspect-ratio: 1920/618;
  background-image: url('images/bg_section2-2.webp');
}

.clinical-copy {
  position: absolute;
  left: 19%;
  top: 27%;
  color: var(--navy);
}

.clinical-copy h2 {
  font-size: 48px;
}

.clinical-copy h2 span {
  color: #2e64d1;
}

.clinical-copy>p {
  font-size: 40px;
  margin-top: .4cqw;
}

.clinical-copy>p strong {
  color: var(--blue);
  font-size: 48px;
}

.clinical-pills {
  display: flex;
  gap: 1cqw;
  margin-top: 10cqw;
}

.clinical-pills span {
  padding: .16cqw .7cqw;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 24px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: .24cqw;
}

.clinical-results {
  position: absolute;
  font-size: 20px;
  z-index: 1;
  left: 74.7%;
  top: 24.5%;
}

.clinical-results p {
  margin: 0 0 2.5cqw;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.clinical-results strong {
  font-size: 40px;
  color: var(--blue);
  font-weight: 500;
}

.clinical-results small {
  font-size: 20px;
}

.face-curve {
  position: absolute;
  width: 6.25cqw;
  height: auto;
  right: 100%;
  top: -.6cqw;
  max-width: none;
}

.clinical-pills img {
  width: 1.14cqw;
  height: 1.14cqw;
  max-width: none;
  flex: none;
}

/* 05  產品卡片共用：左側 53%、右側 47%，兩卡沿同一條垂直線分界 */
.routine {
  height: 2072px;
  background-image: url('images/bg_section3.webp');
  background-size: cover;
}

.routine-heading {
  position: absolute;
  top: 4.7%;
  width: 100%;
}

.routine-heading h2 {
  font-size: 56px;
  letter-spacing: .025em;
}

.routine-heading h2 span {
  font-size: 112px;
  color: var(--blue);
  vertical-align: -.12em;
  letter-spacing: -.05em;
  margin-right: 10px;
}

.routine-heading p {
  font-size: 32px;
  margin-top: 15px;
}

.product-card {
  position: absolute;
  width: 1280px;
  height: 760px;
  background: #FBFCFF;
  box-shadow: 0 7px 12px rgba(35,48,75,.13);
  display: flex;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
}

.product-main {
  position: relative;
  padding: 77px 42px 38px 77px;
  z-index: 1;
  overflow: hidden;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 17px;
  white-space: nowrap;
}

.step-label span {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  font-size: 48px;
  font-weight: 400;
  flex: none;
}

.step-label b {
  color: #fff;
  padding: 6px 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-main h3 {
  font-size: 56px;
  margin: 20px 0 24px;
  white-space: nowrap;
}

.product-description {
  font-size: 18px;
  line-height: 1.65;
  max-width: 100%;
  font-weight: 300;
}

.product-description strong {
  color: var(--blue);
}

.user-results {
  position: absolute;
  left: 77px;
  bottom: 58px;
  width: 576px;
  display: flex;
  align-items: end;
  gap: 23px;
  border-top: 1px dotted #7496cd;
  padding-top: 43px;
}

.results-caption {
  position: absolute;
  top: 10px;
  left: 0;
  border-radius: 50px;
  color: #fff;
  font-size: 14px;
  padding: 3px 11px;
}

.user-results>div:not(.results-caption) {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 0 0 200px;
}

.user-results>div:not(.results-caption)+div {
  border-left: 1px solid #abb9db;
  padding-left: 35px;
}

.user-results strong {
  line-height: 1;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -.065em;
  white-space: nowrap;
}

.user-results strong small {
  font-size: 20px;
  letter-spacing: -.035em;
  vertical-align: baseline;
}

.user-results span {
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.4;
  margin-top: 6px;
}

.product-visual {
  position: relative;
  z-index: 2;
}

.step-label b,.results-caption {
  background: var(--rose);
}

.product-card .product-main {
  width: 53%;
  flex: 0 0 53%;
}

.product-card .product-visual {
  width: 47%;
  flex: 0 0 47%;
}

/* 06  精華卡片 */
.serum-card {
  top: 19.34%;
  height: 768px;
}

/* 右側座標以 product-visual 左上角為準；背景維持原始 348 × 166 比例。 */
.serum-benefits {
  position: absolute;
  left: 137px;
  top: 163px;
  width: 348px;
  display: grid;
  gap: 7px;
}

.serum-benefit {
  position: relative;
  width: 100%;
  aspect-ratio: 348 / 166;
  padding: 28px 13px 12px 124px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  font-size: 14px;
  line-height: 1.3;
}

.serum-benefit-first {
  background-image: url('images/serum-bg-1.webp');
}

.serum-benefit-second {
  background-image: url('images/serum-bg-2.webp');
}

.serum-benefit-third {
  background-image: url('images/serum-bg-3.webp');
  padding-top: 55px;
}

.serum-benefit b {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  white-space: nowrap;
}

.serum-benefit p {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.3;
}

.serum-benefit .benefit-number {
  display: block;
  font-size: 48px;
  font-weight: 500;
  color: var(--blue);
  line-height: .95;
}

.benefit-number small {
  font-size: 16px;
  margin-left: 2px;
}

.serum-bottle {
  position: absolute;
  z-index: 2;
  top: 131px;
  left: -87px;
  width: 405px;
  height: auto;
  max-width: none;
}

.safety {
  margin-top: 34px;
  border-top: 1px dotted #7798cd;
  padding-top: 13px;
  display: flex;
  align-items: end;
  gap: 10px;
  white-space: nowrap;
}

.safety strong {
  font-size: 28px;
}

.safety strong span {
  color: var(--blue);
  font-size: 64px;
  line-height: .85;
}

.safety>span {
  font-size: 20px;
}

.safety-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  white-space: nowrap;
}

.safety-tags span {
  border: 1px solid #4564a0;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 26px;
  padding: 2px 7px;
  font-size: 14px;
  font-weight: 400;
}

.serum-card .safety {
  position: absolute;
  left: 77px;
  top: 368px;
  width: 566px;
  height: 160px;
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px dotted #7798cd;
  border-bottom: 1px dotted #7798cd;
  align-items: baseline;
}

.serum-card .safety strong {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 700;
}

.serum-card .safety strong span {
  font-size: 80px;
  line-height: .95;
}

.serum-card .safety>span {
  font-size: 20px;
  margin-top: 0;
}

.serum-card .safety-tags {
  position: absolute;
  left: 77px;
  top: 480px;
  width: 566px;
  margin: 0;
  gap: 5px;
}

.safety-tags img {
  width: 13px;
  height: 13px;
  flex: none;
  max-width: none;
}

.serum-card .user-results {
  left: 77px;
  top: 558px;
  bottom: auto;
  width: 566px;
  border: 0;
  padding: 39px 0 0;
  gap: 0;
}

.serum-card .user-results .results-caption {
  top: 0;
}

/* 07  乳霜卡片 */
.cream-card {
  top: 60.32%;
  height: 703px;
}

.cream-card .product-main {
  padding-right: 30px;
}

.cream-card .product-description {
  max-width: 578px;
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 24px;
  border-bottom: 1px dotted #7496cd;	
}

.cream-user-results {
  bottom: 106px;
  width: 538px;
  border: 0;
}

.cream-model {
  position: absolute;
  left: 517px;
  bottom: 115px;
  width: 134px;
  height: auto;
}

.cream-card .product-visual {
  overflow: visible;
}

/* 乳霜右側維持原合成圖的座標，圖文各自可修改。 */
.cream-benefits {
  position: absolute;
  left: 38px;
  top: 173px;
  width: 459px;
  height: 419px;
}

.cream-curve {
  position: absolute;
  left: 14px;
  top: 0;
  width: 445px;
  height: auto;
  max-width: none;
}

.cream-benefit {
  position: absolute;
  left: 20px;
  width: 228px;
  z-index: 1;
}

.cream-benefit-first {
  top: 0;
}

.cream-benefit-second {
  top: 152px;
}

.cream-benefit-third {
  top: 289px;
}

.cream-benefit-title {
  display: flex;
  align-items: end;
  height: 47px;
  gap: 9px;
  white-space: nowrap;
}

.cream-benefit-title>strong {
  color: var(--blue);
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
}

.cream-benefit-title>strong small {
  font-size: 18px;
  margin-left: 2px;
  letter-spacing: 0;
}

.cream-benefit-title>b {
  font-size: 16px;
  line-height: 1.25;
}

.cream-benefit p {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.3;
}

.cream-stats {
  display: flex;
  margin-top: 11px;
  width: 259px;
}

.cream-stats>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  border-right: 1px solid #a3b3d6;
}

.cream-stats>div:last-child {
  border-right: 0;
}

.cream-stats strong {
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

.cream-stats strong small {
  font-size: 14px;
}

.cream-stats span {
  font-size: 12px;
  white-space: nowrap;
  margin-top: 4px;
}

.cream-jar {
  position: absolute;
  z-index: 2;
  left: 207px;
  top: 98px;
  width: 253px;
  height: auto;
  max-width: none;
}

.cream-card .step-label b {
  font-size: 28px;
  padding: 6px 10px;
  text-align: center;
  white-space: nowrap;
  width: 489px;
  max-width: none;
  flex: none;
}

.cream-card .product-main h3 {
  font-size: 48px;
  letter-spacing: -.045em;
  max-width: 100%;
  white-space: nowrap;
  margin-top: 31px;
}

.cream-card .product-main .cream-user-results {
  left: 77px;
  bottom: 115px;
  width: 576px;
  padding-top: 39px;
}

.cream-card .cream-user-results .results-caption {
  top: 0;
}

.cream-card .cream-user-results>div:not(.results-caption) {
  flex: 0 0 200px;
}

.cream-card .cream-user-results>div:nth-of-type(3) {
  flex-basis: 192px;
}

.cream-card .cream-user-results strong {
  font-size: 56px;
}

.cream-card .step-label {
  gap: 24px;
}

/* 08  募集資訊 */
.trial-content {
  color: #333;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.trial-content .brand-logo {
  position: absolute;
  left: 21.35%;
  top: 12.47%;
  width: 11.302%;
  height: auto;
  margin: 0;
}

.trial-content h2 {
  color: var(--brown);
  white-space: nowrap;
  position: absolute;
  left: 21.2%;
  top: 23.83%;
  width: 27%;
  font-size: 64px;
  line-height: 1.172;
  font-weight: 700;
  letter-spacing: -.04em;
}

.trial-rule {
  font-weight: 400;
  color: var(--brown);
  position: absolute;
  left: 21.2%;
  top: 44.94%;
  width: 26.67%;
  height: 0;
  margin: 0;
  border-top: 1px solid var(--brown);
  font-size: 12px;
  line-height: 1;
}

.trial-rule span {
  padding-right: .4cqw;
  position: absolute;
  left: 0;
  top: -.625cqw;
  background: transparent;
}

.trial-content dl {
  font-weight: 400;
  position: absolute;
  left: 21.35%;
  top: 48.25%;
  width: 29%;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #3b3b3b;
}

.trial-content dt {
  margin: 0;
  flex: none;
}

.trial-content dd {
  margin: 0;
}

.trial-content .trial-product {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: -.04em;
}

.trial-content dl>div {
  display: flex;
  align-items: baseline;
  height: 1.91cqw;
  white-space: nowrap;
}

.trial-content dl>.trial-product-row {
  display: block;
  height: 3.75cqw;
}

.trial-content .trial-product span {
  font-size: 16px;
  font-weight: 400;
  margin-left: .4cqw;
  letter-spacing: 0;
}

/* PC：整頁以 1920px 設計座標排版，縮放交給 main.js 統一處理。
   圖片、字級與位置因此使用相同倍率；手機版另由 mobile.css 排版。 */
@media (min-width: 768px) {
  body {
    min-width: 0;
  }

  .desktop-fit {
    width: 100%;
    overflow: hidden;
  }

  .desktop-fit > main {
    width: 1920px;
    transform-origin: top left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brown-button {
    transition: none;
  }
}


@media (min-width: 768px) {
  .trial-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    border-top: 0;
  }

  .trial-rule span {
    position: static;
    padding-right: 0;
    white-space: nowrap;
  }

  .trial-rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--brown);
  }
}
