:root {
  --bg: #F1F5F9;
  --ink: #1E293B;
  --muted: #475569;
  --header: #334155;
  --accent: #0F766E;
  --card: #FFFFFF;
  --line: #CBD5E1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Cambria, "Microsoft YaHei", serif;
  line-height: 1.75;
  font-size: 17px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--header);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F8FAFC;
  font-weight: 700;
  font-size: 18px;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  color: #E2E8F0;
  background: #475569;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid transparent;
}

.nav a:hover,
.nav a:focus {
  background: var(--accent);
  border-color: #99F6E4;
  color: #fff;
}

.hero {
  padding: 30px 0 8px;
}

.hero h1 {
  font-size: clamp(26px, 3.8vw, 36px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 46em;
  margin-bottom: 8px;
}

.section {
  padding: 28px 0;
}

.section h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 48em;
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}

.matrix th,
.matrix td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}

.matrix th {
  background: var(--header);
  color: #F8FAFC;
}

.matrix tbody tr:nth-child(even) {
  background: #E2E8F0;
}

.matrix tbody tr:nth-child(odd) {
  background: #FFFFFF;
}

.cards-3,
.split,
.mini {
  display: grid;
  gap: 16px;
}

.cards-3,
.mini {
  grid-template-columns: repeat(3, 1fr);
}

.split {
  grid-template-columns: 1fr 1fr;
}

.card,
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 16px;
}

.card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.card h3,
.panel h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #134E4A;
}

.card p + p,
.panel p + p {
  margin-top: 8px;
}

.stay {
  border-top: 4px solid var(--accent);
}

.back {
  border-top: 4px solid #9A3412;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: step;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  margin-bottom: 8px;
}

.checklist {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 18px 14px;
}

.checklist li {
  list-style: none;
  padding: 12px 0 12px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 18px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq-item h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.site-footer {
  background: var(--header);
  color: #E2E8F0;
  padding: 28px 0;
  font-size: 15px;
}

.site-footer p + p {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .cards-3,
  .split,
  .mini,
  .steps {
    grid-template-columns: 1fr;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .nav {
    justify-content: flex-start;
  }
}
