/* 易度科技 — 版画式的纸色与墨色，刻度即分寸 */

:root {
  --paper:      #f4f1e8;
  --paper-2:    #ece7d9;
  --paper-3:    #e4dece;
  --ink:        #22201b;
  --ink-deep:   #1e1c18;
  --ink-2:      #56514a;
  --ink-3:      #6f6a5e;
  --rule:       rgba(34, 32, 27, .13);
  --rule-strong:rgba(34, 32, 27, .3);
  --seal:       #a33a2c;

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Source Han Serif CN", "Noto Serif SC", "Noto Serif CJK SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --pad: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--paper);
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

h1, h2, h3, blockquote, .mark, .contact__mail {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

::selection { background: #e2cfc6; color: var(--ink); }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  border-radius: 6px;
  transition: top .16s var(--ease);
}
.skip:focus-visible { top: 16px; }

/* ---------- 刻度 ---------- */

.nobr { white-space: nowrap; }

.label {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 22px;
  letter-spacing: .03em;
  color: var(--ink-2);
}
.label__num {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}
.label__text {
  font-size: 18px;
  color: var(--ink-2);
}
.label::after {
  content: "";
  width: 56px;
  height: 6px;
  border-top: 1px solid var(--rule-strong);
  background-image: repeating-linear-gradient(90deg, var(--rule-strong) 0 1px, transparent 1px 7px);
  background-size: 100% 5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
}

/* ---------- 导航 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.nav[data-stuck] {
  background: var(--paper);
  border-bottom-color: var(--rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
}

.lang {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--rule-strong);
  transition: color .14s var(--ease), text-decoration-color .14s var(--ease);
}
.lang:hover {
  color: var(--ink);
  text-decoration-color: var(--ink-2);
}

.mark {
  display: inline-flex;
  align-items: center;
}

.mark__img {
  display: block;
  height: 24px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 14px;
  line-height: 20px;
}
.nav__links a,
.foot__links a,
.menu a {
  color: var(--ink-2);
  transition: color .14s var(--ease);
}
.nav__links a:hover,
.foot__links a:hover,
.menu a:hover { color: var(--ink); }

.nav__links a[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--ink);
}
.menu a[aria-current="true"] { color: var(--ink); }

/* ---------- 按钮与文字链接 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding-inline: 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .02em;
  transition: background-color .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: scale(.985); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: #3a352c; }

.btn--quiet {
  height: 34px;
  padding-inline: 14px;
  border-color: var(--rule-strong);
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
.btn--quiet:hover { background: var(--paper-2); }

.link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--rule-strong);
  transition: color .14s var(--ease), text-decoration-color .14s var(--ease);
}
.link:hover {
  color: var(--ink);
  text-decoration-color: var(--ink-2);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.menu-btn__bars { display: grid; gap: 4px; width: 14px; }
.menu-btn__bars i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .16s var(--ease), opacity .12s var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars i:last-child { transform: translateY(-5px) rotate(-45deg); }

.menu {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 8px var(--pad) 20px;
}
.menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--rule);
}
.menu a:last-child { border-bottom: 0; }
.menu[data-open] { display: block; animation: menu-in .2s var(--ease); }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 首屏 ---------- */

.hero { padding: 16px 0 88px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: calc(100svh - 176px);
}

.meta {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .06em;
  color: var(--ink-3);
  margin-bottom: 24px;
}

h1 {
  margin: 0;
  text-wrap: balance;
  font-size: 58px;
  line-height: 1.18;
  letter-spacing: .02em;
}

.lede {
  max-width: 30em;
  text-wrap: pretty;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.hero__text { max-width: 540px; }

.plate { margin: 0; }

.plate__stage {
  position: relative;
  aspect-ratio: 760 / 880;
  border-radius: 4px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper-2);
}
.plate__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.plate__stage img[data-active] { opacity: 1; }

.plate__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}
.plate__count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.plate__nav { display: flex; gap: 8px; }
.plate__btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .14s var(--ease), border-color .14s var(--ease);
}
.plate__btn:hover { background: var(--paper-2); }
.plate__btn:active { transform: scale(.97); }

