/* Torti 랜딩·법적 문서 공통 스타일 — 라이트 테마(앱 디자인 시스템 라이트 토큰 기준).
   폰 프레임 속 앱 스크린샷은 다크모드 캡처를 쓴다(라이트 배경 위 대비 연출). */
:root {
  --brand: #FF6F0F;          /* orange/500 — 브랜드 기준색 */
  --brand-strong: #C2410C;   /* 본문 링크·작은 글자용(흰 배경 대비 확보) */
  --brand-tint: #FFF1E5;     /* orange/50 */
  --brand-tint-line: #FFD9BC;
  --bg: #FFFFFF;             /* bgCanvas light */
  --surface: #F6F8FA;        /* bgSubtle — 교차 섹션 배경 */
  --elevated: #FFFFFF;
  --text: #1A1E27;
  --text-sub: #4E5968;       /* slate/600 */
  --text-faint: #8B95A1;
  --line: #E5E8EB;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── 헤더 ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-header .logo img { height: 26px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.logo-text:hover { text-decoration: none; color: var(--brand); }
.site-nav { display: flex; gap: 28px; font-size: 15px; }
.site-nav a { color: var(--text-sub); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 640px) { .site-nav { display: none; } }

/* ── 히어로 ── */
.hero { padding: 88px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--brand); }
.hero p.lead { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); color: var(--text-sub); }
.hero .cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .hero .cta-row { justify-content: center; } }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-tint); color: var(--brand-strong);
  border: 1px solid var(--brand-tint-line); border-radius: 999px;
  padding: 10px 20px; font-weight: 700; font-size: 15px;
}
.store-badges { display: flex; gap: 10px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--elevated); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 18px; color: var(--text-sub); font-size: 14px; font-weight: 600;
}

/* ── 폰 프레임 (스크린샷이 다크라 베젤은 어둡게 유지) ── */
.phone {
  width: min(320px, 78vw); margin: 0 auto;
  border-radius: 44px; padding: 10px;
  background: #17181C;
  border: 1px solid #2A2E34;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}
.phone .screen { border-radius: 36px; overflow: hidden; }
.phone.tilt-l { transform: rotate(-3deg); }
.phone.tilt-r { transform: rotate(3deg); }

/* ── 기능 섹션 ── */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); }
.section .wrap.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) {
  .section .wrap.split { grid-template-columns: 1fr; text-align: center; }
  .section .wrap.split .phone { order: -1; }
}
.kicker {
  display: inline-block; color: var(--brand-strong); font-weight: 700;
  font-size: 14px; letter-spacing: 0.06em; margin-bottom: 14px;
}
.section h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; }
.section p.desc { margin-top: 16px; color: var(--text-sub); font-size: 17px; }
.section ul.points { margin-top: 22px; list-style: none; }
.section ul.points li {
  position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--text-sub); font-size: 15.5px;
}
.section ul.points li::before { content: '🌮'; position: absolute; left: 0; font-size: 13px; top: 2px; }
@media (max-width: 860px) { .section ul.points { display: inline-block; text-align: left; } }

/* ── 신뢰 카드 ── */
.trust-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-card {
  background: var(--elevated); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.trust-card .emoji { font-size: 28px; }
.trust-card h3 { margin-top: 14px; font-size: 18px; font-weight: 700; }
.trust-card p { margin-top: 8px; color: var(--text-sub); font-size: 14.5px; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--text-faint); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq .a { margin-top: 12px; color: var(--text-sub); font-size: 15px; }

/* ── 푸터 ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 64px; font-size: 13.5px; color: var(--text-faint); }
.site-footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .legal-links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.site-footer .legal-links a { color: var(--text-sub); font-weight: 600; }
.site-footer .biz p { margin-bottom: 4px; }
.site-footer .note { margin-top: 20px; font-size: 12.5px; color: var(--text-faint); }

/* ── 법적 문서 페이지 ── */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.doc .doc-meta { margin-top: 10px; color: var(--text-faint); font-size: 14px; }
.doc h2 { margin: 44px 0 14px; font-size: 21px; font-weight: 700; padding-top: 24px; border-top: 1px solid var(--line); }
.doc h3 { margin: 26px 0 10px; font-size: 17px; font-weight: 700; }
.doc p, .doc li { color: var(--text-sub); font-size: 15.5px; }
.doc p { margin-bottom: 12px; }
.doc ol, .doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; color: var(--text-sub); vertical-align: top; }
.doc th { background: var(--surface); color: var(--text); font-weight: 700; white-space: nowrap; }
.doc .toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.doc .toc ol { margin: 0; }
.doc .toc a { color: var(--text-sub); }
.doc .callout {
  background: var(--brand-tint); border: 1px solid var(--brand-tint-line); border-radius: 14px;
  padding: 16px 20px; margin: 16px 0; color: #9A3412; font-size: 14.5px;
}
.doc .callout a { color: #9A3412; font-weight: 700; }
.doc-footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-faint); }
