/* =========================================================
   다시올때 — 뷰티 주기 리마인더 · 랜딩
   의존성 0 · 외부요청 0 · 시스템 폰트 · 라이트/다크 · reduced-motion 존중
   브랜드 토큰 출처: Sources/Design/Theme.swift
   ========================================================= */

/* ---------- 토큰 ---------- */
:root {
  --bg:        #FBF7F8;
  --bg-2:      #F4EAEF;
  --surface:   #FFFFFF;
  --surface-2: #F6EDF1;
  --text:      #2B1B22;
  --muted:     #7A5B67;
  --border:    #EEDFE5;
  --border-2:  #E4D0D9;

  --primary:   #8E3B5E;   /* 딥 플럼 — 라이트에서 텍스트 대비 6.73 */
  --grad-a:    #B24A72;
  --grad-b:    #8E3B5E;
  --gold:      #C79A3C;    /* 장식 전용(라이트 텍스트 금지) */

  --medical:   #B24A72;
  --medical-tint-bg: rgba(178, 74, 114, 0.12);
  --medical-tint-tx: #8E3B5E;   /* 틴트 위 텍스트 6.06 */
  --beauty:    #8C7A3F;
  --beauty-tint-bg: rgba(140, 122, 63, 0.14);
  --beauty-tint-tx: #6B5A28;    /* 틴트 위 텍스트 5.85 */

  --on-grad:   #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(43,27,34,.06);
  --shadow-md: 0 10px 30px rgba(43,27,34,.10);
  --shadow-lg: 0 24px 60px rgba(43,27,34,.14);
  --ring-focus: 0 0 0 3px rgba(142,59,94,.45);

  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --wrap: 1160px;

  --dur: 440ms;                 /* 뷰티 프로파일 350~500ms */
  --ease: cubic-bezier(.22,.61,.20,1);         /* soft, 약한 오버슈트 대체 */
  --spring: cubic-bezier(.34,1.35,.4,1);       /* 살짝의 오버슈트 */
  --stagger: 70ms;

  --grain-op: .05;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg:        #141014;
    --bg-2:      #1B151B;
    --surface:   #201A20;
    --surface-2: #2A222A;
    --text:      #F3EAEE;
    --muted:     #B9A2AD;
    --border:    #3A2F37;
    --border-2:  #483B44;

    --primary:   #E68CB0;   /* 다크 텍스트 대비 7.85 */
    --grad-a:    #B24A72;
    --grad-b:    #7A2E4F;
    --gold:      #E9C36A;

    --medical:   #E68CB0;
    --medical-tint-bg: rgba(230, 140, 176, 0.16);
    --medical-tint-tx: #F0AECB;
    --beauty:    #E9C36A;
    --beauty-tint-bg: rgba(233, 195, 106, 0.16);
    --beauty-tint-tx: #F0D28A;

    --shadow-sm: 0 2px 10px rgba(0,0,0,.4);
    --shadow-md: 0 12px 34px rgba(0,0,0,.5);
    --shadow-lg: 0 26px 64px rgba(0,0,0,.6);
    --ring-focus: 0 0 0 3px rgba(230,140,176,.5);
    --grain-op: .07;
  }
}
/* 수동 토글 (시스템값을 덮어씀) */
:root[data-theme="dark"] {
  --bg:#141014; --bg-2:#1B151B; --surface:#201A20; --surface-2:#2A222A;
  --text:#F3EAEE; --muted:#B9A2AD; --border:#3A2F37; --border-2:#483B44;
  --primary:#E68CB0; --grad-a:#B24A72; --grad-b:#7A2E4F; --gold:#E9C36A;
  --medical:#E68CB0; --medical-tint-bg:rgba(230,140,176,.16); --medical-tint-tx:#F0AECB;
  --beauty:#E9C36A; --beauty-tint-bg:rgba(233,195,106,.16); --beauty-tint-tx:#F0D28A;
  --shadow-sm:0 2px 10px rgba(0,0,0,.4); --shadow-md:0 12px 34px rgba(0,0,0,.5);
  --shadow-lg:0 26px 64px rgba(0,0,0,.6); --ring-focus:0 0 0 3px rgba(230,140,176,.5);
  --grain-op:.07;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
               "Segoe UI", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1,h2,h3 { line-height: 1.16; letter-spacing: -0.02em; font-weight: 750; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- 커스텀 커서 (데스크톱만) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; top: 0; left: 0; z-index: 300;
    pointer-events: none; mix-blend-mode: normal;
  }
  .cursor__dot, .cursor__ring {
    position: fixed; top: 0; left: 0; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__dot { width: 7px; height: 7px; background: var(--primary); }
  .cursor__ring {
    width: 34px; height: 34px; border: 1.5px solid var(--primary);
    opacity: .5; transition: width .25s var(--ease), height .25s var(--ease), opacity .25s, background .25s;
  }
  .cursor.is-hot .cursor__ring { width: 54px; height: 54px; opacity: .9; background: rgba(142,59,94,.08); }
  .cursor.is-hot .cursor__dot { opacity: 0; }
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ---------- 스크롤 진행바 ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-progress > span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--grad-a), var(--gold));
  transform-origin: left;
}

