:root {
  --color-primary: #fbd406;
  --color-secondary: #111111;
  --color-bg: #ffffff;
  --color-surface: #f7f7f5;
  --color-text: #111111;
  --color-text-muted: #5b5b5b;
  --color-border: #eaeaea;
  --radius: 16px;
  --max-width: 640px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #111111;
    --color-surface: #1a1a1a;
    --color-text: #f5f5f5;
    --color-text-muted: #b3b3b3;
    --color-border: #2a2a2a;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", Roboto, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px 0 32px;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.app-icon img,
.app-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}

.hero p.tagline {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.card h2 {
  margin-top: 0;
  font-size: 18px;
}

.contact-email {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  margin-top: 8px;
}

.button:active {
  opacity: 0.85;
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.link-list a .arrow {
  color: var(--color-text-muted);
  font-weight: 400;
}

footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}

footer a {
  color: var(--color-text-muted);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.doc-header {
  margin-bottom: 24px;
}

.doc-header h1 {
  margin: 0 0 8px;
  font-size: 24px;
}

.doc-meta {
  color: var(--color-text-muted);
  font-size: 13px;
}

.notice-list {
  padding-left: 20px;
  margin: 0;
}

.notice-list li {
  margin-bottom: 10px;
}

.card h3 {
  font-size: 15px;
  margin: 20px 0 10px;
}

.card h3:first-child {
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
}

.info-list dt {
  color: var(--color-text-muted);
  min-width: 64px;
}

.info-list dd {
  margin: 0;
  font-weight: 600;
}

.card p strong {
  color: var(--color-text);
}

.placeholder {
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  text-align: center;
}

.todo-note {
  background: rgba(251, 212, 6, 0.15);
  border: 1px solid var(--color-primary);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--color-text);
  margin-top: 16px;
}
