:root {
  color-scheme: light;
  --rose-dark: #a52f55;
  --rose: #c9576d;
  --rose-light: #ffd6df;
  --rose-lighter: #fff0f3;
  --ink: #28323f;
  --muted: #5f6b78;
  --line: #ead8dd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #faf7f5;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffb7c5 0%, #ffd6df 52%, #fff0f3 100%);
  padding: 15px 22px;
}

header a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7a1f3e;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

header img {
  width: 142px;
  height: auto;
}

main {
  width: min(780px, calc(100% - 32px));
  margin: 36px auto;
  padding-bottom: 56px;
}

h1 {
  margin: 0 0 7px;
  color: #7a1f3e;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.15;
}

h2 {
  margin: 30px 0 9px;
  color: var(--rose-dark);
  font-size: 18px;
  line-height: 1.35;
}

h3 {
  margin: 20px 0 7px;
  color: var(--ink);
  font-size: 15px;
}

p,
li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

ul,
ol {
  margin: 8px 0;
  padding-left: 22px;
}

li {
  margin-bottom: 5px;
}

a {
  color: var(--rose-dark);
}

.updated {
  margin: 0 0 28px;
  color: #87919d;
  font-size: 13px;
}

.box {
  margin: 20px 0;
  border: 1px solid var(--rose-light);
  border-radius: 13px;
  background: var(--rose-lighter);
  padding: 16px 18px;
}

.box p {
  margin: 0;
}

.notice {
  border-left: 4px solid var(--rose);
}

.table-wrap {
  overflow-x: auto;
  margin: 15px 0;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
}

th,
td {
  border-bottom: 1px solid #f0e5e8;
  padding: 10px 11px;
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--rose-light);
  color: #7a1f3e;
  font-weight: 700;
}

.button {
  display: inline-block;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9576d, #8f274a);
  padding: 11px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #87919d;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

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

  header img {
    width: 128px;
  }

  main {
    margin-top: 26px;
  }
}
