/* Landing site – same "Native Neutral" tokens as the app. */
:root {
  --font-ui: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --bg: #ffffff;
  --bg-band: #f3f3f3;
  --text: #222222;
  --text-muted: #6b6b6b;
  --text-faint: #a3a3a3;
  --border: #e3e3e3;
  --border-strong: #cfcfcf;
  --accent: #3a6ea5;
  --accent-fg: #ffffff;
  --code-bg: #f6f8fa;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: var(--accent); text-decoration: none; }
code { font-family: Consolas, "Cascadia Code", Menlo, monospace; font-size: 0.9em; background: var(--code-bg); border: 1px solid var(--border); border-radius: 4px; padding: 0.05em 0.35em; }
kbd { font-family: inherit; font-size: 0.85em; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: #fff; }
svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { border-radius: 6px; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 14.5px; }
.nav__links a { color: var(--text); }
.nav__links a:hover { color: var(--accent); }
.nav__cta { border: 1px solid var(--border-strong); border-radius: 6px; padding: 6px 12px; }

.hero {
  max-width: 1160px; margin: 0 auto;
  padding: 56px 24px 24px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero__sub { font-size: 18px; color: var(--text-muted); margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__note { margin: 12px 0 0; font-size: 13px; color: var(--text-faint); }
.hero__shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px;
  border: 1px solid var(--border-strong); border-radius: 6px;
  background: #fff; color: var(--text);
  font-weight: 600; font-size: 15px;
}
.btn:hover { border-color: var(--text-muted); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { filter: brightness(1.08); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.link { font-weight: 500; }

.features {
  background: var(--bg-band);
  margin-top: 48px;
  padding: 56px 24px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px;
}
.feature { max-width: 320px; margin: 0 auto; text-align: center; }
.feature svg { color: var(--text); }
.feature h3 { margin: 10px 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }

.guide { max-width: 960px; margin: 0 auto; padding: 64px 24px 40px; }
.guide h2 { font-size: 28px; margin: 0 0 24px; letter-spacing: -0.01em; }
.guide__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; margin-bottom: 36px; }
.guide article h3 { margin: 0 0 6px; font-size: 17px; }
.guide article p { margin: 0; color: var(--text-muted); font-size: 15px; }
.faq { border-top: 1px solid var(--border); padding: 14px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--text-faint); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--text-muted); font-size: 15px; }

.ad-slot {
  max-width: 1160px; margin: 24px auto 0; padding: 0 24px;
}
.ad-slot > span {
  display: flex; align-items: center; justify-content: center;
  height: 90px;
  border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-faint); font-size: 13px;
}
.ad-slot ins { display: block; }
.ad-slot:has(ins) > span { display: none; }

.footer {
  max-width: 1160px; margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex; gap: 20px; justify-content: center;
  font-size: 13.5px; color: var(--text-muted);
}
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent); }

.doc { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.doc h1 { font-size: 30px; }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc p { color: var(--text-muted); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero h1 { font-size: 34px; }
  .features { grid-template-columns: 1fr 1fr; }
  .guide__grid { grid-template-columns: 1fr; }
  .nav__links a:not(.nav__cta) { display: none; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
}

/* ---------- guide posts ---------- */
.posts { max-width: 960px; margin: 0 auto; padding: 8px 24px 32px; }
.posts h2 { font-size: 24px; margin: 0 0 14px; letter-spacing: -0.01em; }
.posts__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.posts__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.posts__list a { font-weight: 600; font-size: 16px; }
.posts__list span { color: var(--text-faint); font-size: 14px; }
.doc .lead { font-size: 17px; color: var(--text); }
.doc ol, .doc ul { color: var(--text-muted); padding-left: 1.4em; }
.doc li { margin: 6px 0; }
.doc img { max-width: 100%; height: auto; border: 1px solid var(--border); border-radius: 6px; }
.doc .cta { margin: 36px 0 0; padding: 20px 22px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-band); }
.doc .cta p { margin: 0 0 12px; color: var(--text); }
.doc .cta .btn { margin-right: 8px; }
.doc .meta { color: var(--text-faint); font-size: 13px; margin: -8px 0 24px; }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 20px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-band); }
.doc h2 { margin-top: 36px; }
.doc .related { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; }
