:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --navy: #172b4d;
  --line: #d8dee7;
  --background: #f4f6f8;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
}

a {
  color: var(--navy);
}

header,
main,
footer {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--navy);
}

svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.back-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.notice {
  margin: 35px 0 45px;
  padding: 16px 18px;
  border: 1px solid #efd58c;
  border-radius: 12px;
  color: #684f0b;
  background: #fff9e8;
  font-size: 13px;
  line-height: 1.55;
}

.notice strong {
  display: block;
  margin-bottom: 3px;
}

.legal-heading {
  margin-bottom: 28px;
}

.legal-heading p {
  margin: 0 0 8px;
  color: #637491;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(38px, 7vw, 58px);
  letter-spacing: -0.045em;
}

.legal-heading span {
  color: var(--muted);
  font-size: 12px;
}

.contents {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
}

.contents a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

article {
  margin-bottom: 22px;
  padding: clamp(25px, 5vw, 48px);
  border: 1px solid #dfe4eb;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 42px rgba(15, 31, 55, 0.055);
  scroll-margin-top: 20px;
}

h2 {
  margin: 0 0 35px;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -0.03em;
}

h3 {
  margin: 31px 0 8px;
  font-size: 15px;
}

p,
li {
  color: #526071;
  font-size: 13px;
  line-height: 1.7;
}

ul {
  padding-left: 20px;
}

strong {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 11px;
}

footer a {
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  .contents {
    align-items: stretch;
    flex-direction: column;
  }

  .contents a {
    text-align: center;
  }

  article {
    border-radius: 16px;
  }
}
