/* ===== Design tokens ===== */
:root {
  --ink:        #16233F;
  --ink-sub:    #42536E;
  --ink-mute:   #8996A9;
  --base:       #EDF1F8;
  --pale:       #F5F7FB;
  --white:      #FFFFFF;
  --accent:      #E8A33D;
  --accent-deep: #B8770F;
  --accent-soft: #FDF4E4;
  --accent-ink:  #3A2705;
  --line:       #DDE3EC;

  --radius: 12px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  /* Korean text breaks at any syllable by default — keep words/particles
     intact and only wrap at spaces, like Latin text. */
  word-break: keep-all;
  overflow-wrap: break-word;
}

.nowrap { white-space: nowrap; }

h1, h2, h3 { color: var(--ink); margin: 0 0 .6em; line-height: 1.4; }
h2 { font-size: 22px; }
@media (min-width: 768px) { h2 { font-size: 21px; } }

p { margin: 0 0 1em; color: var(--ink-sub); }

.label {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .02em;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.accent-underline {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.text-accent { color: var(--accent-deep); }
.bg-accent-soft { background: var(--accent-soft); }
