:root {
  --ink: #1b2230;
  --muted: #5d6676;
  --line: #e3e7ee;
  --soft: #f5f7fa;
  --brand: #ee6a1f;
  --brand-ink: #b9480b;
  --brand-soft: #fff1e7;
  --night: #0f1724;
  --radius: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html[lang="en"] body, html[lang="vi"] body, html[lang="es"] body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Malgun Gothic", sans-serif; word-break: normal; }
html[lang="ja"] body { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Segoe UI", "Malgun Gothic", sans-serif; word-break: normal; line-break: strict; }
html[lang="zh-Hans"] body { font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", "Malgun Gothic", sans-serif; word-break: normal; line-break: strict; }
html:not([lang="ko"]) [lang="ko"] { font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; word-break: keep-all; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid #ffb48a; outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.site-nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.site-nav a { padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.site-nav a:hover { background: var(--soft); }
.site-nav a.nav-cta { background: var(--brand); color: #fff; font-weight: 700; margin-left: 6px; }
.site-nav a.nav-cta:hover { background: var(--brand-ink); }
.lang-select { font: inherit; font-size: .9rem; margin-left: 6px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.footer-langs { gap: 6px 14px; font-size: .85rem; }
.footer-langs a[aria-current] { color: #fff; font-weight: 700; text-decoration: none; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(127, 127, 127, .08); }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--soft); }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); margin: 0 0 10px; }
.section-lead { color: var(--muted); max-width: 46rem; margin: 0 0 36px; font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--brand-ink); font-weight: 800; font-size: .9rem; letter-spacing: .04em; margin-bottom: 8px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 0%, #24324d 0%, var(--night) 60%); color: #fff; padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #ffb48a; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); margin: 0 0 18px; letter-spacing: -0.025em; }
.hero .lead { color: #cdd5e2; font-size: 1.1rem; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: #9ba7ba; font-size: .9rem; margin-top: 18px; }
.hero figure { margin: 0; }
.hero figure img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.hero figcaption { color: #9ba7ba; font-size: .85rem; text-align: center; margin-top: 10px; }

/* overview */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.pillar .badge { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; }
.pillar h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.pillar p { margin: 0; color: #343c4b; }
.pillar small { display: block; margin-top: 10px; color: var(--muted); }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 8px; }
.feature.reverse .feature-media { order: -1; }
.feature.stack { grid-template-columns: 1fr; gap: 22px; }
.feature-no { color: var(--brand-ink); font-weight: 800; font-size: .85rem; letter-spacing: .08em; }
.feature h3 { font-size: 1.4rem; margin: 4px 0 10px; }
.feature p { margin: 0 0 12px; color: #343c4b; }
.feature ol, .feature ul { margin: 0 0 12px; padding-left: 1.3em; color: #343c4b; }
.feature li { margin: 3px 0; }
.feature-media figure { margin: 0; }
.feature-media img { display: block; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
figcaption { color: var(--muted); font-size: .88rem; text-align: center; margin-top: 8px; }
.note { color: var(--muted); font-size: .92rem; }
.example { background: var(--brand-soft); border-radius: 10px; padding: 12px 16px; margin: 12px 0 0; }
.example p { margin: 0; }
.example p + p { margin-top: 6px; }
ul.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
ul.chips li { margin: 0; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .92rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.panel h4 { margin: 0 0 8px; font-size: .95rem; color: var(--brand-ink); }
.panel + .panel { margin-top: 12px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; }
.flow .panel { margin: 0; }
.flow .panel ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.flow-arrow { align-self: center; color: var(--brand); font-size: 1.5rem; font-weight: 800; }
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.types .panel { margin: 0; padding: 14px 16px; }
.types ul { margin: 0; padding-left: 1.1em; font-size: .9rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 10px; text-align: center; }
.stat b { display: block; font-size: 1.55rem; }
.stat span { color: var(--muted); font-size: .9rem; }
.bars { display: grid; gap: 7px; margin-top: 18px; }
.bar { display: grid; grid-template-columns: 10.5rem 1fr 3.4rem; align-items: center; gap: 10px; font-size: .9rem; }
.bar i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--brand), #ffab78); }
.bar em { font-style: normal; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.pictures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.steps h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.steps p { margin: 0; color: #343c4b; }
.callout { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; background: #eef7f2; border: 1px solid #cde6d8; border-radius: var(--radius); padding: 20px 24px; }
.callout b { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.callout p { margin: 0; color: #2f3b36; }
.callout .icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #2e8b57; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px 26px; }
.plan.best { border: 2px solid var(--brand); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-alt { color: var(--muted); margin: 4px 0 0; }
.plan .save { display: inline-block; margin-top: 8px; color: var(--brand-ink); background: var(--brand-soft); border-radius: 6px; padding: 2px 8px; font-size: .88rem; font-weight: 700; }
.plan ul { margin: 18px 0 0; padding-left: 1.2em; color: #343c4b; }
.pricing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; margin: 14px 0 0; }
.policy { max-width: 780px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 28px 18px; }
.policy h3 { font-size: 1.05rem; margin: 20px 0 6px; }
.policy p { margin: 0 0 8px; color: #2e3646; }
.policy .strong { color: var(--ink); font-weight: 700; }

/* requirements */
.req { display: grid; grid-template-columns: 11rem 1fr; margin: 0; border-top: 1px solid var(--line); }
.req dt, .req dd { margin: 0; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.req dt { font-weight: 700; }
.req dd { color: #343c4b; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 4px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 10px 0 0; color: #343c4b; }

/* footer */
.site-footer { background: var(--night); color: #a9b3c3; font-size: .9rem; padding: 40px 0 34px; }
.site-footer a { color: #e7ecf3; }
.site-footer p { margin: 0 0 10px; }
.footer-brand strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 16px; }
.bizinfo { line-height: 1.85; }
.copyright { color: #7d889a; margin-top: 14px; }

/* simple pages (download, account, link, pay, terms, privacy) */
.page { max-width: 46rem; margin: 40px auto 72px; padding: 0 20px; }
.page h1 { font-size: 1.8rem; margin: 0 0 16px; }
.page h2 { font-size: 1.25rem; margin: 32px 0 10px; }
button { font: inherit; padding: .5em 1.05em; border-radius: 8px; border: 1px solid #cdd3dd; background: #fff; color: var(--ink); cursor: pointer; }
button:hover { border-color: var(--brand); }
button:disabled { opacity: .5; cursor: not-allowed; }
input { font: inherit; padding: .5em .65em; border: 1px solid #cdd3dd; border-radius: 8px; max-width: 100%; }
.code { font-size: 2rem; letter-spacing: .15em; font-weight: bold; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: .3rem 1.1rem; margin: .8rem 0; background: #fff; }
.card .title { font-weight: bold; }
.notice { background: var(--brand-soft); border-radius: 10px; padding: 12px 16px; margin: 12px 0; }
.notice p { margin: 0 0 6px; }
.notice p:last-child { margin-bottom: 0; }
.doc { font-size: .97rem; }
.doc .meta { color: var(--muted); }
.doc h2 { font-size: 1.12rem; margin: 30px 0 8px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 10px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); }
.table-scroll { overflow-x: auto; }
.editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 8px; }
.edition { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 24px; }
.page .edition h2 { margin: 0 0 6px; }
.edition p { margin: 0 0 14px; color: #343c4b; }
.edition .release { margin-top: auto; color: var(--muted); font-size: .95rem; }
.edition .btn { align-self: flex-start; }

@media (max-width: 880px) {
  .hero-grid, .feature, .pillars, .steps, .plans { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { justify-self: center; transform: rotate(90deg); }
  .nav-sec { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0 56px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .editions { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 7.5rem 1fr 3rem; }
  .req { grid-template-columns: 1fr; }
  .req dt { border-bottom: 0; padding-bottom: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stat b { font-size: 1.25rem; }
}
