/* Criea — creia.massop.tech
   视觉论题：宣纸白与墨色，唯一的朱砂红取自产品自身的 #DA624B；
   语气像一份被朱笔批过的手稿，而不是 SaaS 落地页。 */

:root {
  --paper: #fffefa;
  --paper-2: #f4f4ef;
  --ink: #1a1a18;
  --ink-2: #56554f;
  --ink-3: #8d8b83;
  --rule: rgba(26, 26, 24, 0.13);
  --rule-soft: rgba(26, 26, 24, 0.07);
  --vermilion: #da624b;
  --vermilion-ink: #bf4a34;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Noto Serif CJK SC", "Source Han Serif SC", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --page: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: inherit; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 20;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-size: 14px;
}
.skip:focus { left: 12px; top: 12px; }

/* 阅读进度：页顶的朱线 */
.progress {
  position: fixed; top: 0; left: 0; z-index: 30;
  width: 100%; height: 2px;
  background: var(--vermilion);
  transform: scaleX(var(--read, 0));
  transform-origin: 0 50%;
  opacity: 0.9;
}

/* ---------- 顶部 ---------- */

.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: clamp(18px, 2.6vh, 30px) clamp(20px, 4vw, 60px);
}
.topbar__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 18px/1 var(--sans); letter-spacing: -0.02em;
  text-decoration: none;
}
.topbar__brand img { display: block; }
.topbar__status {
  margin: 0; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(218, 98, 75, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- 1 · HERO ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(112px, 15vh, 184px) 0 clamp(72px, 10vh, 120px) clamp(20px, 6vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, var(--paper) 0%, var(--paper) 40%, rgba(255, 254, 250, 0.74) 53%, rgba(255, 254, 250, 0) 72%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; max-width: 560px; }

.eyebrow {
  margin: 0 0 clamp(18px, 2.4vw, 30px);
  font: 500 11.5px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-3);
}

.wordmark {
  margin: 0;
  font: 600 clamp(58px, 8.6vw, 124px) / 0.92 var(--sans);
  letter-spacing: -0.05em;
}

.hero__claim {
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  font: 600 clamp(27px, 3vw, 42px) / 1.28 var(--serif);
  letter-spacing: 0.01em;
}

.hero__lede {
  margin: clamp(18px, 2.2vw, 28px) 0 0;
  max-width: 32em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: var(--ink-2);
}

.hero__cta { margin-top: clamp(28px, 3.6vw, 46px); }
.hero__note {
  margin: 16px 0 0; max-width: 30em;
  font-size: 13.5px; line-height: 1.7; color: var(--ink-3);
}

/* 按钮：唯一的强调动作 */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 24px;
  background: var(--ink); color: var(--paper);
  font: 500 15.5px/1 var(--sans); letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--vermilion);
  transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn:hover::after { width: 100%; }
.btn__arrow { width: 24px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--lg { padding: 18px 30px; font-size: 16.5px; }

/* 手稿纸：整页唯一的视觉锚点 */
.sheet-wrap {
  position: absolute; z-index: 2;
  top: 9%; right: -2.5%; width: min(740px, 56vw);
  animation: sheet-in 1.1s cubic-bezier(0.16, 0.84, 0.28, 1) 0.1s both;
}
@keyframes sheet-in {
  from { opacity: 0; transform: translate3d(5%, 7%, 0) rotate(-5deg); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(-1.6deg); }
}
.sheet {
  position: relative;
  transform: translate3d(0, var(--sheet-shift, 0px), 0);
  will-change: transform;
  background: #fff;
  border: 1px solid var(--rule-soft);
  border-radius: 3px;
  padding: clamp(26px, 3.2vw, 52px) clamp(46px, 5vw, 78px) clamp(34px, 3.6vw, 60px) clamp(24px, 3vw, 46px);
  box-shadow: 0 44px 90px -34px rgba(26, 26, 24, 0.26), 0 3px 0 rgba(26, 26, 24, 0.03);
}
.sheet__run {
  margin: 0 0 clamp(18px, 2.2vw, 34px);
  font: 500 10px/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-3);
}
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) 78px; column-gap: clamp(12px, 1.6vw, 22px); }
.sheet__title {
  margin: 0 0 clamp(16px, 2vw, 28px);
  font: 600 clamp(19px, 1.95vw, 29px) / 1.35 var(--serif);
  letter-spacing: 0.02em;
}
.sheet__body p {
  margin: 0 0 1.15em;
  font: 400 clamp(12.5px, 1.02vw, 15px) / 2.05 var(--serif);
  text-align: justify;
  color: #232320;
}
.sheet__rule { height: 1px; background: var(--rule-soft); margin: 1.6em 0 !important; }
.sheet__margin { border-left: 1px solid var(--rule-soft); padding-left: clamp(9px, 1.1vw, 15px); }
.note {
  margin: 0;
  font: 500 clamp(10px, 0.82vw, 12px) / 1.55 var(--sans);
  color: var(--vermilion-ink);
  letter-spacing: 0.04em;
  animation: note-in 0.5s ease both;
}
.note::before {
  content: ""; display: block; width: 22px; height: 1px;
  background: var(--vermilion); opacity: 0.55; margin-bottom: 7px;
}
.note--a { margin-top: 3.1em; animation-delay: 0.95s; }
.note--b { margin-top: 4.4em; animation-delay: 1.15s; }
@keyframes note-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

