:root {
  --red: #9f1512;
  --red-2: #df3b1f;
  --ink: #26130d;
  --paper: #fff4df;
  --cream: #fff9ed;
  --gold: #d49a34;
  --muted: #80665b;
  --line: rgba(85, 38, 19, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,.96), transparent 28%),
    radial-gradient(circle at 86% 0%, rgba(178,190,207,.72), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef2f6 38%, #dce3eb 72%, #f8fafc 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background-image: linear-gradient(90deg, rgba(92,106,124,.14) 1px, transparent 1px), linear-gradient(rgba(92,106,124,.1) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: -1;
}
img { display: block; max-width: 100%; }
main { overflow: hidden; padding-bottom: 10px; }
.hero {
  padding: 24px 18px 8px;
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
}
.hero::after {
  content: "加盟";
  position: absolute;
  top: 18px;
  right: -18px;
  font-size: 108px;
  font-weight: 900;
  color: rgba(159,21,18,.08);
  writing-mode: vertical-rl;
  line-height: .86;
}
.kicker {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 12vw, 62px);
  line-height: .98;
  letter-spacing: -0.08em;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 8vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
p { color: var(--muted); line-height: 1.75; }
.subtitle { font-size: 17px; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.badges span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}
.hero-card, .final-cta {
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 20px 58px rgba(80, 94, 112, .18);
}
.hero-card {
  border-radius: 34px;
  background: rgba(255, 255, 255, .7);
}
.hero-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.lead-form {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(80, 94, 112, .2);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 1;
}
.form-title {
  margin-bottom: 4px;
  color: var(--gold);
  font-weight: 900;
}
.lead-form h2 { font-size: 28px; }
label {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: var(--ink);
  font-weight: 900;
}
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: #fbfdff;
  outline: none;
}
input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,154,52,.18);
}
button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(159,21,18,.32);
}
button {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}
.form-message {
  margin: 12px 0 0;
  min-height: 22px;
  font-weight: 800;
}
.form-message.ok { color: #247a1d; }
.form-message.error { color: var(--red); }
.final-cta {
  width: min(1080px, calc(100% - 36px));
  margin: 4px auto 0;
  border-radius: 30px;
  background: transparent;
}
.final-cta img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media (min-width: 820px) {
  .hero {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 36px 0 8px;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
  .lead-form { grid-column: 2; }
  .final-cta { margin-top: 8px; }
}
