:root {
  --navy: #0d1b4a;
  --orange: #f57a14;
  --orange-dark: #c95f08;
  --green: #2e9e4f;
  --text: #1f2740;
  --muted: #5a6382;
  --line: #e3e6f0;
  --soft: #f6f7fb;
  --bg: #ffffff;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a { color: inherit; }

img { max-width: 100%; height: auto; display: block; }

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

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { flex: none; }
.brand img { width: 168px; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--muted); white-space: nowrap; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--navy); }
.site-nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--navy); }

/* hero */
.hero { padding: 104px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--orange-dark); margin: 0 0 16px; }
.hero h1 { margin: 0; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.22; letter-spacing: -0.02em; color: var(--navy); max-width: 16em; }
.hero .lead { margin: 24px 0 0; font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.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; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: #1a2d6e; }
.btn-ghost { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--navy); }

/* sections */
section { padding: 88px 0; }
section + section { border-top: 1px solid var(--line); }
.section-title { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.3; letter-spacing: -0.01em; color: var(--navy); }
.section-lead { margin: 0 0 40px; color: var(--muted); max-width: 40em; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about p { margin: 0 0 16px; }
.name-card { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.name-card dl { margin: 0; display: grid; gap: 20px; }
.name-card dt { font-weight: 800; color: var(--navy); font-size: 20px; }
.name-card dt span { color: var(--orange-dark); }
.name-card dt.vault span { color: var(--green); }
.name-card dd { margin: 4px 0 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.card .num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: #fff1e5; color: var(--orange-dark); font-weight: 800; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.info { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.info th, .info td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.info th { width: 180px; color: var(--navy); font-weight: 700; white-space: nowrap; }
.note { margin: 20px 0 0; padding: 16px 20px; border-radius: 12px; background: #fff7ef; color: #7a4a1c; font-size: 15px; }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-box h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.contact-box p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.mail { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; color: var(--navy); text-decoration: none; word-break: break-all; }
.mail:hover, .mail:focus-visible { color: var(--orange-dark); }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--soft); text-decoration: none; font-weight: 600; }
.social a span { color: var(--muted); font-weight: 500; }
.social a:hover, .social a:focus-visible { background: #eef0f8; }

/* footer */
.site-footer { background: var(--navy); color: #c9cfe6; padding: 48px 0; font-size: 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer strong { color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

@media (max-width: 860px) {
  .about, .contact { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand img { width: 140px; }
  .hero { padding: 72px 0 64px; }
  section { padding: 64px 0; }
  .info th { width: 96px; white-space: normal; }
  .info th, .info td { padding: 14px 8px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.product img { width: 96px; height: 96px; border-radius: 22px; flex: none; }
.product .kind { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--green); }
.product h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.product p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.product-link { font-weight: 700; color: var(--navy); text-decoration-color: var(--orange); text-underline-offset: 4px; }
.product-link:hover, .product-link:focus-visible { color: var(--orange-dark); }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .product { flex-direction: column; } .product img { width: 72px; height: 72px; border-radius: 16px; } }

/* notice */
.info thead th { background: var(--soft); }
.info td.empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.site-nav a[aria-current="page"] { color: var(--navy); }
.site-footer a { color: #fff; }

/* narrow screens: keep notices + language in the header, sections are one scroll away */
@media (max-width: 900px) {
  .site-nav { gap: 16px; }
  .site-nav a:not(.lang):not([href="/notice/"]) { display: none; }
}

/* long-form pages (privacy) */
.doc h2 { margin: 40px 0 12px; font-size: 21px; color: var(--navy); }
.doc p, .doc li { color: var(--text); }
.doc ul { margin: 0 0 16px; padding-left: 20px; }
.doc .info { margin: 8px 0 8px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .info { min-width: 640px; }
.table-scroll .info th { white-space: nowrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
