/* =========================================================
   CaloryX — 앱 소개 페이지 (회사 사이트 /caloryx)
   의존성 0 · 외부 요청 0 · 시스템 글꼴 · 라이트/다크 · reduced-motion 존중
   브랜드 토큰 출처: caloryx-android ui/theme/Color.kt(#16A34A)·Theme.kt(배경),
   시작 화면 LaunchQuoteOverlay(#052E16→#166534, 링 #22C55E→#BEF264), 매크로 색 CameraScreen.kt
   ========================================================= */

:root {
  --bg:        #FAFAF8;   /* 앱 라이트 배경과 같다(종이 느낌 웜 화이트) */
  --bg-2:      #F0F2EE;
  --surface:   #FFFFFF;
  --surface-2: #F5F6F3;
  --text:      #12211A;   /* #FAFAF8 위 16.0 */
  --muted:     #55615A;   /* #FAFAF8 위 6.2 · #F0F2EE 위 5.8 */
  --border:    #E2E5E0;
  --border-2:  #D2D9D0;

  --primary:   #166534;   /* 글자용 초록 — #F0F2EE 위 6.3·흰 바탕 7.1 (#16A34A 는 3.3 이라 장식만) */
  --brand:     #16A34A;
  --grad-a:    #16A34A;
  --grad-b:    #15803D;
  --deep-a:    #052E16;   /* 시작 화면·페이월 머리 */
  --deep-b:    #166534;
  --lime:      #A3E635;   /* 장식 전용(글자 금지) */
  --accent-a:  #15803D;   /* 히어로 강조 줄 그라데이션 — 큰 글자 대비 3 이상 */
  --accent-b:  #4D7C0F;

  --m-carb:    #F2C230;   /* 앱 매크로 색(탄 #FFD93D·단 #FF6B6B·지 #A8E6CF)을 흰 바탕에서 보이게 한 단계 진하게 — 막대 전용 */
  --m-prot:    #F25F5C;
  --m-fat:     #5CC7A0;

  --on-grad:   #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(18,33,26,.06);
  --shadow-md: 0 10px 30px rgba(18,33,26,.10);
  --shadow-lg: 0 24px 60px rgba(18,33,26,.14);
  --ring-focus: 0 0 0 3px rgba(22,101,52,.45);

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

  --ease: cubic-bezier(.22,.61,.20,1);
  --spring: cubic-bezier(.22,1,.36,1);   /* ease-out-quint — 튕김 없이 감속 */

  --grain-op: .045;
  --hero-tone: #EEF4EC;   /* 히어로 아래쪽 톤 — 배경과 대비 1.05, 장식 */
  --ring-line: rgba(22,101,52,.10);
  --ring-arc:  rgba(22,163,74,.28);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg:#0E1410; --bg-2:#131A15; --surface:#18201A; --surface-2:#1F2922;
    --text:#EAF2EC; --muted:#A6B5AB; --border:#26322A; --border-2:#334238;   /* 본문 16.4 · 보조 8.7 (#0E1410 위) */
    --primary:#4ADE80;   /* 다크 글자용 초록 — #0E1410 위 10.7 · #131A15 위 10.2 */ --brand:#22C55E; --grad-a:#16A34A; --grad-b:#166534;
    --accent-a:#4ADE80; --accent-b:#BEF264;
    --m-carb:#FFD93D; --m-prot:#FF7A7A; --m-fat:#A8E6CF;
    --shadow-sm:0 2px 10px rgba(0,0,0,.4); --shadow-md:0 12px 34px rgba(0,0,0,.5);
    --shadow-lg:0 26px 64px rgba(0,0,0,.6); --ring-focus:0 0 0 3px rgba(74,222,128,.5);
    --grain-op:.07; --hero-tone:#101C13; --ring-line:rgba(190,242,100,.08); --ring-arc:rgba(74,222,128,.30);
  }
}
:root[data-theme="dark"] {
  --bg:#0E1410; --bg-2:#131A15; --surface:#18201A; --surface-2:#1F2922;
  --text:#EAF2EC; --muted:#A6B5AB; --border:#26322A; --border-2:#334238;
  --primary:#4ADE80; --brand:#22C55E; --grad-a:#16A34A; --grad-b:#166534;
  --accent-a:#4ADE80; --accent-b:#BEF264;
  --m-carb:#FFD93D; --m-prot:#FF7A7A; --m-fat:#A8E6CF;
  --shadow-sm:0 2px 10px rgba(0,0,0,.4); --shadow-md:0 12px 34px rgba(0,0,0,.5);
  --shadow-lg:0 26px 64px rgba(0,0,0,.6); --ring-focus:0 0 0 3px rgba(74,222,128,.5);
  --grain-op:.07; --hero-tone:#101C13; --ring-line:rgba(190,242,100,.08); --ring-arc:rgba(74,222,128,.30);
}

