:root {
  color-scheme: light dark;
  --bg: #f7f8fa;
  --surface: rgba(255, 255, 255, 0.78);
  --text: #18181a;
  --muted: #65656b;
  --subtle: #929299;
  --line: rgba(24, 24, 26, 0.1);
  --accent: #d8613a;
}

* { box-sizing: border-box; }

html { overflow-x: clip; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.75 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 3px;
}

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

header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

header > a {
  color: var(--text);
  font-weight: 720;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
}

nav a:hover { color: var(--text); }

main { padding: 68px 0 100px; }

h1 {
  margin: 8px 0 22px;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 38px 0 9px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: 0;
}

p,
li { color: var(--muted); }

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

.meta {
  margin: 0;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 650;
}

.notice {
  margin: 28px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

footer {
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

@media (max-width: 600px) {
  header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 20px 0;
  }

  main { padding: 48px 0 72px; }
  h1 { font-size: 38px; }
  h2 { margin-top: 32px; font-size: 19px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: rgba(255, 255, 255, 0.07);
    --text: #f4f4f5;
    --muted: #b0b0b6;
    --subtle: #77777f;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #f1835b;
  }
}