/* 朱批：删除线 / 插入 / 强调 */
.del { position: relative; display: inline-block; }
.del svg { position: absolute; left: -3%; top: 46%; width: 106%; height: 0.55em; overflow: visible; transform: translateY(-0.38em); }
.del svg path {
  fill: none; stroke: var(--vermilion); stroke-width: 1.5; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 0.5s cubic-bezier(0.6, 0.05, 0.3, 1) both;
}
.sheet__body .del:nth-of-type(1) svg path { animation-delay: 0.85s; }
.sheet__body .del:nth-of-type(2) svg path { animation-delay: 1.05s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.ins {
  color: var(--vermilion-ink);
  font-style: italic;
  padding: 0 0.15em;
  border-bottom: 1px solid rgba(218, 98, 75, 0.45);
  animation: ins-in 0.5s ease 1.25s both;
}
@keyframes ins-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.mark {
  background: linear-gradient(transparent 62%, rgba(218, 98, 75, 0.3) 62%);
  animation: mark-in 0.6s ease 1.45s both;
}
@keyframes mark-in { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }

/* 印章 */
.seal {
  position: absolute; right: clamp(22px, 6.4vw, 92px); bottom: clamp(14px, 1.8vw, 26px);
  display: grid; place-items: center;
  width: clamp(26px, 2.4vw, 34px); aspect-ratio: 1;
  border: 1.5px solid var(--vermilion); border-radius: 2px;
  color: var(--vermilion-ink);
  font: 600 clamp(13px, 1.2vw, 17px) / 1 var(--serif);
  transform: rotate(-7deg);
  opacity: 0.82;
  animation: seal-in 0.7s cubic-bezier(0.2, 1.3, 0.4, 1) 1.5s both;
}
@keyframes seal-in { from { opacity: 0; transform: rotate(-22deg) scale(1.5); } to { opacity: 0.82; transform: rotate(-7deg) scale(1); } }

/* 入场 */
.wordmark, .hero__claim {
  animation: rise 0.95s cubic-bezier(0.16, 0.84, 0.28, 1) both;
  clip-path: inset(-25% -15% -45% 0);
}
.wordmark { animation-delay: 0.05s; }
.hero__claim { animation-delay: 0.18s; }
.eyebrow, .hero__lede, .hero__cta {
  animation: fade-up 0.9s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}
.eyebrow { animation-delay: 0.3s; }
.hero__lede { animation-delay: 0.42s; }
.hero__cta { animation-delay: 0.54s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.42em); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- 区块骨架 ---------- */

.band {
  max-width: var(--page);
  margin: 0 auto;
  padding: clamp(84px, 13vh, 150px) clamp(20px, 4vw, 32px) 0;
}
.band--end { padding-bottom: clamp(20px, 4vh, 40px); }

.section-title {
  margin: 0;
  font: 600 clamp(28px, 3.6vw, 48px) / 1.28 var(--serif);
  letter-spacing: 0.01em;
  max-width: 20em;
}
.section-lede {
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.9;
  color: var(--ink-2);
}

/* 滚动显现：仅在 html.js 时隐藏，禁用 JS 也不会白屏 */
.js [data-reveal] > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s cubic-bezier(0.16, 0.84, 0.28, 1), transform 0.85s cubic-bezier(0.16, 0.84, 0.28, 1);
}
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > *:nth-child(2) { transition-delay: 0.06s; }
.js [data-reveal].is-in > *:nth-child(3) { transition-delay: 0.12s; }
.js [data-reveal].is-in > *:nth-child(4) { transition-delay: 0.18s; }
.js [data-reveal].is-in > *:nth-child(5) { transition-delay: 0.24s; }

