/* Doc Viewer site: stylesheet for the landing pages (en, ko). The privacy page keeps its own inline style. */
:root {
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --fg: #1b2540;
  --muted: #5b6780;
  --line: #e3e7ef;
  --accent: #2e6fd8;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 8px 24px rgb(16 24 40 / 8%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11151f;
    --bg-soft: #171d2a;
    --fg: #e8ecf4;
    --muted: #a3adc2;
    --line: #2a3348;
    --accent: #6aa3f0;
    --accent-fg: #0b1220;
    --card: #1a2131;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 35%);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

a { color: var(--accent); overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap; flex: none; }
.brand img { width: 28px; height: 28px; }
.links { display: flex; gap: 16px; font-size: 0.95em; flex-wrap: wrap; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--fg); }
.lang { color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.lang b { color: var(--fg); font-weight: 600; }
@media (max-width: 640px) {
  .top { flex-wrap: wrap; }
  .links { width: 100%; gap: 12px; }
  .lang { padding-left: 0; border-left: 0; }
}

/* hero */
.hero { text-align: center; padding: 40px 0 24px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }

.buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--card);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn:hover { filter: brightness(1.05); }
.small { font-size: 0.9em; color: var(--muted); margin-top: 12px; }
.small a { color: inherit; }

.shot {
  margin: 36px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}

/* sections */
section.block { padding: 56px 0; }
section.block.soft { background: var(--bg-soft); }
section.block h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 8px; text-align: center; }
section.block p.sub { text-align: center; color: var(--muted); margin: 0 auto 32px; max-width: 640px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.gallery figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; text-align: center; }

table { border-collapse: collapse; width: 100%; margin: 12px 0; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }

.os { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.os .card a.btn { margin-top: 14px; }
.os .note { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }

details { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--card); margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }

