/* KOR — legal site tokens (mirror constants/theme.ts) */
:root {
  --bg: #141C25;
  --surface: #1E2E40;
  --acero: #7BA7D4;
  --text: #E8EDF5;
  --text-secondary: #8FA8BF;
  --text-muted: #4D6478;
  --border: #2A3F55;
  --error: #E05C5C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--acero); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--acero); }

.brand .o {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  border: 3px solid var(--acero);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 1px 3px;
  box-shadow: 0 0 0 1px rgba(123, 167, 212, 0.35);
}

.lang {
  font-size: 13px;
  color: var(--text-secondary);
}

nav.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 32px;
  font-size: 14px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

h2 {
  font-size: 18px;
  font-weight: 650;
  margin: 28px 0 10px;
  color: var(--text);
}

p, li { color: var(--text-secondary); font-size: 15px; margin-bottom: 12px; }

ul { padding-left: 1.25em; margin-bottom: 16px; }
li { margin-bottom: 6px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.card h2 { margin-top: 0; }

.cta {
  display: inline-block;
  background: var(--acero);
  color: var(--bg);
  font-weight: 650;
  padding: 12px 20px;
  border-radius: 10px;
  margin: 8px 0 4px;
  text-decoration: none;
}
.cta:hover { text-decoration: none; filter: brightness(1.05); }

.cta-secondary {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 10px;
  margin: 8px 8px 4px 0;
  text-decoration: none;
}
.cta-secondary:hover { border-color: var(--acero); text-decoration: none; }

.hero {
  text-align: center;
  padding: 48px 0 32px;
}
.hero .brand { font-size: 48px; display: inline-block; margin-bottom: 16px; }
.hero p { font-size: 17px; max-width: 420px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.danger { color: var(--error); }
