/* 관문과 기능 화면이 함께 쓰는 기본 모양 */
:root {
  --bg: #faf8fd;
  --card: #fff;
  --text: #2b2338;
  --muted: #6f6680;
  --accent: #7c5cbf;
  --border: #e6def3;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 8px;
}

h1 { margin: 0; font-size: 1.5rem; }

main { padding: 8px 16px 32px; max-width: 640px; }

a.back { color: var(--accent); text-decoration: none; font-size: 1.25rem; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}
.feature-card:active { background: var(--border); }
.feature-card small { display: block; color: var(--muted); }
.feature-icon { font-size: 1.75rem; }

.placeholder { color: var(--muted); padding: 48px 0; text-align: center; }

/* 화면에서는 감추되 눌림·읽힘은 살린다 (file input을 label로 여는 경우 등) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}
