:root {
  color-scheme: light;
  --ink: #16161a;
  --muted: #5f6472;
  --line: #dde2e8;
  --soft: #f6f7f4;
  --paper: #ffffff;
  --mint: #b8e3d5;
  --berry: #b65c7a;
  --citrus: #f0c25b;
  --leaf: #2f7a67;
  --blue: #547aa5;
  --shadow: 0 22px 60px rgba(31, 40, 49, 0.13);
  --soft-shadow: 0 12px 28px rgba(31, 40, 49, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fbfbf8 0%, #f3f5f1 46%, #eef2ed 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 226, 232, 0.8);
  background: rgba(251, 251, 248, 0.86);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #c9d8d1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(47, 122, 103, 0.12);
}

.logo-symbol {
  width: 100%;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 7px;
}

.nav-links a:hover {
  background: #eef3ed;
  color: var(--ink);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: 44px;
  padding: 44px 20px 54px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 19px;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(100%, 700px);
  margin: 28px 0 16px;
  padding: 8px;
  border: 1px solid #cbd5d1;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.search-box input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 14px 14px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.search-box span {
  padding: 11px 14px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.stat {
  min-width: 122px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  font-size: 20px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visual-panel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid #cdd9d4;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.32) 42%, rgba(255,255,255,0) 72%),
    url("/hero-kbeauty-radar.png") center/cover;
  box-shadow: var(--shadow);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(12, 24, 20, 0.4));
}

.radar-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.radar-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
}

.radar-meter {
  display: grid;
  height: 12px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4e8e2;
}

.radar-meter span {
  display: block;
  width: 78%;
  background: linear-gradient(90deg, var(--leaf), var(--citrus));
}

.section {
  padding: 54px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--leaf);
}

.breadcrumbs span {
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section h2 {
  margin-bottom: 6px;
  font-size: 42px;
  line-height: 1.05;
}

.section-head p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #cbd7d1;
  border-radius: 999px;
  background: #ffffff;
  color: #3a4a45;
  font-size: 12px;
  font-weight: 750;
}

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

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.product-card {
  display: grid;
  grid-template-rows: 214px 1fr;
}

.product-visual {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, var(--visual-a, #edf5ef), var(--visual-b, #fff7e3));
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 17px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.42) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.38) 1px, transparent 1px);
  background-size: 26px 26px;
}

.product-visual::after {
  content: "";
  position: absolute;
  left: 17%;
  right: 17%;
  bottom: 23px;
  height: 16px;
  z-index: 0;
  border-radius: 999px;
  background: rgba(40, 50, 45, 0.16);
  filter: blur(10px);
}

.product-visual-large {
  min-height: 460px;
}

.product-visual-large .pack-shot {
  transform: scale(1.62);
}

.pack-shot {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.pack {
  position: absolute;
  left: 50%;
  bottom: 45px;
  border: 1px solid rgba(23, 33, 28, 0.11);
  box-shadow: 16px 20px 34px rgba(31, 40, 49, 0.16);
}

.pack-main {
  display: flex;
  width: 82px;
  height: 132px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 12px;
  transform: translateX(-42%);
  border-radius: 18px 18px 22px 22px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.78), rgba(255,255,255,0.18) 38%, rgba(255,255,255,0)),
    linear-gradient(160deg, var(--pack-main, #ffffff), var(--pack-deep, #dcefe7));
  text-align: center;
}

.pack-main::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -19px;
  width: 34px;
  height: 26px;
  border-radius: 8px 8px 3px 3px;
  background: #17211c;
}

.pack-main span {
  color: #20342e;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.pack-main small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: rgba(32, 52, 46, 0.68);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pack-back {
  width: 70px;
  height: 106px;
  transform: translateX(-118%) rotate(-7deg);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), var(--pack-soft, #e7f2ee));
}

.pack-side {
  width: 48px;
  height: 105px;
  transform: translateX(70%) rotate(7deg);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.92), var(--pack-alt, #f0c25b));
}

.pack-dropper {
  width: 34px;
  height: 88px;
  transform: translateX(145%);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255,255,255,0.72), var(--pack-drop, #f5b4aa));
}

.pack-dropper::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -30px;
  width: 16px;
  height: 34px;
  border-radius: 10px 10px 5px 5px;
  background: #fff;
  box-shadow: inset 0 -10px 0 #d9dde0;
}

.pack-shadow {
  position: absolute;
  left: 50%;
  bottom: 31px;
  width: 190px;
  height: 25px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(23, 33, 28, 0.12);
  filter: blur(8px);
}

.tone-sunscreen {
  --visual-a: #fff6cf;
  --visual-b: #e4f2ed;
  --pack-main: #fff7d4;
  --pack-deep: #efc563;
  --pack-soft: #fff0b7;
  --pack-alt: #f5b4aa;
  --pack-drop: #f7de8d;
}

.tone-serum {
  --visual-a: #e4f7f1;
  --visual-b: #f7eee7;
  --pack-main: #eafff8;
  --pack-deep: #84cdbb;
  --pack-soft: #d8f0e8;
  --pack-alt: #f3c5bd;
  --pack-drop: #9fd9ca;
}

.tone-toner {
  --visual-a: #eaf5fa;
  --visual-b: #f4f7ee;
  --pack-main: #eef8ff;
  --pack-deep: #98c6df;
  --pack-soft: #dbeef7;
  --pack-alt: #b8e3d5;
  --pack-drop: #a4c4df;
}

.tone-essence {
  --visual-a: #f7f1fa;
  --visual-b: #eef6ef;
  --pack-main: #fff;
  --pack-deep: #d8c4e8;
  --pack-soft: #efe2f6;
  --pack-alt: #c6dfcc;
  --pack-drop: #dac4e8;
}

.tone-moisturizer {
  --visual-a: #fff0f1;
  --visual-b: #eef6ef;
  --pack-main: #fff5f6;
  --pack-deep: #e6a8b5;
  --pack-soft: #f8d5db;
  --pack-alt: #b8e3d5;
  --pack-drop: #e9b2bd;
}

.tone-pad {
  --visual-a: #f4f5f2;
  --visual-b: #e4eee9;
  --pack-main: #fff;
  --pack-deep: #cfd7d6;
  --pack-soft: #e8ecea;
  --pack-alt: #f0c25b;
  --pack-drop: #d7dedb;
}

.card-body {
  padding: 18px;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card h3 {
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.16;
}

.muted {
  color: var(--muted);
}

.score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #17211c;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.link-button,
.buy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid #17211c;
  border-radius: 7px;
  background: #17211c;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.link-button.secondary,
.buy-link.secondary {
  background: #fff;
  color: #17211c;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.info-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.info-panel h3 {
  margin-bottom: 12px;
}

.info-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6ebe6;
}

.info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list span:first-child {
  color: var(--muted);
  font-weight: 700;
}

.buy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.table th,
.table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 190px;
  background: #f4f7f3;
  color: #3f4d48;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 24px rgba(27, 35, 48, 0.05);
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 850;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.footer {
  margin-top: 70px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .visual-panel {
    min-height: 360px;
  }

  h1 {
    font-size: 52px;
  }

  .section h2 {
    font-size: 34px;
  }

  .product-visual-large {
    min-height: 380px;
  }

  .product-visual-large .pack-shot {
    transform: scale(1.32);
  }

  .grid,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box span {
    text-align: center;
  }

  .footer .wrap {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .wrap,
  .hero,
  .nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .section h2 {
    font-size: 30px;
  }

  .lede {
    font-size: 16px;
  }

  .product-card {
    grid-template-rows: 200px 1fr;
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
  }
}
