:root {
  --blue: #1D4ED8;
  --ice: #EFF6FF;
  --ink: #0F172A;
  --navy: #1E3A8A;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Tahoma, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
}

.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.portal-bar {
  background: var(--navy);
  color: var(--white);
}
.bar-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  gap: 16px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand span { font-size: 12px; font-weight: 400; opacity: 0.8; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: #DBEAFE; text-decoration: none; font-size: 14px; }
nav a:hover { color: #fff; text-decoration: underline; }

.hero {
  background: var(--ice);
  padding: 40px 0 36px;
  border-bottom: 3px solid var(--blue);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.kicker {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--navy);
}
.hero p { margin-bottom: 10px; }
.cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 12px 22px;
  font-weight: 700;
  border: 2px solid var(--navy);
}
.cta:hover { background: var(--navy); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td {
  border: 1px solid #93C5FD;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
th { background: var(--navy); color: var(--white); }
caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.policy td:first-child, .procedure td:first-child { font-weight: 700; width: 72px; }
.policy { background: var(--white); }

.block { padding: 42px 0; }
.block.shade { background: var(--ice); }
h2 { font-size: 26px; color: var(--navy); margin-bottom: 12px; }
.lead { max-width: 50em; margin-bottom: 18px; }

.ordinance {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ordinance article {
  background: var(--white);
  border: 1px solid #93C5FD;
  padding: 16px 16px 18px;
  display: grid;
  grid-template-columns: 42px 28px 1fr;
  gap: 10px;
  align-items: start;
}
.ordinance span {
  font-weight: 800;
  color: var(--blue);
  font-size: 20px;
}
.ordinance svg { margin-top: 4px; }
.ordinance h3 { grid-column: 3; font-size: 17px; margin-bottom: 6px; }
.ordinance p { grid-column: 3; }

.formal { padding-left: 22px; max-width: 52em; }
.formal li { margin-bottom: 8px; }

.spec tbody tr:nth-child(even) { background: #F8FAFC; }

.step-bar {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 16px;
  border: 1px solid var(--blue);
}
.step-bar li {
  padding: 10px 8px;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-right: 1px solid #60A5FA;
}
.step-bar li:last-child { border-right: 0; }

.procedure { background: var(--white); }

.two-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.clause {
  margin-top: 16px;
  border: 1px solid var(--navy);
  padding: 12px 14px;
  background: #DBEAFE;
}

.legal-faq { padding-left: 22px; }
.legal-faq li { margin-bottom: 16px; }
.legal-faq h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }

footer {
  background: var(--ink);
  color: #DBEAFE;
  padding: 28px 0;
  font-size: 14px;
  border-top: 4px solid var(--blue);
}
footer p + p { margin-top: 6px; }

@media (max-width: 860px) {
  .hero-grid, .ordinance, .two-tables, .step-bar { grid-template-columns: 1fr; }
  .step-bar li { border-right: 0; border-bottom: 1px solid #60A5FA; }
  .bar-grid { flex-direction: column; align-items: flex-start; padding: 14px 0; }
}

#news .news-list { list-style: none; border: 1px solid #93c5fd; }
#news .news-list li { padding: 14px 16px; border-bottom: 1px solid #bfdbfe; background: #fff; }
#news .news-list li:last-child { border-bottom: 0; }
#news time { color: #1d4ed8; font-size: 12px; font-weight: 800; }
#news .news-list h3 { color: #1e3a8a; font-size: 16px; margin: 6px 0; }
