:root {
  --paper: #FFF8F5;
  --ink: #2C1810;
  --red: #C23B22;
  --line: #e6d4cc;
  --mute: #6b5348;
  --card: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Georgia", "Songti SC", "STSong", "PingFang SC", "Microsoft YaHei", serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}

h1, h2, h3 { font-weight: 700; letter-spacing: 0.01em; }

p, li, td, a, nav {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a { color: inherit; text-decoration: none; }

svg { display: block; }

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}

nav a:hover { border-bottom-color: var(--red); color: var(--red); }

.hero {
  display: grid;
  grid-template-columns: 6fr 4fr;
  border-bottom: 1px solid var(--ink);
}

.hero-main {
  padding: 56px 40px 48px;
  border-right: 1px solid var(--ink);
}

.hero-main h1 {
  font-size: 40px;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-main p {
  color: var(--mute);
  margin-bottom: 26px;
  max-width: 38em;
}

.cta {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border: 1px solid var(--red);
}

.cta:hover { background: var(--ink); border-color: var(--ink); }

.bars { display: flex; flex-direction: column; }

.bar {
  flex: 1;
  padding: 24px 28px;
  border-bottom: 1px solid var(--ink);
}

.bar:last-child { border-bottom: 0; }

.bar.ok { background: #fff; }

.bar.no { background: #f3e4de; }

.bar b {
  display: block;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 10px;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.bar ul { list-style: none; }

.bar li {
  padding: 5px 0 5px 14px;
  position: relative;
  font-size: 14px;
}

.bar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 7px;
  height: 1px;
  background: var(--ink);
}

.sheet {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 12px;
}

.sheet h2 {
  font-size: 30px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}

.sheet > p {
  color: var(--mute);
  margin: 14px 0 22px;
  max-width: 46em;
}

.asymm {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.asymm .big {
  grid-row: 1 / span 2;
}

.asymm article,
.trio article,
.pair article {
  background: var(--card);
  border: 1px solid var(--ink);
  padding: 22px 20px;
}

.asymm h3,
.trio h3,
.pair h3 {
  font-size: 20px;
  margin: 10px 0 8px;
}

.asymm p,
.trio p,
.pair p,
.ruled p { color: var(--mute); font-size: 14px; }

.asymm p + p { margin-top: 10px; }

.ico { color: var(--red); width: 28px; }

.ico svg { width: 26px; height: 26px; }

.trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pair article:first-child { border-right: 0; }

.ruled { list-style: none; border-top: 1px solid var(--ink); }

.ruled li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.ruled strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.table-wrap { overflow-x: auto; }

table.steps {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
  border: 1px solid var(--ink);
}

table.steps th,
table.steps td {
  border: 1px solid var(--ink);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

table.steps th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

table.steps td:first-child {
  width: 64px;
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  font-family: Georgia, serif;
}

.faq-big article {
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}

.faq-big h3 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
}

.faq-big p {
  color: var(--mute);
  font-size: 15px;
  max-width: 46em;
}

.foot {
  margin-top: 40px;
  background: var(--ink);
  color: #f6ebe6;
  padding: 36px 32px 44px;
}

.foot p {
  font-size: 13px;
  max-width: 40em;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .hero,
  .asymm,
  .trio,
  .pair { grid-template-columns: 1fr; }
  .asymm .big { grid-row: auto; }
  .hero-main { border-right: 0; border-bottom: 1px solid var(--ink); }
  .pair article:first-child { border-right: 1px solid var(--ink); }
}

@media (max-width: 640px) {
  .head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-main { padding: 32px 20px; }
  .hero-main h1 { font-size: 28px; }
}

#news .news-list { display: flex; flex-direction: column; }
#news article { display: grid; grid-template-columns: 28px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--ink); }
#news article:nth-child(1)::before { content: "01"; }
#news article:nth-child(2)::before { content: "02"; }
#news article:nth-child(3)::before { content: "03"; }
#news article:nth-child(4)::before { content: "04"; }
#news article:nth-child(5)::before { content: "05"; }
#news article::before { grid-row: 1 / span 3; color: var(--red); font-weight: 700; font-size: 20px; }
#news h3 { margin: 0; font-size: 20px; color: var(--ink); }
#news time { color: var(--red); font-size: 13px; }
#news p { margin: 0; color: var(--mute); }
