/* ============================================================
   深圳万相词元智能科技有限公司 — 全站样式
   浅色科技风 / Design Tokens + Components
   ============================================================ */

:root {
  /* Brand */
  --brand-50:  #eef4ff;
  --brand-100: #dbe6fe;
  --brand-200: #bfd3fe;
  --brand-400: #5b8def;
  --brand-500: #2f6bf0;
  --brand-600: #1f51cc;
  --brand-700: #1a3fa3;

  --cyan-50:  #e6fbfa;
  --cyan-100: #ccf5f1;
  --cyan-400: #2ec5b6;
  --cyan-500: #10a594;
  --cyan-600: #0b8175;

  --violet-50:  #f2eeff;
  --violet-100: #e4dcff;
  --violet-400: #9b7bf0;
  --violet-500: #7c53e3;
  --violet-600: #653cc4;

  /* Neutral (light) */
  --ink-900: #0d1526;
  --ink-800: #17203a;
  --ink-700: #2c3654;
  --ink-600: #47526e;
  --ink-500: #6b7690;
  --ink-400: #939cb4;
  --ink-300: #c3c9d8;
  --ink-200: #e2e6ef;
  --ink-100: #eef1f7;
  --ink-50:  #f6f8fc;
  --white: #ffffff;

  /* Semantic */
  --ok-500:   #1f9d6b;
  --ok-50:    #e7f7f0;
  --warn-500: #d98324;
  --warn-50:  #fdf3e4;
  --danger-500: #d64545;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --shadow-xs: 0 1px 2px rgba(13, 21, 38, .05);
  --shadow-sm: 0 2px 8px rgba(13, 21, 38, .06);
  --shadow-md: 0 8px 28px rgba(13, 21, 38, .08);
  --shadow-lg: 0 20px 56px rgba(13, 21, 38, .12);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--ink-50);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

::selection { background: var(--brand-100); color: var(--brand-700); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 68px 0; }
.section--alt { background: var(--white); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.15; }
h2 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
h3 { font-size: 21px; }
h4 { font-size: 17px; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.lead { font-size: 18px; color: var(--ink-600); max-width: 760px; }
.muted { color: var(--ink-500); }
.mono { font-family: var(--font-mono); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-500), var(--violet-500));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(47, 107, 240, .28);
}
.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 10px 28px rgba(47, 107, 240, .36);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--ink-200);
  color: var(--ink-800);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--brand-200); color: var(--brand-700); box-shadow: var(--shadow-sm); }

.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-200);
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.card__icon--cyan { background: var(--cyan-50); border-color: var(--cyan-100); }
.card__icon--violet { background: var(--violet-50); border-color: var(--violet-100); }

/* top gradient hairline on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover::after { transform: scaleX(1); }

.card__meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-200);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-400);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--ink-100);
  color: var(--ink-600);
  border: 1px solid var(--ink-200);
  margin: 0 6px 6px 0;
}
.tag--brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.tag--cyan { background: var(--cyan-50); color: var(--cyan-600); border-color: var(--cyan-100); }
.tag--violet { background: var(--violet-50); color: var(--violet-600); border-color: var(--violet-100); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--ink-200);
  box-shadow: 0 2px 16px rgba(13, 21, 38, .05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-500), var(--violet-500) 55%, var(--cyan-500));
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(47, 107, 240, .3);
  flex-shrink: 0;
}
.brand__name { font-size: 16.5px; font-weight: 600; color: var(--ink-900); line-height: 1.25; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
  letter-spacing: .08em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-600);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav a:hover { background: var(--ink-100); color: var(--ink-900); }
.nav a.is-active { color: var(--brand-600); background: var(--brand-50); font-weight: 500; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--ink-200);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.8px;
  background: var(--ink-700);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4.5px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 108px 0 92px;
  overflow: visible;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--brand-50), transparent 62%),
    radial-gradient(760px 460px at 8% 8%, var(--cyan-50), transparent 60%),
    var(--white);
}
.hero > .container { position: relative; z-index: 2; }
/* grid mesh */
.hero__mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 107, 240, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 240, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 32%, #000 12%, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 12%, transparent 74%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero__grad {
  background: linear-gradient(120deg, var(--brand-600), var(--violet-500) 52%, var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub { font-size: 18.5px; color: var(--ink-600); margin-bottom: 30px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--ink-200);
}
.hero__trust-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-500); }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 0 3px var(--ok-50);
  flex-shrink: 0;
}

/* hero visual card */
.hero__visual {
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero__visual-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-200);
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
}
.hero__visual-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink-300);
}
.hero__visual-bar i:first-child { background: #ff5f57; }
.hero__visual-bar i:nth-child(2) { background: #febc2e; }
.hero__visual-bar i:nth-child(3) { background: #28c840; }
.hero__visual-bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-400);
}
.hero__visual-body { padding: 24px; }

/* pipeline rows */
.pipe { display: grid; gap: 11px; }
.pipe__row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  background: var(--ink-50);
  animation: pipeIn .6s var(--ease) both;
}
.pipe__row:nth-child(1) { animation-delay: .05s; }
.pipe__row:nth-child(2) { animation-delay: .18s; }
.pipe__row:nth-child(3) { animation-delay: .31s; }
.pipe__row:nth-child(4) { animation-delay: .44s; }
@keyframes pipeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.pipe__ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 15px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  flex-shrink: 0;
}
.pipe__txt { flex: 1; min-width: 0; }
.pipe__txt b { display: block; font-size: 14.5px; color: var(--ink-800); font-weight: 500; }
.pipe__txt small { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-400); }
.pipe__state {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ok-600, #1f9d6b);
  background: var(--ok-50);
  border: 1px solid #bfe9d6;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-200);
  border: 1px solid var(--ink-200); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: 32px 26px; text-align: center; }
