:root {
  color: #182b24;
  background: #f7f8f1;
  font: 16px/1.7 Geist, "PingFang SC", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #70a88d; outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.site-header { background: #12231c; color: #f4f7ed; border-bottom: 1px solid #ffffff24; }
.header-inner, .wordmark, .header-inner nav, .actions, .end { display: flex; align-items: center; }
.header-inner { min-height: 78px; justify-content: space-between; gap: 16px; }
.wordmark { font-size: 21px; font-weight: 750; gap: 9px; white-space: nowrap; }
.wordmark img { width: 36px; height: 36px; object-fit: contain; background: #eef4eb; padding: 3px; border-radius: 9px; }
.header-inner nav, .actions { gap: 28px; font-size: 14px; }
.header-inner nav a:hover, .text-link:hover, .end a:hover { text-decoration: underline; }
.button { display: inline-flex; gap: 13px; align-items: center; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; }
.button-outline { border-color: #ffffff50; white-space: nowrap; }
.button-outline:hover { background: #ffffff17; }
.button-light { background: #d9efba; color: #14251c; }
.button-light:hover { background: #f0ffd9; }
.cover {
  color: #f7faef;
  background: radial-gradient(ellipse at 74% 42%, #395a40 0, #1c382b 35%, transparent 70%), #12231c;
  overflow: hidden;
}
.hero { min-height: 690px; padding-block: 46px 43px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: center; }
.overline { font-size: 13px; font-weight: 750; letter-spacing: .12em; color: #326354; }
.cover .overline { color: #c2dcad; }
h1 { font-size: clamp(47px, 6.1vw, 89px); line-height: 1.13; letter-spacing: -.066em; margin: 17px 0 24px; }
h1 em { color: #cce9a8; font-style: normal; }
.lead { color: #d5e4d8; font-size: clamp(16px, 1.5vw, 20px); }
.actions { margin-top: 27px; flex-wrap: wrap; }
.showcase { text-align: center; min-width: 0; }
.frames { position: relative; height: clamp(340px, 41vw, 545px); isolation: isolate; }
.frames::before { content: ""; position: absolute; inset: 5% 4%; border: 1px solid #bed7b32e; border-radius: 50%; transform: rotate(-18deg); }
.frame { position: absolute; top: 50%; left: 50%; width: auto; height: 100%; max-width: 48%; object-fit: contain; border-radius: 19px; border: 1px solid #cfe3d589; box-shadow: 0 25px 48px #03110c77; }
.frame-main { transform: translate(-50%,-50%); z-index: 1; }
.frame-left, .frame-right { height: 78%; opacity: .88; }
.frame-left { transform: translate(-112%,-42%) rotate(-10deg); }
.frame-right { transform: translate(12%,-55%) rotate(10deg); }
.showcase[data-screen="quote"] .frame-left, .showcase[data-screen="ledger"] .frame-right { opacity: .36; }
.screen-switch { display: flex; width: fit-content; max-width: 100%; margin: 21px auto 7px; gap: 4px; padding: 4px; background: #0e211b; border: 1px solid #ffffff35; border-radius: 9px; }
.screen-switch button { background: transparent; border: 0; color: #d6e3d8; padding: 5px 14px; border-radius: 5px; font-size: 13px; }
.screen-switch button[aria-pressed="true"] { background: #d9efba; color: #14251c; font-weight: 750; }
.showcase figcaption { color: #c5d8c8; font-size: 12px; }
.workflow-nav { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #cbdacf; background: #eef3e8; border-radius: 0 0 13px 13px; }
.workflow-nav a { position: relative; padding: 18px 35px 18px 23px; }
.workflow-nav a + a { border-left: 1px solid #cbdacf; }
.workflow-nav a:hover { background: #e1eddb; }
.workflow-nav span { display: block; color: #4b6b5c; font-size: 13px; }
.workflow-nav strong { font-size: clamp(16px, 2vw, 23px); }
.workflow-nav b { position: absolute; right: 16px; bottom: 19px; color: #376352; }
.product { padding-block: clamp(52px, 8vw, 110px); }
h2, h3 { line-height: 1.18; letter-spacing: -.045em; }
.section-title h2, .guide h2 { font-size: clamp(39px, 5.3vw, 76px); margin-top: 12px; }
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 7vw, 96px); align-items: center; margin-top: 45px; padding-top: 40px; border-top: 1px solid #cbdacf; }
.feature.alternate { grid-template-columns: 1.1fr .9fr; }
.alternate .screen-stage { order: -1; }
.feature h3 { font-size: clamp(30px, 4vw, 53px); margin: 11px 0 19px; }
.feature-copy > p:not(.overline), .feature li { color: #405b50; }
.feature ul { padding-left: 1.2em; margin: 17px 0 0; }
.feature li + li { margin-top: 6px; }
.screen-stage { display: grid; justify-items: center; gap: 9px; padding: 26px 12px 13px; border-radius: 17px; }
.screen-stage img { display: block; width: min(100%, 239px); height: auto; border-radius: 17px; box-shadow: 0 15px 26px #182b2440; }
.screen-stage figcaption { font-size: 13px; font-weight: 700; }
.quote-stage { background: #dce9dd; }
.calendar-stage { background: #eae7d8; }
.ledger-stage { background: #dce8e6; }
.guide { background: #e7eee2; padding-block: clamp(45px, 7vw, 83px); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
details { border-top: 1px solid #aabfb2; padding: 13px 0; }
summary { cursor: pointer; font-weight: 700; }
details p { padding: 8px 0 0 17px; color: #405b50; }
.end { gap: 16px; padding-block: 36px; }
.end img { width: 45px; height: 45px; object-fit: contain; }
.end p { color: #405b50; font-size: 14px; }
.end a { margin-left: auto; white-space: nowrap; }
@media (max-width: 880px) {
  .wrap { width: calc(100% - 42px); }
  .hero { min-height: auto; }
  .frame { max-width: none; }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 62px; }
  .header-inner nav { display: none; }
  .wordmark { font-size: 18px; }
  .wordmark img { width: 30px; height: 30px; }
  .hero, .feature, .feature.alternate, .guide-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 36px 25px; gap: 30px; }
  .frames { height: clamp(305px, 87vw, 405px); }
  .frame-left { transform: translate(-100%,-42%) rotate(-9deg); }
  .frame-right { transform: translate(0,-55%) rotate(9deg); }
  .screen-switch button { padding-inline: 10px; }
  .workflow-nav a { padding: 13px 7px; text-align: center; }
  .workflow-nav b { display: none; }
  .alternate .screen-stage { order: 0; }
  .feature { margin-top: 33px; padding-top: 29px; }
  .end { flex-wrap: wrap; }
  .end a { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.overview { padding-block: clamp(52px, 8vw, 106px); }
.about-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 60px; align-items: end; }
.about-lead .overline { grid-column: 1 / -1; }
.about-lead h2 { font-size: clamp(40px, 6vw, 78px); }
.about-lead > p:last-child { max-width: 36ch; color: #405b50; font-size: 18px; }
.overview .workflow-nav { margin-top: 34px; border-radius: 12px; }
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 76px); align-items: start; margin-top: 70px; }
.catalog h2 { font-size: clamp(30px, 4vw, 54px); margin-bottom: 24px; }
.catalog details { padding-block: 16px; scroll-margin-top: 20px; }
.catalog details[open] summary { color: #286351; }
.catalog summary { font-size: 19px; }
.catalog-visual { display: grid; justify-items: center; gap: 10px; padding: 22px; border-radius: 16px; background: #e1ebe1; }
.catalog-visual img { width: min(100%, 230px); height: 465px; object-fit: contain; }
.catalog-visual figcaption { font-size: 13px; font-weight: 650; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 45px; }
.principles article { border-top: 1px solid #aabfb2; padding-top: 18px; }
.principles h3 { font-size: 23px; margin-bottom: 8px; }
.principles p { color: #405b50; }
@media (max-width: 690px) {
  .about-lead, .catalog, .principles { grid-template-columns: 1fr; gap: 18px; }
  .catalog { margin-top: 42px; }
}

.priority { margin-top: clamp(48px, 7vw, 88px); }
.priority h2 { font-size: clamp(34px, 4.5vw, 58px); margin: 10px 0 24px; }
.priority-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.priority-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2.6vw, 34px); border: 1px solid #cbdacf; border-radius: 15px; background: #eef3e8; }
.priority-grid article:first-child { background: #dfece1; }
.priority-grid img { object-fit: contain; }
.priority-grid h3 { font-size: 26px; margin: 13px 0 10px; }
.priority-grid p { color: #405b50; }
.priority-grid ol { padding-left: 1.4em; margin: 18px 0 20px; font-size: 14px; }
.priority-grid li + li { margin-top: 4px; }
.priority-grid a { display: inline-block; color: #245746; font-weight: 750; margin-top: auto; padding-block: 5px; }
.priority-grid a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .priority-grid { grid-template-columns: 1fr; }
}
.priority-screen {
  display: grid;
  place-items: center;
  width: 100%;
  margin: auto 0 15px;
  padding: 18px 12px;
  border-radius: 12px;
  background: #dce8df;
}
.priority-grid .priority-screen img {
  display: block;
  width: min(100%, 218px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 8px 22px #18332929;
}
.priority-grid p + .priority-screen { margin-top: 19px; }
.priority-grid .priority-screen + a { margin-top: 0; }
.priority-note { margin-top: 12px; color: #405b50; font-size: 13px; }

.screenshot-open {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #245746;
  cursor: zoom-in;
  font-weight: 700;
  font-size: 13px;
}
.screenshot-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: 94dvh;
  padding: 0;
  border: 1px solid #cbdacf;
  border-radius: 16px;
  background: #eef3e8;
  color: #182b24;
  overflow: hidden;
}
.screenshot-dialog[open] { display: flex; flex-direction: column; }
.screenshot-dialog::backdrop { background: #091710c9; }
body:has(.screenshot-dialog[open]) { overflow: hidden; }
.screenshot-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #f7f8f1;
  border-bottom: 1px solid #cbdacf;
}
.screenshot-toolbar h2 { flex: 1; font-size: clamp(15px, 3vw, 21px); }
.screenshot-toolbar button {
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #aabfb2;
  border-radius: 7px;
  background: #fff;
  color: #182b24;
  white-space: nowrap;
}
.screenshot-scroll { overflow: auto; padding: 12px; overscroll-behavior: contain; }
.screenshot-scroll img {
  display: block;
  width: min(100%, 360px);
  height: auto;
  margin-inline: auto;
}
.screenshot-dialog.is-zoomed img { width: 640px; max-width: none; }

.guide-link { margin-top: 18px; }
.guide-link a { font-weight: 700; text-decoration: underline; }

@media (max-width: 690px) {
  .header-inner nav { display: flex; margin-left: auto; }
  .header-inner nav a:first-child { display: none; }
  .header-inner nav a { white-space: nowrap; font-size: 12px; }
  .header-inner .button-outline { font-size: 12px; padding-inline: 9px; }
}

#support h3 { font-size: 22px; margin-bottom: 8px; }
#support p + p { margin-top: 8px; }
@media (max-width: 690px) {
  .header-inner nav .desktop-nav { display: none; }
}

.wechat-entry { gap: clamp(18px, 4vw, 46px); }
.wechat-entry .wechat-code {
  width: 178px;
  height: 178px;
  flex: none;
  padding: 8px;
  background: #fff;
  border: 1px solid #cbdacf;
  border-radius: 12px;
}
.wechat-entry h2 { margin-bottom: 8px; }
.wechat-entry p + p { margin-top: 5px; }

@media (max-width: 690px) {
  .header-inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .header-inner nav { order: 3; flex: 1 0 100%; justify-content: space-between; gap: 8px; }
  .header-inner nav a:first-child { display: inline; }
}
