/* ─────────────────────────────────────────────
   판타스캔 2 홈 — passion-ex.com/home/
   색은 로고(치타 주황 + 짙은 윤곽선)에서 뽑았다.
   ───────────────────────────────────────────── */

:root {
  --bg: #FFF8EF;
  --bg-alt: #FFF1DE;
  --surface: #FFFFFF;
  --ink: #1B1B1F;
  --ink-2: #3D3A36;
  --muted: #6B655E;
  --line: rgba(27, 27, 31, .09);
  --brand: #F59A1B;
  --brand-deep: #E8590C;
  --brand-soft: #FFE3B8;
  --on-brand: #1B1B1F;
  --dark-band: #17191C;
  --dark-band-ink: #F6F1EA;
  --c-pdf: #E5484D;
  --c-epub: #30A46C;
  --c-audio: #8E4EC6;
  --c-trans: #0090FF;
  --shadow: 0 18px 40px -18px rgba(90, 45, 0, .35);
  --radius: 22px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Hiragino Sans", "PingFang SC", "PingFang TC", "Noto Sans CJK KR", "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121214;
    --bg-alt: #19191C;
    --surface: #1F1F23;
    --ink: #F4F1EC;
    --ink-2: #D9D3CB;
    --muted: #A39C93;
    --line: rgba(255, 255, 255, .1);
    --brand-soft: #3A2A14;
    --dark-band: #0B0B0D;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121214;
  --bg-alt: #19191C;
  --surface: #1F1F23;
  --ink: #F4F1EC;
  --ink-2: #D9D3CB;
  --muted: #A39C93;
  --line: rgba(255, 255, 255, .1);
  --brand-soft: #3A2A14;
  --dark-band: #0B0B0D;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body, :lang(zh-Hans) body, :lang(zh-Hant) body { word-break: normal; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; border-radius: 6px; }

.i18n-pending main, .i18n-pending .site-header, .i18n-pending .site-footer { visibility: hidden; }

main, .site-footer { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ───── 버튼 ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--ink-2); }
.btn-brand { background: var(--brand); color: var(--on-brand); }
.btn-brand:hover { background: #FFAA33; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 20px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55);
  transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 32px; fill: #fff; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; }
.store-badge small { font-size: 12px; opacity: .85; }
.store-badge b { font-size: 22px; letter-spacing: -.01em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-badge { box-shadow: 0 0 0 1px rgba(255,255,255,.25); } }

/* ───── 헤더 ───── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.02em; flex: none; }
.brand img { border-radius: 10px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.nav a:hover { background: var(--line); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { position: relative; display: flex; align-items: center; }
.lang svg { position: absolute; left: 10px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; pointer-events: none; }
.lang select {
  appearance: none; -webkit-appearance: none;
  height: 38px; padding: 0 30px 0 34px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
  background-size: 5px 5px; background-repeat: no-repeat;
  max-width: 150px;
}
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
@media (min-width: 900px) { .nav { display: flex; } }

/* ───── 공통 섹션 ───── */
section { padding: 80px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 18px; }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: .04em; color: var(--brand-deep); margin-bottom: 12px; text-transform: uppercase; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-deep); font-size: 11px; letter-spacing: .06em; vertical-align: 2px; }

/* ───── 폰 프레임 ───── */
.phone {
  position: relative; margin: 0;
  aspect-ratio: 640 / 1387;
  padding: 2.4%; border-radius: 13% / 6%;
  background: #0E0E10;
  box-shadow: var(--shadow), inset 0 0 0 1.5px #3A3A3F;
}
.phone > img, .phone > video, .phone > .yt-play, .phone > iframe {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 11% / 5.1%; background: #000;
}

