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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.7;
  font-size: 16px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.logo {
  text-align: center;
  margin-bottom: 32px;
}

.logo a {
  font-size: 24px;
  font-weight: 800;
  color: #0b1d35;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo a .e {
  color: #ff6b35;
  font-style: italic;
  font-weight: 700;
}

.doc-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e4eef8;
}

.doc-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #0b1d35;
  margin-bottom: 8px;
  line-height: 1.3;
}

.doc-header .meta {
  font-size: 14px;
  color: #5a7ba6;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  color: #1a3a6b;
  margin: 32px 0 12px;
}

h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0b1d35;
  margin: 24px 0 8px;
}

p {
  margin-bottom: 12px;
  color: #374151;
}

ul, ol {
  margin: 8px 0 16px 24px;
  color: #374151;
}

li {
  margin-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

table th,
table td {
  padding: 10px 14px;
  text-align: left;
  border: 1px solid #e4eef8;
}

table th {
  background: #e4eef8;
  font-weight: 600;
  color: #1a3a6b;
}

table td {
  color: #374151;
}

.info-block {
  background: #fff1e8;
  border-left: 4px solid #ff6b35;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.info-block p {
  margin-bottom: 4px;
  color: #1a3a6b;
  font-size: 15px;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e4eef8;
  text-align: center;
  font-size: 14px;
  color: #5a7ba6;
}

.footer a {
  color: #5a7ba6;
  text-decoration: none;
}

.footer a:hover {
  color: #ff6b35;
}

a {
  color: #006e9c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  color: #5a7ba6;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  background: #fff1e8;
  color: #ff6b35;
  text-decoration: none;
}

.index-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.index-card {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid #e4eef8;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.15s;
}

.index-card:hover {
  border-color: #ff6b35;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.12);
  text-decoration: none;
}

.index-card h3 {
  margin: 0 0 4px;
  color: #0b1d35;
  font-size: 18px;
}

.index-card p {
  margin: 0;
  font-size: 14px;
  color: #5a7ba6;
}

@media (max-width: 640px) {
  .container {
    padding: 24px 16px 60px;
  }

  .doc-header h1 {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  table {
    font-size: 13px;
  }

  table th,
  table td {
    padding: 8px 10px;
  }
}
