/* =========================================================
   NotiBox — 알림 보관함 · 소개 페이지 (/notibox)
   의존성 0 · 외부 요청 0 · 기기 글꼴 · 라이트/다크 · reduced-motion 존중
   기준: WEB-CRAFT(jfeel-ai) §4-2 + WEB-SUBPATH §9-A
   브랜드 토큰 출처: app/src/main/java/com/notibox/app/Theme.kt (Purple #6C4DDB · PurpleDark #4A2FB0 · PurpleLight #CFC0FF)
   대비(WCAG): --text/--bg 15.9 · --muted/--bg 6.4 · --primary/--surface 8.1 (라이트) / --primary/--bg 9.6 · --muted/--bg 7.6 (다크)
   --accent(알림 점 코랄)는 장식 전용 — 글자에 쓰지 않는다.
   ========================================================= */

:root {
  --bg:        #F6F3FC;
  --bg-2:      #EFEAFA;
  --surface:   #FFFFFF;
  --surface-2: #F4F0FD;
  --text:      #1B1823;
  --muted:     #5A5366;
  --border:    #E4DCF3;
  --border-2:  #D3C8EA;

  --primary:   #4F31C4;
  --grad-a:    #7A5AF8;
  --grad-b:    #4A2FB0;
  --soft:      #E7DEFF;   /* primaryContainer — 부드러운 강조 면 */
  --on-soft:   #2A1070;
  --accent:    #FF5C7C;   /* 장식 전용 */
  --on-grad:   #FFFFFF;
  --mark-bg:   rgba(122, 90, 248, .22);

  --shadow-1: 0 1px 2px rgba(27,24,35,.05), 0 4px 14px rgba(27,24,35,.06);
  --shadow-2: 0 2px 6px rgba(27,24,35,.06), 0 22px 54px rgba(57,34,140,.16);
  --ring-focus: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary);

  --r-chip: 999px; --r-input: 14px; --r-md: 16px; --r-card: 24px; --r-xl: 32px;
  --wrap: 1200px;

  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.65, 0, .35, 1);
  --dur: 800ms;
  --stagger: 80ms;
  --grain-op: .045;
  --glow-op: .5;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg:#110F16; --bg-2:#17141F; --surface:#1E1A27; --surface-2:#262131;
    --text:#EEEAF5; --muted:#B4ACC1; --border:#2D2738; --border-2:#3C344A;
    --primary:#C4B3FF; --grad-a:#7A5AF8; --grad-b:#4A2FB0;
    --soft:#2E2350; --on-soft:#E7DEFF; --accent:#FF7A93; --mark-bg:rgba(196,179,255,.24);
    --shadow-1:0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.35);
    --shadow-2:0 2px 8px rgba(0,0,0,.45), 0 26px 64px rgba(0,0,0,.5);
    --grain-op:.06; --glow-op:.38;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:#110F16; --bg-2:#17141F; --surface:#1E1A27; --surface-2:#262131;
  --text:#EEEAF5; --muted:#B4ACC1; --border:#2D2738; --border-2:#3C344A;
  --primary:#C4B3FF; --grad-a:#7A5AF8; --grad-b:#4A2FB0;
  --soft:#2E2350; --on-soft:#E7DEFF; --accent:#FF7A93; --mark-bg:rgba(196,179,255,.24);
  --shadow-1:0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.35);
  --shadow-2:0 2px 8px rgba(0,0,0,.45), 0 26px 64px rgba(0,0,0,.5);
  --grain-op:.06; --glow-op:.38;
  color-scheme: dark;
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Segoe UI", "Malgun Gothic", "Noto Sans KR", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 17px; line-height: 1.65; letter-spacing: -0.01em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: break-word;
  transition: background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.22; letter-spacing: -0.025em; font-weight: 750; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: 10px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.skip-link {
  position: fixed; top: -64px; left: 12px; z-index: 200;
  background: var(--primary); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
.tnum { font-variant-numeric: tabular-nums; }
.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; }

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

