@font-face {
  font-family: 'Pretendard';
  src: url('assets/fonts/PretendardVariable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'NotoSerifKR';
  src: url('assets/fonts/NotoSerifKR-Subset.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #e4e4e7;
  --lime: #d9fa5a;
  --lime-bright: #e5ff2b;
  --white: #ffffff;
  --text: #14120f;
  --text-muted: #6b6a63;
  --border: #d4d3ce;
  --dot-1: #f7c0b5; /* 핑크 */
  --dot-2: #f4c98a; /* 오렌지 */
  --dark: #1a1a1a;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
* { min-width: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }

h1, h2, h3 {
  font-family: 'NotoSerifKR', serif;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--text);
}
p { margin: 0; }
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot-1);
  flex-shrink: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 24px; border-radius: 12px;
  font-family: 'Pretendard', sans-serif; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--dark); color: #fff; }
.btn.outline { background: transparent; color: var(--text); border: 1.5px solid #c7c6c1; border-radius: 999px; }
.badge-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--dark); color: #fff; border-radius: 12px; padding: 10px 16px;
}
.badge-btn .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.badge-btn .lines { text-align: left; line-height: 1.25; }
.badge-btn .lines b { display: block; font-size: 13.5px; font-weight: 800; }
.badge-btn .lines span { display: block; font-size: 10.5px; color: #b8b8b8; letter-spacing: .04em; }

/* ── 이미지 placeholder(사각형, 번호) ─────────────────── */
.ph {
  background: repeating-linear-gradient(135deg, #d7d6d1 0 10px, #cfcec8 10px 20px);
  border: 1px solid #bdbcb6;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #8a8983; font-weight: 800; font-family: 'Pretendard', sans-serif;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.ph::after {
  content: attr(data-n);
  font-size: 15px;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
}
.ph-circle { border-radius: 50%; }
.ph-logo { width: 128px; height: 46px; border-radius: 10px; }
.ph-logo::after { width: 22px; height: 22px; font-size: 12px; }
.ph-poster { width: 230px; height: 300px; border-radius: 18px; }
.ph-avatar { width: 44px; height: 44px; border-radius: 50%; }
.ph-avatar::after { width: 20px; height: 20px; font-size: 11px; }

/* ── 헤더 ───────────────────────────────────────────── */
.announce {
  background: var(--lime-bright);
  color: var(--text);
  font-size: 13.5px; font-weight: 700;
  text-align: center;
  padding: 11px 16px;
}
.announce a { text-decoration: underline; }

.site-header {
  background: var(--bg);
}
.site-header .wrap {
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Pretendard', sans-serif;
  font-weight: 900; font-size: 22px; letter-spacing: -.02em;
  text-decoration: none; color: var(--text);
}

/* ── 히어로 ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-bottom: 90px; }
.blob-art {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.blob-art i {
  position: absolute; border-radius: 50%; filter: blur(30px);
}
.blob-art .b1 { width: 900px; height: 900px; right: -420px; top: -260px; background: radial-gradient(circle at 40% 40%, var(--lime), transparent 68%); opacity: .9; }
.blob-art .b2 { width: 760px; height: 760px; right: -260px; top: -60px; background: radial-gradient(circle at 45% 45%, var(--dot-2), transparent 65%); opacity: .75; }
.blob-art .b3 { width: 640px; height: 640px; right: -60px; top: 120px; background: radial-gradient(circle at 45% 45%, var(--dot-1), transparent 65%); opacity: .8; }

.hero .wrap { z-index: 1; padding-top: 56px; }
.hero-inner { max-width: 620px; }
.hero h1 { font-size: 44px; line-height: 1.18; margin-bottom: 22px; }
.hero .sub { font-size: 16px; color: var(--text-muted); max-width: 460px; margin-bottom: 30px; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 마퀴(무한 롤링) ────────────────────────────────── */
.marquee-wrap { padding: 60px 0 0; text-align: center; }
.marquee-wrap .eyebrow { justify-content: center; }
.marquee-row { overflow: hidden; position: relative; margin-top: 26px; }
.marquee-row + .marquee-row { margin-top: 40px; }
.marquee-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  animation: marquee linear infinite; animation-duration: 34s;
}
.marquee-track.slow { animation-duration: 46s; gap: 22px; }
.split .ph.portrait { aspect-ratio: 3/4; height: auto; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 섹션 공통 ───────────────────────────────────────── */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head.left { text-align: left; margin: 0 0 50px; max-width: 640px; }
.section-head h2 { font-size: 36px; line-height: 1.28; }
.section-head p.sub { font-size: 15.5px; color: var(--text-muted); margin-top: 16px; }

/* ── 플랫폼 3카드 ───────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: var(--max); margin: 0 auto; }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.card .eyebrow { margin-bottom: 2px; }
.card h3 { font-size: 20px; }
.card p.desc { font-size: 14px; color: var(--text-muted); }
.card .ph { width: 100%; height: 180px; margin-top: 10px; }

/* ── 피처 스플릿(텍스트+이미지 좌우) ─────────────────── */
.split { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.split .text { width: 100%; }
.split .text h2 { font-size: 32px; margin-bottom: 16px; }
.split .text p.sub { font-size: 15px; color: var(--text-muted); margin-bottom: 26px; }
.split .ph { width: 100%; height: 320px; }
.split.reverse { flex-direction: column; }

.bullet-list { display: flex; flex-direction: column; }
.bullet-item {
  padding: 18px 0; border-top: 1px solid rgba(0,0,0,.12);
  display: flex; flex-direction: column; gap: 4px;
}
.bullet-item:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.bullet-item h4 { font-size: 15.5px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.bullet-item h4::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--text); flex-shrink: 0; }
.bullet-item p { font-size: 13.5px; color: var(--text-muted); padding-left: 14px; }

section.lime { background: var(--lime); }
section.lime .bullet-item { border-color: rgba(0,0,0,.15); }

/* ── 테스티모니얼 ───────────────────────────────────── */
.cases { position: relative; overflow: hidden; }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.testi-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card blockquote {
  margin: 0; font-family: 'NotoSerifKR', serif; font-size: 16.5px; line-height: 1.55; font-weight: 500;
}
.testi-card .who { display: flex; align-items: center; gap: 12px; }
.testi-card .who span { font-size: 13px; font-weight: 700; color: var(--text-muted); }

/* ── 최종 CTA ───────────────────────────────────────── */
.final-cta-wrap { position: relative; overflow: hidden; }
.final-card {
  background: var(--white); border-radius: 32px; overflow: hidden;
  display: flex; flex-direction: column; position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
}
.final-card .fc-text { padding: 56px 40px; }
.final-card h2 { font-size: 32px; line-height: 1.28; margin-bottom: 18px; }
.final-card p.sub { font-size: 14.5px; color: var(--text-muted); max-width: 420px; margin-bottom: 30px; }
.final-card .ph { width: 100%; min-height: 260px; }

/* ── 이메일 폼 ───────────────────────────────────────── */
.signup-form form {
  display: flex; gap: 8px; background: var(--bg); border: 1px solid #c7c6c1;
  border-radius: 12px; padding: 6px; flex-wrap: wrap;
}
.signup-form input[type="email"] {
  flex: 1; min-width: 160px; border: none; background: transparent; padding: 10px 14px;
  font-size: 14px; font-family: inherit; color: var(--text); outline: none;
}
.signup-form button { flex-shrink: 0; }
.form-status { font-size: 13px; margin-top: 10px; min-height: 18px; font-weight: 700; }
.form-status.ok { color: #2f6d3f; }
.form-status.err { color: #b3261e; }

/* ── 푸터 ───────────────────────────────────────────── */
footer.site-footer { padding: 60px 0 32px; }
.footer-top { border-top: 1px solid #c7c6c1; padding-top: 40px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-col .logo { display: inline-block; margin-bottom: 10px; }
.footer-col p { font-size: 13.5px; color: var(--text-muted); max-width: 220px; }
.footer-col h5 { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--text-muted); margin: 0 0 14px; }
.footer-col a, .footer-col span.line { display: block; font-size: 14px; margin-bottom: 10px; text-decoration: none; color: var(--text); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12.5px; color: var(--text-muted); border-top: 1px solid #c7c6c1;
  margin-top: 34px; padding-top: 20px;
}
.footer-bottom .links a { text-decoration: none; color: var(--text-muted); margin-left: 16px; }

/* ── 반응형(데스크톱) ───────────────────────────────── */
@media (min-width: 900px) {
  .hero h1 { font-size: 58px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .split { flex-direction: row; align-items: center; gap: 64px; }
  .split .text { width: 45%; }
  .split .ph { width: 55%; height: 380px; }
  .split.reverse { flex-direction: row-reverse; }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .final-card { flex-direction: row; }
  .final-card .fc-text { flex: 1; padding: 64px; }
  .final-card .ph { flex: 1; min-height: 100%; border-radius: 0; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
  section { padding: 130px 0; }
}


/* 헤더 우측 버튼 묶음 — '화심 접속'(보조) + '출시 알림'(주). */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(20, 18, 15, .22);
}
.btn.ghost:hover { background: rgba(20, 18, 15, .06); }
@media (max-width: 520px) {
  /* 좁은 화면에서는 주 버튼만 남긴다 — 둘이 붙으면 무엇을 눌러야 할지 흐려진다. */
  .btn.ghost { display: none; }
}


/* ── 법무·계정삭제 문서 페이지 (terms.html · account-deletion.html) ──────────
   스토어 심사가 여는 화면이다. 랜딩 본문과 달리 **긴 글을 읽는 자리**라
   측정값(문단 폭·행간)을 따로 둔다. */
.legal-page { padding: 56px 0 90px; }
.legal-page .wrap { max-width: 860px; }
.legal-toc {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 34px;
  padding-bottom: 22px; border-bottom: 1px solid #c7c6c1;
}
.legal-toc a {
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  color: var(--text-muted); border-bottom: 1px solid transparent;
}
.legal-toc a:hover { color: var(--text); border-bottom-color: var(--text); }

.legal-body { font-size: 15px; line-height: 1.75; color: var(--text); }
.legal-body h1 { font-size: 30px; line-height: 1.3; margin: 0 0 20px; }
.legal-body h2 { font-size: 22px; margin: 46px 0 14px; padding-top: 8px; }
.legal-body h3 { font-size: 17px; margin: 30px 0 10px; }
.legal-body h4 { font-size: 15px; margin: 22px 0 8px; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--text); text-underline-offset: 3px; }
.legal-body hr { border: 0; border-top: 1px solid #c7c6c1; margin: 40px 0; }
.legal-body blockquote {
  margin: 0 0 18px; padding: 14px 18px; background: var(--white);
  border: 1px solid #d4d3ce; border-radius: var(--radius-md);
  font-size: 14.5px; color: var(--text-muted);
}
.legal-body blockquote strong { color: var(--text); }

/* 표는 좁은 화면에서 **자기 안에서만** 가로 스크롤한다 — 페이지 몸통이
   가로로 밀리면 읽기가 통째로 무너진다. */
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
.legal-body table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 14px; }
.legal-body th, .legal-body td {
  border: 1px solid #d4d3ce; padding: 9px 12px; text-align: left; vertical-align: top;
}
.legal-body th { background: var(--white); font-weight: 800; white-space: nowrap; }

.legal-foot {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid #c7c6c1;
  font-size: 13.5px; color: var(--text-muted);
}

/* 계정 삭제 요청 폼 */
.deletion-form {
  background: var(--white); border: 1px solid #d4d3ce;
  border-radius: var(--radius-md); padding: 22px; margin: 0 0 20px;
}
.deletion-form label {
  display: block; font-size: 13px; font-weight: 800; margin: 14px 0 6px; color: var(--text-muted);
}
.deletion-form label:first-child { margin-top: 0; }
.deletion-form input, .deletion-form select, .deletion-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #c7c6c1; border-radius: 10px;
  padding: 11px 13px; font-size: 14.5px; font-family: inherit; color: var(--text);
  background: var(--bg); outline: none;
}
.deletion-form textarea { resize: vertical; }
.deletion-form button { margin-top: 18px; }
.deletion-form button[disabled] { opacity: .55; cursor: default; }
