:root {
  --bg: #F4F7FB;
  --ink: #0F2744;
  --btn: #E11D48;
  --muted: #4B5563;
  --card: #ffffff;
  --line: #D5DEE9;
  --line-strong: #B8C5D4;
  --header-text: #E8EEF5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 3px solid var(--btn);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.brand {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand svg {
  display: block;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.nav a {
  color: var(--header-text);
  text-decoration: none;
  padding: 20px 0 16px;
  border-bottom: 2px solid transparent;
  font-weight: 600;
}

.nav a:hover {
  color: #ffffff;
  border-bottom-color: rgba(225, 29, 72, 0.55);
}

.nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--btn);
}

main {
  padding: 28px 0 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 36px;
}

.panel,
.card,
.news-item,
.faq-item,
.hero-copy,
.hero-visual,
.cta-band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.hero-copy,
.hero-visual,
.panel,
.cta-band {
  padding: 28px;
}

.hero-visual {
  padding: 18px;
  background:
    linear-gradient(180deg, #0F2744 0 42px, transparent 42px),
    var(--card);
}

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 12px;
}

h1 {
  font-size: 30px;
  font-weight: 800;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  padding-left: 10px;
  border-left: 3px solid var(--ink);
}

h3 {
  font-size: 17px;
  font-weight: 700;
}

.lead,
p,
li {
  color: var(--ink);
}

.lead,
.muted,
.news-item p,
.faq-item p,
td,
th {
  color: var(--muted);
}

.lead {
  margin: 0 0 16px;
  font-size: 16px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  background: var(--btn);
  color: #ffffff;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 700;
  border: 1px solid var(--btn);
}

.btn:hover {
  background: #be123c;
  border-color: #be123c;
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: #eef3f8;
}

.section {
  margin: 0 0 28px;
}

.section > h2 {
  margin-bottom: 14px;
}

.follow-panel {
  margin-top: 14px;
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 14px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 18px;
  border-left: 3px solid var(--ink);
}

.card h3,
.news-item h3,
.faq-item h3 {
  margin-bottom: 8px;
}

.icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}

.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--ink);
  color: #ffffff;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  margin: 0;
  padding-left: 22px;
}

.steps li {
  margin: 0 0 10px;
  color: var(--muted);
}

.news-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.news-item,
.faq-item {
  padding: 16px 18px;
}

.news-item time {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  border-left: 3px solid var(--btn);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.site-footer {
  background: var(--ink);
  color: #d5dee9;
  padding: 28px 0 36px;
}

.site-footer p {
  margin: 0 0 8px;
  color: #d5dee9;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.window-svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 0;
  }

  .nav {
    width: 100%;
    gap: 18px;
  }

  .hero,
  .grid-4,
  .grid-3,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cta-band {
    display: grid;
  }

  h1 {
    font-size: 24px;
  }

  .hero-copy,
  .hero-visual,
  .panel,
  .cta-band {
    padding: 20px;
  }
}
