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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #141512;
  color: #adb0ad;
  line-height: 1.6;
}

a {
  color: #dfdfdf;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: #ffffff;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(to bottom, rgba(20, 21, 18, 0.95), rgba(20, 21, 18, 0.85));
  border-bottom: 1px solid #3a3a38;
}

.site-brand {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
}

.site-brand .logo {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.2;
}

.site-brand span {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8a8d8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid #3a3a38;
  border-radius: 0.375rem;
  background: #1e1e1c;
  color: #dfdfdf;
  cursor: pointer;
}

.nav-toggle:hover {
  background: #2a2a28;
  color: #ffffff;
}

.nav-toggle-icon {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 0.5rem 0 0.25rem;
  font-size: 0.9375rem;
  border-top: 1px solid #3a3a38;
}

.site-nav.is-open {
  display: flex;
}

.site-header.is-nav-open {
  flex-wrap: wrap;
}

.site-nav a {
  color: #8a8d8a;
  text-decoration: none;
  padding: 0.625rem 0.5rem;
  border-radius: 0.25rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: #dfdfdf;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
  }

  .site-brand .logo {
    font-size: 1.5rem;
  }

  .site-brand span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
    width: auto;
    padding: 0;
    border-top: none;
    font-size: 0.875rem;
  }

  .site-nav a {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: transparent;
    text-decoration: underline;
  }
}

.page-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

@media (min-width: 640px) {
  .page-main {
    padding: 2rem 1.5rem 3rem;
  }
}

.page-main.wide {
  max-width: 56rem;
}

.page-title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #dfdfdf;
}

@media (min-width: 640px) {
  .page-title {
    font-size: 1.75rem;
  }
}

.prose h1 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #dfdfdf;
}

@media (min-width: 640px) {
  .prose h1 {
    font-size: 1.75rem;
  }
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #dfdfdf;
}

.prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #dfdfdf;
}

.prose p {
  margin: 0 0 1rem;
  color: #8a8d8a;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: #8a8d8a;
}

.prose li {
  margin-bottom: 0.375rem;
}

.prose strong {
  color: #dfdfdf;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.8125rem;
  display: block;
  overflow-x: auto;
}

@media (min-width: 640px) {
  .prose table {
    font-size: 0.875rem;
    display: table;
    overflow-x: visible;
  }
}

.prose th,
.prose td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid #3a3a38;
}

.prose th {
  color: #8a8d8a;
  font-weight: 600;
}

.prose td {
  color: #adb0ad;
}

.card {
  background: #1e1e1c;
  border: 1px solid #3a3a38;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .card {
    padding: 1.5rem;
  }
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(to bottom right, #b13827, #7a281a);
  border: 1px solid #b13827;
  border-radius: 0.375rem;
  box-shadow: 0 4px 0 #5c1b14;
  transition: transform 0.15s ease;
  word-break: break-word;
  text-align: center;
}

@media (min-width: 640px) {
  .btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #5c1b14;
}

.faq-item {
  border-bottom: 1px solid #3a3a38;
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .faq-item {
    padding: 1.25rem 0;
  }
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #dfdfdf;
}

@media (min-width: 640px) {
  .faq-item h2 {
    font-size: 1.0625rem;
  }
}

.faq-item p {
  margin: 0;
  color: #8a8d8a;
}

.site-footer {
  border-top: 1px solid rgba(58, 58, 56, 0.5);
  background: #141512;
  padding: 1rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding: 1rem 1.5rem;
  }
}

.site-footer-inner {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #8a8d8a;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer-inner {
    flex-direction: row;
    font-size: 0.875rem;
    text-align: left;
  }
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.site-footer-links a {
  color: #8a8d8a;
  text-decoration: underline;
}

.site-footer-links a:hover {
  color: #dfdfdf;
}
