:root {
  --ink: #12304f;
  --ink-2: #1f4464;
  --orange: #e46f2f;
  --orange-dark: #bc4e18;
  --paper: #fbf6ee;
  --paper-strong: #f4eadb;
  --surface: #ffffff;
  --muted: #5d6875;
  --line: #e1d7ca;
  --teal: #147465;
  --shadow: 0 18px 45px rgba(18, 48, 79, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  left: 16px;
  position: absolute;
  top: -48px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: rgba(251, 246, 238, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-shell,
.section,
.footer-inner {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 20px;
}

.nav-shell {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-text {
  display: grid;
  font-weight: 800;
  line-height: 1.15;
}

.brand-text small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-top: 3px;
}

.nav-toggle {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
}

.site-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  left: 20px;
  padding: 10px;
  position: absolute;
  right: 20px;
  top: 78px;
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: var(--paper-strong);
}

.section {
  padding-bottom: 56px;
  padding-top: 56px;
}

.section.tight {
  padding-bottom: 32px;
  padding-top: 32px;
}

.hero {
  display: grid;
  gap: 28px;
  padding-bottom: 48px;
  padding-top: 48px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(34px, 7vw, 68px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.eyebrow {
  color: var(--orange-dark);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.lead {
  color: #31445a;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.45;
  margin: 0 0 18px;
}

.copy {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-image-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  width: 100%;
}

.note-strip {
  background: #fff8ed;
  border: 1px solid #efc999;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  color: #4b3828;
  margin-top: 20px;
  padding: 14px 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--orange);
  color: #fff;
}

.button.primary:hover {
  background: var(--orange-dark);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--orange);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2,
.page-hero h2 {
  font-size: clamp(26px, 4.5vw, 42px);
  line-height: 1.14;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.flow-step h3::before {
  color: var(--orange-dark);
  content: "步骤 " counter(flow-step) "：";
  counter-increment: flow-step;
}

.split-list {
  display: grid;
  gap: 16px;
}

.split-list .card:first-child {
  border-color: rgba(20, 116, 101, 0.35);
}

.split-list .card:last-child {
  border-color: rgba(180, 35, 24, 0.25);
}

.grid.two,
.grid.three,
.grid.four {
  grid-template-columns: 1fr;
}

.card,
.problem-card,
.industry-card,
.package-card,
.step-card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card.highlight,
.industry-card.highlight,
.package-card.highlight {
  border-color: #efb16d;
  box-shadow: 0 12px 32px rgba(228, 111, 47, 0.12);
}

.card h3,
.problem-card h3,
.industry-card h3,
.package-card h3,
.step-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.problem-card[hidden],
.empty-state[hidden] {
  display: none;
}

.card p,
.problem-card p,
.industry-card p,
.package-card p,
.step-card p {
  color: var(--muted);
  margin: 0;
}

.card ul,
.industry-card ul,
.package-card ul,
.step-card ul,
.content-block ul {
  color: var(--muted);
  margin: 10px 0 0;
  padding-left: 20px;
}

.card li,
.industry-card li,
.package-card li,
.step-card li,
.content-block li {
  margin: 6px 0;
}

.kicker {
  color: var(--teal);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.card-tags span,
.tag-row small,
.pill {
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #435061;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 9px;
}

.text-link {
  color: var(--orange-dark);
  display: inline-flex;
  font-weight: 800;
  margin-top: 16px;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.band {
  background: var(--ink);
  color: var(--paper);
}

.band .section-heading p,
.band .copy,
.band .card p,
.band .card li {
  color: #dbe6ee;
}

.band .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.page-hero {
  background: linear-gradient(180deg, #fffaf2 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding-bottom: 42px;
  padding-top: 42px;
}

.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.honeypot-field {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.field label {
  color: var(--ink);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  background: #fff;
  border: 1px solid #cfc5b8;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-shell {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.output-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.status-text {
  color: var(--teal);
  font-weight: 800;
  min-height: 28px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 22px;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 22px;
}

.content-block h2 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.content-block p {
  color: var(--muted);
  margin: 0 0 12px;
}

.warning-box,
.config-note,
.contact-card {
  background: #fff8ed;
  border: 1px solid #efc999;
  border-radius: 8px;
  color: #4b3828;
  margin: 16px 0;
  padding: 16px;
}

.warning-box strong,
.config-note strong {
  color: var(--orange-dark);
}

.fine-print {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.consent-row {
  align-items: flex-start;
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  margin-top: 14px;
}

.consent-row input {
  margin-top: 7px;
}

.output-box textarea {
  min-height: 220px;
}

.status-text[data-status="error"] {
  color: #b42318;
}

.status-text[data-status="success"] {
  color: var(--teal);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item,
.sample-card,
.boundary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.faq-item h3,
.sample-card h3,
.boundary-card h3 {
  margin: 0 0 8px;
}

.sample-card pre,
.message-template {
  background: #f7efe4;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #31445a;
  font-family: inherit;
  margin: 12px 0 0;
  padding: 14px;
  white-space: pre-wrap;
}

.mini-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mini-table div {
  display: grid;
  gap: 8px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 12px 14px;
}

.mini-table div + div {
  border-top: 1px solid var(--line);
}

.mini-table strong {
  color: var(--ink);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-list {
  color: #dbe6ee;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.contact-list li {
  margin: 7px 0;
}

.contact-list a {
  color: #edf4f8;
  font-weight: 700;
}

.qr-placeholder {
  align-items: center;
  background: var(--paper-strong);
  border: 1px dashed #c4b6a6;
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  justify-content: center;
  min-height: 160px;
  padding: 16px;
  text-align: center;
}

.site-footer h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1fr;
}

.price-grid {
  display: grid;
  gap: 12px;
}

.price-card strong {
  display: block;
  font-size: 20px;
}

.price-card span {
  color: var(--orange-dark);
  font-weight: 900;
}

.site-footer {
  background: #0e263e;
  color: #edf4f8;
  margin-top: 32px;
}

.footer-inner {
  display: grid;
  gap: 16px;
  padding-bottom: 28px;
  padding-top: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #edf4f8;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    gap: 2px;
    left: auto;
    padding: 0;
    position: static;
    right: auto;
    top: auto;
  }

  .site-nav a {
    font-size: 13px;
    padding: 8px 7px;
  }

  .hero {
    align-items: center;
    grid-template-columns: 1.02fr 0.98fr;
    min-height: calc(100vh - 72px);
  }

  .section-heading {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .grid.two,
  .filters,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three,
  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-inner {
    align-items: start;
    grid-template-columns: 1.15fr 1fr 0.85fr;
  }
}

@media (max-width: 768px) {
  .hero-image {
    object-position: center center;
  }
}

@media (min-width: 1020px) {
  .grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
