/* trylvs.com 공용 스타일. 홈과 기능 소개 페이지가 함께 쓴다. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--web-text); background: var(--web-bg); font-family: var(--web-font); line-height: 1.6; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--web-focus); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--web-space-6); }
.skip { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px 24px; background: var(--web-surface); }
.skip:focus { top: 12px; }
.site-header { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: var(--web-space-5); border-bottom: 1px solid var(--web-border); position: relative; }
.brand { display: inline-flex; align-items: center; gap: var(--web-space-3); text-decoration: none; font-family: var(--web-font-heading); font-size: 20px; font-weight: 650; }
.logo { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--web-radius-control); background: var(--web-subtle); font-size: 15px; }
.navigation { display: flex; align-items: center; gap: var(--web-space-6); }
.nav { display: flex; align-items: center; gap: var(--web-space-5); }
.nav a { font-size: 14px; color: var(--web-muted); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--web-text); }
.account { font-size: 14px; text-decoration: none; border: 1px solid var(--web-border); border-radius: var(--web-radius-control); padding: 8px 16px; }
.menu-toggle { display: none; background: none; color: var(--web-text); border: 1px solid var(--web-border); border-radius: var(--web-radius-control); min-height: 44px; padding: 8px 12px; }
h1, h2, h3 { font-family: var(--web-font-heading); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
h1 { font-size: clamp(32px, 4vw, 48px); margin: 16px 0; }
h2 { font-size: clamp(26px, 3vw, 32px); margin: 0 0 12px; }
h3 { font-size: 22px; margin: 0 0 12px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--web-space-7); align-items: center; padding: var(--web-space-7) 0; }
.eyebrow { font-size: 13px; color: var(--web-muted); margin: 0; }
.lead { font-size: 18px; color: var(--web-muted); margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: var(--web-space-5); align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; font-size: 16px; font-weight: 650; border-radius: var(--web-radius-control); border: 1px solid var(--web-border); text-decoration: none; }
.btn.primary { background: var(--web-action); color: var(--web-on-action); border-color: transparent; }
.btn:hover { filter: brightness(1.1); }
.preview { font-size: 14px; }
.note { font-size: 13px; color: var(--web-muted); margin: 16px 0 0; }
.hero-visual { margin: 0; text-align: center; justify-self: center; }
.phone { width: 264px; aspect-ratio: 9/16; position: relative; border-radius: var(--web-radius-card); overflow: hidden; background: var(--web-surface); }
.phone video, .motion-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion-poster { position: absolute; inset: 0; pointer-events: none; }
.phone[data-playing="true"] .motion-poster { visibility: hidden; }
.video-control { margin-top: 8px; background: none; border: 0; color: var(--web-muted); font-size: 13px; min-height: 36px; padding: 4px 12px; text-decoration: underline; text-underline-offset: 4px; }
.cap { color: var(--web-muted); font-size: 13px; margin: 8px 0 0; }
.band { padding: var(--web-space-7) 0; border-top: 1px solid var(--web-border); scroll-margin-top: 24px; }
.sub { color: var(--web-muted); font-size: 16px; margin: 0 0 32px; }
.start { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--web-space-6); padding: 0; margin: 0; list-style: none; counter-reset: step; }
.start li { counter-increment: step; padding-left: 24px; border-left: 1px solid var(--web-border); }
.start li::before { content: '0' counter(step); display: block; font-size: 13px; color: var(--web-muted); margin-bottom: 16px; }
.start b { display: block; font-weight: 650; margin-bottom: 8px; font-size: 18px; }
.start span { color: var(--web-muted); font-size: 15px; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: var(--web-space-7); margin-top: 48px; }
.feature p { color: var(--web-muted); max-width: 28em; margin: 0 0 16px; }
.feature a { font-size: 14px; }
.feature figure { margin: 0; min-width: 0; }
.feature img { display: block; width: 100%; height: auto; border-radius: var(--web-radius-card); }
.feature figcaption { margin-top: 8px; font-size: 13px; color: var(--web-muted); }
.plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--web-space-5); }
.plan { display: flex; flex-direction: column; gap: var(--web-space-4); background: var(--web-surface); border-radius: var(--web-radius-card); padding: var(--web-space-5); }
.plan .tag { align-self: flex-start; font-size: 13px; color: var(--web-muted); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-family: var(--web-font-heading); font-size: 32px; font-weight: 650; line-height: 1.2; letter-spacing: -.03em; }
.price small { font-family: var(--web-font); font-size: 14px; font-weight: 400; color: var(--web-muted); }
.plan .total { margin: 0; font-size: 13px; color: var(--web-muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; font-size: 14px; }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.plan li::before { content: '✓'; color: var(--web-muted); }
.plan .btn { margin-top: auto; padding: 12px; font-size: 14px; }
.plans-note { margin: 24px 0 0; font-size: 14px; color: var(--web-muted); }
.final { display: flex; align-items: center; justify-content: space-between; gap: var(--web-space-6); padding: 48px 0; border-top: 1px solid var(--web-border); }
.final p { margin: 0; color: var(--web-muted); }
.site-footer { border-top: 1px solid var(--web-border); padding: 32px 0 48px; color: var(--web-muted); font-size: 13px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top .brand { color: var(--web-text); }
.footer-top nav { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-business-disclosure { margin: 24px 0; }
.legal-business-disclosure dl { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }
.legal-business-disclosure dl > div { display: flex; gap: 8px; }
.legal-business-disclosure dt { flex-shrink: 0; }
.legal-business-disclosure dd { margin: 0; }
.legal-business-disclosure p { margin: 16px 0 0; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) {
  .wrap { padding: 0 24px; }
  .site-header { min-height: 72px; gap: 16px; }
  .navigation { gap: 8px; }
  .account { font-size: 13px; padding: 8px 12px; }
  .menu-toggle { display: block; font-size: 13px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 5; padding: 16px 24px; background: var(--web-surface); border: 1px solid var(--web-border); border-radius: var(--web-radius-card); gap: 8px; }
  .nav[data-open="true"] { display: flex; flex-direction: column; align-items: stretch; }
  .nav a { padding: 8px 0; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 32px; }
  h1 { font-size: 32px; margin: 12px 0; }
  .lead { font-size: 16px; margin-bottom: 16px; }
  .cta { gap: 16px; }
  .hero .btn { padding: 12px 16px; font-size: 15px; }
  .preview { font-size: 13px; }
  .note { max-width: 26em; margin-top: 12px; }
  .phone { width: 158px; }
  .cap { margin-top: 8px; }
  .video-control { margin-top: 0; }
  .start, .plans { grid-template-columns: 1fr; }
  .start { gap: 24px; }
  .start li::before { margin-bottom: 8px; }
  .feature { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .final { flex-direction: column; align-items: flex-start; }
  .legal-business-disclosure dl { display: grid; gap: 12px; }
  .legal-business-disclosure dl > div { display: block; }
  .legal-business-disclosure dt { color: var(--web-text); margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone video { visibility: hidden; }
  .phone[data-playing="true"] .motion-poster { visibility: visible; }
}

/* 기능 소개 페이지(실시간 자막·댓글 번역·방송 위젯)와 자주 묻는 질문 */
.faq details { border-top: 1px solid var(--web-border); padding: 16px 0; max-width: 46em; }
.faq details:last-of-type { border-bottom: 1px solid var(--web-border); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 17px; }
.faq details p { color: var(--web-muted); margin: 12px 0 0; }
.doc { padding-bottom: var(--web-space-7); }
.crumbs { font-size: 13px; color: var(--web-muted); padding: 24px 0 0; }
.crumbs a { text-decoration: none; }
.doc-hero { padding: var(--web-space-6) 0 var(--web-space-5); max-width: 46em; }
.doc-figure { margin: 0 0 var(--web-space-6); max-width: 820px; }
.doc-figure img { display: block; width: 100%; height: auto; border-radius: var(--web-radius-card); }
.doc-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--web-muted); }
.doc-section { padding: var(--web-space-6) 0 0; border-top: 1px solid var(--web-border); margin-top: var(--web-space-6); max-width: 46em; }
.doc-section ul, .doc-section ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; color: var(--web-muted); }
.doc-section li b { color: var(--web-text); font-weight: 650; }
.doc-note { margin: var(--web-space-6) 0 0; padding: 16px 20px; background: var(--web-surface); border-radius: var(--web-radius-card); font-size: 15px; max-width: 46em; }
.doc-more { margin: var(--web-space-6) 0 0; }
.doc-others { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 14px; color: var(--web-muted); }
@media (max-width: 760px) {
  .crumbs { padding-top: 16px; }
  .doc-hero { padding: 16px 0 24px; }
  .faq summary { font-size: 16px; }
}