/* ───── 히어로 ───── */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; margin-bottom: 20px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; font-size: 14px;
}
.hero h1 { font-size: clamp(36px, 8.4vw, 64px); font-weight: 900; letter-spacing: -.035em; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.d-pdf { background: var(--c-pdf); } .d-epub { background: var(--c-epub); } .d-audio { background: var(--c-audio); } .d-trans { background: var(--c-trans); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.hero-note { color: var(--muted); font-size: 14px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .phone-lg { width: min(300px, 72vw); z-index: 1; }
.blob {
  position: absolute; inset: 6% -10% 2%;
  background: radial-gradient(closest-side, var(--brand) 0%, color-mix(in srgb, var(--brand) 40%, transparent) 55%, transparent 100%);
  filter: blur(8px); opacity: .55;
}
.mascot {
  position: absolute; z-index: 2; width: 92px; height: 92px; border-radius: 24px;
  left: calc(50% + min(150px, 36vw) - 46px); bottom: 4%;
  box-shadow: 0 12px 28px -10px rgba(90, 45, 0, .55);
  transform: rotate(8deg);
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual .phone-lg { width: 320px; }
  .mascot { width: 116px; height: 116px; left: calc(50% + 110px); }
}

/* 영상 재생/정지 단추 */
.vctl {
  position: absolute; right: 7%; bottom: 4%; z-index: 3;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vctl::before { content: ""; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.vctl.paused::before { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }

/* ───── 네 가지 쓰임 ───── */
.uses { background: var(--bg-alt); }
.use-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .use-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .use-grid { grid-template-columns: repeat(4, 1fr); } }
.use {
  position: relative; padding: 26px 24px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
}
.use::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.use h3 { font-size: 20px; font-weight: 800; margin: 16px 0 8px; }
.use p { color: var(--muted); font-size: 16px; }
.use-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); }
.use-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-pdf { --c: var(--c-pdf); } .c-epub { --c: var(--c-epub); } .c-audio { --c: var(--c-audio); } .c-trans { --c: var(--c-trans); }

/* ───── 기능 ───── */
.features { padding-top: 48px; }
.feature { display: grid; gap: 36px; align-items: center; padding: 48px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-copy h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; }
.feature-copy > p:not(.kicker) { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.feature-media { display: flex; justify-content: center; position: relative; isolation: isolate; }
.feature-media .phone { width: min(250px, 62vw); }
.feature-media.duo { padding-right: 18%; }
.feature-media.duo .phone.back {
  position: absolute; width: min(200px, 48vw); right: max(0px, calc(50% - 190px)); top: 16%;
  transform: rotate(4deg); z-index: -1;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px 0; }
  .feature.rev .feature-media { order: 2; }
  .feature-media .phone { width: 270px; }
  .feature-media.duo .phone.back { width: 220px; right: calc(50% - 230px); }
}
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231B1B1F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* ───── 프라이버시 띠 ───── */
.privacy { background: var(--dark-band); color: var(--dark-band-ink); }
.privacy .kicker { color: var(--brand); }
.privacy .section-head p:not(.kicker) { color: #B9B2A8; }
.nos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 900px; margin: 0 auto; }
@media (min-width: 700px) { .nos { grid-template-columns: repeat(5, 1fr); } }
.nos li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px;
  border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); text-align: center;
}
.nos li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) { .nos li:last-child:nth-child(odd) { grid-column: auto; } }
.nos svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; }
.nos span { font-weight: 700; font-size: 15px; line-height: 1.35; }

