:root {
  --bg-cream: #FFF8F2;
  --bg-card: #FFFFFF;
  --primary: #FF5A3C;
  --primary-dark: #E8432A;
  --ink: #1E1B18;
  --muted: #6B625A;
  --accent: #2FBF9B;
  --line: #F0E4D9;
  --radius: 16px;
  --shadow: 0 8px 28px rgba(30, 27, 24, 0.08);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg-cream);
  line-height: 1.9;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.block { scroll-margin-top: 84px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 0.5px; }
.brand span { color: var(--primary); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  justify-content: flex-end;
}

.main-nav a {
  font-size: 15px;
  color: var(--muted);
  padding: 6px 4px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--primary); }

main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.block {
  padding: 96px 0;
  display: flex;
  align-items: center;
  gap: 56px;
}

.block.alternative { background: #FFFFFF; margin: 0 -100vw; padding-left: 100vw; padding-right: 100vw; }

.block-copy { flex: 1.1; min-width: 0; }
.block-media { flex: 0.9; min-width: 0; }
.block-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.block-media.left { order: -1; }

.kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--primary);
  background: #FFEDE8;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 600;
}

h1 { font-size: 44px; line-height: 1.2; font-weight: 800; }
h2 { font-size: 30px; line-height: 1.35; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }

.subtitle { font-size: 20px; color: var(--muted); margin: 6px 0 20px; }

.lead { font-size: 16px; color: var(--ink); margin-bottom: 24px; }

.hero { align-items: flex-start; padding-top: 72px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost { border: 1px solid var(--primary); color: var(--primary); }
.btn-ghost:hover { background: #FFEDE8; }

.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.hero-tags li {
  font-size: 14px;
  color: var(--accent);
  background: #E9FBF5;
  padding: 5px 14px;
  border-radius: 999px;
}

.block-copy p { margin-bottom: 14px; }
.block-copy .note { color: var(--muted); font-size: 15px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.card p { color: var(--muted); font-size: 14px; margin: 0; }

.steps { counter-reset: step; list-style: none; margin-top: 4px; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.steps li:last-child { border-bottom: none; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 16px 0;
}

.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid var(--line);
  font-size: 15px;
}

.compare-table th { background: var(--primary); color: #fff; font-weight: 600; }
.compare-table td:first-child { font-weight: 700; white-space: nowrap; }

.center { text-align: center; }
.center .kicker { margin-bottom: 14px; }
.center p { max-width: 720px; margin-left: auto; margin-right: auto; }

.checklist { list-style: none; margin-top: 6px; }
.checklist li { padding: 8px 0 8px 30px; position: relative; font-size: 15px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.link-cards a {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: all 0.2s ease;
}

.link-cards a:hover { border-color: var(--primary); color: var(--primary); }

.faq-list { margin-top: 8px; }

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::before { content: "Q. "; color: var(--primary); }

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

.contact .block-copy p { line-height: 2; }

.site-footer {
  background: #1E1B18;
  color: #D9D2CB;
  padding: 48px 24px;
}

.footer-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer-inner p { margin: 8px 0; font-size: 15px; }

.footer-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 16px 0; }
.footer-nav a { color: #FFF8F2; }
.footer-nav a:hover { color: var(--primary); }

.copyright { color: #8A8076; font-size: 14px !important; }
.copyright a { color: #C9BDB2; text-decoration: underline; }

@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .main-nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .main-nav a { font-size: 14px; }
  .block { flex-direction: column; padding: 64px 0; gap: 32px; }
  .block-media.left { order: 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .hero-actions .btn { width: 100%; text-align: center; }
}
