/* compass.daonsol.dev: same palette as the app's "precision instrument" dial. */
:root {
  --bg: #0b0e11;
  --face: #0f1317;
  --card: #161c22;
  --line: rgba(238, 242, 246, 0.12);
  --text: #f1f4f7;
  --muted: rgba(238, 242, 246, 0.7);
  --north: #ff4b3e;
  --good: #3fbf85;
  --target: #ffb547;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(238, 242, 246, 0.4); }
a:hover { text-decoration-color: var(--north); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
header.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
header.top .brand img { width: 28px; height: 28px; border-radius: 8px; }
header.top nav { display: flex; gap: 16px; font-size: 14px; }
header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover, header.top nav a[aria-current] { color: var(--text); }

.hero { display: flex; gap: 28px; align-items: center; padding: 56px 0 40px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; flex: none; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.hero h1 { margin: 0 0 6px; font-size: 34px; line-height: 1.25; letter-spacing: -0.01em; }
.hero p { margin: 0; color: var(--muted); font-size: 18px; }
.badge {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 40px; }
.feature { background: var(--card); border-radius: 14px; padding: 18px 20px; }
.feature h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.feature h3::before { content: ""; width: 7px; height: 7px; margin-top: 0.55em; border-radius: 50%; background: var(--north); flex: none; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.doc { padding: 40px 0 24px; }
.doc h1 { font-size: 28px; margin: 0 0 4px; line-height: 1.3; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 18px; margin: 36px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.doc p, .doc li { color: rgba(241, 244, 247, 0.9); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--muted); font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.summary { background: var(--card); border-radius: 14px; padding: 16px 20px; margin: 0 0 8px; }
.summary p { margin: 0; }

footer { border-top: 1px solid var(--line); padding: 20px 0 40px; color: var(--muted); font-size: 13.5px; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 20px; padding: 36px 0 28px; }
  .hero img { width: 96px; height: 96px; border-radius: 22px; }
  .hero h1 { font-size: 28px; }
  .features { grid-template-columns: 1fr; }
  header.top nav { gap: 12px; }
}