/* 证据点 */
.facts {
  list-style: none; margin: clamp(28px, 3.6vw, 44px) 0 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.facts li {
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 15px; color: var(--ink-2);
  position: relative;
}
.facts li::before {
  content: ""; position: absolute; left: 2px; top: 23px;
  width: 7px; height: 1.5px; background: var(--vermilion);
}

/* 界面截图 */
.shot {
  margin: clamp(38px, 5.5vw, 68px) 0 0;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 34px 70px -40px rgba(26, 26, 24, 0.34);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 13px clamp(14px, 2vw, 20px) 15px;
  border-top: 1px solid var(--rule-soft);
  font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-3);
}

/* 工作流 */
.steps {
  margin: clamp(34px, 4.6vw, 56px) 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 76px);
}
.step { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.step__no {
  display: block; margin-bottom: 12px;
  font: 500 11.5px/1 var(--sans); letter-spacing: 0.24em; color: var(--vermilion-ink);
}
.step h3 { margin: 0 0 9px; font: 600 18.5px/1.4 var(--sans); letter-spacing: 0.01em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2); }

/* 进度 */
.status {
  margin: clamp(32px, 4.4vw, 52px) 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 76px);
}
.status__head {
  margin: 0 0 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font: 600 15px/1 var(--sans); letter-spacing: 0.06em;
}
.status__head--on { color: var(--vermilion-ink); }
.status__col ul { list-style: none; margin: 0; padding: 0; }
.status__col li {
  padding: 12px 0 12px 22px; position: relative;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 14.5px; color: var(--ink-2);
}
.status__col li::before {
  content: ""; position: absolute; left: 1px; top: 20px;
  width: 9px; height: 9px;
  border: 1px solid var(--ink-3); border-radius: 50%;
}
.status__head--on + ul li::before { background: var(--vermilion); border-color: var(--vermilion); }

/* 结尾动作 */
.final {
  margin-top: clamp(60px, 9vw, 112px);
  padding-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--ink);
}
.final__title {
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  font: 600 clamp(22px, 2.6vw, 32px) / 1.35 var(--serif);
}
.final__note { margin: 20px 0 0; font-size: 13.5px; color: var(--ink-3); }
.final__note a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.final__note a:hover { color: var(--vermilion-ink); border-color: var(--vermilion); }

/* ---------- 页脚 ---------- */

.foot {
  max-width: var(--page); margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) clamp(20px, 4vw, 32px) clamp(40px, 6vh, 64px);
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--ink-3);
}
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--vermilion-ink); }

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .sheet-wrap { width: min(660px, 58vw); right: -10%; }
  .sheet__grid { grid-template-columns: minmax(0, 1fr) 66px; }
}

@media (max-width: 900px) {
  .hero {
    display: block;
    min-height: 0;
    padding: 104px 0 0 clamp(20px, 5vw, 40px);
  }
  .hero::before { display: none; }
  .hero__inner { max-width: 34em; padding-right: clamp(20px, 5vw, 40px); }
  .sheet-wrap {
    position: relative; inset: auto;
    width: 108%; margin: 56px 0 0 -8%;
    animation: sheet-in-m 1s cubic-bezier(0.16, 0.84, 0.28, 1) 0.1s both;
  }
  @keyframes sheet-in-m {
    from { opacity: 0; transform: translate3d(0, 26px, 0) rotate(-3deg); }
    to { opacity: 1; transform: rotate(-1.2deg); }
  }
  .steps, .status { grid-template-columns: minmax(0, 1fr); }
  .step + .step, .status__col + .status__col { border-top: 0; }
  .status__col + .status__col { margin-top: 34px; }
}

@media (max-width: 560px) {
  .topbar__status { font-size: 11.5px; letter-spacing: 0.02em; }
  .sheet__grid { grid-template-columns: minmax(0, 1fr); }
  .sheet__margin { display: none; }
  .sheet__title { font-size: 22px; }
  .sheet__body p { font-size: 13.5px; line-height: 1.95; }
  .btn { width: 100%; justify-content: space-between; }
}

/* ---------- 404 ---------- */

.nf-page { display: grid; place-items: center; min-height: 100svh; }
.nf { max-width: 34em; padding: 0 clamp(20px, 5vw, 40px); }
.nf img { display: block; margin-bottom: clamp(24px, 4vh, 40px); }
.nf__title {
  margin: 0 0 14px;
  font: 600 clamp(30px, 4.4vw, 48px) / 1.3 var(--serif);
}
.nf__lede { margin: 0 0 clamp(26px, 3.4vw, 38px); color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal] > *, .js [data-reveal] > * { opacity: 1 !important; transform: none !important; }
  .sheet-wrap { transform: rotate(-1.6deg); }
  .del svg path { stroke-dashoffset: 0; }
  .mark { background-size: 100% 100%; }
}
