/* KAIROSS Website - Common Stylesheet
 * Clean, minimal, accessible design
 */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --text: #111418;
  --text-muted: #5a6470;
  --text-soft: #8b95a3;
  --border: #e6e9ef;
  --accent: #1a3a8f;
  --accent-soft: #eef2fb;
  --radius: 12px;
  --container: 1100px;
  --font: -apple-system, BlinkMacSystemFont, 'Pretendard', 'Segoe UI',
          'Noto Sans KR', 'Apple SD Gothic Neo', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255,255,255,0.85);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }
.nav a {
  margin-left: 24px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  line-height: 1.15;
}
.hero p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 640px;
}
.hero .meta {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-soft);
}

/* Section */
section { padding: 80px 0; }
section.alt { background: var(--bg-soft); }
section h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
section .lead {
  color: var(--text-muted);
  margin: 0 0 40px;
  max-width: 700px;
  font-size: 16px;
}

/* Grid */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.card .tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  width: 160px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 48px 0 56px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer .brand { color: var(--text); margin-bottom: 12px; display: block; }
.site-footer .biz-info { margin: 8px 0 16px; }
.site-footer .copyright {
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 12px;
}

/* Document pages (privacy, terms) */
.doc {
  padding: 64px 0;
}
.doc h1 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.doc .updated {
  color: var(--text-soft);
  font-size: 13px;
  margin-bottom: 40px;
}
.doc h2 {
  font-size: 18px;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.doc p, .doc li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}
.doc ul { padding-left: 22px; }
.doc .back {
  display: inline-block;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .nav a { margin-left: 14px; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
}