/* ---------- 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }   /* 앵커 부드러운 이동은 main.js 가(모션 줄이기면 즉시) — CSS smooth 는 전체 캡처에서 고정 요소가 중간에 찍힌다 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
               "Segoe UI", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  word-break: keep-all; overflow-wrap: anywhere;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1,h2,h3 { line-height: 1.18; letter-spacing: -0.025em; font-weight: 760; }
:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: #15803D; color: #fff; padding: 10px 16px; border-radius: 10px;   /* 두 테마 같은 색 — 흰 글자 대비 5.0 */
  transition: top .2s ease;
}
.skip-link:not(:focus) { clip-path: inset(50%); }
.skip-link:focus { top: 12px; }
.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; }
.link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

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

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

/* ---------- 내비 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 74%, 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) 90%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark { display: grid; place-items: center; flex: 0 0 auto; filter: drop-shadow(0 3px 6px rgba(18,33,26,.18)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong { font-size: 1.06rem; letter-spacing: -0.03em; }
.brand__text small { font-size: .72rem; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.nav__links { display: none; gap: 26px; margin-inline: auto; }
.nav__links a { font-size: .92rem; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--primary); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
@media (min-width: 920px) { .nav__links { display: flex; } .nav__actions { margin-left: 0; } }
@media (max-width: 380px) { .brand__text small { display: none; } }

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

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

/* ---------- 섹션 공통 ---------- */
section { position: relative; }
.section-head { max-width: 660px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2, .demo__copy h2, .privacy__copy h2 { font-size: clamp(1.65rem, 4.4vw, 2.7rem); }
.section-sub { color: var(--muted); margin-top: 14px; font-size: clamp(.98rem, 1.6vw, 1.06rem); }

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

/* ---------- 히어로 ---------- */
.hero { overflow: hidden; padding: clamp(36px, 7vw, 84px) 0 clamp(70px, 9vw, 104px); }
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--hero-tone) 100%); }
.hero__rings { position: absolute; z-index: 0; width: min(760px, 120vw); height: auto; right: max(-260px, -22vw); top: -120px; pointer-events: none; }
@media (max-width: 959px) { .hero__rings { top: auto; bottom: 30px; right: -42vw; width: 118vw; } }   /* 좁은 화면: 글 뒤가 아니라 카드 뒤로 */
.hero__rings circle { fill: none; stroke: var(--ring-line); stroke-width: 1.2; }
.hero__rings .hero__arc { fill: none; stroke: var(--ring-arc); stroke-width: 2.4; stroke-linecap: round; }
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--grain-op); mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 2; display: grid; gap: clamp(36px, 6vw, 60px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }
.hero__copy { min-width: 0; }
.hero__title { font-size: clamp(2.15rem, 7vw, 4.1rem); margin: 6px 0 22px; }
.hero__title .line { display: block; }
.hero__title--accent { background: linear-gradient(100deg, var(--accent-a), var(--accent-b)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero__lead { font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--muted); max-width: 31em; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; padding: 0; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--muted); }
.hero__badges span { color: var(--primary); font-size: .55rem; }
.hero__visual { display: grid; place-items: center; min-width: 0; }

