/* evorar 艾呀压 — 产品官网
   设计决策：配色取自产品图标（橙盒身/珊瑚红绑带/薄荷绿卡扣），
   系统字体栈（不下载字体，页面本身保持"轻快"），
   等宽字体只用于文件名、大小、哈希——压缩包世界的母语。
   唯一的大胆之处：Hero 的"解开卡扣"开页动效，其余保持安静。 */

:root {
  --paper: #FBFAF8;
  --panel: #FFFFFF;
  --ink: #241D14;
  --ink-soft: #6E6353;
  --line: #E8E1D4;
  --box: #F5822A;
  --box-deep: #DD5F00;
  --strap: #F4503F;
  --mint: #1E9E7B;
  --mint-pale: #A8E6D7;
  --shadow: 0 24px 48px -22px rgba(221, 95, 0, 0.35);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17110A;
    --panel: #1F1810;
    --ink: #F4EDE2;
    --ink-soft: #A69985;
    --line: #33291B;
    --box: #FF8F3D;
    --box-deep: #FF9D55;
    --strap: #FF6A58;
    --mint: #4CC9A6;
    --mint-pale: #A8E6D7;
    --shadow: 0 24px 48px -20px rgba(255, 143, 61, 0.28);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

code, .mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: 1040px; margin-inline: auto; padding-inline: 24px; }

/* ---------- 顶部导航 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  margin-right: auto;
}

.brand svg { display: block; }

.nav a.plain {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
}
.nav a.plain:hover { color: var(--ink); }

.btn-nav {
  display: inline-block;
  background: var(--box-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 18px;
  border-radius: 10px;
}
.btn-nav:hover { filter: brightness(1.07); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
  padding-block: 72px 56px;
}

.hero .latin {
  font-size: 15px;
  color: var(--ink-soft);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  display: block;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 74px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  font-weight: 900;
}

.hero .tagline {
  margin-top: 18px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 32em;
}
.hero .tagline strong { color: var(--ink); font-weight: 700; }

.hero .sub {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  align-items: stretch;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.btn small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.88;
}

.btn-primary { background: var(--box-deep); color: #fff; }
.btn-primary:hover { filter: brightness(1.07); }

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--panel);
}
.btn-ghost:hover { border-color: var(--ink-soft); }

.alt-dl {
  margin-top: 16px;
  display: grid;
  gap: 5px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  list-style: none;
}
.alt-dl a { color: var(--ink); }
.alt-dl a:hover { color: var(--box-deep); }

/* Hero 视觉：解开卡扣 */
.hero-art { display: flex; flex-direction: column; align-items: center; }

.pack {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 46px;
  background: linear-gradient(148deg, #FFB25C, var(--box) 52%, #E0640F);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pack::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 40%;
  background: linear-gradient(rgba(255, 255, 255, 0.22), transparent);
}

.strap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 25px);
  width: 50px;
  background: linear-gradient(#FF6A58, var(--strap));
  animation: unstrap 0.7s cubic-bezier(0.6, 0, 0.3, 1) 1.05s forwards;
}

.buckle {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 34px;
  border-radius: 12px;
  background: #FFF7ED;
  box-shadow: 0 4px 10px rgba(120, 50, 0, 0.25);
  animation: unclip 0.55s ease 0.45s forwards;
}
.buckle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 8px;
  border-radius: 99px;
  background: var(--mint-pale);
}

@keyframes unclip {
  to { transform: translateX(-50%) translateX(52px) rotate(12deg); opacity: 0; }
}
@keyframes unstrap {
  to { transform: translateY(-115%); }
}

.files {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 300px;
}

.frow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
  opacity: 0;
  animation: rise 0.5s ease forwards;
}
.frow .sz { color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.frow:nth-child(1) { animation-delay: 1.55s; }
.frow:nth-child(2) { animation-delay: 1.7s; }
.frow:nth-child(3) { animation-delay: 1.85s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero-cap {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strap { animation: none; transform: translateY(-115%); }
  .buckle { animation: none; opacity: 0; }
  .frow { animation: none; opacity: 1; }
}

/* ---------- 锚点导航 ---------- */
.anchors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 34px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.anchors a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.anchors a:hover { color: var(--ink); }

/* ---------- 特性区 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding-block: 76px;
}
.feature + .feature { border-top: 1px solid var(--line); }

.feature:nth-of-type(even) .fvisual { order: -1; }

.feature h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 14px;
}
.feature p { color: var(--ink-soft); max-width: 30em; }
.feature p + p { margin-top: 10px; }
.feature p strong { color: var(--ink); }

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 20px 22px;
  font-size: 14px;
}
.panel .pane-title {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.tree { display: grid; gap: 6px; }
.tree .row { display: flex; gap: 10px; align-items: baseline; }
.tree .row .name { overflow-wrap: anywhere; }
.tree .row.dim { color: var(--ink-soft); }
.tree .note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--mint);
  font-size: 13px;
}

.cmp { display: grid; gap: 10px; }
.cmp .row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
}
.cmp .who { font-weight: 700; }
.cmp .row.bad .who { color: var(--strap); }
.cmp .row.good {
  padding: 10px 12px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--mint-pale) 22%, transparent);
}
.cmp .row.good .who { color: var(--mint); }
.cmp .row span { color: var(--ink-soft); font-size: 13.5px; }
.cmp .row.good span { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips code {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 10px;
  background: var(--paper);
}
.chips-label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 12px 0 6px;
}
.chips-label:first-of-type { margin-top: 0; }

/* ---------- 更新日志摘要 ---------- */
.log-sec { padding-block: 76px; border-top: 1px solid var(--line); }
.log-sec h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin-bottom: 24px; }
.log { display: grid; gap: 14px; max-width: 720px; }
.log .item { display: flex; gap: 16px; align-items: baseline; }
.log .ver {
  color: var(--box-deep);
  font-weight: 700;
  min-width: 64px;
}
.log .date { color: var(--ink-soft); font-size: 13px; min-width: 92px; }
.log .what { color: var(--ink-soft); font-size: 14.5px; }
.log .all { margin-top: 22px; font-size: 14.5px; }
.log .all a { color: var(--ink); }

/* ---------- 下载区 ---------- */
.dl-sec {
  padding-block: 80px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.dl-sec h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.dl-sec .lead { color: var(--ink-soft); margin-top: 8px; }
.dl-sec .actions { justify-content: center; margin-top: 28px; }

.files-table {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: left;
  display: grid;
  gap: 14px;
}
.files-table .fitem {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  padding: 14px 18px;
}
.files-table .fitem .line1 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: baseline;
}
.files-table .fname a { font-weight: 700; color: var(--ink); text-decoration: none; }
.files-table .fname a:hover { color: var(--box-deep); }
.files-table .fsize { color: var(--ink-soft); font-size: 13px; }
.files-table .hash {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.dl-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-soft);
}
.dl-note a { color: var(--ink); }

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--line);
  padding-block: 36px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
footer a { color: var(--ink-soft); }
footer a:hover { color: var(--ink); }
footer .gatekeeper {
  margin-top: 16px;
  max-width: 760px;
  line-height: 1.9;
}
footer .gatekeeper code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  background: var(--panel);
  font-size: 12px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-block: 56px 44px; }
  .hero-art { order: 2; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding-block: 56px; }
  .feature:nth-of-type(even) .fvisual { order: 0; }
  .nav { gap: 18px; }
  .nav a.hide-sm { display: none; }
}
