/* =========================================================
   云耀造梦共创平台 · 视觉系统
   设计基调：线稿 / 蓝图 / 纸感
   取色自品牌标识：浅蓝线稿云朵、天蓝主线、淡黄星芒、宋体字标
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #fbfbf8;
  --paper-warm: #f6f5ee;
  --paper-blue: #f2f8fc;
  --ink: #12171b;
  --ink-soft: #3c4954;
  --muted: #74828d;
  --muted-2: #96a3ad;
  --line: #e2e8ec;
  --line-2: #cbd8e0;
  --sky: #1d9bf0;
  --sky-deep: #0b6fb4;
  --sky-ink: #084a74;
  --sky-pale: #bfe9f7;
  --sky-wash: #edf7fd;
  --spark: #f6e27a;
  --spark-deep: #cdae28;
  --green: #2f8f6b;
  --red: #c0563f;
  --amber: #b7832a;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --max: 1240px;
  --gut: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 30px 70px -40px rgba(9, 52, 80, 0.35);
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --nav-h: 72px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--spark); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 3px;
}

/* ---------- 3. Type ---------- */
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-2);
}
.kicker--sky { color: var(--sky-deep); }
.kicker--sky::before { background: var(--sky); }

.h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.24;
  letter-spacing: 0.005em;
}
.h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
}
.lead {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.85;
  max-width: 60ch;
}
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: clamp(64px, 8vw, 118px); }
.section + .section { border-top: 1px solid var(--line); }
.section--tint { background: var(--paper-blue); }
.section--warm { background: var(--paper-warm); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head .h2 { max-width: 18ch; }
.section-head .lead { justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head .lead { justify-self: start; }
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 5. Buttons & chips ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); }

.btn--sky { --btn-bg: var(--sky); --btn-fg: #fff; }
.btn--sky:hover { background: var(--sky-deep); }

.btn--sm { padding: 9px 15px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sky-deep);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.textlink:hover { border-color: currentColor; }
.textlink .arw { transition: transform 0.25s var(--ease); }
.textlink:hover .arw { transform: translateX(3px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  line-height: 1.6;
  font-family: var(--sans);
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge--sky { background: var(--sky-wash); color: var(--sky-deep); border-color: #cfe9f8; }
.badge--green { background: #eef7f2; color: var(--green); border-color: #d5e9df; }
.badge--amber { background: #fdf7e7; color: var(--amber); border-color: #f0e3bf; }
.badge--red { background: #fbf0ed; color: var(--red); border-color: #f0d9d2; }
.badge--gray { background: #f4f6f7; color: var(--muted); border-color: #e4eaed; }
.badge--ink { background: var(--ink); color: var(--spark); border-color: var(--ink); }

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(251, 251, 248, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 251, 248, 0.94); }

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark { width: 38px; height: 38px; color: #93d6ee; flex: none; }
.brand__mark--img { width: 44px; height: 31px; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.brand__word {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  margin-top: 5px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-actions .textlink { font-size: 13px; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.nav-toggle span { display: block; width: 16px; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 55;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gut) 26px;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 18px;
}
.mobile-menu a span { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }

@media (max-width: 960px) {
  .nav-links, .nav-actions .textlink { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions { gap: 10px; flex: none; }
  .nav-actions .btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; flex: none; }
}
@media (max-width: 380px) {
  .nav-inner { gap: 14px; }
  .brand__sub { display: none; }
  .brand__word { font-size: 16px; letter-spacing: 0.08em; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__mark.brand__mark--img { width: 34px; height: 24px; }
  .nav-actions .btn { padding: 9px 11px; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(44px, 7vw, 92px));
  padding-bottom: clamp(48px, 7vw, 92px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(29, 155, 240, 0.16) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 62% 34%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 34%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero__cloud {
  position: absolute;
  top: 4%;
  right: -6%;
  width: min(58vw, 760px);
  color: var(--sky-pale);
  opacity: 0.5;
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-18px, 14px, 0); }
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.16;
  letter-spacing: 0.005em;
}
.hero__title em {
  font-style: normal;
  display: inline-block;
  color: var(--sky-deep);
  background: linear-gradient(180deg, transparent 70%, rgba(246, 226, 122, 0.62) 70%);
}
.hero__lede { margin-top: 24px; max-width: 34em; }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero__meta {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
}
.hero__meta div { display: flex; align-items: baseline; gap: 8px; }
.hero__meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted-2); text-transform: uppercase; }
.hero__meta dd { margin: 0; font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); }

/* 状态看板 */
.state-board {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.state-board::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(29, 155, 240, 0.16);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.state-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.state-board__title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-soft); text-transform: uppercase; }
.state-board__hint { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }

.state-list { position: relative; }
.state-list::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 20px;
  bottom: 24px;
  border-left: 1px dashed var(--line-2);
}
.state-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 8px;
  border-radius: var(--r-sm);
  text-align: left;
  transition: background 0.2s;
}
.state-row:hover { background: var(--sky-wash); }
.state-row.is-active { background: var(--ink); }
.state-row.is-active .state-code { color: var(--spark); }
.state-row.is-active .state-name { color: var(--paper); }
.state-row.is-active .state-perm { color: rgba(251, 251, 248, 0.55); }
.state-row.is-active .state-dot { background: var(--spark); box-shadow: 0 0 0 3px rgba(246, 226, 122, 0.22); }
.state-code { font-family: var(--mono); font-size: 11px; color: var(--sky-deep); letter-spacing: 0.06em; }
.state-name { font-size: 13px; color: var(--ink); }
.state-perm { font-size: 10.5px; color: var(--muted-2); font-family: var(--mono); letter-spacing: 0.02em; }
.state-dot {
  position: absolute;
  left: 28px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sky-pale);
  border: 1px solid var(--sky);
  transition: all 0.2s;
}
.state-detail {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
  min-height: 62px;
}
.state-detail dt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; padding-top: 2px; }
.state-detail dd { margin: 0; line-height: 1.65; }

@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__cloud { width: 96vw; top: auto; bottom: -10%; right: -30%; opacity: 0.4; }
  .state-board { max-width: 520px; }
}

/* ---------- 8. Flow strip ---------- */
.flowstrip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
}
.flowstrip__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.flowstep {
  position: relative;
  padding: 26px 24px 24px;
  border-left: 1px solid var(--line);
}
.flowstep:first-child { border-left: 0; }
.flowstep__no { font-family: var(--mono); font-size: 10px; color: var(--muted-2); letter-spacing: 0.16em; }
.flowstep__name { margin-top: 8px; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.flowstep__desc { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.flowstep__tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  border-radius: var(--r-sm);
}
.flowstep__tag.is-offline { border-color: var(--sky-pale); background: var(--sky-wash); color: var(--sky-deep); }
@media (max-width: 900px) {
  .flowstrip__inner { grid-template-columns: repeat(2, 1fr); }
  .flowstep { border-top: 1px solid var(--line); }
  .flowstep:nth-child(odd) { border-left: 0; }
  .flowstep:last-child { grid-column: 1 / -1; }
}

/* ---------- 9. Principles ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.principle {
  padding: 28px 26px 30px 0;
  border-right: 1px solid var(--line);
}
.principle:last-child { border-right: 0; }
.principle + .principle { padding-left: 26px; }
.principle__no { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--sky-deep); }
.principle__title { margin-top: 12px; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.principle__text { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
@media (max-width: 900px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .principle + .principle { padding-left: 0; }
  .principle:nth-child(even) { padding-left: 24px; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .principle:nth-child(even) { padding-left: 0; }
  .principle:first-child { border-top: 0; }
}

/* ---------- 10. IP gallery ---------- */
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.ip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.ip-card { position: relative; }
.ip-card__media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--sky-wash);
  aspect-ratio: 4 / 5;
}
.ip-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
  filter: saturate(0.94);
}
.ip-card:hover .ip-card__media img { transform: scale(1.035); filter: saturate(1.05); }
.ip-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  background: rgba(251, 251, 248, 0.9);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(4px);
}
.ip-card__status {
  position: absolute;
  right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(18, 23, 27, 0.74);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}