/* 사용법 가이드(/guides): 단계별 글, 목록 카드 */
.doc-section p { color: var(--web-muted); margin: 0 0 12px; }
.doc-section p b { color: var(--web-text); font-weight: 650; }
.doc-section ul { margin-bottom: 12px; }
.doc-section .doc-figure { margin: 20px 0 24px; }
.doc-figure.tall { max-width: 420px; }
.guide .doc-section h2 { font-size: clamp(22px, 2.6vw, 28px); }
.guide-date { font-size: 13px; color: var(--web-muted); margin: 0 0 16px; }
.guide-summary { margin: 0; padding: 14px 18px; border: 1px solid var(--web-border); border-radius: var(--web-radius-card); font-size: 15px; color: var(--web-muted); }
.guide-summary b { color: var(--web-text); margin-right: 8px; }
.guide-contact p { margin: 0; }
.guide-contact p + p { margin-top: 4px; }
.guide-cta { margin-top: var(--web-space-6); }
.guide-next { margin-top: var(--web-space-7); max-width: 46em; }
.guide-next h2 { font-size: 20px; }
.guide-next ul { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--web-space-5); }
.guide-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; text-decoration: none; background: var(--web-surface); border: 1px solid var(--web-border); border-radius: var(--web-radius-card); }
.guide-card a:hover { border-color: var(--web-muted); }
.guide-card img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: top; border-radius: var(--web-radius-control); margin-bottom: 8px; }
.guide-card h2 { font-size: 20px; margin: 0; }
.guide-card p { margin: 0; font-size: 14px; color: var(--web-muted); }
@media (max-width: 900px) {
  .guide-list { grid-template-columns: 1fr; }
}
