* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  background: radial-gradient(circle at top, #e5edff 0, #f5f7fb 45%, #eef2ff 100%);
  color: #111827;
  line-height: 1.6;
}

/* Top navigation */

.site-header {
  background: linear-gradient(135deg, #0f4c81, #1d976c);
  color: #fff;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.4);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #facc15, #f97316 55%, #b45309 100%);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.4);
}

.brand-text-main {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 1px;
}

.brand-text-sub {
  font-size: 11px;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.site-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(248, 181, 0, 0.18);
  color: #fff;
  border-color: rgba(251, 191, 36, 0.8);
}

/* Page layout */

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 16px 60px;
}

.page-hero {
  margin-bottom: 22px;
}

.page-title {
  font-size: 24px;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-title span.en {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
}

.page-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.06);
  color: #0f4c81;
  font-size: 11px;
  margin-left: 6px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  padding: 20px 22px 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(209, 213, 219, 0.8);
}

.card h2 {
  margin-top: 0;
  font-size: 18px;
  border-left: 4px solid #0f4c81;
  padding-left: 10px;
  line-height: 1.2;
}

.card h3 {
  margin-top: 14px;
  font-size: 15px;
}

.highlight {
  background: #fff7e0;
  border-left: 4px solid #fbbf24;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin: 10px 0;
}

/* Layout helpers */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.col-6 {
  flex: 1 1 260px;
}

.image-box {
  border-radius: 12px;
  overflow: hidden;
  background: #e1e7f5;
  border: 1px solid #d3ddf0;
  margin: 6px 0 4px;
}

.image-box img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.image-caption {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}

ul {
  padding-left: 20px;
  margin: 6px 0;
  font-size: 14px;
}

li {
  margin-bottom: 4px;
}

/* Expandable blocks */

.exp-block {
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid #e0e6fb;
  background: #f7f9ff;
  padding: 8px 10px;
}

.exp-block[open] {
  background: #eef3ff;
  border-color: #c2cff8;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.1);
}

.exp-block summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #0f4c81;
  list-style: none;
  display: flex;
  align-items: center;
}

.exp-block summary::before {
  content: "▶";
  font-size: 11px;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.exp-block[open] summary::before {
  transform: rotate(90deg);
}

.exp-block summary::-webkit-details-marker {
  display: none;
}

.exp-block-inner {
  margin-top: 6px;
  font-size: 13px;
  color: #374151;
}

.exp-block-inner a {
  color: #2563eb;
  text-decoration: none;
}

.exp-block-inner a:hover {
  text-decoration: underline;
}

/* Timeline & tables */

.timeline {
  list-style: none;
  padding-left: 4px;
  margin: 8px 0;
  font-size: 13px;
}

.timeline li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 22px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f4c81;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  width: 2px;
  height: calc(100% - 16px);
  background: #d3ddf0;
}

.timeline li:last-child::after {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 4px;
}

th, td {
  padding: 8px;
  border: 1px solid #dde2f3;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f1f4fd;
  font-weight: 600;
}

/* Buttons & footer */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(248, 181, 0, 0.3);
}

.cta-button span {
  margin-left: 8px;
}

.footer-note {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  margin-top: 18px;
}

/* Landing page cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link:hover .card {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
  transition: all 0.18s ease-out;
}

/* Risks */

.risk-tag-low  { color: #15803d; font-weight: 600; }
.risk-tag-mid  { color: #c77b00; font-weight: 600; }
.risk-tag-high { color: #b91c1c; font-weight: 600; }

/* Responsive */

@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }
  .page-title {
    font-size: 20px;
  }
  .card {
    padding: 18px 16px;
  }
}


/* ---- Forms ---- */

form {
  margin-top: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  margin-top: 10px;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
  background: #ffffff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 4px;
}

.checkbox-inline {
  font-size: 13px;
  color: #374151;
}

.checkbox-inline input {
  margin-right: 4px;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


