/* 一木记账风格：清爽白底 + 大字号 + 轻质卡片 */
:root {
  --bg: #ffffff;
  --bg2: #f7f8fb;
  --text: #0b1220;
  --muted: rgba(11, 18, 32, 0.66);
  --muted2: rgba(11, 18, 32, 0.5);
  --stroke: rgba(11, 18, 32, 0.12);
  --stroke2: rgba(11, 18, 32, 0.08);
  --shadow: 0 14px 36px rgba(11, 18, 32, 0.08);
  --shadow2: 0 10px 22px rgba(11, 18, 32, 0.07);
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --violet: #7c3aed;
  --radius: 14px;
  --radius2: 20px;
  --container: 1120px;
  --sans: Inter, "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(900px 420px at 70% -8%, rgba(37, 99, 235, 0.14), transparent 60%),
    radial-gradient(820px 380px at 18% -10%, rgba(6, 182, 212, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--stroke2);
  transition: box-shadow 160ms ease, background 160ms ease;
}
.topbar.is-elevated {
  box-shadow: var(--shadow2);
  background: rgba(255, 255, 255, 0.9);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.brand__mark svg {
  width: 22px;
  height: 22px;
}
.brand__name {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__panel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__link {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 140ms ease, color 140ms ease;
}
.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--text);
  background: rgba(11, 18, 32, 0.06);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.nav__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}
.nav__toggleText {
  font-size: 13px;
  font-weight: 750;
}

.hero {
  padding: 56px 0 40px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}
.hero__kicker {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.7);
}
.hero__title {
  margin: 14px 0 12px;
  font-size: clamp(40px, 4.6vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15.5px;
}
.hero__btns {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dl {
  display: grid;
  gap: 4px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow2);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.dl:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.1);
}
.dl__title {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.dl__sub {
  font-size: 12.5px;
  color: var(--muted);
}
.dl--primary {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)), rgba(255, 255, 255, 0.82);
}

.badges {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
}
.awards {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.award {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px dashed rgba(11, 18, 32, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(11, 18, 32, 0.78);
}

.hero__visual {
  position: relative;
  display: grid;
  justify-items: end;
}
.heroGlow {
  position: absolute;
  inset: -60px -40px -40px -40px;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.14), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(124, 58, 237, 0.12), transparent 60%);
  filter: blur(26px);
  z-index: -1;
}
.phone {
  width: min(420px, 100%);
  border-radius: 32px;
  border: 1px solid rgba(11, 18, 32, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.75));
  box-shadow: 0 22px 70px rgba(11, 18, 32, 0.12);
  padding: 12px;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 20px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.08);
  border: 1px solid rgba(11, 18, 32, 0.08);
}
.phone__screen {
  margin-top: 20px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: #fff;
}
.shot {
  padding: 14px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.06), transparent);
}
.shot--wide {
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow2);
}
.shot__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.shot__title {
  font-weight: 850;
  letter-spacing: -0.01em;
}
.shot__pill {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
}
.shot__note {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.shot__cards {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.card {
  border-radius: 16px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
}
.card--blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(6, 182, 212, 0.06)), rgba(255, 255, 255, 0.9);
}
.card--green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.05)), rgba(255, 255, 255, 0.9);
}
.card--amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(37, 99, 235, 0.05)), rgba(255, 255, 255, 0.9);
}
.card__k {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 650;
}
.card__v {
  margin-top: 6px;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 20px;
}
.card__sub {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.spark {
  margin-top: 10px;
  height: 54px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  align-items: end;
}
.spark span {
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.55), rgba(6, 182, 212, 0.16));
  border: 1px solid rgba(11, 18, 32, 0.06);
}
.bar {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.06);
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.06);
}
.bar span {
  height: 100%;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.chart {
  margin-top: 12px;
  height: 110px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  align-items: end;
}
.chart span {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.45), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(11, 18, 32, 0.06);
}

.section {
  padding: 56px 0;
}
.section--muted {
  background: rgba(11, 18, 32, 0.03);
  border-top: 1px solid rgba(11, 18, 32, 0.06);
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}
.h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.015em;
}
.p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 76ch;
}

.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--stroke2);
  box-shadow: var(--shadow);
  padding: 16px;
  min-height: 148px;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.1);
}
.feature__t {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.feature__d {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13.5px;
}

.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow2);
}
.stat__k {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.stat__v {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.shots {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.shotCard {
  border-radius: var(--radius);
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  padding: 14px;
}
.shotCard__cap {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.reviews {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.review {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}
.review__q {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.6;
}
.review__a {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.faq {
  display: grid;
  gap: 10px;
}
.faq__item {
  border-radius: 18px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.82);
  padding: 12px 12px;
  box-shadow: var(--shadow2);
}
.faq__q {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  outline: none;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__q::after {
  content: "＋";
  float: right;
  color: var(--muted);
}
details[open] > .faq__q::after {
  content: "－";
}
.faq__a {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.footer {
  padding: 34px 0 44px;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  background: rgba(11, 18, 32, 0.02);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__name {
  font-weight: 900;
}
.footer__desc {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer__fine {
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__right {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__col {
  min-width: 160px;
}
.footer__title {
  font-size: 12px;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.footer__link {
  display: inline-block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer__link:hover {
  color: var(--text);
}
.sep {
  opacity: 0.6;
}

.toTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: var(--shadow2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.toTop.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 下载页 */
.dlPage__head {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.dlPage__title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.dlList {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.dlItem {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}
.dlItem__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.dlLogo {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  box-shadow: 0 14px 26px rgba(11, 18, 32, 0.12);
}
.dlLogo--139 {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}
.dlLogo--123 {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}
.dlLogo--baidu {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}
.dlLogo--quark {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}
.dlItem__title {
  font-weight: 900;
  letter-spacing: -0.01em;
}
.dlItem__sub {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted);
}
.dlItem__url {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted2);
  line-height: 1.45;
  word-break: break-all;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke2);
  background: rgba(11, 18, 32, 0.03);
}
.dlItem__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.btn2 {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow2);
}
.btn2--primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}
.tip {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(6, 182, 212, 0.06)), rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow2);
}
.tip__t {
  font-weight: 900;
}
.tip__d {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13.5px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow2);
  font-weight: 800;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 999;
}
.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 760px) {
  .dlItem {
    grid-template-columns: 1fr;
  }
  .dlItem__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex;
  }
  .nav__panel {
    position: absolute;
    right: 0;
    top: 64px;
    width: min(420px, calc(100vw - 24px));
    border-radius: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow2);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav__panel.is-open {
    display: flex;
  }
  .nav__cta {
    justify-content: center;
  }
  .hero {
    padding-top: 32px;
  }
  .featureGrid {
    grid-template-columns: 1fr;
  }
  .hero__btns {
    grid-template-columns: 1fr;
  }
  .shots {
    grid-template-columns: 1fr;
  }
  .reviews {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

/* 官网首页 · 版本更新提示 */
.gwUpdateModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gwUpdateModal.is-open {
  display: flex;
}
.gwUpdateModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}
.gwUpdateModal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 22px 20px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.gwUpdateModal__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.gwUpdateModal__hint {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}
.gwUpdateModal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.gwUpdateModal__actions .btn2 {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
