/* The Glow List — editorial beauty theme */
:root {
  --bg: #FAF6F1;
  --ink: #26201C;
  --muted: #6E635C;
  --rose: #C2596B;
  --rose-deep: #A84457;
  --rose-soft: #F5E4E2;
  --card: #FFFFFF;
  --line: #E8DFD4;
  --gold: #B98A2F;
  --foot: #221D1A;
  --foot-text: #F3EDE4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand, .mono {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1080px; margin: 0 auto; padding: 20px 22px;
}
.brand {
  font-size: 1.35rem; text-decoration: none; letter-spacing: .01em; white-space: nowrap;
}
.brand .spark { color: var(--rose); margin-left: 6px; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted);
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--rose); }

/* ---------- Index hero ---------- */
.hero { padding: 64px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 130%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 22% 30%, rgba(214,142,155,.22), transparent 70%),
    radial-gradient(40% 55% at 80% 25%, rgba(201,154,91,.18), transparent 70%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); font-weight: 640; }
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .sub {
  max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 1.08rem;
}
.hero .cta {
  display: inline-block; margin-top: 30px; padding: 13px 28px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
}
.hero .cta:hover { background: var(--rose-deep); }
.trust {
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; color: var(--muted); font-size: .84rem;
}
.trust span::before { content: "✦ "; color: var(--gold); }

/* ---------- Section headings ---------- */
.section { padding-top: 46px; padding-bottom: 20px; }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.section .lede { color: var(--muted); margin-top: 8px; max-width: 640px; }

/* ---------- Celebrity grid ---------- */
.celeb-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; margin-top: 28px;
}
.celeb-card {
  display: block; text-decoration: none; background: var(--card);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.celeb-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(38,32,28,.12); }
