/* 별말 landing site — brand styles shared across index/privacy/support */
:root {
  --violet: #7C5CFC;
  --violet-deep: #5B3FD6;
  --violet-soft: #F1ECFF;
  --gold: #FFC24B;
  --ink: #211C39;
  --muted: #6E6985;
  --line: #E8E4F2;
  --bg-grad: linear-gradient(180deg, #F4F0FF 0%, #FFFFFF 50%);
  --shadow-lg: 0 30px 60px -20px rgba(91,63,214,.25);
  --shadow-sm: 0 6px 18px -8px rgba(0,0,0,.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "SF Pro Text", "Pretendard", "Noto Sans KR", sans-serif;
  background: var(--bg-grad);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--violet-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; color: var(--violet-deep);
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(180deg, var(--violet), var(--violet-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 14px;
}
.site-header nav a {
  margin-left: 22px; font-size: 13px; font-weight: 700; color: var(--muted);
}
.site-header nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero {
  max-width: 1080px; margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-size: 56px; font-weight: 900; line-height: 1.05; letter-spacing: -1px;
  color: var(--ink);
}
.hero h1 .accent { color: var(--violet); }
.hero .lede {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  margin-top: 22px; max-width: 460px;
}
.hero .cta-row {
  margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: white;
  padding: 14px 22px; border-radius: 12px;
  font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow-sm);
}
.btn-store:hover { text-decoration: none; transform: translateY(-1px); transition: .15s; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 12px;
  font-weight: 800; font-size: 15px;
  background: white; color: var(--ink);
  border: 1.5px solid var(--line);
}

/* Hero phone mockup */
.phone-mock {
  position: relative; width: 290px; margin: 0 auto;
  background: white; border-radius: 36px;
  border: 1px solid var(--line); padding: 18px;
  box-shadow: var(--shadow-lg);
}
.phone-screen { background: var(--bg-grad); border-radius: 22px; padding: 16px; }

/* How it works */
.section { max-width: 1080px; margin: 0 auto; padding: 70px 24px; }
.section h2 {
  font-size: 30px; font-weight: 900; letter-spacing: -0.4px;
  text-align: center; margin-bottom: 10px;
}
.section .lede-center { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 50px; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.step {
  background: white; border: 1px solid var(--line);
  border-radius: 18px; padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.step .num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--violet); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 14px; margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* Feature grid */
.features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--muted); }
.feature .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--violet-soft); color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 14px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(180deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: white; padding: 70px 24px; text-align: center; margin-top: 40px;
}
.cta-band h2 { font-size: 30px; font-weight: 900; margin-bottom: 14px; color: white; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 26px; }
.cta-band .btn-store { background: white; color: var(--ink); }

/* Footer */
footer {
  background: #1A1530; color: rgba(255,255,255,0.7);
  padding: 50px 24px 30px;
  font-size: 13px;
}
footer .inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
footer a { color: rgba(255,255,255,0.9); }
footer a:hover { color: white; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .small { color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 18px; }

/* Document pages (privacy, support) */
.doc {
  max-width: 720px; margin: 0 auto;
  padding: 70px 24px 80px;
}
.doc h1 { font-size: 36px; font-weight: 900; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 13px; margin-bottom: 36px; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 32px 0 10px; }
.doc h3 { font-size: 16px; font-weight: 800; margin: 20px 0 6px; color: var(--ink); }
.doc p, .doc li { font-size: 15px; line-height: 1.7; color: var(--ink); }
.doc ul { padding-left: 22px; margin: 8px 0 16px; }
.doc li { margin-bottom: 4px; }
.doc .lang-toggle {
  display: inline-flex; gap: 4px;
  background: var(--violet-soft); padding: 4px;
  border-radius: 99px; font-size: 12px; font-weight: 700;
  margin-bottom: 24px;
}
.doc .lang-toggle a {
  padding: 6px 12px; border-radius: 99px;
  color: var(--violet-deep); text-decoration: none;
}
.doc .lang-toggle a.active { background: var(--violet); color: white; }
.doc .contact-card {
  background: var(--violet-soft); border: 1px solid #DCD2FF;
  border-radius: 12px; padding: 20px; margin-top: 16px;
}

/* Responsive */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 30px; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 50px 24px; }
  .section h2 { font-size: 24px; }
}
