:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b6070;
  --line: #e3e1da;
  --accent: #0f6e5c;
  --accent-ink: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(247, 246, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 10px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.site-nav a:hover { color: var(--ink); background: rgba(0,0,0,.05); }

/* Hero */
.hero { padding: 120px 0 96px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 24px; max-width: 16ch; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40em; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2a2e37; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); }

/* Sections */
section { padding: 88px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; }
section .intro { color: var(--muted); max-width: 42em; margin: 0 0 40px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 19px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e7f1ee; color: var(--accent); font-weight: 800; margin-bottom: 18px; }

.app-empty { background: var(--surface); border: 1px dashed #c9c6bc; border-radius: var(--radius); padding: 40px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.app-empty strong { font-size: 20px; display: block; margin-bottom: 4px; }
.app-empty span { color: var(--muted); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { background: #16181d; color: #c9ccd4; padding: 56px 0 40px; font-size: 14px; line-height: 1.8; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-mark { background: #fff; color: var(--ink); }
.biz { margin: 0 0 20px; }
.biz span { display: inline-block; margin-right: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
.footer-links a { color: #fff; text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.copy { color: #8b909c; margin: 0; }

/* Policy page */
.doc { padding: 72px 0 96px; }
.doc h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 12px; }
.doc .meta { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; }
.doc p, .doc li { max-width: 46em; }
.doc ul { padding-left: 1.2em; }
.doc table { border-collapse: collapse; width: 100%; max-width: 46em; margin: 12px 0; font-size: 15px; background: var(--surface); }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: #efede7; }
.doc .lang-switch { margin-bottom: 32px; }
.doc .lang-switch a { color: var(--accent); }
.doc section { border-top: 0; padding: 0; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 64px; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-nav a { padding: 12px 8px; font-size: 14px; }
  .btn { width: 100%; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.site-footer :focus-visible { outline-color: #7fe0c8; }
