:root {
  --bg: #0e121a;
  --panel: #161d2b;
  --card: #1f2944;
  --border: rgba(230, 233, 243, 0.08);
  --text: #e6e9f3;
  --muted: #a5afc4;
  --accent: #ff6b36;
  --max-width: 840px;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, rgba(43, 55, 82, 0.45), transparent 55%), var(--bg);
  display: flex;
  flex-direction: column;
}

main {
  width: min(100%, var(--max-width));
  margin: 56px auto;
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(45, 58, 86, 0.65), rgba(18, 24, 36, 0.85));
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

h1 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 2.8vw, 2.75rem);
}

h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: var(--accent);
}

p,
li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}

ul,
ol {
  padding-left: 20px;
}

section + section {
  margin-top: 24px;
}

.header,
.footer {
  width: min(100%, var(--max-width));
  margin: 32px auto 0;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.header {
  margin-top: 32px;
}

.footer {
  margin-bottom: 48px;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.header__brand:hover {
  color: var(--accent);
}

.header__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

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

a:hover {
  text-decoration: underline;
}

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

@media (max-width: 720px) {
  main {
    margin: 32px 16px;
    padding: 28px;
  }

  .header,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
