/* 레니스 소개 · 주요 기능 페이지 스타일. 조립 결과(docs/시안-2026-10-13-메인-v4/src/v4.css) */
/* 레니스 소개 사이트 v4: 메인(소개)과 주요 기능 페이지를 나눈다. 글꼴은 국문 · 영문 모두 Pretendard(2026-10-21 대표 «모든 앱 UI 는 Pretendard 를 가장 먼저», 그 전에는 영문 제목 Plus Jakarta Sans · 영문 설명 Roboto).
   규칙: 글자 12px 이상 · 버튼과 항목에 외곽선 없음(면 색으로 구분) · 그림자는 거의 없게 · 아이콘은 정해진 상자 안에 같은 여백으로 · 배경 이미지는 늘리지 않고 어둡게 덮고 노이즈를 얹는다 */
:root {
  --paper: #ffffff;
  --mist: #f6f3fb;
  --lilac: #f1e9ff;
  --lilac-2: #e8ddff;
  --tint: #ece6f5;
  --ink: #15121b;
  --ink-2: #4f4a5a;
  --ink-3: #6f6a7b;
  --violet: #b026ff;
  --violet-ink: #7414c8;
  --violet-soft: #f1e6ff;
  --good: #108a5c;
  --night: #121016;
  --night-2: #1d1925;
  --sh: 0 1px 2px rgba(40, 16, 80, .06);
  --title: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --ko: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --sub: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  color-scheme: light;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sub); font-size: 16px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.site { overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.in { width: min(1240px, 100%); margin-inline: auto; padding-inline: 24px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
.en { font-family: var(--title); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; }
.ko-h { font-family: var(--ko); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.lab { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sub); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); }
.lab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.75; }
.chipn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 99px; background: var(--mist); font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.chipn i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.v { color: var(--violet); }

/* 아이콘 규격 두 가지
   3D 그림(.ic): 72px 이상 큰 자리. 상자 크기만 바꾸고 그림은 늘 상자의 64% 안에 가운데(상하좌우 18% 여백)
   선 아이콘(.gi): 64px 이하 작은 자리. 그림은 늘 상자의 56%(상하좌우 22% 여백) · 선 굵기 1.9/24
   알약 안의 아이콘은 둥근 상자(.r)로 두고 알약과 같은 중심(위 · 아래 · 왼쪽 여백 4px)에 둔다 */
