:root {
  --bg-canvas: #1e2530;
  --bg-surface: #303630;
  --bg-surface-hover: #3b433b;
  --text-primary: #ffffff;
  --text-muted: #d1d5cf;
  --accent-primary: #a3e635;
  --accent-secondary: #84cc16;
  --border-subtle: rgba(163, 230, 53, 0.28);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 24px -4px rgba(163, 230, 53, 0.35);
  --glass-backdrop: blur(16px) saturate(180%);
  --font-serif: Charter, Cambria, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
}
a { color: var(--accent-primary); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
a:hover { color: var(--text-primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}
.wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: 70ch; }
.small-caps {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-weight: 700;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1.15rem; color: var(--text-muted); font-size: 1.0625rem; }
ul, ol { margin: 0 0 1.25rem 1.25rem; color: var(--text-muted); }
li { margin-bottom: 0.45rem; }
strong { color: var(--text-primary); }

/* Header - strictly relative, left-aligned brand, never fixed/sticky */
.site-header {
  position: relative;
  z-index: 20;
  padding: 1.35rem 0;
  background-color: transparent;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease;
}
.site-header.scrolled-solid { background-color: var(--bg-surface); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 24px;
  height: 24px;
  background-color: var(--accent-primary);
  border-radius: 4px;
  display: inline-block;
  box-shadow: 2px 2px 0 #000;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-size: 1.05rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}
.menu-toggle {
  display: none;
  background: var(--bg-surface);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 4px;
  padding: 0.35rem 0.75rem;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

/* Buttons */
.btn-lime {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #141914;
  font-family: var(--font-serif);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 4px;
  border: 1px solid #141914;
  box-shadow: 4px 4px 0 #0e120e;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn-lime:hover {
  color: #000;
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 #0e120e;
}

/* Sections & Clip Paths */
.section-band {
  padding: 5.5rem 0;
  position: relative;
}
.section-surface {
  background-color: var(--bg-surface);
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding: 6.5rem 0;
}
.section-curve {
  background-color: var(--bg-surface);
  clip-path: ellipse(130% 94% at 50% 50%);
  padding: 6.5rem 0;
}

/* Alternating 60/40 Split */
.split-60-40 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-60-40.reverse {
  grid-template-columns: 1fr 1.5fr;
}
.split-60-40.reverse .split-text { order: 2; }
.split-60-40.reverse .split-render { order: 1; }

/* Hero Overlap Stack */
.hero-overlap {
  position: relative;
  min-height: 390px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}
.hero-obj {
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-elevation);
  overflow: hidden;
}
.hero-obj img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-obj-1 { grid-column: 1 / 8; grid-row: 1; z-index: 1; aspect-ratio: 4/3; }
.hero-obj-2 { grid-column: 6 / 13; grid-row: 1; z-index: 2; margin-top: 6rem; aspect-ratio: 4/3; }
.hero-obj-3 { grid-column: 3 / 10; grid-row: 1; z-index: 3; margin-top: 13rem; aspect-ratio: 16/9; }

.render-frame {
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background-color: #262b26;
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
}
.render-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.render-caption {
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(30, 37, 48, 0.75);
}

/* Thinly Divided List Rows (Strictly NO Cards) */
.eng-list {
  border-top: 1px solid var(--border-subtle);
  margin: 1.5rem 0;
}
.eng-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}
.eng-row:hover { background-color: rgba(163, 230, 53, 0.05); }
.eng-icon {
  color: var(--accent-primary);
  font-family: monospace;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}
.eng-content h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.eng-content p { margin-bottom: 0; font-size: 0.96rem; }
.eng-meta { font-variant: small-caps; color: var(--accent-primary); font-size: 0.9rem; white-space: nowrap; }

/* Tables */
.table-scroll {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
th, td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
th {
  background-color: var(--bg-surface);
  color: var(--accent-primary);
  font-variant: small-caps;
  letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: none; }

/* Native FAQ Disclosures */
details.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}
details.faq-item:first-of-type { border-top: 1px solid var(--border-subtle); }
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  color: var(--accent-primary);
  font-size: 1.35rem;
  font-weight: 700;
}
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .faq-body { padding-top: 0.85rem; color: var(--text-muted); max-width: 70ch; }

/* Forms & Composer */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-variant: small-caps;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1rem;
}
.composer-output {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
  padding: 3.5rem 0 2.5rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { list-style: none; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .split-60-40, .split-60-40.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split-60-40.reverse .split-text { order: 1; }
  .split-60-40.reverse .split-render { order: 2; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--accent-primary);
    padding: 1rem 1.5rem;
  }
  .main-nav.nav-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .eng-row { grid-template-columns: 28px 1fr; }
  .eng-meta { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}