:root {
  --bg: #0f1117;
  --surface: #161a23;
  --card: #1c202b;
  --text: #f3ead6;
  --muted: #c3c0cb;
  --dim: #8b8fa8;
  --border: #2a2f3b;
  --accent: #e8a838;
  --accent-deep: #d4920a;
  --danger: #f07d6d;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(232, 168, 56, 0.12), transparent 28%),
    linear-gradient(180deg, #0f1117 0%, #121621 100%);
  color: var(--muted);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  margin-bottom: 18px;
  padding: 24px;
  background: rgba(22, 26, 35, 0.88);
  border: 1px solid rgba(232, 168, 56, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0f1117;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-copy span {
  display: block;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
}

.hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.68;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(28, 32, 43, 0.8);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.chip:hover {
  border-color: rgba(232, 168, 56, 0.55);
  color: var(--text);
}

.chip.is-active {
  border-color: rgba(232, 168, 56, 0.55);
  background: rgba(232, 168, 56, 0.14);
  color: var(--text);
}

.notice {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(232, 168, 56, 0.22);
  background: rgba(232, 168, 56, 0.08);
  line-height: 1.6;
}

.notice strong {
  color: var(--text);
}

.notice--danger {
  border-color: rgba(240, 125, 109, 0.24);
  background: rgba(240, 125, 109, 0.08);
}

.grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(28, 32, 43, 0.9);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.section {
  padding-top: 16px;
  border-top: 1px solid rgba(139, 143, 168, 0.18);
}

.section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.section + .section {
  margin-top: 16px;
}

.section h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.section p,
.section li {
  margin: 0;
  line-height: 1.7;
}

.section p + p,
.section ul,
.section ol {
  margin-top: 10px;
}

.section ul,
.section ol {
  padding-left: 18px;
}

.meta {
  margin-top: 18px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  margin-top: 18px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.table {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.row {
  padding: 14px 16px;
  border: 1px solid rgba(139, 143, 168, 0.18);
  border-radius: 16px;
  background: rgba(15, 17, 23, 0.6);
}

.row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #0f1117;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 960px);
    padding-top: 20px;
  }

  .hero,
  .card {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