.ip-card__status::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--spark); }
.ip-card__body { padding-top: 14px; border-top: 1px solid var(--ink); margin-top: 14px; }
.ip-card__name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ip-card__name h3 { font-size: 19px; font-weight: 600; }
.ip-card__name .mono { font-size: 10px; color: var(--muted-2); letter-spacing: 0.08em; }
.ip-card__meta { margin-top: 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); }
.ip-card__price { font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .ip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ip-grid { grid-template-columns: 1fr; }
  .gallery-head { flex-direction: column; align-items: start; }
}

/* ---------- 11. Split / note ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.note-list { border-top: 1px solid var(--line); }
.note {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.note__no { font-family: var(--mono); font-size: 11px; color: var(--sky-deep); letter-spacing: 0.1em; padding-top: 3px; }
.note__title { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.note__text { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.stat { border-top: 2px solid var(--ink); padding-top: 12px; }
.stat__v { font-family: var(--mono); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; }
.stat__k { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---------- 12. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(56px, 7vw, 96px);
}
.cta-band .kicker { color: rgba(251, 251, 248, 0.55); }
.cta-band .kicker::before { background: rgba(251, 251, 248, 0.3); }
.cta-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
}
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.28; margin-top: 18px; }
.cta-band p { margin-top: 18px; color: rgba(251, 251, 248, 0.66); max-width: 40ch; font-size: 14px; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta-band .btn { --btn-bg: var(--spark); --btn-fg: var(--ink); }
.cta-band .btn:hover { background: #fff2ae; }
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: var(--paper); border-color: rgba(251, 251, 248, 0.28); }
.cta-band .btn--ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.06); }
.cta-band__cloud {
  position: absolute;
  right: -4%;
  bottom: -30%;
  width: min(640px, 60vw);
  color: var(--sky-pale);
  opacity: 0.16;
}
@media (max-width: 860px) {
  .cta-band__grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .cta-band__actions { max-width: 380px; }
}

/* ---------- 13. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; background: var(--muted); transition: transform 0.3s var(--ease), background 0.3s;
}
.faq summary .plus::before { left: 0; top: 6px; width: 14px; height: 1px; }
.faq summary .plus::after { left: 6px; top: 0; width: 1px; height: 14px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); background: var(--sky); }
.faq details[open] summary .plus::before { background: var(--sky); }
.faq__body { padding: 0 40px 24px 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; max-width: 70ch; }

/* ---------- 14. Footer ---------- */
.site-footer { padding-block: 54px 34px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand .brand__word { font-size: 20px; }
.footer-brand p { margin-top: 14px; font-size: 12.5px; color: var(--muted); max-width: 30ch; line-height: 1.8; }
.footer-brand .logo-plate {
  margin-top: 22px;
  width: 96px;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); font-weight: 500; }
