:root {
  color-scheme: light;
  --brand: #7047eb;
  --ink: #20212a;
  --muted: #646675;
  --line: #e8e8ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
}
header,
main,
footer {
  max-width: 1000px;
  margin: auto;
  padding: 24px;
}
header a {
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
}
main {
  padding-top: 48px;
  min-height: 75vh;
}
.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 20px;
}
.intro,
.footnote,
footer {
  color: var(--muted);
}
form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin: 32px 0;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
input,
select,
button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
button {
  color: #fff;
  background: var(--brand);
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
details {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 12px 0;
  overflow: hidden;
}
summary {
  padding: 20px;
  cursor: pointer;
  overflow-wrap: anywhere;
  font-weight: 600;
}
pre {
  padding: 20px;
  margin: 0;
  background: #f8f8fb;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
}
iframe {
  width: 100%;
  height: 70vh;
  border: 0;
}
.footnote {
  font-size: 13px;
  margin-top: 40px;
}
@media (max-width: 540px) {
  label,
  button {
    width: 100%;
  }
  main {
    padding-top: 24px;
  }
}
