@charset "utf-8";

@import url('https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/static/woff2/SUIT.css');
@import url('https://cdn.jsdelivr.net/gh/sunghyunzz/eulyoo1945/eulyoo1945.css');

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'SUIT', sans-serif, system-ui;
  font-size: 100%;
  padding: 24px;
  background-color: #cacaca;
  color: #1f1f1f;
  line-height: 1.8;
}

p {
  word-break: keep-all;
  font-family: 'Eulyoo1945', serif;
  color: #333;
}

header {
  padding: 1rem;
  text-align: center;
}

img {
  display: block;
  width: 100%;
  max-width: 512px;
  height: auto;
  margin-bottom: 1rem;
}

a {
  color: #483D8B;
  text-decoration: none;
}

ul {
  display: block;
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 24px;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
}

blockquote {
  margin: 0px auto;
  padding: 0px;
}

blockquote p::before {
  content: '\201C';
}

blockquote p::after {
  content: '\201D';
}

blockquote + p {
  text-align: right;
}

#copy-button {
  cursor: pointer;
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

#copy-button:hover {
  background-color: #45a049;
}

/* ── 레이아웃 ─────────────────────────── */
main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 8rem;
}

main > section {
  margin-top: 4rem;
}

/* ── 성명서 카드 ───────────────────────── */
.statement {
  padding: 16px 24px 32px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.statement p {
  margin: 0 0 0.6em;
}

.center {
  text-align: center;
}

.indent {
  text-indent: 0.5em;
}

.statement .lead {
  margin-top: 2em;
}

.statement .lead + .center {
  margin-bottom: 3em;
}

.statement .subhead {
  margin-top: 2.2em;
}

.statement .sign {
  margin-top: 4em;
}

@media (max-width: 520px) {
  body {
    padding: 16px;
  }

  .statement {
    padding: 12px 16px 24px;
  }
}