/* ───── 영상 ───── */
.video-grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { margin: 0; width: min(270px, 72vw); }
.video-card .phone { width: 100%; }
.video-card figcaption { margin-top: 16px; text-align: center; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.video-card figcaption a { color: var(--brand-deep); }
.yt-play { position: relative; display: block; padding: 0; border: 0; cursor: pointer; overflow: hidden; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.yt-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.yt-icon svg { width: 68px; height: 48px; transition: transform .15s; }
.yt-play:hover .yt-icon svg { transform: scale(1.08); }
.phone > iframe { border: 0; }
.samples { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; color: var(--muted); }
.samples a { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.samples a:hover { border-color: var(--brand); }
.samples small { width: 100%; text-align: center; font-size: 13px; }

/* ───── 가격 ───── */
.pricing { background: var(--bg-alt); }
.plans { display: grid; gap: 20px; max-width: 860px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan-price { margin-top: 6px; font-size: 32px; font-weight: 900; letter-spacing: -.02em; }
.plan .checks { margin-bottom: 8px; }
.plan.pro { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan.pro .btn { margin-top: auto; align-self: flex-start; }
.plan.pro .checks { margin-bottom: 28px; }
.fine { margin-top: 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ───── 다른 앱 ───── */
.apps .group { font-size: 15px; font-weight: 800; color: var(--muted); margin: 0 0 14px; letter-spacing: .02em; }
.apps .app-grid + .group { margin-top: 36px; }
.app-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.app:hover { transform: translateY(-2px); border-color: var(--brand); }
.app img { width: 64px; height: 64px; border-radius: 15px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.app-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.app-body b { font-size: 17px; }
.app-body span { color: var(--muted); font-size: 15px; line-height: 1.55; }
.app .arrow { margin-left: auto; color: var(--muted); font-size: 18px; }

/* ───── 회사 · 문의 ───── */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr .8fr; gap: 64px; } }
.about h2 { font-size: clamp(26px, 4.4vw, 36px); font-weight: 800; }
.loop { margin: 18px 0 14px !important; font-weight: 700; color: var(--brand-deep); font-size: 15px; letter-spacing: .01em; }
.about p { color: var(--ink-2); }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.principles li { padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--ink); font-weight: 700; font-size: 14px; }
.contact-card { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card h3 { font-size: 22px; font-weight: 800; }
.contact-card p { margin: 10px 0 22px; color: var(--muted); }
.contact-card .btn { white-space: normal; text-align: center; }

/* ───── 푸터 ─────
   라이트/다크와 상관없이 늘 어두운 띠. 위쪽엔 영어 시 한 줄, 아래엔 9개 언어 전환. */
.site-footer {
  --f-bg: #0F0F11; --f-ink: #F3EEE7; --f-muted: #9A948C; --f-line: rgba(255, 255, 255, .1);
  position: relative; padding: 64px 0 120px; background: var(--f-bg); color: var(--f-muted); font-size: 15px;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-pdf), var(--c-epub), var(--c-audio), var(--c-trans), var(--brand));
}
@media (min-width: 900px) { .site-footer { padding-bottom: 56px; } }
.site-footer a { color: var(--f-ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }

.poem { margin: 0 0 44px; max-width: 560px; }
.poem blockquote { margin: 0; }
.poem p {
  font-family: "Instrument Serif", "Times New Roman", serif; font-weight: 400;
  font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; letter-spacing: -.01em; color: var(--f-ink);
  word-break: normal;
}
.poem em { color: var(--brand); }
.poem figcaption { margin-top: 12px; font-size: 14px; color: var(--f-muted); }
.poem figcaption::before { content: "— "; }
:lang(en) .poem figcaption { display: none; }

.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; padding: 40px 0; border-top: 1px solid var(--f-line); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-logo { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; }
.footer-logo img { border-radius: 11px; }
.footer-brand p { margin: 14px 0 18px; max-width: 26em; }
.footer-mail {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--f-line); font-weight: 600; font-size: 15px;
}
.footer-mail:hover { border-color: var(--brand); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--f-muted); }
.footer-col a { font-size: 15px; }

.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 28px 0; border-top: 1px solid var(--f-line); }
.footer-langs > span { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-langs button {
  padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; background: none;
  color: var(--f-muted); font: inherit; font-size: 14px; cursor: pointer;
}
.footer-langs button:hover { color: var(--f-ink); border-color: var(--f-line); }
.footer-langs button[aria-current="true"] { color: var(--f-bg); background: var(--f-ink); }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 28px; border-top: 1px solid var(--f-line); font-size: 13px; }
.footer-sign { font-family: "Instrument Serif", serif; font-style: italic; font-size: 17px; color: var(--f-ink); opacity: .7; }

/* ───── 모바일 하단 고정 바 ───── */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, .35);
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta img { border-radius: 11px; flex: none; }
.sticky-cta div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.sticky-cta small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta .btn { margin-left: auto; flex: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 한국어 제목은 손으로 끊은 줄바꿈이 좁은 화면에서도 맞지만, 다른 언어는 길이가 달라 어색하게 끊긴다. */
@media (max-width: 560px) {
  html:not(:lang(ko)) h1 br, html:not(:lang(ko)) h2 br { display: none; }
}

/* ─────────────────────────────────────────────
   하위 페이지 (support/ · news/ · sayscan/)
   ───────────────────────────────────────────── */
.contact-card .faq-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
.contact-card .faq-link:hover { text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--ink); background: var(--line); }