/* ---------- 내비 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -0.03em; }
.brand__text small { font-size: .68rem; color: var(--muted); letter-spacing: 0; }
.nav__links { display: none; gap: 26px; margin-inline: auto; }
.nav__links a { font-size: .92rem; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--primary); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 0; }
}

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center;
  transition: transform .3s var(--spring), border-color .2s, background .2s;
}
.theme-toggle:hover { transform: rotate(30deg) scale(1.05); border-color: var(--primary); }
.theme-toggle__icon {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold);
  box-shadow: inset -5px -5px 0 0 var(--surface);
  transition: box-shadow .4s var(--ease), background .3s;
}
:root[data-theme="dark"] .theme-toggle__icon,
.theme-toggle[aria-pressed="true"] .theme-toggle__icon {
  box-shadow: inset 0 0 0 0 var(--surface); background: var(--gold);
}

/* ---------- 버튼 ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad-y) var(--pad-x); border-radius: var(--r-pill);
  font-weight: 650; font-size: .98rem; letter-spacing: -0.01em;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .28s var(--spring), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--sm { --pad-y: 9px; --pad-x: 18px; font-size: .88rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: var(--on-grad); box-shadow: var(--shadow-md);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, #C25B84, var(--grad-a));
  opacity: 0; transition: opacity .3s ease;
}
.btn--primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary > * , .btn--primary { z-index: 1; }
.btn--primary { isolation: isolate; }
.btn--ghost {
  background: var(--surface); color: var(--text); border-color: var(--border-2);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }

/* ---------- 섹션 공통 ---------- */
section { position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4.4vw, 2.7rem); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 650; letter-spacing: .02em;
  color: var(--primary); margin-bottom: 16px;
  text-transform: none;
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 24%, transparent); }
.eyebrow--onDark { color: #F6D9E5; }
.eyebrow--onDark .eyebrow__dot { background: var(--gold); }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 88px) 0 clamp(60px, 9vw, 100px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.hero__blob--1 { width: 46vw; height: 46vw; max-width:560px; max-height:560px; top: -12%; right: -8%;
  background: radial-gradient(circle at 30% 30%, #E7A9C2, transparent 68%); }
.hero__blob--2 { width: 40vw; height: 40vw; max-width:480px; max-height:480px; bottom: -18%; left: -12%;
  background: radial-gradient(circle at 50% 50%, #EED9A6, transparent 66%); opacity: .42; }
.hero__blob--3 { width: 30vw; height: 30vw; max-width:360px; max-height:360px; top: 30%; left: 40%;
  background: radial-gradient(circle at 50% 50%, #C98BAd, transparent 70%); opacity: .3; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .hero__blob--1 { opacity:.35; background: radial-gradient(circle at 30% 30%, #7A2E4F, transparent 68%); }
  :root[data-theme="auto"] .hero__blob--2 { opacity:.22; background: radial-gradient(circle at 50% 50%, #6B5A28, transparent 66%); }
  :root[data-theme="auto"] .hero__blob--3 { opacity:.28; background: radial-gradient(circle at 50% 50%, #55304A, transparent 70%); }
}
:root[data-theme="dark"] .hero__blob--1 { opacity:.35; background: radial-gradient(circle at 30% 30%, #7A2E4F, transparent 68%); }
:root[data-theme="dark"] .hero__blob--2 { opacity:.22; background: radial-gradient(circle at 50% 50%, #6B5A28, transparent 66%); }
:root[data-theme="dark"] .hero__blob--3 { opacity:.28; background: radial-gradient(circle at 50% 50%, #55304A, transparent 70%); }

/* CSS 그레인/노이즈 오버레이 (인라인 SVG data URI — 외부요청 없음) */
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: var(--grain-op); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(36px, 6vw, 60px);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 940px) { .hero__inner { grid-template-columns: 1.08fr .92fr; } }

.hero__title { font-size: clamp(2.3rem, 7.4vw, 4.3rem); margin: 6px 0 22px; }
.hero__title .line { display: block; }
.hero__title--accent {
  background: linear-gradient(100deg, var(--grad-a), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero__lead { font-size: clamp(1.02rem, 2.4vw, 1.22rem); color: var(--muted); max-width: 30em; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; padding: 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--muted); }
.hero__badges span { color: var(--gold); font-size: .7rem; }

/* 히어로 링 카드 */
.hero__ring { display: grid; place-items: center; }
.ringcard {
  position: relative; width: min(340px, 82vw); aspect-ratio: 1;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 26px;
}
.ringcard--lg { width: min(380px, 86vw); }
.ring { width: 100%; height: 100%; }
.ring__track { fill: none; stroke: var(--border); stroke-width: 14; }
.ring__fill {
  fill: none; stroke: url(#ringGrad); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 578; stroke-dashoffset: 578;   /* 2πr, r=92 → ≈578 */
}
.ring__fill--demo { stroke: url(#demoGrad); }
.ringcard__center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 3px;
}
.ringcard__dlabel { font-size: .8rem; color: var(--muted); }
.ringcard__dday {
  font-size: clamp(2.4rem, 8vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em;
  color: var(--primary); font-variant-numeric: tabular-nums;
}
.ringcard__date { font-size: 1rem; font-weight: 650; color: var(--text); }
.ringcard__foot {
  position: absolute; left: 0; right: 0; bottom: 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.ringcard__cycle { font-size: .82rem; color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 650; letter-spacing: -0.01em;
  background: var(--beauty-tint-bg); color: var(--beauty-tint-tx);
}
.chip--medical { background: var(--medical-tint-bg); color: var(--medical-tint-tx); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border: 2px solid var(--border-2);
  border-radius: var(--r-pill); display: grid; place-items: start center; padding-top: 7px;
}
.hero__scroll-line { width: 3px; height: 8px; border-radius: 3px; background: var(--primary);
  animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(14px);opacity:0} 100%{opacity:0} }

/* ---------- 통계 ---------- */
.stats { padding: clamp(28px, 5vw, 40px) 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
@media (min-width: 720px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat__num {
  display: block; font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; letter-spacing: -0.03em;
  color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1;
}
.stat__label { display: block; margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- 공통 섹션 여백 ---------- */
.prob, .how, .demo, .lib, .privacy, .faq { padding: clamp(64px, 10vw, 120px) 0; }

/* ---------- 문제 ---------- */
.prob__cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .prob__cards { grid-template-columns: repeat(3, 1fr); } }
.pcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.pcard__no { font-size: .82rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.pcard h3 { font-size: 1.2rem; margin: 12px 0 10px; }
.pcard p { color: var(--muted); font-size: .98rem; }

/* ---------- 사용법 스텝 ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative;
}
.step__num {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  color: var(--on-grad); background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow: var(--shadow-sm);
}
.step__body h3 { font-size: 1.14rem; margin-bottom: 8px; }
.step__body p { color: var(--muted); font-size: .96rem; }

/* ---------- 데모 ---------- */
.demo { background: var(--bg-2); border-block: 1px solid var(--border); overflow: hidden; }
.demo__inner {
  display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; grid-template-columns: 1fr;
}
@media (min-width: 920px) { .demo__inner { grid-template-columns: 1fr 1fr; } }
.demo__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.dchip {
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: var(--surface); color: var(--text); font-weight: 600; font-size: .92rem;
  transition: transform .25s var(--spring), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.dchip:hover { transform: translateY(-2px); border-color: var(--primary); }
.dchip.is-active {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: var(--on-grad); border-color: transparent; box-shadow: var(--shadow-md);
}
.demo__ring { display: grid; place-items: center; }

.disclaimer {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .84rem; color: var(--muted); line-height: 1.55;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 12px 14px; max-width: 42em;
}
.disclaimer span[aria-hidden] { color: var(--primary); font-weight: 700; }
.disclaimer--wide { max-width: none; margin-top: 30px; }

/* ---------- 라이브러리 ---------- */
.lib__filter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 36px; }
.fchip {
  padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--border-2);
  background: var(--surface); color: var(--muted); font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 7px;
  transition: transform .25s var(--spring), background .25s, color .25s, border-color .25s;
}
.fchip:hover { transform: translateY(-2px); color: var(--text); border-color: var(--primary); }
.fchip[aria-pressed="true"] {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.fchip__count { font-size: .74rem; opacity: .7; font-variant-numeric: tabular-nums; }

.lib__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.preset {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  animation: pop .45s var(--spring) both;
}
.preset:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.preset__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.preset__ic {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--primary);
}
.preset__ic svg { width: 22px; height: 22px; }
.preset__tag {
  font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill);
}
.preset__tag--medical { background: var(--medical-tint-bg); color: var(--medical-tint-tx); }
.preset__tag--beauty  { background: var(--beauty-tint-bg);  color: var(--beauty-tint-tx); }
.preset__title { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; }
.preset__cycle { margin-top: 6px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.preset__cycle strong { color: var(--primary); font-weight: 700; }
.preset__note { margin-top: 10px; font-size: .8rem; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--border-2); }

/* ---------- 개인정보 ---------- */
.privacy__inner { display: grid; gap: clamp(34px, 6vw, 58px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) { .privacy__inner { grid-template-columns: .9fr 1.1fr; } }
.privacy__list { list-style: none; padding: 0; display: grid; gap: 14px; }
.pitem {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 20px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s;
}
.pitem:hover { transform: translateX(4px); border-color: var(--border-2); }
.pitem__ic {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--primary); font-size: .8rem;
}
.pitem h3 { font-size: 1.04rem; margin-bottom: 5px; }
.pitem p { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-2); border-block: 1px solid var(--border); }
.faq__inner { max-width: 780px; margin-inline: auto; }
.faq__list { display: grid; gap: 12px; }
.acc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.acc[open] { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 650; font-size: 1.04rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__ic { flex: 0 0 auto; position: relative; width: 18px; height: 18px; }
.acc__ic::before, .acc__ic::after {
  content: ""; position: absolute; background: var(--primary); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s;
}
.acc__ic::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc__ic::after { top: 0; left: 8px; width: 2px; height: 18px; }
.acc[open] .acc__ic::after { transform: rotate(90deg); opacity: 0; }
.acc__body { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); }
.acc[open] .acc__body { padding: 0 22px 22px; max-height: 340px; }
.acc__body p { color: var(--muted); font-size: .96rem; }

/* ---------- 사전예약 ---------- */
.waitlist {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(70px, 11vw, 130px) 0;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: var(--on-grad);
}
.waitlist .grain { mix-blend-mode: soft-light; opacity: .12; }
.waitlist__inner { position: relative; z-index: 2; max-width: 620px; margin-inline: auto; }
.waitlist h2 { font-size: clamp(1.9rem, 5vw, 3rem); color: #fff; }
.waitlist__sub { margin-top: 14px; color: #F6E4EC; font-size: 1.05rem; }
.waitlist__form { margin-top: 30px; }
.field {
  display: flex; gap: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill); padding: 7px 7px 7px 8px; max-width: 480px; margin-inline: auto;
  backdrop-filter: blur(6px);
}
.field:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.field input {
  flex: 1; min-width: 0; border: none; background: transparent; color: #fff;
  font-size: 1rem; padding: 10px 14px; outline: none;
}
.field input::placeholder { color: rgba(255,255,255,.72); }
.field .btn--primary {
  background: #fff; color: var(--grad-b); box-shadow: none; flex: 0 0 auto;
}
.field .btn--primary::before { background: #FBEAF1; }
.field .btn--primary:hover { color: var(--grad-b); }
.waitlist__note { margin-top: 14px; font-size: .84rem; color: #F2D6E1; }
.waitlist__note.is-done { color: #fff; font-weight: 650; }

/* ---------- 푸터 ---------- */
.foot { background: var(--bg); border-top: 1px solid var(--border); padding: 48px 0 40px; }
.foot__inner { display: grid; gap: 16px; }
.foot__brand { display: flex; align-items: baseline; gap: 10px; }
.foot__brand strong { font-size: 1.1rem; }
.foot__brand span { font-size: .85rem; color: var(--muted); }
.foot__disc { color: var(--muted); font-size: .84rem; max-width: 60em; line-height: 1.6; }
.foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.foot__meta a:hover { color: var(--primary); }

/* ---------- 스크롤 리빌 ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-stagger] { opacity: 0; transform: translateY(30px); }
.is-in [data-stagger], [data-stagger].is-in { }

/* 히어로 타이틀 stagger (JS 없이도 등장) */
.hero__title .line { opacity: 0; transform: translateY(34px); animation: lineUp .9s var(--ease) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .12s; }
.hero__title .line:nth-child(2) { animation-delay: .24s; }
.hero__title .line:nth-child(3) { animation-delay: .36s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }

/* ---------- reduced-motion: 모든 모션 비활성화 ---------- */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .line { opacity: 1 !important; transform: none !important; animation: none !important; }
  .ring__fill { stroke-dashoffset: 0 !important; }
  .cursor { display: none !important; }
  body.has-cursor { cursor: auto !important; }
  .hero__scroll-line { animation: none !important; }
  .preset { animation: none !important; opacity: 1 !important; transform: none !important; }
}