/* ---------- 내비 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px);
  background: color-mix(in srgb, var(--bg) 70%, 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: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { flex: 0 0 auto; width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand__text strong { font-size: 1.06rem; letter-spacing: -0.03em; }
.brand__text small { font-size: .7rem; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.nav__links { display: none; gap: 28px; margin-inline: auto; }
.nav__links a { font-size: .93rem; color: var(--muted); position: relative; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 960px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } }

.lang-link {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: var(--r-chip); font-size: .82rem; font-weight: 650; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface);
  transition: color .3s, border-color .3s;
}
.lang-link:hover { color: var(--text); border-color: var(--primary); }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--primary); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; color: var(--primary); }
.theme-toggle .i-moon { display: none; }
.is-dark .theme-toggle .i-sun { display: none; }
.is-dark .theme-toggle .i-moon { display: block; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-chip);
  font-weight: 650; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid transparent; position: relative; isolation: isolate;
  transition: transform .3s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s, border-color .3s, filter .3s;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); color: var(--on-grad);
  box-shadow: var(--shadow-1);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); filter: brightness(1.08); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.btn:active { transform: scale(1.01, .97); }
.btn--light { background: #fff; color: #3A2196; }
.btn--light:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(20,8,70,.35); }

/* ---------- 섹션 공통 ---------- */
section { position: relative; }
.sec { padding: clamp(96px, 12vw, 160px) 0; }
.sec--tint { background: var(--bg-2); border-block: 1px solid var(--border); }
.sec-head { max-width: 700px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.85rem, 4.6vw, 3rem); }
.sec-sub { color: var(--muted); margin-top: 16px; font-size: clamp(1rem, 1.6vw, 1.12rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
}
.eyebrow__no { font-variant-numeric: tabular-nums; letter-spacing: .06em; white-space: nowrap; }
.eyebrow__line { flex: 0 0 auto; }
.eyebrow__line { width: 32px; height: 1px; background: currentColor; opacity: .55; transform-origin: left; }
.sec-head--center .eyebrow { justify-content: center; }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 10vw, 128px); }
.hero__glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: var(--glow-op); }
.glow--a { width: 560px; height: 560px; top: -180px; right: -140px; background: radial-gradient(circle, #8E72FF 0%, transparent 70%); }
.glow--b { width: 460px; height: 460px; bottom: -200px; left: -160px; background: radial-gradient(circle, #FF9DB2 0%, transparent 70%); opacity: calc(var(--glow-op) * .55); }
.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(48px, 7vw, 72px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.hero__eyebrow { margin-bottom: 22px; }
.hero__title { font-size: clamp(2.5rem, 6.6vw, 4.6rem); line-height: 1.12; letter-spacing: -0.035em; font-weight: 780; margin-bottom: 26px; }
.ln { display: block; overflow: hidden; padding-block: .1em .14em; margin-block: -.1em -.14em; }
.ln > span { display: block; }
.hero__title .accent {
  background: linear-gradient(100deg, var(--grad-a) 10%, var(--accent) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:root[data-theme="dark"] .hero__title .accent,
.is-dark .hero__title .accent { background-image: linear-gradient(100deg, #B7A3FF 10%, #FF9DB2 95%); }
.hero__lead { font-size: clamp(1.04rem, 2vw, 1.22rem); color: var(--muted); max-width: 34em; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.hero__badges svg { width: 16px; height: 16px; color: var(--primary); flex: 0 0 auto; }

/* ---------- 시그니처: 알림이 흘러 들어오는 폰 ---------- */
.stage { position: relative; display: grid; place-items: center; padding: 64px 0 8px; perspective: 1400px; }
.phone {
  position: relative; width: min(318px, 80vw); aspect-ratio: 9 / 17.6;
  border-radius: 44px; padding: 10px;
  background: linear-gradient(160deg, #2B2540, #14111C);
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d; will-change: transform;
}
.phone__screen {
  position: relative; height: 100%; border-radius: 35px; overflow: hidden;
  background: var(--app-bg, #F3F0FA); color: #1C1B1F;
  display: flex; flex-direction: column;
}
.is-dark .phone__screen { --app-bg: #141218; color: #E6E1E9; }
.is-dark .phone { box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255,255,255,.14), 0 0 0 1px rgba(196,179,255,.12); }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px 6px; font-size: .68rem; font-weight: 650; opacity: .8; }
.phone__status i { display: inline-block; width: 52px; height: 15px; border-radius: 9px; background: #14111C; position: absolute; left: 50%; top: 9px; transform: translateX(-50%); }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 18px 10px; }
.phone__bar b { font-size: 1.05rem; letter-spacing: -0.03em; }
.phone__icons { display: flex; gap: 12px; opacity: .7; }
.phone__icons svg { width: 15px; height: 15px; }
.phone__chips { display: flex; gap: 6px; padding: 0 14px 10px; overflow: hidden; }
.pchip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px 5px 5px; border-radius: 999px; font-size: .68rem; font-weight: 650; white-space: nowrap; background: rgba(120,110,140,.14); }
.pchip.is-on { background: #CFC0FF; color: #22005D; }
.is-dark .pchip { background: rgba(255,255,255,.08); }
.is-dark .pchip.is-on { background: #4A2FB0; color: #E7DEFF; }
.pchip__dot { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: .55rem; font-weight: 800; color: #fff; }
.pchip__n { font-variant-numeric: tabular-nums; }
.rooms { list-style: none; padding: 0 12px; display: grid; gap: 7px; position: relative; }
.room {
  display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 10px; align-items: center;
  padding: 10px 11px; border-radius: 16px; background: #FBF9FF;
  box-shadow: 0 1px 2px rgba(28,27,31,.06);
  transition: background-color .6s var(--ease-soft);
}
.is-dark .room { background: #211F26; box-shadow: none; }
.room.is-fresh { background: #EEE7FF; }
.is-dark .room.is-fresh { background: #2E2350; }
.room__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: .82rem; position: relative; }
.room__app { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #FBF9FF; }
.is-dark .room__app { border-color: #211F26; }
.room__main { min-width: 0; }
.room__name { display: block; font-size: .78rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room__last { display: block; font-size: .72rem; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.room__time { font-size: .6rem; opacity: .6; font-variant-numeric: tabular-nums; }
.room__count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; font-size: .6rem; font-weight: 750; display: grid; place-items: center; background: #6C4DDB; color: #fff; font-variant-numeric: tabular-nums; }
.is-dark .room__count { background: #CFC0FF; color: #22005D; }

/* 위에서 내려오는 시스템 알림 카드 */
.toast {
  position: absolute; top: 0; left: 50%; z-index: 4; width: min(300px, 78vw);
  display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: center;
  padding: 11px 13px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--border); box-shadow: var(--shadow-2);
  transform: translate(-50%, 0); opacity: 0; pointer-events: none;
}
.no-js .toast, .is-still .toast { opacity: 1; }
.toast__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; }
.toast__top { display: flex; justify-content: space-between; gap: 8px; font-size: .66rem; color: var(--muted); }
.toast__who { font-size: .8rem; font-weight: 750; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast__msg { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.is-in { animation: toastIn 2.6s var(--ease-out) forwards; }
@keyframes toastIn {
  0%   { opacity: 0; transform: translate(-50%, -22px) scale(.96); }
  16%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
  62%  { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 150px) scale(.82); }
}
.stage__hint { position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* ---------- 숫자 띠 ---------- */
.stats { padding: clamp(40px, 6vw, 56px) 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px 16px; }
@media (min-width: 760px) { .stats__grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.stat { text-align: center; }
.stat__num { display: block; font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 780; letter-spacing: -0.04em; line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.stat__label { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* ---------- 카드 공통 ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-1); position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-2); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card__no { display: block; font-size: .8rem; font-weight: 750; letter-spacing: .1em; color: var(--primary); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.card__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--on-soft); margin-bottom: 18px; }
.card__ic svg { width: 22px; height: 22px; }
.grid3 { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 800px) { .grid3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.grid-feat { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 640px) { .grid-feat { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1040px) { .grid-feat { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.card--hl { background: linear-gradient(150deg, var(--soft), var(--surface) 70%); }

/* 사용법 단계 */
.steps { list-style: none; padding: 0; counter-reset: s; }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 780; color: var(--on-grad); background: linear-gradient(135deg, var(--grad-a), var(--grad-b)); margin-bottom: 18px; font-variant-numeric: tabular-nums; }

/* ---------- 데모: 검색 ---------- */
.demo__inner { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: minmax(0,1fr); align-items: start; }
@media (min-width: 980px) { .demo__inner { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); } }
.demo__try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.try-chip { min-height: 44px; padding: 0 18px; border-radius: var(--r-chip); border: 1px solid var(--border-2); background: var(--surface); font-weight: 600; font-size: .92rem; transition: border-color .3s, color .3s, transform .3s var(--ease-out); }
.try-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.try-chip:active { transform: scale(1.01, .97); }
.demo__note { margin-top: 22px; font-size: .86rem; color: var(--muted); }
.search {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-2); padding: clamp(16px, 2.4vw, 24px); min-width: 0;
}
.search__field { position: relative; }
.search__field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search__field input {
  width: 100%; min-height: 54px; padding: 0 16px 0 48px; border-radius: var(--r-input);
  border: 1px solid var(--border-2); background: var(--surface-2); font-size: 1.02rem; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.search__field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--mark-bg); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: var(--r-chip); border: 1px solid var(--border-2); background: transparent; font-size: .86rem; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: background-color .3s, color .3s, border-color .3s; }
.fchip i { width: 8px; height: 8px; border-radius: 50%; }
.fchip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.search__count { font-size: .84rem; color: var(--muted); margin: 10px 4px 10px; font-variant-numeric: tabular-nums; }
.results { list-style: none; padding: 0; display: grid; gap: 8px; min-height: 280px; align-content: start; }
.res { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--surface-2); animation: resIn .5s var(--ease-out) both; }
@keyframes resIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.res__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: .84rem; position: relative; }
.res__app { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--surface-2); }
.res__top { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); }
.res__room { font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res__time { flex: 0 0 auto; font-variant-numeric: tabular-nums; }
.res__msg { font-size: .94rem; margin-top: 2px; }
.res__msg b { font-weight: 650; }
.res mark { background: var(--mark-bg); color: inherit; border-radius: 3px; padding: 0 1px; }
.res__photo { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--primary); margin-top: 4px; font-weight: 600; }
.res__photo svg { width: 14px; height: 14px; }
.results__empty { padding: 40px 12px; text-align: center; color: var(--muted); font-size: .94rem; }

/* ---------- 메신저 ---------- */
.mlist { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 980px; margin-inline: auto; }
.mlist li { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px 0 12px; border-radius: var(--r-chip); background: var(--surface); border: 1px solid var(--border); font-size: .94rem; font-weight: 600; box-shadow: var(--shadow-1); }
.mlist i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.mnote { max-width: 760px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .92rem; }

/* ---------- 개인정보 ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 72px); grid-template-columns: minmax(0,1fr); align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); } .split .sec-head { position: sticky; top: 112px; } }
.plist { list-style: none; padding: 0; display: grid; gap: 12px; }
.pitem { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 16px; align-items: start; padding: 22px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.pitem h3 { font-size: 1.06rem; margin-bottom: 4px; }
.pitem p { color: var(--muted); font-size: .95rem; }
.pitem .card__ic { margin: 0; }
.limits { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-card); border: 1px dashed var(--border-2); color: var(--muted); font-size: .94rem; }
.limits b { color: var(--text); display: block; margin-bottom: 8px; }
.limits ul { padding-left: 1.1em; display: grid; gap: 4px; }

/* ---------- 요금 ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); max-width: 980px; margin-inline: auto; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.plan__tag { display: inline-block; padding: 6px 12px; border-radius: var(--r-chip); background: var(--soft); color: var(--on-soft); font-size: .78rem; font-weight: 700; margin-bottom: 16px; }
.plan h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.plan__list { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 10px; }
.plan__list li { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; color: var(--muted); font-size: .97rem; }
.plan__list svg { width: 20px; height: 20px; color: var(--primary); margin-top: 3px; }
.plans__foot { max-width: 980px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; margin-inline: auto; }
.faq__list { display: grid; gap: 10px; }
.acc { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc[open] { border-color: var(--border-2); box-shadow: var(--shadow-1); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 22px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 650; font-size: 1.03rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc__ic { flex: 0 0 auto; position: relative; width: 16px; height: 16px; }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .4s var(--ease-out), opacity .3s; }
.acc__ic::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc__ic::after { top: 0; left: 7px; width: 2px; height: 16px; }
.acc[open] .acc__ic::after { transform: rotate(90deg); opacity: 0; }
.acc__body { padding: 0 22px 22px; color: var(--muted); font-size: .97rem; }
.acc__body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 다운로드 띠 ---------- */
.get { position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 12vw, 150px) 0; background: linear-gradient(140deg, #6A4BEF, #3A2196 70%); color: #fff; }
.get .grain { opacity: .1; mix-blend-mode: soft-light; }
.get__inner { position: relative; z-index: 2; max-width: 680px; margin-inline: auto; }
.get h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; }
.get p { margin-top: 16px; color: #E4DCFF; font-size: 1.06rem; }
.get .btn { margin-top: 34px; }
.get__small { margin-top: 18px !important; font-size: .86rem !important; color: #D3C6FF !important; }

/* ---------- 꼬리말 ---------- */
.foot { border-top: 1px solid var(--border); padding: 48px 0 56px; }
.foot__inner { display: grid; gap: 18px; }
.foot__brand { display: flex; align-items: center; gap: 10px; }
.foot__brand strong { font-size: 1.05rem; }
.foot__brand span { color: var(--muted); font-size: .86rem; }
.foot__disc { color: var(--muted); font-size: .84rem; max-width: 64em; }
.foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .86rem; color: var(--muted); }
.foot__meta a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 3px; }
.foot__meta a:hover { color: var(--primary); }

/* ---------- 등장 모션 (JS 가 있을 때만 숨김 — 실패해도 본문은 보인다) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); }
.js [data-reveal].in {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js .eyebrow__line { transform: scaleX(0); }
.js .in .eyebrow__line, .js .eyebrow.in .eyebrow__line { transform: scaleX(1); transition: transform .9s var(--ease-out) .1s; }
.js .hero__title .ln > span { transform: translateY(110%); }
.js .hero__title.in .ln > span { transform: none; transition: transform 1.05s var(--ease-out); }
.js .hero__title.in .ln:nth-child(2) > span { transition-delay: .1s; }
.js .hero__title.in .ln:nth-child(3) > span { transition-delay: .2s; }

/* ---------- reduced-motion: 전부 끔, 시그니처는 정지 프레임 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero__title .ln > span { transform: none !important; }
  .js .eyebrow__line { transform: none !important; }
  .toast { opacity: 1 !important; animation: none !important; transform: translate(-50%, 0) !important; }
  .phone { transform: none !important; }
}
