

:root {
  --bg-primary: #111318;
  --bg-secondary: #1B1E24;

  --text-primary: #F5F5F5;
  --text-secondary: #C8CCD2;

  --accent: #D4A76A;
  --accent-hover: #c79a5d;

  --border: rgba(255,255,255,.08);

  --container: 860px;
  --radius: 18px;

  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity .2s ease;
}

a:hover {
  opacity: .88;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 22px 40px;

  background: rgba(17,19,24,.88);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;

  color: var(--text-primary);
  text-decoration: none;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.back-link {
  color: var(--text-secondary);
  font-size: 13px;
}

/* MAIN */

main {
  width: 100%;
  max-width: var(--container);

  margin: 0 auto;
  padding: 72px 28px 120px;
}

h1 {
  margin: 0 0 14px;

  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}

.doc-meta {
  margin-bottom: 56px;

  color: rgba(255,255,255,.45);

  font-size: 13px;
  letter-spacing: .04em;
}

.alert {
  padding: 28px 30px;
  margin-bottom: 48px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: rgba(255,255,255,.025);
}

.alert p {
  margin: 0;
}

h2 {
  margin: 72px 0 18px;

  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;

  color: var(--text-primary);
}

p {
  margin: 0 0 18px;

  color: var(--text-secondary);
  font-size: 16px;
}

ul,
ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

li {
  margin-bottom: 10px;

  color: var(--text-secondary);
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* TABLES */

table {
  width: 100%;

  margin: 28px 0 32px;

  border-collapse: collapse;

  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background: rgba(255,255,255,.02);
}

th {
  padding: 18px;

  background: rgba(255,255,255,.03);

  color: var(--accent);

  text-align: left;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

td {
  padding: 18px;

  border-top: 1px solid var(--border);

  color: var(--text-secondary);

  font-size: 14px;
  vertical-align: top;
}

/* FOOTER */

.site-footer {
  padding: 34px 24px;

  border-top: 1px solid var(--border);

  text-align: center;

  color: rgba(255,255,255,.4);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

/* MOBILE */

@media (max-width: 768px) {

  .site-header {
    padding: 18px 20px;
  }

  .logo-text {
    font-size: 16px;
  }

  main {
    padding: 52px 20px 90px;
  }

  h1 {
    font-size: 34px;
  }

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

  table {
    display: block;
    overflow-x: auto;
  }

  th,
  td {
    min-width: 220px;
  }
}