.tile {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
}
.mono {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.82); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(38,32,28,.14);
}
.celeb-card .info { padding: 18px 20px 20px; }
.celeb-card h3 { font-size: 1.28rem; }
.celeb-card .tag { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.celeb-card .go { color: var(--rose-deep); font-weight: 600; font-size: .88rem; margin-top: 10px; display: inline-block; }

/* Duotone tiles */
.g-kbeauty   { background: linear-gradient(135deg, #E89AA6, #FBEDE8); }
.g-acne      { background: linear-gradient(135deg, #9CCBB6, #EAF4EE); }
.g-dry       { background: linear-gradient(135deg, #A9C6DE, #EDF3F8); }
.g-oily      { background: linear-gradient(135deg, #A9C99A, #F0F5E9); }
.g-sensitive { background: linear-gradient(135deg, #CBA9D4, #F5EBF5); }
.g-lab       { background: linear-gradient(135deg, #9FB8A8, #EFE6F2); }
.g-bts       { background: linear-gradient(135deg, #7B6BA8, #E9E4F4); }
.g-jennie    { background: linear-gradient(135deg, #D77FA1, #F9E6EE); }
.g-rosegold  { background: linear-gradient(135deg, #C98A8E, #F7E6E0); }
.g-lesserafim{ background: linear-gradient(135deg, #A3B5D6, #EEF2F8); }
.g-wonyoung  { background: linear-gradient(135deg, #D96C7B, #FBE8EA); }
.g-hailey   { background: linear-gradient(135deg, #E3B98C, #F7E9D6); }
.g-selena   { background: linear-gradient(135deg, #D98A9E, #F7E4E9); }
.g-rihanna  { background: linear-gradient(135deg, #6E2B3A, #C99A5B); }
.g-zendaya  { background: linear-gradient(135deg, #8A5A44, #DDB893); }
.g-sydney   { background: linear-gradient(135deg, #9CC4C9, #EFEAE2); }
.g-jennifer { background: linear-gradient(135deg, #C7A96B, #F2E7D0); }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px; margin-top: 26px;
}
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 999px; background: #F1EBE2; color: var(--muted);
}
.chip.brand    { background: #F7E3D3; color: #8A5320; }
.chip.reported { background: var(--rose-soft); color: var(--rose-deep); }
.chip.pick     { background: #E7EEE4; color: #4A6B45; }
.product h3 { font-size: 1.16rem; }
.product p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.shop {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.shop:hover { background: var(--rose-deep); }

/* ---------- Routine pages ---------- */
.routine-hero {
  border-radius: 22px; margin: 8px auto 0; max-width: 1080px;
  padding: 62px 26px; text-align: center;
}
.routine-hero .mono { margin: 0 auto 18px; }
.routine-hero .kicker {
  text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 700;
  color: rgba(38,32,28,.65);
}
.routine-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 6px; }
.routine-hero .premise {
  max-width: 560px; margin: 12px auto 0; color: rgba(38,32,28,.75); font-size: 1.04rem;
}
.routine-hero.dark .kicker { color: rgba(255,255,255,.75); }
.routine-hero.dark h1 { color: #fff; }
.routine-hero.dark .premise { color: rgba(255,255,255,.85); }

.ftc {
  max-width: 760px; margin: 18px auto 0; padding: 0 22px;
  text-align: center; font-size: .8rem; color: var(--muted);
}
.intro { max-width: 720px; margin: 34px auto 0; padding: 0 22px; font-size: 1.05rem; }
.routine-body { padding-bottom: 30px; }
.outro {
  max-width: 720px; margin: 34px auto 0; padding: 22px;
  background: var(--rose-soft); border-radius: 16px; font-size: .97rem;
}
.outro strong { color: var(--rose-deep); }

.more { padding-top: 40px; padding-bottom: 60px; }
.more h2 { font-size: 1.5rem; }
.more-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.more-links a {
  text-decoration: none; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 22px; font-size: .92rem; font-weight: 600;
}
.more-links a:hover { border-color: var(--rose); color: var(--rose-deep); }

/* ---------- Catalog (K-beauty) ---------- */
.catalog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 14px; margin-top: 20px;
}
.mini {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 7px;
}
.mini h3 { font-size: 1.02rem; }
.mini p { color: var(--muted); font-size: .87rem; flex-grow: 1; }
.mini .shop { padding: 8px 16px; font-size: .82rem; }
.origin {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.origin.kr { color: var(--rose-deep); }
.origin.jp { color: #5B6BA8; }
.origin.cn { color: #B3543F; }
.jump { margin-top: 24px; }

.toolbar { margin-top: 26px; }
#cat-search {
  width: 100%; padding: 14px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font: inherit; font-size: .95rem; color: var(--ink); outline: none;
}
#cat-search:focus { border-color: var(--rose); }
.obtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.obtn {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--muted);
}
.obtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-count {
  font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 600;
  background: var(--rose-soft); color: var(--rose-deep);
  border-radius: 999px; padding: 3px 12px; vertical-align: middle; margin-left: 8px;
}
.mini-top { display: flex; align-items: center; gap: 10px; }
.mini .ic { color: var(--rose-deep); flex-shrink: 0; }
.mini .ic svg { width: 30px; height: 30px; display: block; }
.mini h3 .b { display: block; font-family: 'Inter', sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

.kb-banner {
  display: block; text-decoration: none; margin-top: 26px;
  border-radius: 18px; padding: 30px 32px;
  background: linear-gradient(120deg, #E89AA6, #FBEDE8 70%);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.kb-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(38,32,28,.12); }
.kb-banner .kicker {
  text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; font-weight: 700;
  color: rgba(38,32,28,.6);
}
.kb-banner h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; margin-top: 4px; }
.kb-banner p { color: rgba(38,32,28,.72); margin-top: 6px; max-width: 560px; font-size: .95rem; }
.kb-banner .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--rose-deep); }

/* ---------- Routine Lab (builder) ---------- */
.builder {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px; margin-top: 28px;
}
.q-block { margin-bottom: 18px; }
.q-label { font-weight: 700; font-size: .92rem; margin-bottom: 10px; display: block; }
.q-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.qbtn {
  font: inherit; font-size: .87rem; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--muted);
}
.qbtn.on { background: var(--rose-deep); color: #fff; border-color: var(--rose-deep); }
.builder-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.copybtn {
  font: inherit; font-size: .87rem; font-weight: 700; cursor: pointer;
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
}
.copybtn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }

.routine-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px; margin-top: 24px;
}
.rcol h3.rcol-title {
  font-size: 1.25rem; padding-bottom: 10px; border-bottom: 2px solid var(--rose-soft);
  margin-bottom: 14px;
}
.rcol h3.rcol-title .sun { color: var(--gold); }
.rcol h3.rcol-title .moon { color: #5B6BA8; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step {
  display: flex; gap: 14px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
}
.step-num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--rose-soft); color: var(--rose-deep);
  font-weight: 700; font-size: .88rem; display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.step-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted);
}
.step h4 { font-family: 'Fraunces', Georgia, serif; font-size: 1.05rem; margin: 2px 0; }
.step-why { color: var(--muted); font-size: .86rem; }
.step-note { color: var(--rose-deep); font-size: .8rem; font-weight: 600; margin-top: 2px; }
.step .shop { margin-top: 8px; padding: 7px 15px; font-size: .8rem; }

.guide-block {
  margin-top: 34px; padding-top: 10px;
}
.guide-block .guide-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.guide-block h2 { font-size: 1.6rem; }
.tweak {
  font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--rose);
  background: transparent; color: var(--rose-deep);
}
.tweak:hover { background: var(--rose-soft); }
.guide-blurb { color: var(--muted); margin-top: 4px; max-width: 640px; }

/* ---------- How it works ---------- */
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 26px;
}
.how {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.how .num {
  font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; color: var(--rose); font-weight: 640;
}
.how h3 { font-size: 1.08rem; margin-top: 6px; }
.how p { color: var(--muted); font-size: .93rem; margin-top: 6px; }

/* ---------- Disclosure page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 30px 22px 50px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 34px; }
.legal p { margin-top: 12px; color: #3D3630; }

/* ---------- Footer ---------- */
.site-foot { background: var(--foot); color: var(--foot-text); margin-top: 70px; }
.foot-inner { max-width: 1080px; margin: 0 auto; padding: 44px 22px 40px; }
.foot-brand { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; }
.foot-legal { margin-top: 14px; font-size: .84rem; color: #C9C0B4; max-width: 760px; }
.foot-links { margin-top: 18px; font-size: .9rem; }
.foot-links a { color: var(--foot-text); text-decoration: none; }
.foot-links a:hover { color: #E9B4BD; }
.foot-copy { margin-top: 14px; font-size: .8rem; color: #8E8579; }

@media (max-width: 620px) {
  .site-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero { padding: 44px 0 40px; }
  .routine-hero { border-radius: 0; }
}
