:root {
  --bg-color: #0f0f0f;
  --text-main: #f0f0f0;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.45);
  --accent: #ffffff;
  --border-color: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  padding: 40px 20px 80px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
}

header {
  margin-bottom: 36px;
}

h1 {
  font-size: 2.0rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.0rem;
  margin-bottom: 24px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.guide-page h2 {
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 6px;
}

p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 10px;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 10px;
}

ol {
  padding-left: 20px;
  margin-top: 10px;
}

li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

li:last-child {
  margin-bottom: 0;
}

ul li {
  position: relative;
  padding-left: 20px;
}

ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
}

.legal-flow {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-page .legal-flow {
  gap: 32px;
}

.legal-flow a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-flow a:hover {
  opacity: 0.75;
}

.footer-nav {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-copy {
  text-align: center;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
