/* 뚜버기 서비스 웹페이지(2026-09-25). 글꼴: 페이퍼로지(눈누, 상업 이용 무료 — 사용자 선택). 앱 파랑 #5292FF(Palette.swift). */
@font-face { font-family: "Paperlogy"; font-weight: 400; font-display: swap; src: url("/web/fonts/Paperlogy-4Regular.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 500; font-display: swap; src: url("/web/fonts/Paperlogy-5Medium.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 600; font-display: swap; src: url("/web/fonts/Paperlogy-6SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 700; font-display: swap; src: url("/web/fonts/Paperlogy-7Bold.woff2") format("woff2"); }
@font-face { font-family: "Paperlogy"; font-weight: 800; font-display: swap; src: url("/web/fonts/Paperlogy-8ExtraBold.woff2") format("woff2"); }

:root {
  --blue: #5292ff;
  --blue-deep: #2f6fe0;
  --blue-soft: #eaf2ff;
  --ink: #16181d;
  --ink-2: #4a505c;
  --ink-3: #8a909c;
  --line: #e7e9ee;
  --page: #ffffff;
  --band: #f4f6f9;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(22, 24, 29, .08);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #6aa3ff; --blue-deep: #8ab8ff; --blue-soft: #1a2638;
    --ink: #f2f4f7; --ink-2: #c3c8d2; --ink-3: #8b92a0; --line: #2a2e36;
    --page: #0f1115; --band: #16191f; --card: #1b1f26; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --blue: #6aa3ff; --blue-deep: #8ab8ff; --blue-soft: #1a2638;
  --ink: #f2f4f7; --ink-2: #c3c8d2; --ink-3: #8b92a0; --line: #2a2e36;
  --page: #0f1115; --band: #16191f; --card: #1b1f26; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-weight: 400; line-height: 1.65; word-break: keep-all; overflow-x: hidden;
}
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* 상단 */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand:hover { text-decoration: none; }
/* 앱 로고(2026-09-25 사용자 제공, 앱 아이콘과 같은 그림). */
.brand-mark { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.nav { display: flex; gap: 18px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-2); }
@media (max-width: 560px) { .nav a.opt { display: none; } }

/* 첫 화면 */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } .hero { padding: 88px 0 64px; } }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--blue-deep); background: var(--blue-soft);
  padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.2; font-weight: 800; margin: 18px 0 16px; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 14px; font-weight: 700; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-ghost { background: var(--band); color: var(--ink); }
.btn .soon { font-size: 12px; font-weight: 600; opacity: .85; }

/* 폰 화면 */
.phones { display: flex; gap: 16px; justify-content: center; }
.phone { width: min(44vw, 240px); aspect-ratio: 1179 / 2556; border-radius: 34px; background: var(--card);
  border: 8px solid #101217; box-shadow: var(--shadow); overflow: hidden; position: relative; flex: none; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  color: var(--ink-3); font-size: 13px; background: linear-gradient(160deg, var(--blue-soft), var(--band)); }
/* 사진이 있으면 자리 표시를 숨긴다(사진이 없어 onerror 로 지워졌을 때만 보인다). */
.phone img + .ph { display: none; }
.phones .phone:nth-child(2) { transform: translateY(28px); }

/* 띠 · 섹션 */
.band { background: var(--band); }
section.block { padding: 64px 0; }
.block h2 { font-size: clamp(26px, 5vw, 36px); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.01em; }
.block .sub { color: var(--ink-2); margin: 0 0 32px; font-size: 17px; }

.features { display: grid; gap: 16px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.feature .ico { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-soft); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--blue-deep); }
.feature h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* 스크린샷 줄 */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: none; scroll-snap-align: start; width: 220px; }
.shots .phone { width: 220px; }
.shots figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); text-align: center; }

/* 지역 표 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink-2); font-size: 13px; background: var(--band); }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); }
.pill.gray { background: var(--band); color: var(--ink-3); }

/* 자주 묻는 질문 */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 10px 0 0; }

/* 문서(방침·약관) */
.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(28px, 6vw, 38px); font-weight: 800; margin: 8px 0 6px; }
.doc .meta { color: var(--ink-3); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-2); font-size: 16px; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc table { min-width: 0; }
.note { background: var(--blue-soft); color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 15px; }
.todo { background: #fff4d6; color: #6b4e00; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .todo { background: #3a3017; color: #f3d98a; } }

/* 아래 */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-3); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 12px; }
footer .links a { color: var(--ink-2); font-weight: 500; }
