:root {
  color-scheme: dark;
  --background: #03060d;
  --surface: #0d1421;
  --surface-strong: #141c2a;
  --line: #283142;
  --text: #f5f7fb;
  --muted: #aab2c3;
  --gold: #e9d58f;
  --cyan: #6bc8d8;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Noto Sans KR", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: var(--gold);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #f6e7ad;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
main,
.site-footer__inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--gold);
}

main {
  padding: 72px 0 88px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  line-height: 1.25;
}

h1 {
  max-width: 680px;
  font-size: clamp(36px, 8vw, 56px);
}

h2 {
  margin-top: 52px;
  font-size: 26px;
}

p,
ul {
  margin: 16px 0 0;
}

.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 20px;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.summary div {
  min-height: 116px;
  padding: 22px;
  background: var(--surface);
}

.summary dt {
  color: var(--muted);
  font-size: 14px;
}

.summary dd {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.action {
  display: inline-flex;
  min-height: 48px;
  margin-top: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--gold);
  color: #10131a;
  font-weight: 750;
  text-decoration: none;
}

.action:hover {
  background: #f6e7ad;
  color: #10131a;
}

.notice {
  margin-top: 32px;
  padding: 20px 22px;
  border-left: 3px solid var(--cyan);
  background: var(--surface);
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

code {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 68px;
  }

  nav {
    gap: 14px;
  }

  main {
    padding: 52px 0 68px;
  }

  .summary {
    grid-template-columns: 1fr;
  }

  .summary div {
    min-height: auto;
  }

  .site-footer__inner {
    padding: 24px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
