/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #f8f9fa;
  color: #222;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* ========== CONTAINERS ========== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== HEADER ========== */
.site-header {
  background: #0b0f14;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.nav {
  display: flex;
  gap: 18px;
}
.nav a {
  color: #aaa;
  font-weight: 500;
}
.nav a:hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* Mobile nav */
@media(max-width:768px){
  .nav {
    display: none;
    flex-direction: column;
    background: #0b0f14;
    position: absolute;
    top: 60px; right: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.1);
    width: 200px;
  }
  .nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* ========== MAIN ELEMENTS ========== */
h1, .h1 {
  font-size: 26px;
  margin-bottom: 12px;
}
h2, .h2 {
  font-size: 20px;
  margin: 12px 0;
}
.subtitle {
  color: #555;
  margin-bottom: 10px;
}

/* ========== CARDS ========== */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  margin-bottom: 20px;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.link-card {
  transition: transform .15s ease;
}
.link-card:hover {
  transform: translateY(-3px);
}

/* ========== GRID ========== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
}

/* ========== FORMS ========== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 12px;
  margin-top: 12px;
}
.input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}
.helper {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
  display: block;
}
.btn {
  background: #0b0f14;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}
.btn:hover {
  background: #222;
}
.badge {
  background: #eee;
  color: #333;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
}

/* ========== RESULTS ========== */
.results {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: 12px;
}
.result-box {
  background: #f2f4f7;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.result-box .label {
  font-size: 13px;
  color: #666;
}
.result-box .value {
  font-weight: 700;
  font-size: 18px;
  margin-top: 6px;
}

/* ========== FAQ (details) ========== */
details {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  background: #fafafa;
}
details + details {
  margin-top: 8px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details[open] {
  background: #f0f3f7;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0b0f14;
  color: #bbb;
  margin-top: 30px;
  padding: 20px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer-nav {
  display: flex;
  gap: 16px;
}
.footer-nav a {
  color: #bbb;
}
.footer-nav a:hover {
  color: #fff;
}
.disclaimer {
  font-size: 12px;
  color: #888;
  text-align: center;
}
