:root {
  --forest: #0b1d10;
  --field: #163d22;
  --leaf: #2e7d4f;
  --gold: #f4c430;
  --paper: #f6f3ed;
  --surface: #fffdf8;
  --ink: #111a14;
  --mid: #4a5a50;
  --muted: #6f7f74;
  --border: #d8e2da;
  --warning: #7a4d00;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.72;
}
a {
  color: var(--leaf);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.L-ta,
.L-en {
  display: none !important;
}
.show-ta .L-ta {
  display: block !important;
}
.show-en .L-en {
  display: block !important;
}
.show-ta .L-ta.inline,
.show-en .L-en.inline {
  display: inline !important;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 68px;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(11, 29, 16, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 190px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.switch {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}
.switch button,
.print {
  border: 0;
  font:
    700 12px "DM Sans",
    sans-serif;
  cursor: pointer;
}
.switch button {
  padding: 6px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
}
.switch button.on {
  background: var(--gold);
  color: var(--forest);
}
.print {
  padding: 8px 13px;
  border-radius: 999px;
  background: transparent;
  color: #f4f7f4;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.hero {
  background: var(--forest);
  color: #f7faf7;
  padding: clamp(52px, 9vw, 96px) 24px;
}
.hero-inner,
.layout,
.footer-inner {
  width: min(1120px, 100%);
  margin: auto;
}
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 2vw, 19px);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}
.meta strong {
  display: block;
  color: #fff;
  font-weight: 600;
}
.draft {
  margin: 0;
  padding: 14px 24px;
  background: #fff1ca;
  color: #5e3c00;
  border-bottom: 1px solid #e8d18d;
  font-size: 14px;
}
.draft strong {
  color: #3f2900;
}
.layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 720px);
  gap: clamp(40px, 8vw, 100px);
  padding: 64px 24px 96px;
}
.toc {
  align-self: start;
  position: sticky;
  top: 100px;
}
.toc-title {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--mid);
  font-size: 14px;
  text-decoration: none;
}
.toc a:hover {
  color: var(--leaf);
}
.content section {
  scroll-margin-top: 96px;
  margin-bottom: 52px;
}
.content h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.content h3 {
  margin: 30px 0 10px;
  font-size: 18px;
}
.content p {
  margin: 0 0 14px;
  color: #344038;
}
.content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #344038;
}
.content li {
  margin: 7px 0;
}
.summary {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
.table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
th {
  background: #edf3ee;
  color: var(--forest);
}
tr:last-child td {
  border-bottom: 0;
}
.contact {
  padding: 22px;
  border-radius: 14px;
  background: #eaf2ec;
  border: 1px solid #cbdacd;
}
.contact p:last-child {
  margin-bottom: 0;
}
.pending {
  color: var(--warning);
  font-weight: 700;
}
.footer {
  padding: 36px 24px;
  background: #060d08;
  color: rgba(255, 255, 255, 0.55);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.footer img {
  height: 48px;
  max-width: 190px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer a {
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 760px) {
  .print {
    display: none;
  }
  .topbar {
    height: 62px;
  }
  .brand img {
    height: 40px;
    max-width: 130px;
  }
  .layout {
    display: block;
    padding-top: 38px;
  }
  .toc {
    position: static;
    margin-bottom: 42px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .toc a {
    padding: 9px 0;
  }
  .hero {
    padding-top: 46px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1610;
    --surface: #142019;
    --ink: #edf4ee;
    --mid: #bdc9c0;
    --muted: #96a39a;
    --border: #2a3a2e;
  }
  .content p,
  .content ul {
    color: #cbd5cd;
  }
  .summary {
    background: #142019;
  }
  .table-wrap {
    background: #142019;
  }
  th {
    background: #1b2b20;
    color: #f3f7f3;
  }
  .contact {
    background: #17271c;
    border-color: #314b38;
  }
  .draft {
    background: #382d10;
    color: #f3d77e;
    border-color: #5e4c1c;
  }
  .draft strong {
    color: #ffe59a;
  }
  .pending {
    color: #f2cc68;
  }
}
@media print {
  .topbar,
  .toc,
  .print,
  .draft {
    display: none !important;
  }
  .hero {
    background: none;
    color: #111;
    padding: 20px 0;
  }
  .hero p,
  .meta {
    color: #333;
  }
  .meta strong {
    color: #111;
  }
  .layout {
    display: block;
    padding: 24px 0;
  }
  .content {
    max-width: none;
  }
  .content section {
    break-inside: avoid;
  }
  .footer {
    background: none;
    color: #333;
    padding: 20px 0;
  }
  .footer img {
    display: none;
  }
  .footer a {
    color: #333;
  }
}
