
:root {
  --forest: #0a2e1a;
  --leaf: #1e7e34;
  --lime: #7cfc00;
  --cta: #e74c3c;
  --cta-h: #c0392b;
  --gold: #e6a817;
  --paper: #f3f5f2;
  --ink: #1c241c;
  --muted: #5c6b5c;
  --line: #d8e0d8;
  --surface: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, [role=button] { cursor: pointer; font-family: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.header {
  background: var(--forest);
  color: var(--lime);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo img { height: 48px; width: auto; }
.logo span { font-size: 11px; font-weight: 800; letter-spacing: .4px; }
.search {
  display: flex;
  flex: 1;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  overflow: visible;
  position: relative;
}
.search-drop {
  position: absolute; left: 0; right: 0; top: 46px; z-index: 50;
  background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.18);
  max-height: 70vh; overflow: auto; display: none;
}
.search-drop.open { display: block; }
.search-drop a { display: flex; gap: 10px; padding: 10px 12px; color: inherit; align-items: center; }
.search-drop a:hover { background: #f4f7f4; }
.search-drop img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.search input {
  flex: 1; border: 0; padding: 11px 12px; outline: none; min-width: 0;
}
.search button { background: var(--gold); border: 0; padding: 0 14px; min-height: 44px; }
.auth { display: flex; gap: 8px; align-items: center; }
.btn-cta {
  background: var(--cta);
  color: #fff;
  border: 0;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-cta:hover { background: var(--cta-h); }
.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  min-width: 44px;
  min-height: 44px;
  font-size: 22px;
}
.nav { background: var(--leaf); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
}
.nav a {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  min-height: 56px;
  min-width: 72px;
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.nav a img { width: 32px; height: 32px; object-fit: contain; }
.nav a:hover, .nav a.active { background: rgba(10,46,26,.35); }
.hero {
  background: var(--forest);
  text-align: center;
  padding: 16px 12px 32px;
}
.hero-banner { max-width: 1100px; margin: 0 auto 16px; border-radius: 12px; overflow: hidden; }
.hero h1 {
  color: var(--lime);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: 1px;
}
.badge-gold {
  display: inline-block;
  margin-top: 12px;
  background: var(--gold);
  color: var(--forest);
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 999px;
}
.page-hero { background: var(--forest); color: #fff; text-align: center; padding: 36px 16px; }
.page-hero h1 { font-size: clamp(22px, 4vw, 36px); font-weight: 900; }
.kicker { color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: 2px; margin-bottom: 8px; }
.main { max-width: 1100px; margin: 0 auto; padding: 28px 16px 48px; }
.h2 {
  color: var(--leaf);
  font-size: 22px;
  font-weight: 800;
  border-left: 4px solid var(--leaf);
  padding-left: 12px;
  margin: 32px 0 16px;
}
.intro {
  background: #fff;
  border-left: 4px solid var(--leaf);
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.official {
  display: inline-block;
  margin: 16px 0 8px;
  background: #e8f5e9;
  color: var(--leaf);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #a5d6a7;
}
.table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.table .row, .table .head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.table .head { background: #e4e8e4; border-top: 0; font-size: 13px; font-weight: 800; color: var(--leaf); }
.table .row:hover { background: #f8faf8; }
.cat { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.cat img { width: 24px; height: 24px; }
.muted { color: var(--muted); }
.features { background: #fff; padding: 22px 24px; border-radius: 12px; }
.features li { list-style: none; padding: 8px 0 8px 22px; position: relative; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }
.guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { text-align: center; color: var(--leaf); padding: 12px 8px; font-size: 14px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.cards2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.soft { background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.soft h3 { color: var(--leaf); margin-bottom: 8px; }
.soft li { list-style: none; padding: 4px 0 4px 14px; position: relative; font-size: 14px; color: var(--muted); }
.soft li::before { content: "•"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.toc a { background: #fff; color: var(--leaf); font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 999px; border: 1px solid #cfe3cf; }
.date { display: inline-block; background: var(--leaf); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 0 0 8px 0; }
.news-card h3 { padding: 10px 14px 4px; font-size: 15px; }
.news-card p { padding: 0 14px 14px; font-size: 13px; color: var(--muted); }
.faq { background: #fff; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq button {
  width: 100%;
  text-align: left;
  background: #f6faf6;
  border: 0;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--leaf);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
}
.faq .a { display: none; padding: 0 16px 14px; font-size: 14px; color: var(--muted); }
.faq.open .a { display: block; }
.form {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.form input {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}
.err { color: var(--cta); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.grid3 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.box { background: #fff; padding: 18px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.box h3 { color: var(--leaf); margin-bottom: 6px; }
.center { text-align: center; margin-top: 24px; }
footer { background: var(--forest); color: #c8d4c8; margin-top: 48px; padding: 40px 16px 20px; }
.foot { max-width: 1100px; margin: 0 auto; display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.foot h4 { color: var(--lime); margin-bottom: 10px; }
.foot a { display: block; font-size: 14px; margin: 6px 0; color: #c8d4c8; }
.foot a:hover { color: var(--lime); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badges img { height: 40px; background: #fff; padding: 4px 6px; border-radius: 6px; }
.copy { text-align: center; margin-top: 28px; padding-top: 16px; border-top: 1px solid #1a4a2a; font-size: 12px; color: #888; }
ol { padding-left: 20px; }
ol li { margin: 8px 0; }
@media (max-width: 768px) {
  .logo span { display: none; }
  .search { order: 3; max-width: 100%; width: 100%; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner { display: none; }
  .nav.open .nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav a { flex-direction: row; justify-content: flex-start; gap: 8px; min-height: 48px; }
  .table .row, .table .head { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
