:root {
  --bg: #0a0b0e;
  --bg-soft: #0f1116;
  --panel: #12151b;
  --panel-2: #161a21;
  --line: #232833;
  --line-soft: #1a1e26;
  --text: #e8eaf0;
  --muted: #9aa1af;
  --dim: #6f7684;
  --accent: #7d8cff;
  --accent-soft: rgba(125, 140, 255, 0.12);
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 11, 14, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
}
.brand img { border-radius: 7px; }
.nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.ext { font-size: 11px; color: var(--dim); }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 40px;
  text-align: center;
}
.hero .glow {
  position: absolute;
  inset: -180px 0 auto 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(125, 140, 255, 0.18), transparent 62%);
  pointer-events: none;
}
.hero-inner { position: relative; }

.chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

h1 {
  margin: 26px 0 6px;
  font-size: clamp(52px, 11vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  font-weight: 800;
  background: linear-gradient(180deg, #ffffff 20%, #b9c0d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tagline {
  margin: 0;
  font-size: clamp(18px, 3.4vw, 23px);
  font-weight: 600;
  color: #cfd4e0;
  letter-spacing: -0.01em;
}
.lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 218px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  border-color: #3a4152;
  background: var(--panel-2);
  color: var(--text);
  transform: translateY(-1px);
}
.btn-primary {
  background: #e9ebf5;
  border-color: #e9ebf5;
  color: #0a0b0e;
}
.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: #0a0b0e;
}
.btn-label { font-weight: 650; font-size: 15px; }
.btn-sub { font-size: 12.5px; color: var(--dim); }
.btn-primary .btn-sub { color: #555b6b; }

.version-line {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 13.5px;
}
.version-line strong { color: var(--muted); font-weight: 600; }
.version-line a { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.version-line a:hover { color: var(--text); border-color: var(--muted); }
.dot { margin: 0 8px; color: #3b414e; }

/* screenshot */
.shot { padding: 44px 0 8px; }
.shot figure { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.shot figcaption {
  margin-top: 12px;
  text-align: center;
  color: var(--dim);
  font-size: 12.5px;
}

/* sections */
.section { padding: 88px 0 0; }
.section h2 {
  margin: 0 0 10px;
  font-size: 26px;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.section-lead {
  margin: 0 0 34px;
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.card {
  padding: 22px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), #0e1116);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ico { font-size: 15px; filter: saturate(0.85); }
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

/* download */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dl-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.dl-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}
.files {
  list-style: none;
  margin: 0;
  padding: 0;
}
.files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.files li:first-child { border-top: 0; padding-top: 0; }
.files a { color: #cfd5ff; }
.files a:hover { color: #fff; }
.files span {
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
}
.req {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 12.5px;
}

.notes {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.notes p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.notes p:last-child { margin-bottom: 0; }
.notes strong { color: var(--text); font-weight: 600; }
.notes a { color: #cfd5ff; }
.notes a:hover { color: #fff; }

.section-status {
  margin-top: 88px;
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.section-status h2 { font-size: 20px; }
.section-status p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 14.5px;
}
.section-status strong { color: var(--text); }
.section-status a { color: #cfd5ff; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--dim);
  font-size: 13px;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}
.footer-biz {
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}
.footer-biz a { color: var(--dim); }
.footer-biz a:hover { color: var(--muted); }

/* document pages (terms, privacy) */
.doc { padding: 64px 0 88px; }
.doc-wrap { max-width: 820px; }
.doc-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.doc h1 {
  margin: 10px 0 0;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 750;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--text);
}
.doc-meta {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 13px;
}
.doc-lead {
  margin: 24px 0 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  color: #c3c9d6;
  font-size: 15px;
  line-height: 1.75;
}
.doc-toc {
  margin: 24px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.doc-toc p {
  margin: 0 0 6px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.doc-toc ol {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  column-gap: 28px;
  font-size: 13.5px;
}
.doc-toc li { margin: 3px 0; color: var(--dim); }
.doc-toc a { color: var(--muted); border-bottom: 0; }
.doc-toc a:hover { color: var(--text); }

.doc-section {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.doc-lead + .doc-section,
.doc-toc + .doc-section { border-top: 0; padding-top: 0; }
.doc h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.doc h3 {
  margin: 18px 0 6px;
  font-size: 14.5px;
  font-weight: 650;
}
.doc p,
.doc li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}
.doc p { margin: 0 0 10px; }
.doc p:last-child { margin-bottom: 0; }
.doc ul,
.doc ol { margin: 0 0 12px; padding-left: 20px; }
.doc li { margin: 5px 0; }
.doc li::marker { color: var(--dim); }
.doc strong { color: var(--text); font-weight: 600; }
.doc a {
  color: #cfd5ff;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}
.doc a:hover { color: #fff; border-color: var(--muted); }
.doc-box {
  margin: 30px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.doc-box h2 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--text);
}
.doc-box dl {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 7px 14px;
  margin: 0;
  font-size: 13px;
}
.doc-box dt { color: var(--dim); }
.doc-box dd { margin: 0; color: var(--muted); }
.doc-foot {
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 13px;
}
.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
}
.doc-nav a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.doc-nav a:hover {
  border-color: #3a4152;
  background: var(--panel-2);
  color: var(--text);
}

/* responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 24px; }
  .section { padding-top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { min-width: 0; width: 100%; }
  .nav { gap: 16px; }
  .nav a:nth-child(1) { display: none; }
  .version-line { font-size: 12.5px; line-height: 2; }
  .dot { margin: 0 5px; }
  .shot { padding-top: 30px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .doc { padding: 40px 0 64px; }
  .doc-toc ol { columns: 1; }
  .doc-box dl { grid-template-columns: 1fr; gap: 2px; }
  .doc-box dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
