:root {
  --bg-canvas: #19201d;
  --bg-surface: #242e2a;
  --text-primary: #ffffff;
  --text-muted: #9ca3af;
  --accent-primary: #a3e635;
  --accent-secondary: #84cc16;
  --border: #242e2a;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-kinetic: cubic-bezier(0.22, 0.61, 0.36, 1);
  --duration: 400ms;
  --shadow-elevation: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.4);
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  max-width: 72ch;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  background-image: linear-gradient(var(--accent-primary), var(--accent-primary));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size var(--duration) var(--ease-kinetic);
}

a:hover, a:focus-visible {
  background-size: 100% 1px;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--bg-canvas);
  position: static;
  border-bottom: 1px solid var(--bg-surface);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-size: 0% 1px; 
}

.brand-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent-primary);
}

.nav-desktop {
  display: flex;
  gap: 1.5rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-surface);
  padding: 1rem 2rem;
}

.nav-mobile-menu.is-open {
  display: flex;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #000000;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-kinetic);
  background-image: none; 
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  background-size: 0;
}

.hero-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: left;
}

.hero-wide h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  max-width: 20ch;
  line-height: 1.1;
}

.hero-wide p.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 2rem;
}

.lime-band {
  background-color: var(--accent-primary);
  color: #000000;
  padding: 3rem 2rem;
  width: 100%;
}

.lime-band h2, .lime-band p {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
}

.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.panel-card {
  background-color: var(--bg-surface);
  padding: 2rem;
  border-radius: 0; 
  box-shadow: var(--shadow-elevation);
  transition: box-shadow var(--duration) var(--ease-kinetic), transform var(--duration) var(--ease-kinetic);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.panel-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.panel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 0;
}

.panel-card h3 {
  margin-top: 0;
}

.panel-card .card-footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

.content-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.data-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

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

th {
  background-color: var(--bg-surface);
  font-family: var(--font-display);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1rem;
  background-color: var(--bg-surface);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration) var(--ease-kinetic), transform var(--duration) var(--ease-kinetic);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  a, .btn-primary, .panel-card {
    transition: none;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile-btn {
    display: block;
  }
  .hero-wide {
    padding: 3rem 1.5rem;
  }
}

.site-footer {
  background-color: var(--bg-surface);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  border-top: 1px solid #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  margin-top: 0;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

label {
  font-weight: 600;
  font-size: 0.875rem;
}

input, textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  border-radius: 0;
}

input:focus, textarea:focus {
  outline: 2px solid var(--accent-primary);
  outline-offset: -1px;
}

.faq-list dt {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.faq-list dd {
  margin-left: 0;
  color: var(--text-muted);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg-surface);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}