@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  --bg: #ffffff;
  --card: #f3f2f0;
  --text: #221f1c;
  --accent: #e5432d;
  --accent-soft: rgba(229, 67, 45, 0.08);
  --gray: #8c8983;
  --border: rgba(34, 31, 28, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Header ───────────────────────────── */
header.site { border-bottom: 1px solid var(--border); padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--accent); }
.brand svg, .brand img { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; }
nav.site-nav { display: flex; gap: 20px; font-size: 14px; color: var(--gray); }
nav.site-nav a { color: var(--gray); }
nav.site-nav a:hover { color: var(--accent); }

/* ── Hero ─────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 8px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 640px;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(229,67,45,0.03) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .icon-mark { width: 52px; height: 52px; margin: 0 auto 24px; border-radius: 14px; }
.hero h1 { font-size: 35px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.38; margin: 0 0 12px; }
.hero .sub-en { font-size: 15px; color: var(--gray); margin: 0 0 20px; letter-spacing: 0.01em; }
.hero .desc { max-width: 420px; margin: 0 auto 22px; font-size: 15px; line-height: 1.65; color: var(--text); opacity: 0.82; }
.status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.status-pill--live .dot {
  animation: none;
  background: #2f9e5c; /* 기존 dot 색이랑 안 어울리면 조정하세요 */
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 36px;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── How it works ─────────────────────── */
.steps { padding: 64px 0 68px; background: var(--card); }
.steps h2 { text-align: center; font-size: 22px; font-weight: 700; margin: 0 0 46px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-item { text-align: center; }
.step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 2px rgba(34,31,28,0.06), 0 6px 16px rgba(34,31,28,0.07);
}
.step-icon svg { width: 24px; height: 24px; color: var(--accent); }
.step-num { font-size: 11px; font-weight: 700; color: var(--gray); letter-spacing: 0.06em; margin-bottom: 6px; }
.step-item h3 { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.step-item p { font-size: 12.5px; color: var(--gray); line-height: 1.55; margin: 0; }

.steps-note {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
  margin: 48px auto 0;
  padding: 14px 20px;
  background: var(--bg);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(34,31,28,0.05);
}
.steps-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.steps-note span { font-size: 12.5px; color: var(--text); line-height: 1.5; text-align: left; }

/* ── Pull quote ───────────────────────── */
.quote-band { padding: 76px 0; text-align: center; }
.quote-band blockquote {
  margin: 0 auto 16px;
  max-width: 480px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}
.quote-band blockquote .accent-word { color: var(--accent); }
.quote-band p.sub { font-size: 13.5px; color: var(--gray); }
.quote-mark { font-size: 40px; font-weight: 700; color: var(--accent); opacity: 0.35; line-height: 1; margin-bottom: 4px; }

@media (max-width: 480px) {
  .step-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero::before { width: 600px; height: 480px; top: -140px; }
}

/* ── Phone mockup carousel ─────────────── */
.scene-wrap { max-width: 360px; margin: 0 auto 64px; }
.scene-eyebrow { font-size: 12.5px; color: var(--gray); margin-bottom: 20px; text-align: center; }
.phone-frame {
  position: relative;
  width: 298px;
  margin: 0 auto;
  aspect-ratio: 298 / 610;
  background: linear-gradient(155deg, #1c1a18 0%, #0a0908 55%, #050505 100%);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 2px 4px rgba(34,31,28,0.12), 0 30px 60px -12px rgba(34,31,28,0.28), inset 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 25px;
  background: #0a0908;
  border-radius: 0 0 17px 17px;
  z-index: 3;
}
.phone-home-indicator {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 4.5px;
  border-radius: 3px;
  background: rgba(0,0,0,0.28);
  z-index: 3;
}
.carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.4s cubic-bezier(.65,0,.35,1); }
.carousel-slide { flex: 0 0 100%; height: 100%; overflow: hidden; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.carousel-caption { text-align: center; font-size: 13px; color: var(--text); font-weight: 500; margin-top: 18px; min-height: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.carousel-dots button { width: 6px; height: 6px; border-radius: 50%; border: none; background: var(--border); padding: 0; cursor: pointer; transition: background 0.2s, width 0.2s; }
.carousel-dots button.active { background: var(--accent); width: 16px; border-radius: 3px; }

/* ── Links grid (index) ──────────────── */
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 96px; }
.link-card { background: var(--card); border-radius: 12px; padding: 22px 16px; text-align: center; color: var(--text); font-weight: 500; font-size: 14px; transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.link-card:hover { background: var(--accent-soft); text-decoration: none; color: var(--accent); box-shadow: 0 8px 20px rgba(229,67,45,0.1); transform: translateY(-2px); }
.link-card .en { display: block; font-weight: 400; font-size: 12px; color: var(--gray); margin-top: 4px; }

/* ── Document pages (privacy/terms) ──── */
.doc-header { padding: 56px 0 20px; }
.doc-header h1 { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.doc-header .eff-date { font-size: 13px; color: var(--gray); }
.lang-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin: 20px 0 8px; }
.lang-toggle button { border: none; background: transparent; padding: 7px 18px; font-size: 13px; font-family: inherit; font-weight: 500; color: var(--gray); cursor: pointer; }
.lang-toggle button.active { background: var(--text); color: #fff; }
.doc-body { padding: 12px 0 100px; }
.doc-body h2 { font-size: 18px; font-weight: 700; margin: 36px 0 12px; }
.doc-body h3 { font-size: 15px; font-weight: 700; margin: 22px 0 8px; }
.doc-body p, .doc-body li { font-size: 14.5px; color: var(--text); }
.doc-body ul { padding-left: 20px; margin: 8px 0; }
.doc-body li { margin: 4px 0; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.doc-body th, .doc-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.doc-body th { background: var(--card); font-weight: 600; }
.doc-body .callout { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: 14px; margin: 16px 0; }
.doc-body .note { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--gray); }
.lang-block[hidden] { display: none; }

/* ── Support page ─────────────────────── */
.support-card { background: var(--card); border-radius: 12px; padding: 32px; margin: 32px 0; text-align: center; }
.support-card .email { display: inline-block; margin-top: 10px; font-size: 17px; font-weight: 600; color: var(--accent); }
.support-list { margin: 40px 0 100px; }
.support-list h2 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.support-list p { font-size: 14px; color: var(--gray); margin: 0 0 28px; }

/* ── Footer ───────────────────────────── */
footer.site { border-top: 1px solid var(--border); padding: 24px 0; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--gray); }
footer.site a { color: var(--gray); }

@media (max-width: 480px) {
  .hero h1 { font-size: 25px; }
  .link-grid { grid-template-columns: 1fr; }
  header.site .wrap { flex-direction: column; gap: 12px; }
}