.stat__num {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  color: var(--brand-600);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat__label { font-size: 14px; color: var(--ink-500); margin-top: 6px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 76px 0 60px;
  background:
    radial-gradient(900px 420px at 82% -10%, var(--brand-50), transparent 62%),
    var(--white);
  border-bottom: 1px solid var(--ink-200);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-400);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--ink-500); }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb .sep { color: var(--ink-300); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 13px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-700);
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.5 2.5L12 5.5' fill='none' stroke='%232f6bf0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border: 1px solid var(--brand-100);
}
.checklist li b { color: var(--ink-900); font-weight: 600; flex-shrink: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps--5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps--5 .step { padding: 24px 18px 22px; }
.steps--5 .step p { font-size: 13.5px; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  counter-increment: s;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  content: "0" counter(s);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-500);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  padding: 3px 11px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-600); margin-bottom: 0; }

/* ---------- Architecture / stack diagram ---------- */
.arch {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.arch__layer {
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  padding: 16px 18px 18px;
  background: var(--ink-50);
}
.arch__layer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 12px;
}
.arch__nodes { display: flex; flex-wrap: wrap; gap: 9px; }
.arch__node {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--ink-700);
  font-family: var(--font-mono);
}
.arch__layer--brand .arch__node { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand-700); }
.arch__layer--cyan .arch__node { border-color: var(--cyan-100); background: var(--cyan-50); color: var(--cyan-600); }
.arch__layer--violet .arch__node { border-color: var(--violet-100); background: var(--violet-50); color: var(--violet-600); }
.arch__arrow {
  text-align: center;
  color: var(--ink-300);
  font-size: 15px;
  line-height: 1;
  margin: -6px 0;
}

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; }
thead th {
  background: var(--ink-50);
  text-align: left;
  padding: 15px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-600);
  border-bottom: 1px solid var(--ink-200);
  white-space: nowrap;
}
tbody td {
  padding: 15px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-700);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--ink-50); }
td strong { color: var(--ink-900); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 19px 52px 19px 22px;
  font-weight: 500;
  color: var(--ink-900);
  font-size: 16.5px;
  position: relative;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--brand-500);
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 22px 21px; color: var(--ink-600); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(760px 340px at 15% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(120deg, var(--brand-700), var(--brand-600) 40%, var(--violet-600));
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 0; max-width: 560px; }
.cta-band .btn--ghost {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  color: var(--white);
}
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.24); color: var(--white); }
.cta-band .btn--primary { background: var(--white); color: var(--brand-700); box-shadow: 0 8px 24px rgba(0,0,0,.16); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 14px;
  color: var(--ink-700);
  font-weight: 500;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink-800);
  background: var(--ink-50);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--ink-400); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--ink-200);
  padding: 60px 0 28px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ink-100);
}
.footer__about p { font-size: 14px; color: var(--ink-500); margin: 16px 0 0; max-width: 320px; }
.footer h5 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--ink-500); }
.footer ul a:hover { color: var(--brand-600); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-400);
}
.footer__bottom a { color: var(--ink-500); }

/* 备案号唯一入口 — 版权行加粗 */
.footer__beian-link {
  font-weight: 500;
  color: var(--ink-600) !important;
  border-bottom: 1px solid var(--ink-300);
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer__beian-link:hover {
  color: var(--brand-600) !important;
  border-bottom-color: var(--brand-400);
}

/* 备案信息条（工信部要求：显著位置 + 可跳转公信部） */
.footer__beian {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 13px 18px;
  margin-bottom: 22px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.footer__beian-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-600);
}
.footer__beian-label svg { flex-shrink: 0; }
.beian-badge__shield { font-size: 13px; line-height: 1; }
.beian-badge__ext {
  font-size: 12px;
  line-height: 1;
  opacity: .65;
  font-family: var(--font-mono);
}
.beian-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  background: var(--white);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--brand-700);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.beian-badge:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
  color: var(--brand-700);
  transform: translateY(-1px);
}
.beian-badge svg { flex-shrink: 0; }
.beian-badge--public {
  background: var(--white);
  border-color: var(--ink-200);
  color: var(--ink-600);
  font-family: var(--font-sans);
}
.beian-badge--public:hover { background: var(--ink-100); border-color: var(--ink-300); color: var(--ink-800); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__sub { max-width: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--ink-200);
    padding: 12px 20px 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 14px; }
  .nav-toggle { display: grid; }
  .header__actions .btn { display: none; }
  .section { padding: 68px 0; }
  .grid-2, .grid-3, .grid-4, .split, .stats, .steps { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 68px 0 64px; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .card { padding: 24px 22px; }
  .footer__bottom { flex-direction: column; }
  .footer__beian { padding: 12px 14px; gap: 9px 12px; }
  .footer__beian-label { font-size: 13px; }
  .beian-badge { font-size: 13px; padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .header, .hero__visual, .cta-band { display: none; }
  body { background: #fff; }
  .card, .step { box-shadow: none; border-color: #ddd; }
}