/* WICH 랜딩 시안 공통 스타일
   색은 앱 디자인 토큰(FeedRefreshColors)을 그대로 쓴다: 흰 바탕, 잉크 #0F1115, 회색 단계, 강조 #1473E6. */
:root {
  --ink: #0f1115; --text2: #474c55; --text3: #868b94; --text4: #b4b8bf;
  --line: #eceef1; --fill: #f4f5f7; --bg: #fff;
  --accent: #1473e6; --accent-soft: rgba(20, 115, 230, .1); --ok: #17a05d; --amber: #ffb020;
  --wrap: 1140px; --pad: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { background: var(--bg); color: var(--ink); font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; letter-spacing: -0.01em; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* 글자: 굵은 두 줄 제목 + 회색 본문(토스 랜딩의 위계) */
.eyebrow { color: var(--accent); font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; letter-spacing: -0.01em; }
.h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; line-height: 1.22; letter-spacing: -0.035em; }
.h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; line-height: 1.28; letter-spacing: -0.035em; }
.h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: var(--text2); }
.body { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--text2); }

/* 머리글 */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: 60px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); transition: box-shadow .3s; }
.past-hero .top { box-shadow: 0 1px 0 var(--line); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo img { height: 22px; width: auto; }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--text2); }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: 14px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 600; transition: background .2s, transform .2s; }
.btn:hover { background: #0f63c9; }
.btn:active { transform: scale(.97); }
.btn.sm { height: 38px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #2a2d33; }
.btn.light { background: var(--fill); color: var(--ink); }
.btn.light:hover { background: #e9ebee; }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .top nav { display: none; } .top .btn.sm { margin-left: auto; } }

/* 휴대폰: iPhone 15 Pro 비율의 티타늄 테두리 + 검은 베젤 + 옆 버튼. 화면에는 실제 앱 녹화·캡처를 그대로 넣는다. */
.phone {
  --w: 300px; position: relative; width: var(--w); flex: none;
  padding: calc(var(--w) * .026); border: calc(var(--w) * .012) solid transparent; border-radius: calc(var(--w) * .178);
  background: linear-gradient(#07080a, #07080a) padding-box, linear-gradient(140deg, #e6e7ea, #9a9ea6 22%, #f4f5f6 46%, #8a8e96 72%, #d9dbdf) border-box;
  box-shadow: 0 1px 2px rgba(15, 17, 21, .18), 0 calc(var(--w) * .1) calc(var(--w) * .2) calc(var(--w) * -.06) rgba(15, 17, 21, .3);
}
.phone::before, .phone::after { content: ''; position: absolute; width: calc(var(--w) * .012); border-radius: 2px; background: linear-gradient(90deg, #8a8e96, #d4d6da); }
.phone::before { right: 100%; margin-right: calc(var(--w) * .012); top: 17%; height: 4.6%; box-shadow: 0 calc(var(--w) * .13) 0 #a3a6ad, 0 calc(var(--w) * .26) 0 #a3a6ad; }
.phone::after { left: 100%; margin-left: calc(var(--w) * .012); top: 27%; height: 11%; background: linear-gradient(90deg, #d4d6da, #8a8e96); }
.phone > .scr { position: relative; overflow: hidden; border-radius: calc(var(--w) * .14); aspect-ratio: 393 / 852; background: var(--fill); transform: translateZ(0); }
.phone > .scr > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone [data-step-media], .phone [data-tour-media] { opacity: 0; transition: opacity .5s var(--ease); }
.phone [data-step-media].on, .phone [data-tour-media].on { opacity: 1; }
/* 화면 조각: 앱 캡처에서 모서리 바깥을 투명하게 잘라 낸 실제 UI(시트·초대 카드)를 띄운다 */
.cut { display: block; height: auto; filter: drop-shadow(0 18px 24px rgba(15, 17, 21, .16)) drop-shadow(0 2px 5px rgba(15, 17, 21, .08)); }
.cut.sheet { background: #fff; border-radius: 18px; }
/* 앱의 칩(피드 탭·카테고리·‘이 위치에 N개의 피드’)을 같은 모양으로 그린다. 크기는 휴대폰 폭(--w)을 따른다. */
.chips { display: flex; width: max-content; gap: .42em; font-size: calc(var(--w, 300px) * .05); font-weight: 600; letter-spacing: -0.02em; }
.chips > span { padding: .6em 1.05em; border-radius: 999px; background: #fff; color: var(--text2); white-space: nowrap; box-shadow: 0 .55em 1.1em -.45em rgba(15, 17, 21, .32), 0 0 0 1px rgba(15, 17, 21, .05); }
.chips > .on { background: var(--ink); color: #fff; }
.count { display: inline-flex; align-items: center; gap: .38em; padding: .66em 1.15em .66em .85em; border-radius: 999px; background: rgba(20, 22, 26, .94); color: #fff; font-size: calc(var(--w, 300px) * .052); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; box-shadow: 0 .7em 1.4em -.5em rgba(15, 17, 21, .5); }
.count svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; }

/* QR(데스크톱에서만) */
.qr { display: flex; align-items: center; gap: 14px; }
.qr img { width: 96px; height: 96px; border-radius: 12px; border: 1px solid var(--line); padding: 6px; background: #fff; }
.qr p { font-size: 14px; line-height: 1.5; color: var(--text3); }
.qr b { display: block; color: var(--ink); font-size: 15px; }
html:not([data-os="desktop"]) .qr { display: none; }

/* 모바일 하단 고정 다운로드 */
.bar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; height: 56px; border-radius: 16px; font-size: 17px; box-shadow: 0 12px 30px -10px rgba(20, 115, 230, .55); transform: translateY(140%); transition: transform .45s var(--ease); }
.past-hero .bar { transform: none; }
.at-end .bar { transform: translateY(140%); }
@media (min-width: 861px) { .bar { display: none; } }

/* 바닥글 */
.foot { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--fill); color: var(--text3); font-size: 13px; line-height: 1.8; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.foot img { height: 18px; width: auto; opacity: .55; margin-bottom: 12px; }
.foot a:hover { color: var(--ink); }
@media (min-width: 861px) { .foot { padding-bottom: 48px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