.ic { display: block; flex: none; width: var(--s, 56px); height: var(--s, 56px); padding: calc(var(--s, 56px) * .18); border-radius: calc(var(--s, 56px) * .28); background: var(--ib, var(--lilac)); }
.ic img { width: 100%; height: 100%; object-fit: contain; }
.ic.s32 { --s: 32px; } .ic.s40 { --s: 40px; } .ic.s48 { --s: 48px; } .ic.s64 { --s: 64px; } .ic.s88 { --s: 88px; } .ic.s120 { --s: 120px; }
.ic.w { --ib: #fff; }
.gi { --s: 40px; display: inline-grid; place-items: center; flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .3); background: var(--gb, #fff); color: var(--gc, var(--ink)); }
.gi.r { border-radius: 50%; }
.gi svg { width: 56%; height: 56%; display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gi .f { fill: var(--ga, var(--violet)); stroke: var(--ga, var(--violet)); stroke-width: 1.2; }
.gi .a { stroke: var(--ga, var(--violet)); }
.gi .m { fill: currentColor; stroke: none; }
.gi .m2 { fill: var(--ga, var(--violet)); stroke: none; }
.gi.s32 { --s: 32px; } .gi.s40 { --s: 40px; } .gi.s44 { --s: 44px; } .gi.s48 { --s: 48px; }
.gi.lt { --gb: var(--lilac); }
.gi.dk { --gb: rgba(255,255,255,.1); --gc: #fff; --ga: #d6a8ff; }
.ic.dk { --ib: rgba(255,255,255,.1); }

/* 위쪽: 캡슐 메뉴 + 결제 줄 */
.top { position: fixed; z-index: 50; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 14px); transform: translateX(-50%); width: min(540px, calc(100% - 32px)); display: grid; gap: 6px; }
.cap { background: var(--ink); color: #fff; border-radius: 18px; overflow: hidden; }
.cap-row { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; height: 56px; padding-inline: 6px; }
.mark { width: 32px; height: 32px; margin-left: 10px; display: block; }
.word { display: flex; justify-content: center; text-decoration: none; }
.word svg { height: 17px; width: auto; display: block; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 12px; }
.burger span { display: grid; gap: 6px; }
.burger i { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s cubic-bezier(.6,0,.2,1); }
.top.open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.top.open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.6,0,.2,1); }
.top.open .menu { grid-template-rows: 1fr; }
.menu > div { overflow: hidden; visibility: hidden; transition: visibility 0s linear .7s; }
.top.open .menu > div { visibility: visible; transition-delay: 0s; }
.menu ul { list-style: none; margin: 0 8px 8px; padding: 6px; background: #1f1b26; border-radius: 14px; max-height: min(62vh, 560px); overflow-y: auto; display: grid; gap: 2px; }
.menu .grp { padding: 10px 12px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a49dae; font-weight: 500; }
.menu a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 7px 10px; text-decoration: none; border-radius: 10px; }
.menu a:hover { background: rgba(255,255,255,.06); }
.menu a .t { font-family: var(--title); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.menu a .k { font-size: 13px; color: #b3acbd; }
.menu a.now { background: rgba(176,38,255,.2); }
.menu a.now .gi { --gb: var(--violet); --gc: #fff; --ga: #f3e3ff; }
.toprow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.con { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 16px 0 11px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .25s; }
.con:hover { background: #2a2433; }
.pay { display: flex; min-width: 0; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 18px; border-radius: 16px; background: var(--violet); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.pay .pr { margin-left: auto; font-size: 13px; opacity: .92; font-weight: 500; }
.pay .ar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); display: grid; place-items: center; transition: transform .3s; }
.pay:hover .ar { transform: translateX(3px); }
.dim { position: fixed; inset: 0; z-index: 40; background: rgba(21,18,27,.32); opacity: 0; pointer-events: none; transition: opacity .35s; }
.dim.on { opacity: 1; pointer-events: auto; }

/* 버튼 */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 24px; border-radius: 99px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; transition: transform .25s; }
.pill:hover { transform: translateY(-2px); }
.pill .chip { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 99px; background: var(--violet); font-size: 14px; font-weight: 600; }
.pill.soft { background: var(--lilac); color: var(--ink); padding: 0 24px; }
.pill.light { background: #fff; color: var(--ink); padding: 0 24px; }

/* 이미지 배경: 늘리지 않고, 어둡게 덮고, 노이즈를 얹는다 */
.bgx { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.bgx > .bgi { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.bgx::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 70% at 50% 45%, rgba(14,10,22,.42) 0%, rgba(14,10,22,.72) 70%, rgba(14,10,22,.86) 100%); }
.bgx::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .14; mix-blend-mode: overlay; pointer-events: none; }
.bgx .lab { color: #e2c4ff; }
.bgx .lab::before { background: #e2c4ff; }
.bgx .lead { color: rgba(255,255,255,.84); }
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--noise); opacity: .1; mix-blend-mode: overlay; pointer-events: none; }

/* 페이지 */
[data-page][hidden] { display: none !important; }

/* ── 메인: 첫 화면 ── */
.hero { position: relative; padding-top: calc(env(safe-area-inset-top, 0px) + 176px); background: radial-gradient(120% 64% at 50% 0%, #ecdfff 0%, #f6f0ff 46%, #ffffff 82%); overflow: hidden; }
.hero .in { position: relative; z-index: 2; text-align: center; }
.hero h1 { font-size: clamp(44px, 7.6vw, 112px); margin-top: 22px; }
.hero h1 .row { display: block; }
.hero .lead { max-width: 680px; margin: 28px auto 0; }
.hero .cta-row { justify-content: center; }
.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaters img { position: absolute; width: clamp(64px, 7.6vw, 116px); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
.hero-stage { position: relative; z-index: 2; width: min(1040px, calc(100% - 32px)); margin: 64px auto 0; padding-bottom: 96px; }
.hero-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-legend > span { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 4px 20px 4px 4px; border-radius: 99px; background: var(--mist); color: var(--ink); font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.hero-legend > span > .gi { --gb: #fff; transition: background .3s, color .3s; }
.hero-legend > span > b { font-family: var(--title); font-weight: 700; }
.hero-legend > span.on { background: var(--ink); color: #fff; }
.hero-legend > span.on > .gi { --gb: var(--violet); --gc: #fff; --ga: #f3e3ff; }

/* 용어 띠 */
.marq { background: var(--violet); color: #fff; overflow: hidden; padding-block: 18px; }
.marq-track { display: flex; gap: 12px; width: max-content; animation: marq 48s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq .it { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 4px 24px 4px 4px; border-radius: 99px; background: rgba(255,255,255,.14); font-family: var(--title); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.marq .it .gi { --gb: #fff; --gc: var(--ink); --ga: var(--violet); }
.marq .it > span:not(.gi) { font-family: var(--ko); font-weight: 500; font-size: 15px; opacity: .86; }
@keyframes marq { to { transform: translateX(-50%); } }

/* 절 머리 */
.sec { padding-block: clamp(100px, 10vw, 140px) 20px; }
.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.sh h2 { font-size: clamp(36px, 5vw, 70px); margin-top: 16px; }
.sh .lead { margin: 0; }

/* 여덟 요소 카드 */
.tk-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tk-card { display: grid; align-content: start; gap: 12px; padding: 12px 12px 24px; border-radius: 28px; background: var(--mist); text-decoration: none; transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s; min-width: 0; }
.tk-card:hover { transform: translateY(-4px); background: var(--lilac); }
.tk-card .ph { border-radius: 20px; background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.tk-card .ph .ic { --s: clamp(92px, 9vw, 128px); }
.tk-card h3 { font-family: var(--title); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; padding-inline: 8px; min-height: 2.4em; }
.tk-card .chipn { justify-self: start; margin-left: 8px; background: #fff; }
.tk-card p { margin: 0; padding-inline: 8px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.tk-card .go { margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--violet-ink); }
.src { margin-top: 20px; font-size: 13px; color: var(--ink-3); }
.src a { color: var(--ink-2); }

/* 다른 점 띠(이미지 배경) */
.diff { padding-block: clamp(100px, 10vw, 150px); }
.diff .head { text-align: center; max-width: 980px; margin-inline: auto; }
.diff h2 { font-size: clamp(38px, 6vw, 88px); margin-top: 18px; }
.diff .lead { max-width: 660px; margin: 24px auto 0; }
.diff-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dcard { display: grid; align-content: start; gap: 12px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; color: #fff; transition: background .3s; min-width: 0; }
.dcard:hover { background: rgba(255,255,255,.14); }
.dcard .ic { --ib: rgba(255,255,255,.92); }
.dcard .k { font-size: 13px; color: #d9c2f6; font-weight: 500; }
.dcard h3 { font-family: var(--title); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.dcard p { margin: 0; font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.6; }
.dcard .go { font-size: 14px; font-weight: 600; color: #e9d4ff; }
.diff .cta-row { justify-content: center; margin-top: 40px; }

/* 숫자 띠 */
.nums { background: linear-gradient(120deg, #9a1ff0 0%, #b026ff 45%, #c45bff 100%); color: #fff; padding-block: clamp(80px, 8vw, 110px); }
.nums .lab { color: #f2e2ff; }
.nums .lab::before { background: #f2e2ff; }
.nums h2 { font-size: clamp(30px, 4vw, 54px); max-width: 860px; margin-top: 16px; }
.nums .lead { color: rgba(255,255,255,.88); max-width: 680px; margin: 16px 0 0; }
.ngrid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nb { padding: 22px 22px 24px; border-radius: 24px; background: rgba(255,255,255,.14); }
.nb .n { font-family: var(--title); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.nb .n small { font-size: .42em; letter-spacing: 0; margin-left: 4px; font-family: var(--ko); font-weight: 700; }
.nb .k { margin-top: 10px; font-weight: 700; font-size: 16px; }
.nb p { margin: 4px 0 0; font-size: 14px; color: rgba(255,255,255,.86); }

/* 순서 */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.step { border-radius: 28px; background: var(--mist); padding: 28px 26px 30px; display: grid; gap: 10px; align-content: start; }
.step .no { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--violet-ink); }
.step h3 { font-family: var(--title); font-weight: 800; font-size: 34px; letter-spacing: -0.035em; }
.step p { margin: 0; color: var(--ink-2); }

/* 나머지 기능 */
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { border-radius: 28px; background: var(--mist); padding: 12px 12px 24px; display: grid; align-content: start; gap: 10px; min-width: 0; }
.card .ph { position: relative; border-radius: 20px; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.card .ph > .ic { --s: clamp(104px, 10vw, 144px); margin-top: -18%; }
.card .ph .ui { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 14px; background: var(--mist); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.card .ph .ui b { font-weight: 700; }
.card .ph .ui .m { font-size: 12px; font-weight: 600; color: var(--violet-ink); margin-left: auto; white-space: nowrap; }
.card .ph .ui .qr { width: 26px; height: 26px; border-radius: 5px; flex: none; background: conic-gradient(from 90deg, #15121b 25%, #fff 0 50%, #15121b 0 75%, #fff 0) 0 0 / 8px 8px; }
.card .ph .ui .avs { display: flex; }
.card .ph .ui .avs i { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; background: #c9a3ff; box-shadow: 0 0 0 2px var(--mist); }
.card .ph .ui .avs i:first-child { margin-left: 0; background: var(--violet); } .card .ph .ui .avs i:nth-child(3) { background: #ffcf3d; }
.card h4 { font-family: var(--title); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 6px 8px 0; }
.card .chipn { justify-self: start; margin-left: 8px; background: #fff; }
.card p { margin: 0 8px; font-size: 15px; color: var(--ink-2); }

/* 가져오기 띠 */
.mig { padding-block: clamp(90px, 9vw, 130px); }
.mig .in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.mig h2 { font-size: clamp(34px, 4.6vw, 64px); margin-top: 16px; }
.mig .lead { margin: 20px 0 0; }
.mig .pts { display: grid; gap: 10px; }
.mig .pt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.08); font-size: 15px; }
.mig .pt b { display: block; font-size: 16px; }
.mig .pt div > span { color: rgba(255,255,255,.78); font-size: 14px; }

/* 요금 */
.price-head { text-align: center; }
.price-head h2 { font-size: clamp(38px, 6vw, 86px); margin-top: 18px; }
.price-head .lead { max-width: 620px; margin: 22px auto 0; }
.plans { width: min(820px, 100%); margin: 48px auto 0; display: grid; gap: 10px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto 46px; gap: 18px; align-items: center; min-height: 86px; padding: 14px 12px 14px 24px; border-radius: 22px; text-decoration: none; background: var(--mist); color: var(--ink); transition: transform .3s; }
.plan:hover { transform: translateY(-2px); }
.plan .nm { font-family: var(--title); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.plan .nm em { font-style: normal; margin-left: 8px; vertical-align: 3px; font-family: var(--ko); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.24); }
.plan .lim { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.plan .amt { margin: 0; text-align: right; }
.plan .amt > span { display: block; }
.plan .amt .w { font-family: var(--title); font-weight: 800; font-size: 22px; white-space: nowrap; letter-spacing: -0.02em; }
.plan .amt .c { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.plan .go { width: 46px; height: 46px; border-radius: 14px; background: rgba(21,18,27,.06); display: grid; place-items: center; }
.plan.pro { background: var(--violet); color: #fff; }
.plan.pro .lim, .plan.pro .amt .c { color: rgba(255,255,255,.88); }
.plan.pro .go { background: rgba(255,255,255,.2); }
.plan.biz { background: var(--ink); color: #fff; }
.plan.biz .lim, .plan.biz .amt .c { color: #b5aec0; }
.plan.biz .go { background: rgba(255,255,255,.12); }
.pnote { width: min(820px, 100%); margin: 24px auto 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pnote b { color: var(--ink); font-weight: 700; }
.tl { color: var(--violet-ink); font-weight: 600; text-underline-offset: 3px; }
.pill.ghost { background: rgba(255,255,255,.14); color: #fff; padding: 0 24px; }
.hero .more { margin: 18px 0 0; font-size: 15px; color: var(--ink-3); }
.hero .more a { color: var(--violet-ink); font-weight: 600; text-underline-offset: 3px; }
section[id], .fs[id] { scroll-margin-top: 150px; }

/* 마지막 띠 */
.endb { position: relative; overflow: hidden; padding-block: clamp(110px, 12vw, 170px); text-align: center; background: radial-gradient(90% 80% at 50% 100%, #c45bff 0%, #9a1ff0 45%, #3a0c6e 100%); color: #fff; }
.endb .in { position: relative; z-index: 2; }
.endb h2 { font-size: clamp(42px, 6.8vw, 100px); margin-top: 18px; }
.endb .lead { margin: 22px auto 0; max-width: 560px; color: rgba(255,255,255,.88); }
.endb .lab { color: #f0dcff; }
.endb .lab::before { background: #f0dcff; }
.endb .cta-row { justify-content: center; }
.endb .floaters img { width: clamp(60px, 7vw, 110px); }
.foot { padding-block: 70px 50px; color: var(--ink-3); font-size: 13px; }
.foot .row1 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 28px; }
.foot .lk { display: flex; flex-wrap: wrap; gap: 18px; color: var(--ink); font-weight: 500; font-size: 14px; }
.foot .lk a { text-decoration: none; }
.foot .lk.sub { color: var(--ink-3); font-weight: 400; }
.foot .lk.sub b { font-weight: 700; color: var(--ink-2); }
.foot .co a { color: inherit; text-decoration: none; }
.foot .tm { margin-top: 8px; }
.foot .co { margin-top: 18px; display: grid; gap: 4px; }
.foot .draft { color: var(--violet-ink); font-weight: 600; }

/* ── 주요 기능 페이지 ── */
.fhero { padding-top: calc(env(safe-area-inset-top, 0px) + 176px); padding-bottom: 64px; background: radial-gradient(110% 70% at 50% 0%, #ecdfff 0%, #f8f4ff 55%, #ffffff 90%); }
.fhero h1 { font-size: clamp(44px, 7vw, 100px); margin-top: 20px; }
.fhero .lead { max-width: 700px; margin: 24px 0 0; }
.fnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.fnav a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 4px 20px 4px 4px; border-radius: 99px; background: var(--mist); text-decoration: none; font-size: 15px; font-weight: 600; transition: background .25s; }
.fnav a:hover { background: var(--lilac); }
.fnav a:hover .gi { --gb: #fff; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--violet-ink); text-decoration: none; }
.fsec { padding-block: clamp(90px, 10vw, 140px); }
.fsec.lilac { background: var(--lilac); }
.fsec.mist { background: var(--mist); }
.fsec.night { background: var(--night); color: #fff; --ink-2: #cdc7d6; --ink-3: #a7a0b2; }
.fsec.night .lab { color: #d6a8ff; }
.fsec.bgx { --ink-2: #d8d2e0; --ink-3: #b1aabc; }
.fs-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.fs-head .ttl { display: grid; gap: 16px; justify-items: start; }
.fs-head h2 { font-size: clamp(36px, 5vw, 70px); }
.fs-head .ttl > .ic { --s: clamp(96px, 8.4vw, 120px); }
.fs-ko { display: grid; gap: 14px; }
.fs-ko p { margin: 0; color: var(--ink-2); font-size: 17px; }
.fs-ko .why { color: var(--ink); font-weight: 500; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.72); }
.fsec.night .fs-ko .why, .fsec.bgx .fs-ko .why { background: rgba(255,255,255,.09); color: #fff; }
.fs-ko .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fsec.night .chipn, .fsec.bgx .chipn { background: rgba(255,255,255,.12); color: #fff; }
.fs-stage { margin-top: 48px; }
.cap2 { display: flex; justify-content: space-between; gap: 12px; width: min(1000px, 100%); margin: 14px auto 0; font-size: 13px; color: var(--ink-3); }
.fsec.night .cap2, .fsec.bgx .cap2 { color: rgba(255,255,255,.72); }

/* ── 움직이는 설정 화면(폭에 따라 다시 배치, 글자 12px 이상) ── */
.demo { position: relative; width: min(1000px, 100%); margin-inline: auto; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--sh); font-family: var(--sub); font-size: 14px; line-height: 1.5; color: var(--ink); text-align: left; }
.demo * { transition-timing-function: cubic-bezier(.4,0,.2,1); }
.fsec.lilac .demo .ps { background: var(--mist); }
.ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #faf8fd; font-size: 14px; font-weight: 600; }
.ui-top .crumb { color: var(--ink-3); font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-top .crumb b { color: var(--ink); font-weight: 700; }
.ui-btn { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; transition: transform .2s; }
.ui-btn.v { background: var(--violet); }
.ui-btn.hit { transform: scale(.94); }
.dbody { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px; padding: 12px; }
.dbody.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.dbody.one { grid-template-columns: minmax(0, 1fr); }
.ps { background: var(--mist); border-radius: 18px; padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.pp { background: var(--tint); border-radius: 18px; padding: 16px; position: relative; overflow: hidden; display: grid; align-content: center; gap: 12px; min-width: 0; min-height: 380px; }
.lbl { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; }
.row2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.row2 small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: auto; }
.row2.hot { background: var(--violet-soft); color: var(--violet-ink); }
.field { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; transition: background .3s; white-space: nowrap; overflow: hidden; }
.field.hot { background: var(--violet-soft); }
.field .caret { width: 1.5px; height: 16px; background: var(--violet); margin-left: 1px; opacity: 0; flex: none; }
.field.hot .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tg { width: 36px; height: 20px; border-radius: 99px; background: #d9d5df; position: relative; transition: background .3s; flex: none; }
.tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s; }
.tg.on { background: var(--violet); }
.tg.on::after { transform: translateX(16px); }
.seg2 { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 600; }
.seg2 span { flex: 1; text-align: center; padding: 7px 0; border-radius: 9px; color: var(--ink-3); }
.seg2 span.on { background: var(--violet-soft); color: var(--violet-ink); }
.sum { padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.sum b { color: var(--violet-ink); }
.cur { position: absolute; left: 0; top: 0; width: 24px; height: 24px; z-index: 20; transition: transform .8s cubic-bezier(.6,0,.25,1); pointer-events: none; }
.cur svg { width: 24px; height: 24px; display: block; }
.rip { position: absolute; z-index: 19; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(176,38,255,.28); opacity: 0; pointer-events: none; }
.rip.go { animation: rip .55s ease-out; }
@keyframes rip { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.4); } }
.toast { position: absolute; z-index: 18; left: 50%; bottom: 18px; transform: translate(-50%, 16px); opacity: 0; transition: .4s; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 600; white-space: nowrap; display: flex; gap: 8px; align-items: center; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: #2fd38f; flex: none; }
.toast i.warn { background: #ffcf3d; }

/* 쇼핑몰 화면 조각 */
.store { position: relative; background: #fff; border-radius: 14px; overflow: hidden; min-width: 0; }
.store .sb { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: #f1eef6; }
.store .sb i { width: 9px; height: 9px; border-radius: 50%; background: #d3cfdb; flex: none; }
.store .sb .u { margin-left: 6px; height: 22px; flex: 1 1 auto; max-width: 260px; border-radius: 99px; background: #fff; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store .sh2 { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.store .sh2 b { font-family: var(--title); font-weight: 800; letter-spacing: .12em; font-size: 14px; }
.store .sh2 span { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store .sg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 14px 14px; }
.store .sg i { display: block; aspect-ratio: 3 / 4; border-radius: 10px; background: #ebe7f0; }
.store .sg i:nth-child(2) { background: #efe8de; } .store .sg i:nth-child(3) { background: #e1eae6; } .store .sg i:nth-child(4) { background: #e9e3ef; }
.store .shade { position: absolute; inset: 36px 0 0; background: rgba(21,18,27,.4); opacity: 0; transition: opacity .35s; }
.store .shade.on { opacity: 1; }
.store .pop { position: absolute; left: 50%; top: 54%; width: min(82%, 300px); padding: 22px 20px 18px; border-radius: 18px; background: #fff; text-align: center; opacity: 0; transform: translate(-50%, -46%) scale(.95); transition: opacity .35s, transform .45s cubic-bezier(.3,1.4,.5,1); }
.store .pop.on { opacity: 1; transform: translate(-50%, -50%); }
.store .pop .ey { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--violet-ink); }
.store .pop .ti { font-family: var(--ko); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0; }
.store .pop p { margin: 0 0 14px; font-size: 13px; color: var(--ink-2); }
.store .pop .bt { height: 44px; border-radius: 12px; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; transition: background .4s, transform .2s; }
.store .pop .x { position: absolute; right: 10px; top: 6px; color: var(--ink-3); font-size: 20px; line-height: 1; padding: 6px; }
.store .pop .ft { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.bar { height: 0; overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; transition: height .55s cubic-bezier(.6,0,.2,1); }
.bar.on { height: 42px; }
.bar .cd { display: none; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.16); color: #e2c4ff; font-weight: 500; font-variant-numeric: tabular-nums; }
.bar.cdon .cd { display: inline-block; }
.phone { position: relative; width: 230px; height: 440px; flex: none; border-radius: 34px; background: #16131c; padding: 8px; margin-inline: auto; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 27px; background: #fff; overflow: hidden; }

/* 데모 0: 첫 화면 쇼핑몰 */
.d0 .store { border-radius: 24px; }
.d0 .sb { height: 42px; padding-inline: 16px; }
.d0 .sb .u { max-width: 380px; height: 26px; font-size: 13px; }
.d0 .bar.on { height: 46px; }
.d0 .bar { font-size: 14px; }
.d0 .bar b { color: #d7b3ff; }
.d0 .sh2 { padding: 16px 22px; }
.d0 .sh2 b { font-size: 16px; }
.d0 .sh2 span { font-size: 13px; }
.d0 .hb { margin: 0 22px 14px; min-height: 120px; border-radius: 16px; background: linear-gradient(120deg, #efe6ff, #f9f3ea); display: flex; align-items: center; padding: 20px 24px; font-family: var(--ko); font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -0.02em; }
.d0 .sg { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 22px 22px; }
.d0 .shade { inset: 42px 0 0; }
.d0 .pop { width: min(80%, 320px); }
.d0 .pop .ti { font-size: 24px; }
.d0 .flt { position: absolute; right: 20px; bottom: 20px; height: 50px; padding: 0 20px; border-radius: 99px; background: #fee500; color: #191600; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transform-origin: 80% 80%; }
.d0 .flt.on { transform: scale(1); }

/* 데모 5: 팝업 · 이탈 감지 · 피로도 */
.d5 .exitline { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--violet); opacity: 0; }
.d5 .exitline.go { animation: flash 1s ease-out; }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
.d5 .cnt { position: absolute; right: 10px; top: 44px; z-index: 6; padding: 5px 10px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 데모 6: 띠배너 */
.d6 .pv { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: start; }
.d6 .phone { width: 150px; height: 300px; border-radius: 26px; padding: 6px; }
.d6 .phone .scr { border-radius: 21px; }
.d6 .phone .bar { flex-direction: column; gap: 2px; font-size: 12px; line-height: 1.25; text-align: center; white-space: normal; }
.d6 .phone .bar.on { height: 56px; }
.d6 .phone .lg { text-align: center; font-family: var(--title); font-weight: 800; letter-spacing: .12em; font-size: 12px; padding: 10px 0 8px; }
.d6 .phone .pg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 8px; }
.d6 .phone .pg i { display: block; aspect-ratio: 3 / 4; border-radius: 6px; background: #ebe7f0; }
.d6 .notes { display: grid; gap: 8px; }

/* 데모 7: 플로팅 버튼 */
.d7 .feed { position: absolute; left: 0; right: 0; top: 0; padding: 48px 12px 0; display: grid; gap: 10px; transition: transform 2.4s cubic-bezier(.45,0,.2,1); }
.d7 .feed i { display: block; height: 104px; border-radius: 14px; background: #ebe7f0; }
.d7 .feed i:nth-child(2n) { background: #efe8de; } .d7 .feed i:nth-child(3n) { background: #e1eae6; }
.d7 .lg { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: rgba(255,255,255,.96); z-index: 3; text-align: center; font-family: var(--title); font-weight: 800; letter-spacing: .14em; font-size: 13px; line-height: 40px; }
.d7 .other { position: absolute; right: 14px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: #2f6bff; z-index: 4; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.d7 .ours { position: absolute; z-index: 5; left: 12px; bottom: 16px; height: 42px; padding: 0 16px; border-radius: 99px; background: var(--violet); color: #fff; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; transition: left .6s cubic-bezier(.6,0,.2,1), bottom .6s cubic-bezier(.6,0,.2,1), box-shadow .3s; white-space: nowrap; }
.d7 .ours.clash { box-shadow: 0 0 0 3px #ff5a7a; }
.d7 .pos6 { display: grid; grid-template-columns: repeat(2, 64px); grid-template-rows: repeat(3, 34px); gap: 6px; padding: 10px; border-radius: 14px; background: #fff; justify-self: start; }
.d7 .pos6 i { border-radius: 8px; background: var(--mist); transition: background .3s; }
.d7 .pos6 i.on { background: var(--violet); }
.d7 .warn7 { font-size: 13px; color: #c42c4b; font-weight: 600; min-height: 20px; opacity: 0; transition: opacity .3s; }
.d7 .warn7.on { opacity: 1; }
.sl { position: relative; height: 30px; }
.sl .tk2 { position: absolute; left: 0; right: 64px; top: 13px; height: 4px; border-radius: 99px; background: #e2dde9; }
.sl .fl { position: absolute; left: 0; top: 13px; height: 4px; border-radius: 99px; background: var(--violet); width: 0; transition: width 1s; }
.sl .kb { position: absolute; top: 5px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--violet); transition: left 1s; }
.sl .nv { position: absolute; right: 0; top: 3px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 데모 8: 노출 조건 */
.d8 .cond { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr; gap: 6px; opacity: 0; transform: translateY(8px); transition: .4s; }
.d8 .cond.on { opacity: 1; transform: none; }
.d8 .cond span { min-height: 42px; border-radius: 10px; background: #fff; display: flex; align-items: center; padding: 0 10px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d8 .cond span:first-child { background: var(--violet-soft); color: var(--violet-ink); }
.d8 .and { font-size: 12px; font-weight: 600; color: var(--ink-3); opacity: 0; transition: .3s; padding-left: 4px; }
.d8 .and.on { opacity: 1; }
.d8 .addc { min-height: 42px; border-radius: 10px; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--violet-ink); transition: background .2s; }
.d8 .addc.hit { background: var(--violet-soft); }
.d8 .vh { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; }
.d8 .vh span { font-size: 13px; color: var(--violet-ink); font-variant-numeric: tabular-nums; }
.d8 .vlist { display: grid; gap: 6px; }
.d8 .vr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #fff; transition: opacity .35s; }
.d8 .vr .av { width: 34px; height: 34px; border-radius: 50%; background: var(--lilac); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--violet-ink); }
.d8 .vr .tg8 { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.d8 .vr .tg8 em { font-style: normal; font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--mist); color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.d8 .vr .tg8 em.ok { background: var(--violet-soft); color: var(--violet-ink); }
.d8 .vr .tg8 em.no { background: #ffe9ed; color: #b4233f; }
.d8 .vr b { font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 99px; background: var(--violet); color: #fff; white-space: nowrap; transition: background .3s, color .3s; }
.d8 .vr.off { opacity: .55; }
.d8 .vr.off b { background: var(--mist); color: var(--ink-3); }

/* 데모 9: 페이지 수정 */
.d9 .pdp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px; padding: 14px; }
.d9 .pdp .im { aspect-ratio: 3 / 4; border-radius: 12px; background: linear-gradient(160deg, #efe9e1, #ded4c6); }
.d9 .pdp .nm { font-family: var(--ko); font-size: 15px; font-weight: 700; }
.d9 .pdp .pr { font-size: 15px; font-weight: 600; margin-top: 2px; }
.d9 .pdp .ship { margin-top: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; color: var(--ink-2); background: var(--mist); transition: background .4s, color .4s, box-shadow .3s; }
.d9 .pdp .ship.pick { box-shadow: 0 0 0 2px var(--violet); }
.d9 .pdp .ship.new { background: #fff1bf; color: #4d3a00; font-weight: 700; }
.d9 .pdp .opt { margin-top: 10px; height: 32px; border-radius: 9px; background: var(--mist); }
.d9 .pdp .buy { margin-top: 10px; height: 40px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.d9 .kind { display: grid; gap: 6px; }
.d9 .kind span { min-height: 40px; border-radius: 10px; background: #fff; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s; }
.d9 .kind span.on { background: var(--violet-soft); color: var(--violet-ink); }
.d9 .sel9 { font-size: 13px; color: var(--ink-2); min-height: 40px; border-radius: 10px; background: #fff; display: flex; align-items: center; padding: 0 12px; }
.sw { display: flex; gap: 8px; }
.sw i { width: 28px; height: 28px; border-radius: 8px; transition: box-shadow .3s; }
.sw i.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--violet); }

/* 데모 1: 프리뷰디자인 */
.d1 .pop .bt { background: var(--ink); }
.d1 .pop .bt.sel { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--violet); }
.d1 .pop .bt.vio { background: var(--violet); }
.d1 .val { min-height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 14px; font-weight: 600; transition: background .3s, color .3s; }
.d1 .val.hot { background: var(--violet-soft); color: var(--violet-ink); }

/* 데모 2: A/B 테스트 */
.d2 .grp { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 50px; padding: 0 12px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 600; }
.d2 .grp i { width: 30px; height: 30px; border-radius: 8px; }
.d2 .grp .pc { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.d2 .add { min-height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--violet-ink); }
.d2 .res { display: grid; gap: 18px; align-content: start; }
.d2 .res .h { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; }
.d2 .res .h span { color: var(--ink-3); font-weight: 500; font-size: 13px; }
.d2 .row .t { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.d2 .row .t .nn { font-variant-numeric: tabular-nums; }
.d2 .row .b { margin-top: 8px; height: 12px; border-radius: 99px; background: #fff; overflow: hidden; }
.d2 .row .b i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1.1s; }
.d2 .verdict { padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: 14px; opacity: 0; transform: translateY(10px); transition: .45s; }
.d2 .verdict.on { opacity: 1; transform: none; }
.d2 .verdict span { font-size: 12px; color: #d4c4ef; }

/* 데모 3: 간편 가입 */
.d3 .bn { position: absolute; left: 16px; right: 16px; top: 336px; min-height: 40px; border-radius: 12px; background: var(--violet); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.d3 .bn.on { opacity: 1; transform: none; }
.d3 .lg { position: absolute; left: 0; right: 0; top: 70px; text-align: center; font-family: var(--title); font-weight: 800; letter-spacing: .16em; font-size: 15px; }
.d3 .h { position: absolute; left: 0; right: 0; top: 116px; text-align: center; font-family: var(--ko); font-weight: 800; font-size: 17px; }
.d3 .h small { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }
.d3 .sns { position: absolute; left: 16px; right: 16px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; transition: top .6s cubic-bezier(.6,0,.2,1), transform .4s; }
.d3 .sns.k { background: #fee500; color: #191600; }
.d3 .sns.n { background: #03c75a; color: #fff; }
.d3 .sns.a { background: #111; color: #fff; }
.d3 .sns.big { transform: scale(1.05); }
.d3 .bub { position: absolute; right: 10px; padding: 3px 8px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.5,.5,1), top .6s cubic-bezier(.6,0,.2,1); }
.d3 .bub.on { transform: scale(1); }
.d3 .mem { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 12px; color: var(--ink-3); }
.d3 .ord { position: relative; height: 150px; }
.d3 .ord .o { position: absolute; left: 0; right: 0; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 14px; font-weight: 600; transition: top .6s cubic-bezier(.6,0,.2,1), background .3s; }
.d3 .ord .o .hd { color: var(--ink-3); letter-spacing: -2px; }
.d3 .ord .o .dot { width: 14px; height: 14px; border-radius: 4px; }
.d3 .ord .o.lift { background: var(--violet-soft); z-index: 2; }

/* 데모 4: 대시보드 */
.d4 .seg { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--mist); font-size: 13px; font-weight: 600; }
.d4 .seg span { padding: 4px 10px; border-radius: 7px; color: var(--ink-3); }
.d4 .seg span.on { background: #fff; color: var(--ink); }
.d4 .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.d4 .kp { background: #fff; border-radius: 14px; padding: 12px 14px; }
.d4 .kp.hl { background: var(--violet-soft); }
.d4 .kp .k { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.d4 .kp .n { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.d4 .kp .d { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--good); }
.d4 .low { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px; }
.d4 .ch { background: #fff; border-radius: 14px; padding: 14px 16px; }
.d4 .ch .t { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 700; }
.d4 .ch .t span { color: var(--ink-3); font-weight: 500; font-size: 12px; }
.d4 .ch svg { display: block; width: 100%; height: 200px; margin-top: 12px; overflow: visible; }
.d4 .side { display: grid; gap: 10px; align-content: start; }
.d4 .box { background: #fff; border-radius: 14px; padding: 12px 14px; }
.d4 .box .t { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.d4 .chg { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 5px 0; opacity: 0; transform: translateY(6px); transition: .4s; }
.d4 .chg.on { opacity: 1; transform: none; }
.d4 .chg i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); flex: none; }
.d4 .chg i.off { background: var(--ink-3); }
.d4 .tb { width: 100%; border-collapse: collapse; font-size: 13px; }
.d4 .tb td { padding: 6px 0; }
.d4 .tb tr + tr td { background-image: linear-gradient(var(--mist), var(--mist)); background-size: 100% 1px; background-repeat: no-repeat; }
.d4 .tb td.r { text-align: right; font-variant-numeric: tabular-nums; }

/* 데모 10: 가져오기 */
.d10 .list { display: grid; gap: 8px; }
.d10 .ir { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; }
.d10 .ir .nm { font-family: var(--ko); font-size: 14px; font-weight: 700; min-width: 0; }
.d10 .ir .nm small { display: block; font-family: var(--sub); font-weight: 500; font-size: 12px; color: var(--ink-3); }
.d10 .ir .st { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.d10 .ir .st i { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--violet) 0 25%, #ddd6e8 0); flex: none; }
.d10 .ir.ing .st i { animation: spin .8s linear infinite; }
.d10 .ir.ok .st { color: var(--good); }
.d10 .ir.ok .st i { background: var(--good); }
@keyframes spin { to { transform: rotate(360deg); } }
.d10 .prog { display: grid; gap: 8px; }
.d10 .prog .t { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; }
.d10 .prog .t span { font-variant-numeric: tabular-nums; }
.d10 .prog .b { height: 12px; border-radius: 99px; background: #fff; overflow: hidden; }
.d10 .prog .b i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 99px; transition: width .6s; }


/* ── 모션(Motion Lab) 이 쓰는 모양 ── */
.menu { transition-duration: .7s; transition-timing-function: cubic-bezier(.65, 0, .35, 1); }
.menu ul { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.26) transparent; }
.menu ul::-webkit-scrollbar { width: 6px; }
.menu ul::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.menu ul::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border-radius: 99px; }
.menu ul::-webkit-scrollbar-thumb:hover { background: rgba(176,38,255,.75); }
.menu ul::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
.menu a .k { display: inline-block; overflow: hidden; vertical-align: bottom; }
.menu a .k > span { display: inline-block; }
.top { transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.top.hide { transform: translate(-50%, calc(-100% - 24px)); }
.ch, .wd, .wo, .wc { display: inline-block; }
.wd, .wo { white-space: nowrap; }
.wo { padding-bottom: .08em; margin-bottom: -.08em; }
.mo .hero h1, .mo .fhero h1 { visibility: hidden; }
.mo .hero .lab, .mo .hero .lead, .mo .hero .cta-row, .mo .hero .more, .mo .hero-stage, .mo .hero .floaters, .mo #topbar { opacity: 0; }
.roll { display: inline-flex; }
.digit { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; }
.digit-inner { display: block; height: 1.1em; }
.digit-inner > span { display: block; height: 1.1em; }
.bgx > .bgi { left: 50%; right: auto; transform: translateX(-50%); }
.go { position: relative; display: inline-flex; align-items: center; gap: .45em; overflow: hidden; padding-bottom: 4px; justify-self: start; }
.go .gt, .go .ga { display: inline-block; }
.go .gl { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; overflow: hidden; }
.go .gl i { display: block; height: 100%; background: currentColor; }


/* 데모 안은 늘 밝은 화면: 어두운 절의 글자색 설정이 번지지 않게 되돌린다 */
.demo { --ink-2: #4f4a5a; --ink-3: #6f6a7b; color: var(--ink); }
.store .pop { z-index: 8; }
.d5 .store, .d1 .store { min-height: 380px; }
.d5 .cnt { top: auto; bottom: 10px; right: 10px; }

@media (max-width: 960px) {
  .sh, .fs-head, .mig .in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .tk-grid, .cards, .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .floaters .hide-m { display: none; }
}
@media (max-width: 760px) {
  .dbody, .dbody.rev { grid-template-columns: minmax(0, 1fr); }
  .dbody .pp { order: -1; min-height: 320px; }
  .d0 .sg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d0 .sg i:nth-child(n + 3) { display: none; }
  .d4 .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d4 .low { grid-template-columns: minmax(0, 1fr); }
  .d6 .pv { grid-template-columns: minmax(0, 1fr) 140px; }
  .d6 .phone { width: 140px; }
}
@media (max-width: 560px) {
  .in { padding-inline: 16px; }
  .tk-grid { gap: 10px; }
  .tk-card { padding: 8px 8px 16px; border-radius: 22px; }
  .tk-card h3 { font-size: 16px; min-height: 0; }
  .tk-card p { font-size: 13px; }
  .cards, .diff-grid { grid-template-columns: minmax(0, 1fr); }
  .ngrid { gap: 8px; }
  .nb { padding: 16px; border-radius: 18px; }
  .plan { grid-template-columns: minmax(0, 1fr) 40px; }
  .plan .amt { grid-column: 1; grid-row: 2; text-align: left; }
  .plan .go { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; }
  .pay .pr { display: none; }
  .pay { padding-left: 16px; font-size: 14px; }
  .con { padding: 0 14px 0 10px; font-size: 14px; }
  .pay .ar { margin-left: auto; }
  .hero, .fhero { padding-top: calc(env(safe-area-inset-top, 0px) + 168px); }
  .hero .floaters { display: none; }
  .marq .it { font-size: 15px; }
  .cap2 { flex-direction: column; gap: 2px; }
  .d6 .pv { grid-template-columns: minmax(0, 1fr); }
  .d6 .phone { display: none; }
  .demo { border-radius: 18px; }
  .ui-top { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0s !important; animation: none !important; }
}
