:root {
  --bg: #0b0b0f;
  --bg-2: #121218;
  --text: #f4f4f6;
  --muted: #a1a1ab;
  --faint: #6c6c76;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-line: rgba(255, 255, 255, 0.12);
  --blue: #2f5bff;
  --orange: #ff8a24;
  --grad: linear-gradient(120deg, var(--blue), var(--orange));
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

html[lang="ko"] {
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ko"] body { word-break: keep-all; line-height: 1.7; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 11, 15, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }

.nav a { text-decoration: none; color: var(--muted); transition: color .15s; }

.nav a:hover { color: var(--text); }

.nav .lang {
  color: var(--text);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  padding: 4px 12px;
}

@media (max-width: 480px) {
  .nav .hide-sm { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; overflow: hidden; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .32;
  pointer-events: none;
}

.hero::before { width: 420px; height: 420px; background: var(--blue); top: -160px; left: -160px; }

.hero::after { width: 380px; height: 380px; background: var(--orange); bottom: -180px; right: -140px; opacity: .22; }

.hero .wrap {
  position: relative;
  display: grid;
  gap: 44px;
  align-items: center;
}

.hero-icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 11vw, 84px);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.hero .sub {
  margin: 16px 0 0;
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero .lede { margin: 14px 0 0; color: var(--muted); max-width: 30em; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--text);
  color: #0b0b0f;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.btn-store:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(255, 138, 36, .18); }

.btn-store svg { width: 18px; height: 18px; flex: none; }

.cta-note { font-size: 14px; color: var(--faint); }

@media (min-width: 880px) {
  .hero { padding: 88px 0 72px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ---------- phone ---------- */
.phone {
  position: relative;
  width: min(300px, 78vw);
  margin: 0 auto;
  border-radius: 46px;
  padding: 7px;
  background: linear-gradient(160deg, #2a2a33, #111116 40%, #1d1d24);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.6);
}

.phone img { width: 100%; border-radius: 39px; aspect-ratio: 1206 / 2622; object-fit: cover; }

.phone.lg { width: min(330px, 80vw); }

/* ---------- sections ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }

.feature {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

html[lang="ko"] .eyebrow { letter-spacing: .04em; }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
}

.feature h2,
.section-title {
  margin: 14px 0 0;
  font-size: clamp(30px, 6.4vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

html[lang="ko"] .feature h2,
html[lang="ko"] .section-title { line-height: 1.25; letter-spacing: -0.03em; }

.feature p { margin: 18px 0 0; color: var(--muted); max-width: 32em; }

@media (min-width: 880px) {
  .section { padding: 112px 0; }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .copy { order: 2; }
}

/* glass cards */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* swipe demo */
.swipe-demo {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  padding: 26px 18px;
  border-radius: 32px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(47, 91, 255, .35), transparent 60%),
    radial-gradient(120% 80% at 100% 100%, rgba(255, 138, 36, .22), transparent 60%),
    #101016;
  border: 1px solid var(--line);
  overflow: hidden;
}

.swipe-demo .label { font-size: 15px; font-weight: 600; margin: 0 4px 12px; color: var(--text); }

.swipe-demo .card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 550;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}

.swipe-demo .card .time { color: var(--muted); font-size: 14px; font-weight: 500; }

.swipe-demo .card.go { animation: swipeAway 4.2s cubic-bezier(.6,.0,.3,1) infinite; }

.swipe-demo .hand {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  box-shadow: 0 0 0 8px rgba(255,255,255,.15);
  top: 84px;
  right: 40px;
  animation: hand 4.2s cubic-bezier(.6,.0,.3,1) infinite;
  pointer-events: none;
}

@keyframes swipeAway {
  0%, 30% { transform: translateX(0); opacity: 1; }
  55% { transform: translateX(-120%); opacity: 0; }
  56%, 80% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes hand {
  0%, 18% { transform: translateX(0) scale(1); opacity: 0; }
  26% { opacity: 1; transform: translateX(0) scale(.9); }
  52% { transform: translateX(-230px) scale(.9); opacity: 1; }
  60%, 100% { transform: translateX(-230px) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-demo .card.go, .swipe-demo .hand { animation: none; }
  .swipe-demo .hand { display: none; }
}

/* quick-add list */
.chips { display: grid; gap: 12px; max-width: 380px; width: 100%; margin: 0 auto; }

.chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  font-weight: 550;
}

.chip .dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
}

.chip .dot svg { width: 18px; height: 18px; }

.chip small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* widget image */
.widget-shot { border-radius: 28px; border: 1px solid var(--line); max-width: 460px; width: 100%; margin: 0 auto; }

/* small facts grid */
.facts {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.fact { padding: 22px; }

.fact h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }

.fact p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

@media (min-width: 720px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}

/* closing cta */
.closing { text-align: center; }

.closing .cta-row { justify-content: center; }

.closing .hero-icon { margin: 0 auto 22px; }

/* ---------- doc pages ---------- */
.doc { padding: 56px 0 96px; }

.doc .wrap { max-width: 760px; }

.doc h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.doc .updated { margin: 12px 0 0; color: var(--faint); font-size: 15px; }

.doc .intro { margin-top: 24px; color: var(--muted); font-size: 18px; }

.doc h2 {
  margin: 48px 0 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.doc h3 { margin: 28px 0 0; font-size: 18px; font-weight: 600; }

.doc p, .doc li { color: #c9c9d1; }

.doc ul { padding-left: 1.2em; }

.doc li + li { margin-top: 6px; }

.doc a { color: var(--text); text-decoration-color: var(--orange); text-underline-offset: 3px; }

.callout { padding: 20px 22px; margin-top: 24px; }

.callout p { margin: 0; }

.callout p + p { margin-top: 8px; }

.faq { margin-top: 32px; display: grid; gap: 12px; }

.faq details { padding: 0; overflow: hidden; }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 52px 20px 22px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}

.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq .answer { padding: 0 22px 20px; }

.faq .answer p:first-child { margin-top: 0; }

.faq .answer p:last-child { margin-bottom: 0; }

.faq ol { padding-left: 1.3em; color: #c9c9d1; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--faint); }

.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }

.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.site-footer a { color: var(--muted); text-decoration: none; }

.site-footer a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* 랜딩 아래 자주 묻는 질문(지원 페이지와 같은 접이식) */
#faq .faq { max-width: 760px; }
