:root {
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-light: #fef2f2;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-highlight: #fecaca;
  --badge-bg: #fee2e2;
  --badge-text: #991b1b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --radius: 12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

header.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

nav.main-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav.main-nav a:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

nav.main-nav a.active {
  color: var(--primary);
  background-color: var(--primary-light);
  font-weight: 600;
}

.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
}

.hero {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #111827;
  margin-bottom: 0.5rem;
}

.meta-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.summary-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.summary-box h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.summary-box ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.summary-box ul li {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.summary-box ul li::before {
  content: "✔";
  color: var(--primary);
  margin-right: 0.5rem;
  font-weight: bold;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.4rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.975rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

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

.contact-card {
  background-color: #fef2f2;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.contact-card h3 {
  color: #991b1b;
  margin-top: 0;
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-hover);
}

.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

th, td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
}

th {
  background-color: #f9fafb;
  color: var(--text-main);
  font-weight: 600;
}

footer.site-footer {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
}

footer.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .card {
    padding: 1.5rem 1rem;
  }
  h1 {
    font-size: 1.6rem;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

