:root {
  color-scheme: light;
  --bg: #fff7f0;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #5f6368;
  --line: #ead8ce;
  --red: #d71920;
  --red-dark: #a90f15;
  --gold: #f4b63f;
  --green: #127a4a;
  --blue: #2457c5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff1e7 0, #fffaf6 320px, #ffffff 100%);
  line-height: 1.72;
}

a {
  color: var(--red-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--red-dark);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 18px;
}

.hero-main {
  padding: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.eyebrow {
  color: var(--red-dark);
  font-weight: 800;
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  font-size: 18px;
  color: #333333;
}

.hero-card {
  background: #2a0c0c;
  color: #fffaf2;
  border-radius: 8px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card strong {
  display: block;
  font-size: 34px;
  line-height: 1.1;
  color: var(--gold);
}

.hero-card span {
  display: block;
  margin-top: 10px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--red);
  color: white;
}

.btn.secondary {
  color: var(--red-dark);
  background: white;
  border-color: var(--line);
}

section {
  padding: 34px 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

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

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p,
.card ul {
  margin: 0;
  color: var(--muted);
}

.card small {
  display: block;
  margin-bottom: 8px;
  color: var(--red-dark);
  font-weight: 800;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #fff0e7;
  color: #501313;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.note {
  background: #fff5d9;
  border: 1px solid #efd189;
  border-radius: 8px;
  padding: 14px 16px;
  color: #533c00;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  position: relative;
  padding: 16px 16px 16px 56px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-weight: 900;
}

.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  margin-top: 28px;
  padding: 26px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 5px;
}

@media (max-width: 820px) {
  .hero,
  .grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero-main {
    padding: 22px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
