/* ─────────────────────────────────────────────
   원헤어 랜딩 — 토큰은 앱(frontend/lib/core/theme/hair_colors.dart)과 동일
   ───────────────────────────────────────────── */
/* SUIT Variable — 자체 호스팅(assets/fonts, OFL). CDN CSS 가 렌더를 막고 font-display 가 없어서 옮겼다 */
@font-face {
  font-family: "SUIT Variable";
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/SUIT-Variable.woff2") format("woff2-variations"), url("assets/fonts/SUIT-Variable.woff2") format("woff2");
}

:root {
  --bg: #FBFAF8;
  --bg-2: #F3F1EC;
  --ink: #191919;
  --ink-2: #3D3A36;
  --muted: #78716C;
  --muted-2: #8A8A8E;
  --line: #E9E4D9;
  --mint: #83DEDE;
  --mint-2: #A8EEEE;
  --mint-soft: #E9FBFB;
  --mint-soft-2: #F0FCFC;
  --teal: #0A6F78;
  --teal-2: #05545C;
  --on-mint: #064D55;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow-lg: 0 30px 60px -20px rgba(25, 25, 25, .22), 0 12px 24px -12px rgba(25, 25, 25, .12);
  --shadow-md: 0 16px 32px -14px rgba(25, 25, 25, .18);
  --shadow-mint: 0 14px 30px -10px rgba(10, 111, 120, .35);
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "SUIT Variable", "SUIT", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ── type ── */
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(38px, 6.4vw, 72px); }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.22; }
h1 em { font-style: normal; position: relative; white-space: nowrap; isolation: isolate; }
h1 em::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .12em;
  height: .38em; background: var(--mint); border-radius: 6px; z-index: -1; opacity: .8;
  mix-blend-mode: multiply;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.sec-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .lead { margin: 14px auto 0; max-width: 34em; }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: inline; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
  box-shadow: 0 10px 24px -12px rgba(25, 25, 25, .5);
}
.btn:hover { background: var(--teal-2); transform: translateY(-2px); box-shadow: var(--shadow-mint); }
.btn--sm { padding: 10px 18px; font-size: 14px; box-shadow: none; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 14px;
  padding: 10px 18px 10px 14px; min-width: 172px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
  box-shadow: 0 12px 28px -14px rgba(25, 25, 25, .55);
}
.store:hover { transform: translateY(-2px); background: #000; box-shadow: 0 18px 34px -14px rgba(25, 25, 25, .6); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-align: left; }
.store small { font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .02em; text-transform: none; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 248, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { background: rgba(251, 250, 248, .92); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(25, 25, 25, .25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .14em; font-size: 14px; color: #fff; background: var(--mint); padding: 8px 12px 8px 14px; border-radius: 10px; line-height: 1; }
.nav__links { display: flex; gap: 28px; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .nav__links { display: none; } .nav__inner { height: 60px; } }

/* ── hero ── */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 0; overflow: clip; text-align: center; }
.hero__glow {
  position: absolute; inset: auto 0 auto 50%; top: -10vw; width: min(1200px, 130vw); aspect-ratio: 1.6;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side at 50% 45%, rgba(131, 222, 222, .55), rgba(131, 222, 222, 0) 70%),
    radial-gradient(closest-side at 30% 60%, rgba(233, 251, 251, .9), rgba(233, 251, 251, 0) 70%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0 0 18px; }
.hero .lead { max-width: 34em; }
.hero .stores { margin-top: 34px; justify-content: center; }

.hero__stage { position: relative; width: 100%; max-width: 980px; margin: clamp(48px, 6vw, 80px) auto 0; padding-bottom: 8px; }
.hero__hint { color: var(--muted-2); font-size: 14px; margin-top: 18px; }

.phone {
  position: relative; z-index: 2; margin: 0 auto;
  width: min(360px, 82vw); aspect-ratio: 9 / 18.6;
  background: #111; border-radius: 52px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2a2a;
}
.phone::before { /* dynamic island */
  content: ""; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 26px; background: #111; border-radius: 999px; z-index: 5;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #fff; }
.phone__toggle {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 6;
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35);
}
.phone__toggle button { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.phone__toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* compare slider */
.compare { position: absolute; inset: 0; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* before 는 after 와 정확히 같은 크기로 깔고 clip-path 로만 잘라야 두 얼굴이 겹친다 */
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.compare.is-swapping img { opacity: 0; transition: opacity .18s; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px;
  background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff;
  box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .35), 0 0 0 3px var(--mint);
}
.compare__handle span::before, .compare__handle span::after {
  content: ""; position: absolute; top: 50%; width: 8px; height: 8px;
  border-top: 2.5px solid var(--ink); border-left: 2.5px solid var(--ink);
}
.compare__handle span::before { left: 13px; transform: translateY(-50%) rotate(-45deg); }
.compare__handle span::after { right: 13px; transform: translateY(-50%) rotate(135deg); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 4; }
.compare__tag {
  position: absolute; top: 64px; z-index: 3; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); color: var(--ink); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.compare__tag--l { left: 14px; }
.compare__tag--r { right: 14px; background: var(--mint); color: var(--on-mint); }

/* floating catalog cards */
.float {
  position: absolute; z-index: 1; width: clamp(120px, 15vw, 180px); aspect-ratio: 4 / 5;
  border-radius: 22px; overflow: hidden; background: var(--bg-2);
  box-shadow: var(--shadow-md); border: 4px solid #fff;
  animation: floaty 7s ease-in-out infinite;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--1 { left: 4%; top: 6%; transform: rotate(-8deg); animation-delay: -1s; }
.float--2 { right: 5%; top: 2%; transform: rotate(7deg); animation-delay: -3s; }
.float--3 { left: 12%; bottom: 10%; transform: rotate(5deg); animation-delay: -5s; }
.float--4 { right: 12%; bottom: 16%; transform: rotate(-6deg); animation-delay: -2s; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 900px) {
  .float { width: clamp(84px, 20vw, 120px); border-width: 3px; border-radius: 16px; }
  .float--1 { left: -2%; top: 10%; } .float--2 { right: -2%; top: 4%; }
  .float--3 { left: 0; bottom: 14%; } .float--4 { right: 0; bottom: 22%; }
}
@media (max-width: 560px) { .float--3, .float--4 { display: none; } }

/* ── facts ── */
.facts { padding: clamp(40px, 6vw, 72px) 0 0; }
.facts__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 20px 40px -30px rgba(25, 25, 25, .25);
}
.facts__inner > div { padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; }
.facts__inner > div + div { border-left: 1px solid var(--line); }
.facts strong { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--teal); }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .facts__inner { grid-template-columns: 1fr 1fr; }
  .facts__inner > div + div { border-left: 0; }
  .facts__inner > div:nth-child(even) { border-left: 1px solid var(--line); }
  .facts__inner > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ── features ── */
.features { padding: clamp(80px, 10vw, 140px) 0 0; }
.feat {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.feat + .feat { margin-top: clamp(24px, 4vw, 56px); }
.feat--flip .feat__copy { order: 2; }
.feat__copy h3 { margin-bottom: 16px; }
.feat__copy p { color: var(--muted); font-size: 17px; max-width: 30em; }
.feat__visual { position: relative; min-width: 0; }
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat--flip .feat__copy { order: 0; }
}

.masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.masonry img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-md); transition: transform .4s var(--ease); }
.masonry img:nth-child(2), .masonry img:nth-child(5) { transform: translateY(24px); }
.masonry img:hover { transform: translateY(-6px) scale(1.02); }
.masonry img:nth-child(2):hover, .masonry img:nth-child(5):hover { transform: translateY(18px) scale(1.02); }

.guide { position: relative; width: min(340px, 100%); margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #ddd; }
.guide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.guide__corner { position: absolute; width: 34px; height: 34px; border: 3px solid var(--mint); }
.guide__corner--tl { top: 18%; left: 18%; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.guide__corner--tr { top: 18%; right: 18%; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.guide__corner--bl { bottom: 26%; left: 18%; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.guide__corner--br { bottom: 26%; right: 18%; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.guide__checks { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.guide__checks li { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.guide__checks li.ok::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23064D55' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4.5 4.5L19 7'/%3E%3C/svg%3E"); background-size: 10px; background-position: center; background-repeat: no-repeat; }
.guide__shutter { position: absolute; top: 14px; right: 14px; width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .3); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(52, 211, 153, .3); } 50% { box-shadow: 0 0 0 9px rgba(52, 211, 153, .12); } }

.stack { position: relative; width: min(380px, 100%); margin: 0 auto; aspect-ratio: 1; }
.stack__card { position: absolute; width: 64%; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: #fff; padding: 8px 8px 0; box-shadow: var(--shadow-lg); }
.stack__card img { width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: 50% 15%; border-radius: 16px; }
.stack__card figcaption { height: 34px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.stack__card--back { left: 0; top: 4%; transform: rotate(-7deg); }
.stack__card--front { right: 0; top: 12%; transform: rotate(5deg); }
.stack__card--front figcaption { color: var(--teal); }
.stack__save {
  position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; padding: 10px 16px; border-radius: 999px;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
}
.stack__save svg { width: 18px; height: 18px; color: var(--mint); }

/* ── how ── */
.how { padding: clamp(80px, 10vw, 140px) 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 20px 40px -32px rgba(25, 25, 25, .3); transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step__num { position: absolute; top: 14px; left: 14px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--on-mint); font-weight: 800; font-size: 15px; }
.step__img { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--bg-2); margin-bottom: 18px; }
.step__img > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.step__img--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--mint-soft-2); }
.step__img--grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.step__badge { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ── faq ── */
.faq { padding: clamp(80px, 10vw, 140px) 0 0; }
.faq__inner { max-width: 760px; }
.acc details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; transition: box-shadow .3s; }
.acc details + details { margin-top: 10px; }
.acc details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 17px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mint-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A6F78' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; transition: transform .3s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { color: var(--muted); padding: 0 0 22px; margin-top: -4px; }

/* ── cta ── */
.cta { padding: clamp(80px, 10vw, 140px) 0; }
.cta__inner {
  position: relative; overflow: clip; text-align: center;
  background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(56px, 8vw, 96px) 24px;
}
.cta__inner::before { content: ""; position: absolute; left: 50%; top: -40%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(131, 222, 222, .35), transparent); pointer-events: none; }
.cta__icon { margin: 0 auto 22px; border-radius: 18px; box-shadow: 0 12px 30px -10px rgba(131, 222, 222, .6); }
.cta h2 { position: relative; margin-bottom: 30px; }
.cta .store { background: #fff; color: var(--ink); }
.cta .store:hover { background: var(--mint); color: var(--on-mint); }

/* ── footer ── */
.footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; }
.footer nav a:hover { color: var(--teal); }
.footer p { margin-left: auto; }
.brand--footer { font-size: 12px; padding: 7px 10px 7px 12px; }
@media (max-width: 560px) { .footer p { margin-left: 0; width: 100%; } }

/* ── reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* 히어로는 JS 를 기다리지 않고 CSS 로 바로 올린다 — LCP(비교 사진)가 app.js 뒤로 밀리지 않게 */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; }
.hero .reveal:nth-child(2) { animation-delay: .08s; }
.hero .reveal:nth-child(3) { animation-delay: .16s; }
.hero .reveal:nth-child(4) { animation-delay: .24s; }
.hero .reveal:nth-child(5) { animation-delay: .32s; }
.steps .step:nth-child(2) { transition-delay: .1s; }
.steps .step:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .reveal { animation: none; }
  .float, .guide__shutter { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ── duo (두 기능) ── */
.duo { padding: clamp(80px, 10vw, 140px) 0 0; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo__card {
  position: relative; display: flex; flex-direction: column; gap: 10px; row-gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 22px 26px;
  box-shadow: 0 20px 40px -32px rgba(25, 25, 25, .3);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.duo__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
/* 사진 띠는 두 카드가 같은 높이 — aspect-ratio 상자는 min-height:auto 가 내용 높이로 커지므로 0 으로 눌러야 한다 */
.duo__img { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(0, 1fr); gap: 8px; aspect-ratio: 1.6; min-height: 0; margin-bottom: 14px; }
.duo__img img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 12%; border-radius: 18px; }
.duo__img--report { grid-template-columns: repeat(3, 1fr); }
.duo__img--report img { object-position: 50% 18%; }
.duo__pic { position: relative; margin: 0; min-height: 0; border-radius: 18px; overflow: hidden; }
.duo__pic figcaption {
  position: absolute; left: 10px; top: 10px;
  background: rgba(14, 14, 18, .78); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px;
}
.duo__pic figcaption.is-after { background: var(--mint); color: var(--on-mint); }
.duo__tag { align-self: flex-start; margin-top: auto; position: relative; top: 0; background: var(--mint); color: var(--on-mint); font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; }
.duo__tag--dark { background: var(--ink); color: #fff; }
.duo__card h3 { font-size: 24px; }
.duo__card p { color: var(--muted); font-size: 16px; }
.duo__more { padding-top: 8px; font-weight: 700; color: var(--teal); font-size: 15px; }
.duo__more::after { content: " →"; }
@media (max-width: 760px) { .duo__grid { grid-template-columns: 1fr; } }

/* ── consulting (dark, 별자리 얼굴형) ── */
.consult { margin-top: clamp(80px, 10vw, 140px); padding: clamp(80px, 10vw, 150px) 0; background: #0E0E12; color: #fff; position: relative; overflow: clip; }
.consult::before { content: ""; position: absolute; left: 50%; top: 18%; width: min(900px, 120vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(131, 222, 222, .16), transparent 70%); pointer-events: none; }
.consult .wrap { position: relative; }
.lead--light { color: rgba(255, 255, 255, .72); }
.consult__head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.consult__head h2 { font-size: clamp(31px, 5.4vw, 64px); margin-bottom: 16px; }
.consult__head h2 em { font-style: normal; color: var(--mint); }

.constel { text-align: center; }
.constel__stage { width: min(440px, 78vw); height: calc(min(440px, 78vw) * 1.2); margin: 0 auto; }
.constel__stage svg { display: block; overflow: visible; }
.constel__name { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.constel__trait { color: rgba(255, 255, 255, .72); font-size: 16px; margin-top: 4px; min-height: 1.6em; }
.shape-index { display: flex; justify-content: center; gap: 6px; margin: 28px auto 0; max-width: 640px; flex-wrap: wrap; }
.shape-index button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px 8px; border-radius: 14px; color: rgba(255, 255, 255, .5); font-size: 12px; font-weight: 700; min-width: 68px; transition: background .25s, color .25s; }
.shape-index button svg { width: 30px; height: 36px; overflow: visible; }
.shape-index button path { fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; transition: stroke .25s; }
.shape-index button:hover { color: rgba(255, 255, 255, .85); }
.shape-index button[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.shape-index button[aria-selected="true"] path { stroke: var(--mint); }

.advice { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12); }
.advice__head h3 { font-size: clamp(26px, 3.4vw, 40px); }
.advice__body { transition: opacity .18s; }
.advice.is-swapping .advice__body { opacity: 0; }
.advice__dir { font-size: 17px; color: rgba(255, 255, 255, .85); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.advice__dir b { color: var(--mint); font-weight: 800; }
.advice__picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.advice__picks figure { min-width: 0; }
.advice__picks img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 18px; background: #1a1a1f; }
.advice__picks figcaption { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); margin-top: 8px; line-height: 1.35; }
.advice__avoid { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .6); display: flex; gap: 10px; align-items: baseline; }
.advice__avoid span { flex: none; font-weight: 800; font-size: 11px; letter-spacing: .06em; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 3px 8px; }
.advice__avoid em { font-style: normal; }
@media (max-width: 860px) { .advice { grid-template-columns: 1fr; } }

.csteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(56px, 7vw, 96px); }
.csteps li { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04)); border: 1.5px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 22px 20px 22px 62px; }
.csteps li span { position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--on-mint); font-weight: 800; font-size: 14px; }
.csteps h4 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.csteps p { font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { .csteps { grid-template-columns: 1fr; } }

.consult__cta { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.btn--mint { background: var(--mint); color: var(--on-mint); box-shadow: 0 14px 34px -12px rgba(131, 222, 222, .6); }
.btn--mint:hover { background: #A8EEEE; color: var(--on-mint); }
@media (max-width: 480px) { .shape-index { gap: 2px; } .shape-index button { min-width: 48px; padding: 8px 4px 6px; font-size: 11px; } .shape-index button svg { width: 24px; height: 29px; } }

/* ── consult: why (줄글) ── */
.why { max-width: 760px; margin: 0 auto clamp(64px, 8vw, 110px); }
.proof { margin: 28px 0 30px; }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.proof__grid > div { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #1c1c22; }
.proof__grid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.proof__grid span {
  position: absolute; left: 8px; top: 8px;
  background: rgba(14, 14, 18, .78); color: #fff; backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}
.proof__grid .is-best span { background: var(--mint); color: var(--on-mint); }
.proof__grid .is-avoid { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.proof__grid .is-avoid img { filter: saturate(.85); }
.proof figcaption { margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.proof figcaption b { color: #fff; }
@media (max-width: 560px) {
  .proof__grid { gap: 8px; }
  .proof__grid span { font-size: 11px; padding: 3px 7px; left: 6px; top: 6px; }
}
.why__lede { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 22px; }
.why p:not(.why__lede) { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.75; color: rgba(255, 255, 255, .62); }
.why p + p:not(.why__lede) { margin-top: 18px; }
.why b { color: #fff; font-weight: 700; }

/* ── consult: report contents ── */
.rep { margin-top: clamp(64px, 8vw, 110px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12); }
.rep__copy { max-width: 760px; margin: 0 auto; text-align: center; }
.rep__copy h3 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.rep__lead { font-size: clamp(15px, 1.5vw, 18px); color: rgba(255, 255, 255, .62); line-height: 1.6; }
.rep__toc { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; margin-top: 30px; text-align: left; }
.rep__toc li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .12); }
.rep__toc span { flex: none; white-space: nowrap; font-weight: 800; color: var(--mint); font-size: 14px; letter-spacing: .04em; padding-top: 2px; }
.rep__toc b { display: block; font-size: 16px; font-weight: 800; }
.rep__toc p { font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.rep__note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .5); }
@media (max-width: 640px) { .rep__toc { grid-template-columns: 1fr; } }

/* 리포트 다섯 장 — 앱 페이월의 미리보기와 같은 구조(글자 흐림, 뒤 장 잠금) */
.rep__strip {
  --fw: 248px; --gap: 14px;
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  margin: clamp(36px, 5vw, 56px) calc(50% - 50vw) 0; padding: 6px max(16px, calc(50vw - (5 * var(--fw) + 4 * var(--gap)) / 2)) 26px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rep__strip::-webkit-scrollbar { display: none; }
.rep__frame { flex: none; width: var(--fw); height: 440px; scroll-snap-align: center; border-radius: 34px; background: var(--bg); border: 1.5px solid rgba(255, 255, 255, .32); overflow: hidden; position: relative; }
.rep__frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.rp { width: 390px; transform: scale(.6); transform-origin: top left; margin-left: calc((var(--fw) - 390px * .6) / 2); padding: 22px 20px 30px; color: var(--ink); }
.rp__blur { color: transparent !important; text-shadow: 0 0 6px rgba(25, 25, 25, .75); }
.rp svg.rp__blur { filter: blur(3px); text-shadow: none; }
.rp .is-locked { filter: blur(7px); }

.rp__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rp__tabs { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rp__tabs .is-on { color: var(--ink); position: relative; }
.rp__tabs .is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ink); }
.rp__bar { height: 4px; background: var(--line); border-radius: 999px; margin: 12px 0 22px; overflow: hidden; }
.rp__bar i { display: block; width: var(--p); height: 100%; background: var(--mint); border-radius: 999px; }
.rp__head { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; margin-bottom: 18px; }
.rp__head b { font-size: 40px; font-weight: 800; color: var(--teal); letter-spacing: -.02em; grid-row: span 2; line-height: 1; }
.rp__head strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rp__head small { font-size: 13px; color: var(--muted); display: block; }

.rp__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.rp__photos figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }
.rp__shapecard { background: #fff; border-radius: 24px; padding: 18px 16px; margin-top: 14px; text-align: center; border: 1px solid var(--line); }
.rp__shapecard img { width: 156px; height: 187px; object-fit: cover; border-radius: 12px; }
.rp__shapecard strong { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.rp__shapecard p { font-size: 13px; margin-top: 6px; line-height: 1.5; }
.rp__para { font-size: 14px; line-height: 1.65; text-align: left; margin-top: 12px; }
.rp__box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 12px; }
.rp__boxtitle { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.rp__radar { width: 150px; height: 150px; display: block; margin: 0 auto 10px; }
.rp__measures { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rp__measures div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.rp__measures dt { font-size: 11px; }
.rp__measures dd { font-size: 15px; font-weight: 800; }

.rp__rows { display: grid; gap: 14px; }
.rp__row { display: flex; gap: 12px; align-items: flex-start; }
.rp__row img { width: 42%; flex: none; aspect-ratio: 118 / 148; object-fit: cover; object-position: 50% 15%; border-radius: 16px; }
.rp__row b { display: block; font-size: 13px; color: var(--teal); font-weight: 800; }
.rp__row strong { display: block; font-size: 16px; font-weight: 800; margin-top: 2px; line-height: 1.3; }
.rp__row p { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp__hero { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 26px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .4); }
.rp__name { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 18px; line-height: 1.25; }

.rp__parts { display: grid; gap: 14px; }
.rp__part { display: flex; gap: 12px; align-items: center; }
.rp__part b { font-size: 16px; font-weight: 800; width: 22px; flex: none; }
.rp__part svg { width: 64px; height: 64px; flex: none; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.rp__part strong { display: block; font-size: 16px; font-weight: 800; }
.rp__part p { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
