/* 이어폰위치알림 소개 사이트 (#365) — 생성기 _src/build_site.py 와 함께 관리
   색: 앱 팔레트(lib/core/ui/foundation/app_color_palette.dart) 라이트 + 민트 다크 띠 */

/* ── 토큰 ── */
:root {
  --page: #fbfbfd;
  --page-sunken: #f2f2f7;
  --surface: #ffffff;
  --text: #1c1c1e;
  --text-secondary: #6c6c70;
  --separator: rgba(0, 0, 0, .07);
  --accent: #0a7a6d;
  --accent-soft: rgba(10, 122, 109, .1);
  --accent-soft-strong: rgba(10, 122, 109, .16);
  --danger: #b3261e;
  --danger-soft: rgba(179, 38, 30, .07);
  --mint: #6fe3d3;
  --mint-soft: rgba(111, 227, 211, .14);
  --night: #000000;
  --night-surface: #1c1c1e;
  --night-text-secondary: #a1a1a8;
  --night-grid: #141416;
  --night-road: #161618;
  --night-road-main: #1f1f22;
  --phone-frame: #1c1c1e;
  --mint-wash: #e8faf7;

  --radius-small: 14px;
  --radius-medium: 22px;
  --radius-large: 30px;
  --radius-xlarge: 40px;
  --space-section: clamp(72px, 10vw, 128px);
  --gutter: clamp(20px, 4vw, 28px);
  --width-content: 1140px;
  --width-narrow: 760px;
  --nav-height: 60px;

  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .05);
  --shadow-float: 0 20px 50px rgba(0, 0, 0, .1);
  --shadow-phone: 0 0 0 2px #d1d1d6, 0 60px 120px rgba(10, 122, 109, .2), 0 30px 60px rgba(0, 0, 0, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}