/* ---------- 시그니처: 사진 → 칼로리 카드 ---------- */
.scan {
  width: min(380px, 100%); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 14px; position: relative;
}
.scan--lg { width: min(420px, 100%); }
.scan__photo {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 320 / 210;
  background: linear-gradient(160deg, #5B3A22, #3B2414);
}
.tray { width: 100%; height: 100%; }
.tray .bowl, .tray .plate { transition: opacity .4s var(--ease); }
.tray .box { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 6 4; opacity: 0; transition: opacity .35s var(--ease); }
.tray .tag rect { fill: rgba(5,46,22,.82); }
.tray .tag text { fill: #ECFCCB; font-size: 11px; font-weight: 700; font-family: inherit; }
.tray .tag { opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.scan.is-found .tray .box, .scan.is-found .tray .tag { opacity: 1; }
.scan__line {
  position: absolute; left: 0; right: 0; top: 0; height: 26%;
  background: linear-gradient(180deg, transparent, rgba(190,242,100,.0) 20%, rgba(190,242,100,.55) 92%, #D9F99D 100%);
  border-bottom: 2px solid #D9F99D; opacity: 0; transform: translateY(-100%);
  mix-blend-mode: screen; pointer-events: none;
}
.scan.is-scanning .scan__line { opacity: 1; animation: sweep 1.15s var(--ease) forwards; }
@keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(390%); } }
.scan__frame { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; }
.scan__frame path { fill: none; stroke: rgba(255,255,255,.88); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

.scan__card { padding: 16px 8px 6px; }
.scan__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.scan__label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.scan__kcal { display: block; font-size: clamp(1.9rem, 6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.scan__kcal b { font-variant-numeric: tabular-nums; color: var(--primary); }
.scan__tag { flex: 0 0 auto; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.scan__kcal, .scan__items, .macros { transition: opacity .25s var(--ease); }
/* 새 식사를 스캔하는 동안 이전 식사의 숫자·목록은 흐리게 — 그림은 새 식사인데 카드가 이전 값을 또렷이 보이면 어긋나 보인다(10/12 메인 캡처) */
.scan.is-scanning:not(.is-found) .scan__kcal, .scan.is-scanning:not(.is-found) .scan__items, .scan.is-scanning:not(.is-found) .macros { opacity: .28; }
.scan__items { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 6px; min-height: 7.6em; }
.scan__items li {
  display: flex; align-items: center; gap: 10px; font-size: .9rem;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.scan__items li.is-in { opacity: 1; transform: none; }
.scan__items .dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.scan__items .nm { flex: 1; min-width: 0; color: var(--text); font-weight: 600; }
.scan__items .kc { color: var(--muted); font-variant-numeric: tabular-nums; }
.macros { display: grid; gap: 9px; border-top: 1px dashed var(--border-2); padding-top: 14px; }
.macro { display: grid; grid-template-columns: 4.6em 1fr 3.2em; align-items: center; gap: 10px; font-size: .82rem; }
.macro span { color: var(--muted); font-weight: 600; }
.macro i { display: block; height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--border); }
.macro em { display: block; height: 100%; width: calc(var(--w) * 1%); border-radius: inherit; transition: width .9s var(--ease); }
.macro b { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.macro--c em { background: var(--m-carb); }
.macro--p em { background: var(--m-prot); }
.macro--f em { background: var(--m-fat); }

/* ---------- 스크롤 안내 ---------- */
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--border-2); border-radius: var(--r-pill); display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll-line { width: 3px; height: 8px; border-radius: 3px; background: var(--primary); }   /* 정지 — 살아 있는 상태처럼 깜빡이지 않게 */

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

.prob, .how, .demo, .feat, .privacy, .faq { padding: clamp(64px, 10vw, 118px) 0; }

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

/* ---------- 사용법 ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 18px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step__num { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, #15803D, #14532D); box-shadow: var(--shadow-sm); }   /* 흰 숫자 대비 ≥5.0 */
.step__body { min-width: 0; }
.step__body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step__body p { color: var(--muted); font-size: .95rem; }

/* ---------- 데모 ---------- */
.demo { background: var(--bg-2); border-block: 1px solid var(--border); overflow: hidden; }
.demo__inner { display: grid; gap: clamp(32px, 6vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .demo__inner { grid-template-columns: 1fr 1fr; } }
.demo__copy, .demo__visual { min-width: 0; }
.demo__visual { display: grid; place-items: center; }
.demo__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.dchip { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font-weight: 650; font-size: .92rem; transition: transform .25s var(--spring), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.dchip:hover { transform: translateY(-2px); border-color: var(--primary); }
.dchip.is-active { background: linear-gradient(135deg, var(--grad-b), #166534); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.disclaimer { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.55; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; max-width: 42em; }
.disclaimer span[aria-hidden] { color: var(--primary); font-weight: 700; }
.disclaimer strong { color: var(--text); }

/* ---------- 기능 ---------- */
.feat__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feat__grid { grid-template-columns: repeat(4, 1fr); } }
.fcard { display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; row-gap: 8px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.fcard__ic { grid-column: 1; grid-row: 1; width: 24px; height: 24px; color: var(--primary); margin-top: 1px; }
.fcard__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fcard h3 { grid-column: 2; grid-row: 1; font-size: 1.04rem; align-self: center; }
.fcard p { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; }
.feat__langs { margin-top: 26px; text-align: center; color: var(--muted); font-size: .86rem; line-height: 1.9; word-break: normal; }

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

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

/* ---------- 다운로드 띠 ---------- */
.cta { overflow: hidden; text-align: center; padding: clamp(70px, 11vw, 128px) 0; background: linear-gradient(150deg, var(--deep-a), var(--deep-b)); color: #fff; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; border: 34px solid rgba(190,242,100,.10); pointer-events: none; }
.cta .grain { mix-blend-mode: soft-light; opacity: .12; }
.cta__inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta h2 { font-size: clamp(1.8rem, 5vw, 3rem); color: #fff; }
.cta__sub { margin-top: 14px; color: #D1FAE5; font-size: 1.05rem; }
.cta__stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 꼬리말 ---------- */
.foot { background: var(--bg); border-top: 1px solid var(--border); padding: 46px 0 40px; }
.foot__inner { display: grid; gap: 14px; }
.foot__brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.foot__brand strong { font-size: 1.1rem; }
.foot__brand span { font-size: .85rem; color: var(--muted); }
.foot__disc { color: var(--muted); font-size: .84rem; max-width: 60em; }
.foot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .86rem; color: var(--muted); }
.foot__meta a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-2); }
.foot__meta a:hover { color: var(--primary); }

/* ---------- 스크롤 등장 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.hero__title .line { opacity: 0; transform: translateY(32px); animation: lineUp .9s var(--ease) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .1s; }
.hero__title .line:nth-child(2) { animation-delay: .22s; }
.hero__title .line:nth-child(3) { animation-delay: .34s; }
@keyframes lineUp { to { opacity: 1; transform: none; } }

/* ---------- 모션 줄이기: 전부 끄고 최종 상태로 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .line { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scan__line { display: none !important; }
  .scan__items li { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary { cursor: auto !important; }
}
