/* evnai.app 랜딩 v2(영어 / · 한국어 /ko/). 구성 근거 docs/store/landing_benchmark.md, 문구 docs/marketing/landing_page.md 5절.
   브랜드 색은 docs/brand 0절·스토어 스크린샷과 같다: 아이보리 바탕, 식빵 갈색 글자, 진한 빵색 강조. 등급 색은 앱과 같다(낮음 청록·보통 주황·높음 빨강). */
:root {
  --bg: #fff8ee;
  --cream: #fff1d2;
  --card: #ffffff;
  --ink: #3a2618;
  --muted: #7a6150;
  --accent: #96561a;
  --line: #ecdcc4;
  --low: #0e9384;
  --mid: #dc6803;
  --high: #e0533d;
  --band: #3a2618;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 40px; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 6.4vw, 62px); font-weight: 800; }
h2 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 10px; }
.lead { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 36em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* 머리 */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 22%; }
.lang { display: flex; gap: 6px; }
.lang a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
.lang a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* 버튼 줄 */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.appstore img, .googleplay img { height: 54px; width: auto; }
@media (max-width: 480px) { .cta .appstore img, .cta .googleplay img { height: 48px; } } /* 두 스토어 버튼이 390pt 폭에서 한 줄에 들어가게(2026-10-19) */
.soon { display: inline-flex; align-items: center; height: 54px; padding: 0 18px; border: 1.5px dashed var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.fine { margin-top: 12px; font-size: 14px; color: var(--muted); }
.more { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.qr { display: none; align-items: center; gap: 12px; margin-top: 20px; padding: 10px 14px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; width: fit-content; }
.qr img { width: 72px; height: 72px; }
.qr p { font-size: 13px; font-weight: 600; max-width: 12em; }

/* 1 첫 화면: 왼쪽 글, 오른쪽 실제 결과 화면 폰 + 폰 밖으로 나온 음식 칩(Cal AI·Flo 방식) */
.hero { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: 24px 48px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); background: var(--cream); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.stage { position: relative; width: min(300px, 66vw); margin-inline: auto; }
.phone { border-radius: 42px; padding: 9px; background: #2a1c12; box-shadow: 0 30px 60px -26px rgba(58, 38, 24, 0.55); }
.phone img { border-radius: 33px; width: 100%; height: auto; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: 18px; padding: 9px 14px 9px 9px; box-shadow: 0 14px 30px -14px rgba(58, 38, 24, 0.45); font-size: 15px; font-weight: 700; white-space: nowrap; }
.chip img { width: 36px; height: 36px; border-radius: 10px; background: var(--cream); padding: 3px; }
.chip small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.chip.a { left: -18%; top: 58%; }
.chip.b { right: -18%; top: 70%; }
.chip.grade { right: -14%; top: 18%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; }
.chip.grade b { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }

/* 2 사실 띠(평점 자리): 숫자·출처는 사실만 */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; padding-block: 18px; border-block: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--muted); }
.facts b { color: var(--ink); }

/* 3 같은 칼로리, 다른 부하(Levels 'Sneaky spikers and steadier choices' 자리, 숫자는 앱 계산) */
.pair { display: grid; gap: 14px; max-width: 640px; margin: 28px auto 0; }
.food { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 16px; }
.food img { width: 64px; height: 64px; border-radius: 16px; background: var(--cream); padding: 6px; }
.food h3 { font-size: 19px; }
.food small { color: var(--muted); font-size: 14px; }
.food .num { font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; }
.food .bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #f2e7d8; overflow: hidden; }
.food .bar i { display: block; height: 100%; border-radius: 99px; }
.food .tag { grid-column: 1 / -1; font-size: 14px; font-weight: 700; }
.pair-note { text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 4 3단계 + 실제 화면 */
.steps { display: grid; gap: 18px; margin-top: 32px; grid-template-columns: minmax(0, 1fr); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 18px; grid-template-columns: 104px minmax(0, 1fr); align-items: center; }
.step .shot { border-radius: 18px; padding: 5px; background: #2a1c12; }
.step .shot img { border-radius: 14px; width: 100%; height: auto; }
.step .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* 2-0 브랜드 영상(2026-11-29, landing_page.md 8절): 누르면 소리와 함께 재생한다. 자동 재생이 아니라서 .reel과 달리 동작 줄이기에서도 영상을 숨기지 않는다 */
.film { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(58, 38, 24, 0.35); background: #1b1512; }
.film video { display: block; width: 100%; height: 100%; object-fit: contain; }

/* 5 영상 띠(승인된 헤더·검색 결과 영상) */
.reel { border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(58, 38, 24, 0.35); background: var(--cream); }
.reel.narrow { aspect-ratio: 3 / 2; }
.reel.wide { aspect-ratio: 3840 / 1646; display: none; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel img { display: none; }

/* 6 안심 */
.keep { background: var(--cream); border-radius: 32px; padding: 40px 26px; }
.keep p { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 36em; }

/* 7 기능 */
.features { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature p { margin-top: 8px; color: var(--muted); }

/* 8 신뢰·사진 띠(Clue 빨간 띠 자리, 우리는 진한 빵색) */
.band { background: var(--band); color: #fff4e3; border-radius: 32px; padding: 36px 26px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.band h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { padding-left: 24px; position: relative; color: #f3e2c8; }
.band li::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: #5fd0c0; }

/* 9 요금 */
.plans { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 22px; max-width: 640px; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.plan.best { border-color: var(--ink); }
.plan b { font-size: 24px; display: block; font-variant-numeric: tabular-nums; }
.plan span { color: var(--muted); font-size: 15px; }
.price-fine { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 40em; }

/* 10 자주 묻는 질문 */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* 11 마무리 */
.closing { text-align: center; }
.closing .cta { justify-content: center; }
.closing .qr { margin-inline: auto; }

/* 휴대폰: 첫 화면을 지나면 아래에 받기 막대(Welling 떠 있는 카드의 휴대폰판) */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px -14px rgba(58, 38, 24, 0.5); transform: translateY(160%); transition: transform 0.3s ease; }
.sticky.on { transform: none; }
.sticky img.icon { width: 40px; height: 40px; border-radius: 22%; }
.sticky p { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.sticky p small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.sticky .appstore img, .sticky .googleplay img { height: 40px; }

/* 바닥 */
footer { border-top: 1px solid var(--line); padding-block: 28px 110px; font-size: 14px; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
footer nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
footer p + p { margin-top: 6px; }

@media (min-width: 860px) {
  section { padding-block: 52px; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding-top: 40px; }
  .stage { width: 300px; }
  .qr { display: flex; }
  .steps, .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { grid-template-columns: minmax(0, 1fr); }
  .step .shot { width: 62%; margin-inline: auto; }
  .reel.wide { display: block; }
  .reel.narrow { display: none; }
  .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 48px; }
  .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .keep { padding: 56px; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}
@media (max-width: 420px) { .chip.a { left: -8%; } .chip.b { right: -8%; } .chip.grade { right: -6%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reel video { display: none; } .reel img { display: block; } .sticky { transition: none; } }

/* 7-1 연구 그래프(근거 문서 5-2: 주어는 연구, 출처·한계를 그래프 바로 아래에) */
.studies { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
.study { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.study .emoji { font-size: 30px; line-height: 1; margin-bottom: 12px; display: inline-block; transform: scale(0.6); opacity: 0; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s; }
.studies.in .emoji { transform: none; opacity: 1; }
.study h3 { font-size: 19px; }
.bars { display: grid; gap: 12px; margin-top: 18px; }
.bars .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: 14px; font-weight: 600; }
.bars .row > span:first-child { grid-column: 1 / -1; }
.bars .track { height: 14px; border-radius: 99px; background: #f2e7d8; overflow: hidden; }
.bars .track i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--low); transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.bars .row.muted .track i { background: #cdb79c; }
.bars b { font-size: 22px; font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.study .big { margin-top: 14px; font-size: 54px; font-weight: 800; line-height: 1; color: var(--mid); font-variant-numeric: tabular-nums; }
.study .unit { margin-top: 6px; font-weight: 700; }
.study .sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.study figcaption { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.study figcaption a { color: var(--muted); }
.research-foot { margin-top: 16px; font-size: 13px; color: var(--muted); max-width: 52em; }
@media (min-width: 860px) { .studies { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .study .emoji { transform: none; opacity: 1; transition: none; } .bars .track i { transition: none; } }

/* 0 첫 화면 영상(맨 위) */
.top-reel { margin-top: 4px; }
.top-reel + .hero { padding-top: 36px; }

/* 2-1 캐릭터 카드(Cal AI 인플루언서 줄 자리, 후기 장치 없이) */
.cast-label { margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--muted); }
.cards { display: grid; gap: 14px; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.who { margin: 0; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 34px -22px rgba(58, 38, 24, 0.4); display: flex; flex-direction: column; }
.who img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
.who figcaption { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.who b { font-size: 17px; }
.who b .nim { font-size: 13px; font-weight: 600; color: var(--muted); }
.who figcaption > span { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 10px; }
.who em { font-style: normal; font-size: 13px; font-weight: 700; margin-top: auto; background: var(--cream); color: var(--ink); border-radius: 999px; padding: 4px 10px; width: fit-content; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.who em span { font-size: inherit; line-height: 1.35; color: inherit; margin: 0; }
.who em span:last-child { white-space: nowrap; }
.who em .sep { font-style: normal; }
@media (max-width: 1099px) { .who em { border-radius: 14px; } .who em span { display: block; } .who em .sep { display: none; } }
@media (max-width: 420px) { .who figcaption > span { font-size: 13px; } .who em { font-size: 12px; } }

/* 2026-10-25 첫 화면 신뢰 알약, 기능 태그, 스파이크 궁금증 줄 */
.trust { display: inline-block; margin-top: 16px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.feature p.tags { margin-top: 14px; }
.tags span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); }
.callout { text-align: center; font-size: 19px; font-weight: 700; line-height: 1.45; text-wrap: balance; padding-block: 8px; }