.plate figcaption {
  width: 100%;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
  text-wrap: pretty;
}

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

.plate__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  margin-right: 8px;
}

.section {
  padding: 104px 0;
  scroll-margin-top: 88px;
  border-top: 1px solid var(--rule);
}

.section__head { margin-bottom: 40px; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: .02em;
}

.aside {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
}

.prose p {
  max-width: 32em;
  text-wrap: pretty;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.prose p:first-child { margin-top: 0; }

.prose--tight p { margin-top: 12px; }

/* ---------- 业务列表 ---------- */

.list { margin-top: 40px; }

.row {
  display: grid;
  grid-template-columns: 64px 232px 1fr;
  column-gap: 32px;
  row-gap: 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule); }

.idx {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .04em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}

.row h3,
.steps h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: .02em;
}

.row p {
  text-wrap: balance;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 34em;
  margin-top: 0;
}

/* ---------- 方法 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.steps li {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.steps .idx { display: block; padding-top: 0; margin-bottom: 16px; }
.steps p {
  text-wrap: balance;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.row p.row__eg {
  grid-column: 3;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ---------- 我们的尺子 ---------- */

.creed-block { margin-top: 64px; }
.creed-block .label { margin-bottom: 0; }
.label--quiet .label__text { font-size: 13px; color: var(--ink-3); }
.label--quiet::after { opacity: .6; }

/* ---------- 文化 ---------- */

.creed {
  margin-top: 16px;
  border-top: 1px solid var(--rule);
}
.creed li {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.45;
  letter-spacing: .05em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- 引文 ---------- */

.quote {
  background: var(--ink-deep);
  color: #cfc8b8;
  padding: 96px 0;
}

.quote__grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 72px;
  align-items: end;
}

blockquote { margin: 0; }
blockquote p {
  font-size: 46px;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #f1ece0;
}

.quote__side { padding-bottom: 8px; }

.seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  background: var(--seal);
  color: #f1ece0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  border-radius: 1px;
}

.seal--img {
  display: block;
  background: transparent;
  font-size: 0;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 12px;
  line-height: 20px;
  color: #a39c8c;
}
.quote__side p {
  margin-top: 16px;
  max-width: 22em;
  font-size: 14px;
  line-height: 1.9;
  color: #c9c2b2;
}

/* ---------- 联系 ---------- */

.split--contact { align-items: start; }
.split--contact .prose { margin-top: 20px; max-width: 26em; }

.contact { margin: 0; }
.contact > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.contact > div:last-child { border-bottom: 1px solid var(--rule); }

.contact dt {
  font-size: 12px;
  line-height: 20px;
  color: var(--ink-3);
}

.contact dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.contact__mail {
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: .01em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color .16s var(--ease), color .16s var(--ease);
}
.contact__mail:hover {
  color: var(--seal);
  text-decoration-color: var(--seal);
}

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

.foot {
  padding: 40px 0 56px;
  border-top: 1px solid var(--rule);
}
.foot__inner {
  display: flex;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
}
.foot__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; }
.mark--foot .mark__img { height: 20px; }
.foot__icp {
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
}
.foot__icp:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__icp img { width: 16px; height: 16px; vertical-align: -3px; margin-right: 5px; }
.foot__legal,
.foot__copy {
  font-size: 12px;
  line-height: 20px;
  color: var(--ink-3);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-inline-start: auto;
  font-size: 13px;
}
.foot__copy { margin-inline-start: 0; }

/* ---------- 入场 ---------- */

[data-enter="1"] { animation: enter .5s var(--ease) .04s both; }
[data-enter="2"] { animation: enter .6s var(--ease) .12s both; }

@keyframes enter {
  to { opacity: 1; transform: none; }
}

/* ---------- 窄屏 ---------- */