.lang-ja { --font: "Pretendard JP Variable", "Pretendard Variable", -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
.lang-zh { --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Pretendard Variable", sans-serif; }

/* ── 기본 ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); -webkit-text-size-adjust: 100%; }
body { background: var(--page); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* 한국어는 어절 단위 줄바꿈, 일·중은 기본 (keep-all 이면 줄이 안 바뀌어 넘침) */
.lang-ko { word-break: keep-all; overflow-wrap: anywhere; }
.lang-en { overflow-wrap: break-word; hyphens: manual; }
.lang-ja, .lang-zh { line-break: strict; }
/* 일본어: 문절 단위 줄바꿈 (지원 브라우저만, 나머지는 기본) */
.lang-ja { word-break: auto-phrase; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
.wrap { max-width: var(--width-content); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--width-narrow); }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { flex-shrink: 0; }

.kicker { font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .01em; }
h2 { font-size: clamp(32px, 4.8vw, 60px); letter-spacing: -.04em; line-height: 1.1; font-weight: 800; margin-top: 12px; }
.lang-ja h2, .lang-zh h2 { letter-spacing: -.02em; line-height: 1.2; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.75; color: var(--text-secondary); margin-top: 18px; max-width: 540px; }

/* ── 상단 메뉴 ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 253, .78); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-bottom: 1px solid var(--separator); }
.nav-in { height: var(--nav-height); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand img { width: 14px; height: auto; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-secondary); margin-left: auto; }
.nav-links a { white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { background: var(--text); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 15px; border-radius: 999px; white-space: nowrap; transition: transform .2s; }
.nav-cta:hover { transform: scale(1.04); }

/* 언어 전환 (모든 페이지 같은 모양) */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--separator); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--text-secondary); cursor: pointer; user-select: none; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary { color: var(--text); border-color: var(--accent-soft-strong); }
.lang-menu[open] summary .icon:last-child { transform: rotate(180deg); }
.lang-options { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: var(--surface); border-radius: var(--radius-small); box-shadow: var(--shadow-float); border: 1px solid var(--separator); padding: 6px; display: grid; z-index: 60; }
.lang-options a { padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.lang-options a:hover { background: var(--page-sunken); }
.lang-options a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.footer .lang-options { top: auto; bottom: calc(100% + 8px); }

/* ── 스토어 버튼 ── */
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 11px 18px; border-radius: 16px; font-weight: 700; font-size: 17px; line-height: 1.15; transition: transform .2s var(--ease), box-shadow .2s; }
.store-button small { display: block; font-size: 11px; font-weight: 500; opacity: .7; }
.store-button:hover { transform: translateY(-2px); }
.store-dark .store-primary { background: var(--text); color: #fff; }
.store-dark .store-secondary { background: var(--accent); color: #fff; }
.store-dark .store-button:hover { box-shadow: 0 12px 30px rgba(10, 122, 109, .25); }
.store-light .store-primary { background: #fff; color: #000; }
.store-light .store-secondary { background: var(--mint); color: #000; }
.store-light .store-button:hover { box-shadow: 0 12px 30px rgba(111, 227, 211, .3); }

/* ── 첫 화면 ── */
.hero { text-align: center; padding-top: clamp(56px, 9vw, 96px); overflow: hidden; }
.eyebrow { font-weight: 700; font-size: 17px; color: var(--accent); }
.hero-title { font-size: clamp(44px, 8vw, 104px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; margin: 16px auto 24px; max-width: 1000px; }
.lang-en .hero-title { letter-spacing: -.04em; }
.lang-ja .hero-title, .lang-zh .hero-title { font-size: clamp(40px, 7vw, 92px); letter-spacing: -.03em; line-height: 1.12; }
.word { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(30px); animation: word-in .8s var(--ease) forwards; }
.hero-lead { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.6; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.hero .store-buttons { justify-content: center; margin-top: 32px; }
.hero-device { perspective: 1400px; margin-top: 64px; height: clamp(560px, 62vw, 700px); position: relative; }
.hero-tilt { width: min(330px, 76vw); margin: 0 auto; transform: rotateX(28deg) scale(.92); transform-origin: 50% 0; will-change: transform; }
.phone { position: relative; aspect-ratio: 486 / 1054; border-radius: 50px; padding: 11px; background: var(--phone-frame); box-shadow: var(--shadow-phone); }
.phone img { width: 100%; height: 100%; border-radius: 40px; object-fit: cover; }
.float-chip { position: absolute; z-index: 2; background: var(--surface); border-radius: 18px; padding: 13px 18px 13px 14px; box-shadow: var(--shadow-float); font-size: 14px; font-weight: 600; display: flex; gap: 12px; align-items: center; text-align: left; line-height: 1.35; max-width: 260px; animation: bob 4s ease-in-out infinite; }
.float-chip small { display: block; font-weight: 500; color: var(--text-secondary); font-size: 12px; margin-top: 2px; }
.chip-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.chip-1 { left: calc(50% - 420px); top: 110px; }
.chip-2 { right: calc(50% - 430px); top: 250px; animation-delay: -1.5s; }
.chip-3 { left: calc(50% - 400px); top: 420px; animation-delay: -2.8s; }
.chip-4 { right: calc(50% - 410px); top: 520px; animation-delay: -.7s; }

/* ── 도착 연출 (어두운 띠) ── */
.arrive { padding: 40px 0 var(--space-section); }
.night { position: relative; background: var(--night); color: #fff; border-radius: var(--radius-xlarge); overflow: hidden; display: grid; grid-template-columns: 1fr 380px; min-height: 640px; isolation: isolate; }
.night-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.night-place { fill: var(--mint); font: 700 15px var(--font); }
.night-copy { padding: clamp(32px, 5vw, 64px); align-self: end; }
.night .kicker { color: var(--mint); }
.night h2 { font-size: clamp(30px, 4vw, 52px); }
.night-body { color: var(--night-text-secondary); margin-top: 14px; font-size: 17px; line-height: 1.7; max-width: 440px; }
.night-status { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.night-status.is-arrived { background: var(--mint); color: #000; }
.night-phone { position: relative; display: grid; place-items: center; padding: 40px 0; }
.night-phone .phone { width: 250px; background: linear-gradient(145deg, #2a2a2d, #0d0d0f); box-shadow: 0 0 0 1.5px #3a3a3e inset, 0 40px 80px rgba(0, 0, 0, .6); }
.screen-off { position: absolute; inset: 11px; border-radius: 40px; background: #000; display: grid; place-items: center; text-align: center; transition: opacity .25s; }
.clock { font-size: 56px; font-weight: 300; color: #e5e5ea; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock-label { display: inline-flex; gap: 5px; align-items: center; font-size: 13px; color: #6c6c70; margin-top: 4px; }
.phone.is-buzzing { animation: buzz .07s linear infinite; }
.vibe { position: absolute; top: 50%; width: 46px; height: 140px; translate: 0 -50%; opacity: 0; transition: opacity .2s; pointer-events: none; }
.vibe-left { left: calc(50% - 175px); }
.vibe-right { right: calc(50% - 175px); transform: scaleX(-1); }
.vibe.is-on { opacity: 1; }
.vibe i { position: absolute; top: 50%; right: 0; border: 3px solid transparent; border-left-color: var(--mint); border-radius: 50%; translate: 0 -50%; animation: arc .6s ease-out infinite; }
.vibe i:nth-child(1) { width: 40px; height: 60px; }
.vibe i:nth-child(2) { width: 70px; height: 100px; right: -10px; animation-delay: .15s; }
.vibe i:nth-child(3) { width: 100px; height: 140px; right: -20px; animation-delay: .3s; }
.notification { position: absolute; top: 18%; left: 50%; width: min(240px, 80%); translate: -50% 0; z-index: 3; background: rgba(44, 44, 46, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; padding: 12px 14px; font-size: 12px; line-height: 1.4; display: flex; gap: 10px; align-items: center; opacity: 0; transform: translateY(-16px) scale(.95); transition: .35s var(--ease); }
.notification.is-shown { opacity: 1; transform: none; }
.notification img { width: 26px; height: 26px; border-radius: 7px; }
.notification b { display: block; font-size: 13px; }
.notification span { color: #98989f; }

/* ── 셔틀 ── */
.shuttle { padding-bottom: var(--space-section); }
.shuttle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.route-card { position: relative; background: var(--surface); border-radius: var(--radius-large); padding: 32px 30px; box-shadow: var(--shadow-card); }
.route-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.route-title > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.route-badge { font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--page-sunken); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.route-line { position: relative; list-style: none; margin-top: 24px; padding-left: 40px; }
.route-line::before, .route-fill { content: ""; position: absolute; left: 13px; top: 8px; width: 4px; border-radius: 4px; }
.route-line::before { bottom: 8px; background: var(--page-sunken); }
.route-fill { height: 0; background: var(--accent); transition: height .5s linear; }
.stop { position: relative; padding: 12px 34px 12px 0; font-size: 16px; font-weight: 600; color: #aeaeb2; transition: color .3s; }
.stop::before { content: ""; position: absolute; left: -33px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid #d1d1d6; transition: .3s; }
.stop small { display: block; font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.stop.is-passed, .stop-target { color: var(--text); }
.stop.is-passed::before { border-color: var(--accent); }
.stop-target::before { width: 18px; height: 18px; left: -35px; border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft-strong); }
.stop-silent { position: absolute; right: 0; top: 50%; translate: 0 -50%; color: #c7c7cc; }
.route-alert { position: absolute; right: -14px; bottom: 50px; display: inline-flex; gap: 8px; align-items: center; background: var(--text); color: #fff; padding: 12px 16px; border-radius: 16px; font-size: 13px; font-weight: 700; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); opacity: 0; transform: translateY(10px); transition: .35s var(--ease); }
.route-alert.is-shown { opacity: 1; transform: none; animation: buzz .07s linear 10; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.use-card { background: var(--surface); border-radius: var(--radius-medium); padding: 22px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.use-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.use-card b { display: block; font-size: 17px; margin: 14px 0 4px; }
.use-card > span:last-child { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ── 사용법: 고정 폰 ── */
.how { padding-bottom: 40px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step-number { font-size: 14px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.18; margin: 12px 0 14px; }
.lang-ja .step h3, .lang-zh .step h3 { letter-spacing: -.01em; line-height: 1.3; }
.step p { font-size: 18px; line-height: 1.7; max-width: 440px; color: var(--text-secondary); }
.step-shot { display: none; }
.story-phone { position: sticky; top: calc(var(--nav-height) + 6vh); height: calc(100vh - var(--nav-height) - 12vh); display: grid; place-items: center; }
.story-phone .phone { width: min(290px, 100%); max-height: 100%; aspect-ratio: 486 / 1054; height: auto; }
.story-phone .phone img { position: absolute; inset: 11px; width: calc(100% - 22px); height: calc(100% - 22px); opacity: 0; transform: scale(1.04); transition: opacity .6s, transform .8s var(--ease); }
.story-phone .phone img.is-active { opacity: 1; transform: none; }
.story-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft-strong), transparent 65%); }

/* ── 기능 벤토 ── */
.features { padding: var(--space-section) 0 80px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 290px; gap: 18px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border-radius: var(--radius-large); padding: 32px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.tile h3 { font-size: 25px; letter-spacing: -.025em; line-height: 1.22; }
.lang-ja .tile h3, .lang-zh .tile h3 { letter-spacing: -.01em; line-height: 1.32; font-size: 23px; }
.tile p { color: var(--text-secondary); margin-top: 8px; line-height: 1.55; font-size: 15px; max-width: 320px; }
.tile-big { grid-column: span 4; grid-row: span 2; background: #0b0d0c; color: #fff; }
.tile-big p { color: #98989f; }
.tile-big img { position: absolute; right: 48px; top: 170px; width: 250px; border-radius: 36px; box-shadow: 0 0 0 8px var(--night-surface); transform: translateY(80px); transition: transform 1.2s var(--ease); }
.tile-big.is-visible img { transform: none; }
.tile-small { grid-column: span 2; }
.tile-wide { grid-column: span 3; }
.tile-mint { background: linear-gradient(135deg, var(--mint-wash), var(--surface)); }
.mini-phone { position: absolute; right: 34px; bottom: 30px; width: 64px; height: 112px; border-radius: 16px; border: 3px solid var(--text); animation: shake 2s infinite; }
.mini-phone::before, .mini-phone::after { content: ""; position: absolute; top: 34px; width: 10px; height: 44px; border-radius: 50%; border: 3px solid transparent; opacity: 0; animation: blink 2s infinite; }
.mini-phone::before { left: -22px; border-left-color: var(--accent); }
.mini-phone::after { right: -22px; border-right-color: var(--accent); }
.radius-demo { position: absolute; right: 24px; bottom: 24px; width: 150px; height: 150px; display: grid; place-items: center; }
.radius-circle { position: absolute; border-radius: 50%; border: 2px solid var(--accent); background: var(--accent-soft); animation: grow 3.6s var(--ease) infinite; }
.radius-demo img { width: 20px; position: relative; }
.radius-demo span { position: absolute; bottom: -6px; font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.device-chips { display: flex; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.device-chips span { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }
.device-chips .is-blocked { text-decoration: line-through; color: var(--danger); background: var(--danger-soft); }
.weekday-chips { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.weekday-chips b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--page-sunken); font-size: 14px; transition: .4s; }
.weekday-chips b.is-on { background: var(--accent); color: #fff; }

/* ── 정보 글 카드 ── */
.guides { padding: 40px 0 var(--space-section); }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-grid-three { grid-template-columns: repeat(3, 1fr); }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-medium); padding: 26px; border: 1px solid var(--separator); transition: transform .3s var(--ease), box-shadow .3s, opacity .9s var(--ease); }
.guide-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 122, 109, .12); }
.guide-tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.guide-card h3 { font-size: 18px; line-height: 1.4; margin: 14px 0 8px; letter-spacing: -.01em; }
.guide-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.guide-more { margin-top: auto; padding-top: 18px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--accent); }

/* ── 자주 묻는 질문 ── */
.faq { padding: 0 0 var(--space-section); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border-radius: 18px; border: 1px solid var(--separator); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; line-height: 1.45; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); transition: transform .3s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; color: var(--text-secondary); line-height: 1.75; }

/* ── 마지막 다운로드 ── */
.final { position: relative; overflow: hidden; background: var(--night); color: #fff; text-align: center; padding: clamp(100px, 14vw, 150px) 0; border-radius: 44px 44px 0 0; }
.halo { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; border-radius: 50%; border: 1px solid rgba(111, 227, 211, .14); animation: spread-halo 4s linear infinite; pointer-events: none; }
.halo:nth-child(2) { animation-delay: 1.3s; }
.halo:nth-child(3) { animation-delay: 2.6s; }
.final-in { position: relative; }
.final-pin { width: 56px; height: auto; margin: 0 auto 28px; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(111, 227, 211, .45)); }
.final h2 { font-size: clamp(36px, 6vw, 78px); }
.final em { color: var(--mint); }
.final .store-buttons { justify-content: center; margin-top: 40px; }

/* ── 하단 ── */
.footer { background: var(--night); color: #a1a1a8; font-size: 14px; padding: 56px 0 32px; }
.final + .footer, main + .footer { border-top: 1px solid #1c1c1e; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links strong { color: #fff; font-size: 13px; }
.footer-links a:hover { color: #fff; }
/* 사업자 정보 한 줄 — 좁은 화면에서는 항목 단위로 줄바꿈 */
.footer-business { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 32px; font-size: 12px; color: #8e8e93; }
.footer-business a { color: inherit; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #2c2c2e; font-size: 13px; }
.footer .lang-menu summary { background: transparent; border-color: #3a3a3c; color: #c7c7cc; }
.footer .lang-options { background: var(--night-surface); border-color: #3a3a3c; }
.footer .lang-options a { color: #e5e5ea; }
.footer .lang-options a:hover { background: #2c2c2e; }
.footer .lang-options a[aria-current] { color: var(--mint); background: rgba(111, 227, 211, .12); }

/* ── 정보 글 ── */
.article-hero { padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 4vw, 40px); }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-secondary); margin-bottom: 22px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #c7c7cc; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); font-weight: 600; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.16; letter-spacing: -.035em; font-weight: 800; margin-top: 16px; }
.lang-ja .article-hero h1, .lang-zh .article-hero h1 { letter-spacing: -.015em; line-height: 1.3; }
.article-lead { font-size: clamp(17px, 1.7vw, 19px); color: var(--text-secondary); line-height: 1.75; margin-top: 18px; }
.article-meta { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--text-secondary); margin-top: 18px; }
.article { padding-bottom: var(--space-section); font-size: 17px; line-height: 1.85; }
.article h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.025em; line-height: 1.3; margin: 56px 0 16px; }
.article p + p { margin-top: 14px; }
.article ul { padding: 0; list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.article li { position: relative; padding: 16px 18px 16px 46px; background: var(--surface); border-radius: var(--radius-small); border: 1px solid var(--separator); line-height: 1.7; }
.article li::before { content: ""; position: absolute; left: 18px; top: 23px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-soft-strong); box-shadow: inset 0 0 0 3px var(--accent); }
.article b { color: var(--text); font-weight: 700; }
.article-intro { font-size: 18px; padding: 26px 28px; background: var(--surface); border-radius: var(--radius-medium); box-shadow: var(--shadow-card); }
.download-band { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 20px; margin: 56px 0; padding: 26px 28px; background: var(--night); color: #fff; border-radius: var(--radius-large); }
.band-icon { width: 64px; height: 64px; border-radius: 16px; }
.band-copy strong { font-size: 19px; letter-spacing: -.02em; line-height: 1.35; }
.band-copy p { color: var(--night-text-secondary); font-size: 14px; line-height: 1.6; margin-top: 4px; }
.download-band .store-buttons { grid-column: 1 / -1; }
.download-band .store-button { font-size: 15px; padding: 9px 16px 9px 14px; }
.app-box { display: grid; grid-template-columns: 1fr 200px; gap: 32px; align-items: center; margin-top: 56px; padding: 8px 32px 32px; background: linear-gradient(160deg, var(--mint-wash), var(--surface) 60%); border-radius: var(--radius-large); border: 1px solid var(--accent-soft-strong); }
.app-box h2 { margin-top: 28px; }
.app-box li { background: rgba(255, 255, 255, .8); }
.app-box-phone { border-radius: 34px; padding: 8px; align-self: center; }
.app-box-phone img { border-radius: 27px; }
.article-faq .faq-item summary { font-size: 16px; }
.related { padding: 0 0 var(--space-section); }
.related h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }
.related-index .guide-grid { grid-template-columns: repeat(2, 1fr); }
.narrow-band { max-width: var(--width-narrow); margin: 0 auto; }
.not-found { text-align: center; min-height: 50vh; }
.not-found-links { display: flex; gap: 10px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pill-link { padding: 12px 20px; border-radius: 999px; background: var(--text); color: #fff; font-weight: 700; font-size: 15px; }
.pill-link + .pill-link { background: var(--accent-soft); color: var(--accent); }

/* ── 법적 페이지 (원본 본문 그대로 + 새 틀) ── */
.legal { padding: clamp(32px, 6vw, 72px) var(--gutter) var(--space-section); }
.legal-card { max-width: 820px; margin: 0 auto; background: var(--surface); border-radius: var(--radius-large); box-shadow: var(--shadow-card); padding: clamp(28px, 5vw, 56px); font-size: 16px; line-height: 1.8; }
.legal-card .wrap { padding: 0; max-width: none; }
.legal-card h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.03em; line-height: 1.2; }
.legal-card .sub, .legal-card .updated, .legal-card .muted { color: var(--text-secondary); font-size: 14px; }
.legal-card header { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--separator); }
.legal-card h2 { font-size: 21px; letter-spacing: -.02em; margin: 40px 0 12px; line-height: 1.4; }
.legal-card h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-card p, .legal-card ul, .legal-card ol, .legal-card table { margin-top: 12px; }
.legal-card ul, .legal-card ol { padding-left: 22px; }
.legal-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-card .callout { margin: 20px 0; padding: 18px 20px; background: var(--accent-soft); border-radius: var(--radius-small); border-left: 4px solid var(--accent); }
.legal-card table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.legal-card th, .legal-card td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--separator); vertical-align: top; min-width: 120px; }
.legal-card th { background: var(--page-sunken); font-weight: 700; }

/* ── 등장 연출 ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.guide-card.reveal.is-visible:hover { transform: translateY(-6px); }

@keyframes word-in { to { opacity: 1; filter: none; transform: none; } }
@keyframes bob { 50% { transform: translateY(-14px); } }
@keyframes buzz { 0%, 100% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-5px) rotate(-1.5deg); } 75% { transform: translateX(5px) rotate(1.5deg); } }
@keyframes arc { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(-14px); } }
@keyframes shake { 0%, 55%, 100% { transform: none; } 60%, 70%, 80% { transform: translateX(-4px) rotate(-3deg); } 65%, 75%, 85% { transform: translateX(4px) rotate(3deg); } }
@keyframes blink { 0%, 55%, 90%, 100% { opacity: 0; } 60%, 85% { opacity: 1; } }
@keyframes grow { 0% { width: 30px; height: 30px; } 60%, 100% { width: 150px; height: 150px; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spread-halo { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ── 반응형: 태블릿 ── */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .chip-1, .chip-3 { left: 24px; }
  .chip-2, .chip-4 { right: 24px; }
  .night { grid-template-columns: 1fr 300px; }
  .night-phone .phone { width: 220px; }
  .vibe-left { left: calc(50% - 170px); }
  .vibe-right { right: calc(50% - 170px); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-auto-rows: 260px; }
  .tile-big img { width: 220px; right: 28px; }
}

/* ── 반응형: 휴대전화 ── */
@media (max-width: 760px) {
  :root { --nav-height: 56px; }
  .brand { font-size: 15px; }
  .nav-in { gap: 10px; }
  .lang-menu summary span { display: none; }
  .lang-menu summary { padding: 0 10px; }
  .footer .lang-menu summary span { display: inline; }
  .hero-device { height: auto; margin-top: 44px; padding-bottom: 8px; display: grid; justify-items: center; gap: 12px; }
  .hero-tilt { width: min(270px, 70vw); }
  .float-chip { position: static; animation: none; max-width: none; width: min(340px, 100% - 2 * var(--gutter)); }
  .chip-1 { order: -1; margin-bottom: 8px; }
  .chip-3, .chip-4 { display: none; }
  .hero-device .chip-2 { margin-top: 8px; }
  .store-button { font-size: 16px; padding: 10px 16px 10px 14px; }
  .night { grid-template-columns: 1fr; min-height: 0; border-radius: var(--radius-large); }
  .night-map { height: 420px; }
  .night-copy { padding: 220px 24px 8px; }
  .night-phone { padding: 28px 0 40px; }
  .night-phone .phone { width: 210px; }
  .vibe-left { left: calc(50% - 150px); }
  .vibe-right { right: calc(50% - 150px); }
  .vibe { height: 110px; }
  .shuttle-grid, .faq-grid, .story { grid-template-columns: 1fr; }
  .faq-grid { gap: 0; }
  .route-card { padding: 26px 20px; }
  .route-alert { position: relative; right: auto; bottom: auto; margin-top: 14px; }
  .use-grid, .guide-grid, .guide-grid-three, .related-index .guide-grid { grid-template-columns: 1fr; }
  .story-phone { display: none; }
  .step { min-height: 0; opacity: 1; padding: 28px 0; border-top: 1px solid var(--separator); display: grid; grid-template-columns: 1fr 120px; column-gap: 18px; align-items: center; }
  .step > :not(.step-shot) { grid-column: 1; }
  .step-shot { display: block; grid-column: 2; grid-row: 1 / span 3; width: 120px; border-radius: 18px; box-shadow: 0 0 0 5px var(--phone-frame), 0 16px 32px rgba(0, 0, 0, .12); }
  .step h3 { font-size: 24px; }
  .lang-ja h2, .lang-zh h2 { font-size: 25px; }
  .weekday-chips { gap: 6px; }
  .weekday-chips b { width: 34px; height: 34px; font-size: 13px; }
  .step p { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { grid-column: auto !important; grid-row: auto !important; min-height: 220px; padding: 26px; }
  .tile-big { min-height: 0; padding-bottom: 0; }
  .tile-big img { position: relative; top: auto; right: auto; width: 200px; margin: 28px auto -150px; }
  .tile-small { padding-right: 130px; }
  .faq-item summary { font-size: 16px; padding: 18px; }
  .faq-item p { padding: 0 18px 18px; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .download-band { padding: 22px 20px; }
  .app-box { grid-template-columns: 1fr; padding: 4px 20px 28px; }
  .app-box-phone { width: 170px; justify-self: center; }
  .article { font-size: 16px; }
  .article-intro { padding: 22px 20px; font-size: 17px; }
  .article li { padding: 14px 16px 14px 42px; }
  .article li::before { left: 16px; top: 21px; }
}

/* 움직임 줄이기 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .word, .reveal { opacity: 1; filter: none; transform: none; }
  .hero-tilt { transform: none; }
}
