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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #090d16;
  color: #e6edf7;
  line-height: 1.65;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TOP STRIP --- */
.top-strip {
  background: #05080f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 8px 0;
  font-size: 12px;
  color: #94a3b8;
}

.top-strip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
}

.top-strip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.top-strip a {
  color: #d4b276;
  text-decoration: underline;
}

/* --- HEADER BAR (Single clean row, zero dropdown overlap) --- */
.hd {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(9, 13, 22, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d4b276;
  border-radius: 4px;
  color: #d4b276;
  font-weight: 700;
  font-size: 13px;
  background: rgba(212, 178, 118, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-block;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: 4px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #d4b276;
  background: rgba(212, 178, 118, 0.08);
}

.hd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ext-pill {
  display: inline-block;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #d4b276;
  border: 1px solid rgba(212, 178, 118, 0.45);
  border-radius: 4px;
  white-space: nowrap;
}

.ext-pill:hover {
  background: #d4b276;
  color: #090d16;
}

.menu-btn {
  display: none;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 2px;
  }

  .nav-links.open {
    display: flex;
  }

  .hd-row {
    flex-wrap: wrap;
  }

  .nav-links a {
    padding: 11px 12px;
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .top-strip {
    display: none;
  }
  .ext-pill {
    display: none;
  }
}

/* --- PAGE STRUCTURE --- */
.crumb {
  background: #0d1320;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 0;
  font-size: 13px;
  color: #94a3b8;
}

.crumb a {
  color: #cbd5e1;
}

.crumb a:hover {
  color: #d4b276;
}

.hero {
  padding: 72px 0 60px;
  background: linear-gradient(180deg, #0e1526 0%, #090d16 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.page-head {
  padding: 52px 0 40px;
  background: linear-gradient(180deg, #0e1526 0%, #090d16 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4b276;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.18;
  font-weight: 700;
  color: #ffffff;
  max-width: 860px;
  margin-bottom: 16px;
}

.page-head h1 {
  font-size: clamp(26px, 3.5vw, 40px);
}

.lead {
  font-size: 17px;
  color: #94a3b8;
  max-width: 760px;
  margin-bottom: 24px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #d4b276;
  color: #090d16;
}

.btn-primary:hover {
  background: #e2c58e;
}

.btn-ghost {
  border-color: rgba(212, 178, 118, 0.45);
  color: #d4b276;
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(212, 178, 118, 0.1);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-size: 20px;
  color: #d4b276;
  margin-bottom: 4px;
}

.stat span {
  font-size: 13px;
  color: #94a3b8;
}

.sec {
  padding: 64px 0;
}

.sec-alt {
  background: #0d1320;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sec-title {
  margin-bottom: 32px;
  max-width: 740px;
}

.sec-title h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: #ffffff;
  margin-bottom: 10px;
}

.sec-title p {
  color: #94a3b8;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.box {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box:hover {
  border-color: rgba(212, 178, 118, 0.45);
}

.box-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4b276;
  margin-bottom: 8px;
}

.box h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 10px;
}

.box p {
  font-size: 14px;
  color: #94a3b8;
}

.box-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #d4b276;
}

.tick-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tick-list li {
  font-size: 14px;
  color: #cbd5e1;
  padding-left: 18px;
  position: relative;
}

.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d4b276;
}

.data-table-wrap {
  overflow-x: auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

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

table.data-table th,
table.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
}

table.data-table th {
  width: 34%;
  color: #94a3b8;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.02);
}

table.data-table td {
  color: #ffffff;
  font-weight: 600;
}

table.data-table tr:last-child th,
table.data-table tr:last-child td {
  border-bottom: none;
}

.active-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.article {
  max-width: 860px;
}

.article h2 {
  font-size: 26px;
  color: #ffffff;
  margin: 30px 0 12px;
}

.article h3 {
  font-size: 19px;
  color: #d4b276;
  margin: 22px 0 8px;
}

.article p {
  color: #cbd5e1;
  margin-bottom: 14px;
}

.article ul {
  list-style: disc;
  margin: 10px 0 18px 22px;
  color: #cbd5e1;
}

.article li {
  margin-bottom: 8px;
}

.related-box {
  margin-top: 40px;
  padding: 22px;
  background: #0d1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.related-box h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4b276;
  margin-bottom: 12px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.related-links a {
  display: block;
  padding: 10px 12px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  font-size: 13px;
  color: #e6edf7;
}

.related-links a:hover {
  border-color: #d4b276;
  color: #d4b276;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e6edf7;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.faq-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-a {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: #94a3b8;
}

.faq-row.open .faq-a {
  display: block;
}

/* --- FOOTER --- */
.ft {
  background: #05080f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0 28px;
  font-size: 13px;
  color: #94a3b8;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.ft h4 {
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.ft ul li {
  margin-bottom: 7px;
}

.ft ul a:hover {
  color: #d4b276;
}

.ft-note {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
}

.ft-bottom {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

@media (max-width: 960px) {
  .stats, .grid-3, .related-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats, .grid-2, .grid-3, .ft-grid, .related-links {
    grid-template-columns: 1fr;
  }
}
