/* 랜딩 전용 스타일. 앱 스타일(styles.css)과 별개다 —
   랜딩은 로그인 전 화면이라 앱 번들을 내려받게 하지 않는다.
   여러 페이지가 공유하므로 인라인이 아니라 파일이다(캐시가 듣는다). */
/* 앱(styles.css)과 같은 토큰. 랜딩은 SPA 밖의 단일 문서라 파일을 따로 든다. */
:root {
  --bg: #141311;
  --surface: #1d1c19;
  --surface-2: #23221e;
  --line: #2e2c27;
  --line-strong: #3a3831;
  --text: #f2f0ea;
  --text-2: #a8a49a;
  --text-3: #6f6b62;
  --accent: #c8f04b;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family:
    'Noto Sans KR',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    system-ui,
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── 상단 ── */
header {
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--accent);
}
.brand .nm {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.btn.primary {
  background: var(--accent);
  color: var(--bg);
}
.btn.ghost {
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}

/* ── 히어로 ── */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.hero h1 .em {
  color: var(--accent);
}
.hero p {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--text-2);
  font-size: 16px;
}
.hero .cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero .cta .btn {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}
.hero .sub {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
}

/* ── 흐름 3단계 ── */
section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.sec-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}
.sec-sub {
  margin-top: 8px;
  text-align: center;
  color: var(--text-2);
  font-size: 14px;
}
.steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 18px;
}
.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
}
.step h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
}
.step p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
}

/* ── 기능 ── */
.feats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 18px;
}
.feat h3 {
  font-size: 15px;
  font-weight: 700;
}
.feat p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-2);
}

/* ── 가격 ── */
.price-card {
  margin: 32px auto 0;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 30px 26px;
  text-align: center;
}
.price-card .amount {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.price-card .per {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.price-card ul {
  margin-top: 18px;
  list-style: none;
  text-align: left;
}
.price-card li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}
.price-card li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}
.price-card .btn {
  margin-top: 22px;
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}
.price-card .note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-3);
}

/* ── 푸터 (사업자 정보 — 전자상거래법 표시 의무) ── */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.9;
}
footer .links {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-2);
}
footer .links a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .hero {
    padding: 52px 0 40px;
  }
  .steps,
  .feats {
    grid-template-columns: 1fr;
  }
}

/* 상단 메뉴 — 랜딩이 여러 장이 되면서 생겼다. 좁은 화면에서는 숨긴다:
   폰에서 중요한 건 "앱 열기" 하나이고, 아래로 내리면 같은 내용이 다 나온다. */
.topnav {
  display: flex;
  gap: 18px;
  margin-left: auto;
  margin-right: 18px;
}
.topnav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.topnav a:hover,
.topnav a.on {
  color: var(--text);
}
@media (max-width: 640px) {
  .topnav {
    display: none;
  }
}

/* 자주 묻는 질문 — 구조화 데이터(FAQPage)와 짝이다.
   🔴 화면에 안 보이는 FAQ 를 JSON-LD 로만 넣으면 구글이 통째로 무시한다. */
.faq {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '＋';
  float: right;
  color: var(--text-3);
  font-weight: 400;
}
.faq details[open] summary::after {
  content: '－';
}
.faq details p {
  padding: 0 0 16px;
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
  font-size: 14px;
}

/* ── 운영 공지 ──
   문서 맨 위, 헤더보다 위. 이벤트·점검 안내가 여기 온다.
   Kernova 와 같은 자리다 — 페이지 전체가 한 줄만큼 내려갈 뿐, 어떤 조작도
   가리지 않는다. */
.announce {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 44px 8px 16px;
  font-size: 13.5px;
  line-height: 1.4;
}
.announce.accent {
  background: var(--accent);
  color: #14130f;
}
.announce.warn {
  background: var(--danger);
  color: #fff;
}
.announce-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.announce-text {
  font-weight: 700;
}
.announce-cta {
  font-weight: 600;
  font-size: 12.5px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.announce-x {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  opacity: 0.65;
  cursor: pointer;
  font-size: 13px;
}
.announce-x:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.12);
}
/* 좁은 화면에서는 링크 글자를 접는다 — 두 줄로 늘어나면 화면을 많이 먹는다. */
@media (max-width: 560px) {
  .announce-cta {
    display: none;
  }
}