.footer-col a, .footer-col span { display: block; margin-top: 11px; font-size: 13px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--sky-deep); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(38px, 5vw, 68px));
  padding-bottom: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-blue) 0%, var(--paper) 100%);
}
.page-hero__row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}
.page-hero h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.2; margin-top: 16px; }
.page-hero .lead { margin-top: 14px; }
.crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); letter-spacing: 0.08em; }
.crumbs a:hover { color: var(--sky-deep); }
.page-hero__side { min-width: 236px; flex: none; }

.apply-layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); align-items: start; }

@media (max-width: 960px) {
  .apply-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .page-hero__row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .page-hero__side { min-width: 0; width: 100%; }
}

/* ---------- 16. Form system ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: clamp(22px, 3.4vw, 38px);
}
.form-section + .form-section { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-section__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.form-section__no {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--sky-deep);
  border: 1px solid var(--sky-pale);
  background: var(--sky-wash);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}
.form-section__title { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.form-section__hint { font-size: 12px; color: var(--muted); margin-left: auto; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}
.field .req { color: var(--red); font-family: var(--mono); font-size: 11px; }
.field .tips { font-size: 11.5px; color: var(--muted-2); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--paper);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2374828d' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(29, 155, 240, 0.12);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192, 86, 63, 0.08); }
.field__error { display: none; font-size: 11.5px; color: var(--red); }
.field.has-error .field__error { display: block; }

.counter { font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); text-align: right; }

.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.7; cursor: pointer; }
.checkline input { margin-top: 4px; accent-color: var(--sky-deep); width: 15px; height: 15px; flex: none; }

.choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.choice input { accent-color: var(--sky-deep); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.upload-zone {
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--paper-blue);
  padding: 26px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.upload-zone:hover { border-color: var(--sky); background: var(--sky-wash); }
.upload-zone__icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--sky-deep); }
.upload-zone__title { font-family: var(--serif); font-size: 15px; font-weight: 600; }
.upload-zone__hint { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.upload-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.upload-file {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-2); background: #fff;
  padding: 5px 10px; font-size: 11.5px; color: var(--ink-soft);
}
.upload-file button { color: var(--muted); line-height: 1; }
.upload-file button:hover { color: var(--red); }

.form-actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.form-actions .muted { font-size: 12px; }

/* 侧栏 */
.aside-card {
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--r);
  padding: 22px;
}
.aside-card + .aside-card { margin-top: 18px; }
.aside-card__title { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.aside-list { margin-top: 14px; border-top: 1px solid var(--line); }
.aside-list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }
.aside-list li .mono { color: var(--muted-2); font-size: 10.5px; padding-top: 3px; }
.aside-note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 12px; }

.process-rail { counter-reset: rail; margin-top: 16px; }
.process-rail li {
  position: relative;
  padding: 0 0 18px 26px;
  font-size: 12.5px;
  color: var(--muted);
  border-left: 1px dashed var(--line-2);
}
.process-rail li:last-child { border-left-color: transparent; padding-bottom: 0; }
.process-rail li::before {
  content: "";
  position: absolute;
  left: -4px; top: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-2);
}
.process-rail li.is-done { color: var(--ink-soft); }
.process-rail li.is-done::before { background: var(--sky); border-color: var(--sky); }
.process-rail li.is-now { color: var(--ink); font-weight: 500; }
.process-rail li.is-now::before { background: var(--spark); border-color: var(--spark-deep); box-shadow: 0 0 0 4px rgba(246, 226, 122, 0.25); }

/* 提交结果 */
.result-card {
  display: none;
  border: 1px solid var(--sky-pale);
  background: var(--sky-wash);
  border-radius: var(--r);
  padding: clamp(24px, 3vw, 38px);
}
.result-card.is-on { display: block; animation: rise 0.5s var(--ease); }
.result-card .badge { background: #fff; }
.result-card h3 { margin-top: 14px; font-size: 24px; }
.result-card p { margin-top: 10px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.85; max-width: 62ch; }
.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
}
.result-meta div span { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted-2); text-transform: uppercase; }
.result-meta div strong { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; }

/* ---------- 17. Reveal & utilities ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 99; background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.form-error-box {
  display: none;
  margin-top: 18px;
  border: 1px solid #f0d9d2;
  background: #fbf0ed;
  color: var(--red);
  padding: 12px 14px;
  font-size: 12.5px;
  border-radius: var(--r);
}
.form-error-box.is-on { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
