/* whodun.ai 소개 페이지 — 앱(Flutter)과 같은 어두운 바탕, 강조색은 앱 seedColor #E05545 */
:root {
  --bg: #120f10;
  --surface: #1d1819;
  --line: #3a2f30;
  --text: #f1e9e7;
  --muted: #b8a9a6;
  --accent: #e05545;
  --accent-soft: #f2b8ae;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
}

a { color: var(--accent-soft); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand { font-weight: 800; font-size: 20px; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
.brand small { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 8px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 14px; }
nav a:hover { color: var(--text); }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.2; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 0 28px; }

.badge {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); font-size: 13px; margin-bottom: 20px;
}

.cast {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 8px 0 0;
}
.cast figure { margin: 0; }
.cast img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; display: block;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.cast figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cast figcaption b { color: var(--text); font-weight: 600; margin-right: 6px; }

section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 24px; margin: 0 0 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.roles span {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px;
}
.roles span.wolf { border-color: var(--accent); color: var(--accent-soft); }

.note { color: var(--muted); font-size: 14px; }

footer {
  border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px;
}
footer a { color: var(--muted); margin-right: 14px; }

.doc { padding: 40px 0 64px; max-width: 760px; }
.doc h1 { font-size: 28px; margin: 0 0 8px; }

@media (max-width: 720px) {
  .cast { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  nav a { margin-left: 12px; }
}
