:root {
  --bg: #f6f7f4;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f1f4ef;
  --line: #e1e5df;
  --line-2: #cfd6d0;
  --text: #17211b;
  --text-2: #3d4a42;
  --dim: #5d6a62;
  --accent: #12804a;
  --accent-2: #0e6b3d;
  --accent-soft: #e2f1e7;
  --accent-text: #0e5a34;
  --on-accent: #ffffff;
  --shadow: 0 18px 40px rgba(23, 33, 27, 0.1);
  --code: #eef2ee;
  --discord: #313338;
  --discord-2: #2b2d31;
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c110e;
    --bg-2: #101713;
    --panel: #141c17;
    --panel-2: #19231d;
    --line: #243029;
    --line-2: #2f3d34;
    --text: #edf3ee;
    --text-2: #c3cec6;
    --dim: #93a198;
    --accent: #2fbf71;
    --accent-2: #4fd38a;
    --accent-soft: #153323;
    --accent-text: #7fe0a8;
    --on-accent: #06130b;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    --code: #1b2620;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c110e;
  --bg-2: #101713;
  --panel: #141c17;
  --panel-2: #19231d;
  --line: #243029;
  --line-2: #2f3d34;
  --text: #edf3ee;
  --text-2: #c3cec6;
  --dim: #93a198;
  --accent: #2fbf71;
  --accent-2: #4fd38a;
  --accent-soft: #153323;
  --accent-text: #7fe0a8;
  --on-accent: #06130b;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --code: #1b2620;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--accent-text); }
a:hover { color: var(--accent); }
img, video { max-width: 100%; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--code); padding: 1px 6px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 19px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--panel-2); color: var(--text); }
.spacer { flex: 1 1 auto; }
@media (max-width: 760px) { .nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.theme { position: relative; }
.theme summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.theme summary::-webkit-details-marker { display: none; }
.theme summary svg { width: 20px; height: 20px; }
.theme .i-light, .theme .i-dark { display: none; }
:root[data-theme="light"] .theme .i-sys, :root[data-theme="dark"] .theme .i-sys { display: none; }
:root[data-theme="light"] .theme .i-light { display: block; }
:root[data-theme="dark"] .theme .i-dark { display: block; }
.theme-pop { position: absolute; right: 0; top: 52px; min-width: 190px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.theme-pop button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
.theme-pop button:hover { background: var(--panel-2); }
.theme-pop .check { width: 16px; height: 16px; visibility: hidden; color: var(--accent); }
.theme-pop button[aria-checked="true"] .check { visibility: visible; }

.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 700; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.hero h1 { margin: 18px 0 16px; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.16; letter-spacing: -0.025em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { margin: 0 0 26px; font-size: 18.5px; color: var(--text-2); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.textlink { color: var(--dim); font-size: 15px; text-decoration: none; padding: 8px 4px; }
.textlink:hover { color: var(--text); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font-size: 15px; }
.hero-facts span { font-size: 13.5px; color: var(--dim); }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr; } }

.chat { background: var(--discord); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); color: #dbdee1; }
.msg { display: flex; gap: 12px; align-items: flex-start; }
.av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.who { color: #f2f3f5; font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.app { background: #5865f2; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.card-embed { background: var(--discord-2); border-radius: 8px; border-left: 4px solid #2fbf71; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.card-embed b { color: #f2f3f5; }
.card-embed small { color: #949ba4; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent-text); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.section h2 { margin: 8px 0 12px; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.25; letter-spacing: -0.02em; }
.section .sub { margin: 0 0 32px; color: var(--text-2); font-size: 17px; max-width: 680px; }

.slides { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.slide-tabs { display: flex; gap: 6px; padding: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.slide-tabs::-webkit-scrollbar { display: none; }
.slide-tabs button { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.slide-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.slide-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slide-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding: 32px; align-items: center; }
@media (max-width: 820px) { .slide { grid-template-columns: 1fr; padding: 22px; gap: 20px; } }
.slide h3 { margin: 0 0 8px; font-size: 24px; }
.slide p { margin: 0 0 12px; color: var(--text-2); }
.media-frame { background: #0b0d0c; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: contain; }
.slide-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.arrows { display: flex; gap: 6px; }
.arrows button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.arrows svg { width: 18px; height: 18px; }

.mock { background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; min-height: 260px; }
.mock-side { width: 140px; flex: none; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.mock-side .on { background: var(--accent-soft); color: var(--accent-text); font-weight: 700; border-radius: 8px; padding: 6px 8px; }
.mock-side span { padding: 6px 8px; }
.mock-main { flex: 1 1 auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mock-row { display: flex; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.sw { width: 36px; height: 21px; border-radius: 999px; background: var(--accent); position: relative; flex: none; }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; }
.sw.off { background: var(--line-2); }
.sw.off::after { right: auto; left: 2px; }
@media (max-width: 520px) { .mock-side { display: none; } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 10px; width: max-content; animation: slide 40s linear infinite; }
.marquee code { background: var(--panel); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-size: 14.5px; white-space: nowrap; color: var(--text-2); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } html { scroll-behavior: auto; } .reveal { opacity: 1 !important; transform: none !important; } }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 18.5px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; }
.ico svg { width: 22px; height: 22px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--dim); border: 1px solid var(--line); }
.tag.p { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.checks li { display: flex; gap: 8px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: "0" counter(s); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.steps h3 { margin: 4px 0 0; font-size: 18px; }
.steps p { margin: 0; color: var(--text-2); font-size: 15px; }

.price { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.price-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.price th, .price td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); }
.price thead th { border-top: 0; background: var(--panel-2); }
.price th[scope="row"] { font-weight: 600; color: var(--text-2); }
.price .p { color: var(--accent-text); font-weight: 800; }
.price .no { color: var(--dim); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan b { font-size: 26px; letter-spacing: -0.01em; }
.plan span { color: var(--dim); font-size: 14px; }
.note { margin-top: 14px; font-size: 14px; color: var(--dim); }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 4px; cursor: pointer; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { color: var(--accent-text); font-weight: 800; font-size: 15px; width: 26px; flex: none; }
.faq summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform 0.2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 4px 20px 44px; color: var(--text-2); }
.faq .a p { margin: 0 0 8px; }

.final { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 48px 32px; text-align: center; box-shadow: var(--shadow); }
.final h2 { margin: 0 0 10px; }
.final p { margin: 0 auto 24px; color: var(--text-2); max-width: 520px; }
.final .cta-row { justify-content: center; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

.heart { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: #17211b; color: #fff; border-radius: 22px; padding: 32px; }
.heart p { margin: 6px 0 0; color: #c8d3cb; }
.heart .btn { background: #fff; color: #17211b; border-color: #fff; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot p { margin: 6px 0 0; color: var(--dim); font-size: 14px; max-width: 460px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; align-content: flex-start; }
.foot nav a { color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--accent); }

.legal { padding: 48px 0 24px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 6px; letter-spacing: -0.02em; }
.legal .meta { color: var(--dim); margin: 0 0 24px; font-size: 15px; }
.legal h2 { font-size: 21px; margin: 40px 0 10px; padding-top: 8px; }
.legal h3 { font-size: 17px; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 12px 0; }
.legal .tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.legal thead th { border-top: 0; background: var(--panel-2); color: var(--text); }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 24px; }
.toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
@media (max-width: 620px) { .toc ol { columns: 1; } }
.callout { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; color: var(--text); margin: 14px 0; }
.lang { display: flex; gap: 8px; margin: 0 0 20px; }
.lang a { font-size: 14px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text-2); }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 32px 0 24px; }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; gap: 16px; } }
.docs-side { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; }
@media (max-width: 900px) { .docs-side { position: static; max-height: none; } }
.docs-side input { width: 100%; min-height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); padding: 0 12px; font: inherit; font-size: 15px; margin-bottom: 12px; }
.docs-side .grp { font-size: 12.5px; font-weight: 800; color: var(--dim); margin: 14px 8px 6px; }
.docs-side a { display: block; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-size: 15px; }
.docs-side a:hover, .docs-side a.on { background: var(--panel-2); color: var(--text); }
.docs-main { min-width: 0; }
.docs-main section { padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.docs-main h1 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 8px; }
.docs-main h2 { font-size: 24px; margin: 0 0 10px; }
.docs-main h3 { font-size: 18px; margin: 20px 0 8px; }
.docs-main p, .docs-main li { color: var(--text-2); }
.cmd { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmd-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: var(--panel); }
.cmd th, .cmd td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.cmd thead th { border-top: 0; background: var(--panel-2); }
.cmd td:first-child { white-space: nowrap; }
.empty-search { display: none; color: var(--dim); }

.av-b { background: #5865f2; } .av-g { background: #12804a; } .av-o { background: #e67e22; }
.grow { flex: 1 1 auto; min-width: 0; }
.card-embed.gold { border-left-color: #f0b232; }
.heart-t { font-size: 24px; }
.section.tight { padding-top: 24px; } .section.tighter { padding-top: 16px; }
.center { text-align: center; } .nf { font-size: 40px; margin: 0 0 8px; } .nf-sub { margin: 0 auto 24px; } .cta-row.centered { justify-content: center; }