@media (max-width: 1024px) {
  .hero__grid { gap: 48px; }
  h1 { font-size: 52px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split__left { display: grid; gap: 0; }
  .row { grid-template-columns: 48px 200px 1fr; gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
  .quote__grid { grid-template-columns: 1fr; gap: 40px; }
  blockquote p { font-size: 36px; }
}

@media (max-width: 860px) {
  :root { --pad: 24px; }
  .nav__inner { gap: 16px; }
  .nav__links, .nav__cta { display: none; }
  .lang { margin-inline-start: auto; }
  .menu-btn { display: inline-flex; height: 40px; margin-inline-start: 0; }

  .hero { padding: 16px 0 64px; }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: 0;
  }
  .hero__text { max-width: 34em; }
  h1 { font-size: 38px; line-height: 1.22; }
  .meta { margin-bottom: 20px; }
  .lede { margin-top: 20px; font-size: 15px; line-height: 1.9; }
  .hero__actions { margin-top: 32px; gap: 24px; flex-wrap: wrap; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 32px; }
  .list { margin-top: 32px; }
  h2 { font-size: 30px; }
  .creed { margin-top: 32px; }
  .creed li { font-size: 20px; padding: 20px 0; }
  .split { gap: 24px; }

  .row {
    grid-template-columns: 40px 1fr;
    gap: 4px 16px;
    padding: 24px 0;
  }
  .row p { grid-column: 2; margin-top: 0; }
  .row p.row__eg { grid-column: 2; margin-top: 6px; }

  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
  .steps li { padding: 20px 0; border-top: 1px solid var(--rule); }
  .steps li:first-child { padding-top: 24px; }
  .steps .idx { margin-bottom: 8px; }

  .quote { padding: 64px 0; }
  blockquote p { font-size: 30px; line-height: 1.55; }
  .quote__side p { max-width: none; }

  .contact__mail { font-size: 22px; }
  .contact > div { grid-template-columns: 72px 1fr; gap: 16px; padding: 20px 0; }

  .foot__inner { flex-direction: column; gap: 20px; }
  .foot__links { margin-inline-start: 0; gap: 10px 20px; }
}

@media (max-width: 400px) {
  .mark__img { height: 20px; }
  .nav__inner { gap: 12px; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  .plate figcaption { font-size: 13px; }
  .label__num { font-size: 22px; }
  .label__text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  [data-enter] { opacity: 1; transform: none; }
}


/* ---------- English ---------- */

html[lang="en"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] blockquote,
html[lang="en"] .mark,
html[lang="en"] .contact__mail {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", "Noto Serif SC", serif;
}

html[lang="en"] h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
html[lang="en"] h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
html[lang="en"] h3 { letter-spacing: 0; }


html[lang="en"] .lede { font-size: 17px; line-height: 1.7; }
html[lang="en"] .prose p { max-width: 34em; line-height: 1.75; }
html[lang="en"] .row { grid-template-columns: 64px 264px 1fr; }
html[lang="en"] .row p { max-width: 40em; line-height: 1.7; }
html[lang="en"] .steps p { line-height: 1.65; }
html[lang="en"] .quote__side p { line-height: 1.7; }
html[lang="en"] blockquote p { font-size: 44px; }
html[lang="en"] .foot__links { font-size: 13px; }

@media (max-width: 1024px) {
  html[lang="en"] .row { grid-template-columns: 48px 224px 1fr; }
}

@media (max-width: 860px) {
  html[lang="en"] h1 { font-size: 46px; line-height: 1.1; }
  html[lang="en"] h2 { font-size: 30px; }
  html[lang="en"] blockquote p { font-size: 34px; }
  html[lang="en"] .row { grid-template-columns: 40px 1fr; }
  html[lang="en"] .row p { max-width: none; }
}

@media (max-width: 480px) {
  html[lang="en"] h1 { font-size: 40px; }
  html[lang="en"] blockquote p { font-size: 30px; }
}