.page-hero { padding: 56px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 900; letter-spacing: -.03em; }
.page-hero .lead { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 40em; }
.page-hero .hero-actions { margin-top: 24px; }
.crumb { display: inline-flex; gap: 6px; margin-bottom: 16px; font-size: 14px; font-weight: 700; color: var(--muted); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.page-body { padding: 48px 0 88px; }

/* FAQ */
.faq-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.faq-search { position: relative; flex: 1 1 280px; max-width: 460px; }
.faq-search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px;
}
.faq-search input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); border-color: var(--brand); }
.faq-search svg { position: absolute; left: 15px; top: 14px; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cat-chips a { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14px; }
.cat-chips a:hover { border-color: var(--brand); }
.faq-group { max-width: 820px; margin: 0 auto 40px; padding: 0; }
.faq-group h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; scroll-margin-top: 84px; }
.faq-group[hidden] { display: none; }
details.qa { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); margin-bottom: 10px; }
details.qa[hidden] { display: none; }
details.qa summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 700; font-size: 17px; line-height: 1.45;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
details.qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details.qa .a { padding: 0 20px 20px; color: var(--ink-2); }
details.qa .a p + p { margin-top: 10px; }
details.qa .a b { color: var(--ink); }
.faq-empty { text-align: center; color: var(--muted); padding: 24px 0; }
.help-card {
  max-width: 820px; margin: 24px auto 0; padding: 28px; border-radius: var(--radius);
  background: var(--dark-band); color: var(--dark-band-ink); display: grid; gap: 14px;
}
.help-card h2 { font-size: 22px; font-weight: 800; }
.help-card p { color: #B9B2A8; }
.help-card .btn { justify-self: start; white-space: normal; }

/* 업데이트 소식 */
.notes-lang-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.release { position: relative; margin-bottom: 28px; padding: 24px 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.release::before {
  content: ""; position: absolute; left: -28px; top: 30px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--brand);
}
.release.latest::before { background: var(--brand); }
.release-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.release-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.release-head time { color: var(--muted); font-size: 14px; font-weight: 600; }
.release .badge { padding: 2px 10px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.release .rn { display: none; color: var(--ink-2); }
.release .rn p { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.release .rn ul { display: grid; gap: 8px; }
.release .rn li { position: relative; padding-left: 18px; }
.release .rn li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.release .rn .tail { margin-top: 10px; font-weight: 400; color: var(--muted); }
html:lang(ko) .release .rn-ko, html:lang(ja) .release .rn-ja,
html:not(:lang(ko)):not(:lang(ja)) .release .rn-en { display: block; }
.release .rn:only-of-type { display: block; }

/* SayScan */
.say-hero { padding: 56px 0 64px; background: linear-gradient(160deg, #E9F7F1 0%, #EAF1FF 60%, var(--bg) 100%); overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .say-hero { background: linear-gradient(160deg, #10221C 0%, #121A2B 60%, var(--bg) 100%); } }
:root[data-theme="dark"] .say-hero { background: linear-gradient(160deg, #10221C 0%, #121A2B 60%, var(--bg) 100%); }
.say-hero .app-title { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.say-hero .app-title img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.4); }
.say-hero .app-title b { font-size: 22px; font-weight: 900; }
.say-hero .app-title small { display: block; color: var(--muted); font-size: 14px; }
.say-hero h1 { font-size: clamp(34px, 7vw, 56px); font-weight: 900; letter-spacing: -.03em; }
.say-hero .lead { margin-top: 16px; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 32em; }
.say-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.say-shots img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); background: #fff; }
@media (max-width: 640px) {
  .say-shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .say-shots img { scroll-snap-align: start; }
}
.say-for { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .say-for { grid-template-columns: 1fr 1fr; } }
.say-for li { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.say-for b { display: block; font-size: 18px; margin-bottom: 6px; }
.say-for span { color: var(--muted); }
.say-for .emoji { font-size: 26px; display: block; margin-bottom: 8px; }
.steps { display: grid; gap: 14px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #3B82F6; color: #fff; font-weight: 800; margin-bottom: 12px; }
.cross { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.cross img { width: 64px; height: 64px; border-radius: 15px; }
.cross div { flex: 1 1 260px; }
.cross b { font-size: 19px; }
.cross p { color: var(--muted); margin-top: 4px; }
.meta-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.meta-list a { color: var(--ink-2); }
section.tight { padding: 56px 0; }
