:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #202820;
  background: #f7f7f1;
  --green: #214a36;
  --ink: #1b251d;
  --muted: #535e51;
  --border: #daddd1;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, p { margin: 0; }
section[id] { scroll-margin-top: 26px; }
:focus-visible { outline: 2px solid #387757; outline-offset: 5px; }

.site-wrap { width: min(1320px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -4rem;
  left: var(--gutter);
  z-index: 2;
  padding: 10px 14px;
  background: #fff;
}
.skip-link:focus { top: 8px; }

.site-header { border-bottom: 1px solid var(--border); }
.header-row {
  display: grid;
  min-height: 78px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: .09em;
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  width: 33px;
  height: 33px;
  flex: none;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 8px;
  background: var(--green);
  border-radius: 7px;
}
.brand-mark i { width: 3px; height: 8px; border-radius: 1px; background: #f3e5c5; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 17px; }
.header-links { display: flex; align-items: center; gap: clamp(25px, 4vw, 62px); }
.header-links a, .header-login, .footer-login { font-size: 14px; font-weight: 600; }
.header-links a { color: var(--muted); }
.header-links a:hover, .footer-login:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.header-login {
  justify-self: end;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 19px;
  padding: 0 15px;
  border: 1px solid #c8d0c3;
  border-radius: 4px;
  color: var(--green);
  white-space: nowrap;
}
.header-login:hover { background: #e8eee4; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 56px);
  padding-top: clamp(37px, 5.2vw, 78px);
  padding-bottom: clamp(46px, 6vw, 92px);
}
.hero-copy { padding-block: 20px; }
.hero-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 14px;
  font-weight: 680;
  letter-spacing: .075em;
}
.hero-context::before { width: 25px; height: 1px; flex: none; background: #8a9e85; content: ""; }
.hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 4.54vw, 76px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.05em;
  text-wrap: pretty;
}
.hero h1 span { display: block; color: var(--green); }
.hero-description { max-width: 420px; margin-top: 23px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 15px; margin-top: 31px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 650;
}
.button-primary { background: var(--green); color: #fffdf5; }
.button-primary:hover { background: #153624; }
.button-quiet { color: var(--green); }
.button-quiet:hover { background: #e8eee4; }
.button span, .header-login span, .card-arrow, .workflow-steps a span:last-child, .footer-login span {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1;
}
.hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.27;
  overflow: hidden;
  border-radius: 3px;
  background: #19372a;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 48%; }
.hero-visual::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(222 229 200 / 29%);
  border-radius: 2px;
  pointer-events: none;
  content: "";
}

.capabilities { padding-bottom: clamp(50px, 6.6vw, 96px); }
.section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 19px;
}
.section-heading h2, .workflow h2 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 730; letter-spacing: -.035em; }
.heading-line { background: var(--border); height: 1px; }
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.capability {
  display: grid;
  min-height: 185px;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding: clamp(16px, 1.9vw, 27px);
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fbfbf7;
  transition: border-color .2s, background-color .2s;
}
.capability:hover { border-color: #879e84; background: #edf1e9; }
.feature-mark { position: relative; width: 37px; height: 37px; margin-bottom: 22px; border-radius: 4px; background: #e8eee2; color: #32553d; }
.feature-mark::before, .feature-mark::after { position: absolute; content: ""; }
.mark-client::before { width: 9px; height: 9px; top: 8px; left: 14px; border: 1.5px solid; border-radius: 50%; }
.mark-client::after { width: 19px; height: 10px; top: 19px; left: 9px; border: 1.5px solid; border-radius: 8px 8px 2px 2px; }
.mark-ledger::before { inset: 8px 10px; border: 1.5px solid; border-radius: 2px; }
.mark-ledger::after { width: 8px; height: 1px; top: 15px; left: 14.5px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
.mark-tax::before { width: 16px; height: 20px; top: 8px; left: 11px; border: 1.5px solid; border-radius: 2px; }
.mark-tax::after { width: 8px; height: 5px; top: 17px; left: 15px; transform: rotate(-44deg); border-left: 1.5px solid; border-bottom: 1.5px solid; }
.mark-fee::before { inset: 11px 8px; border: 1.5px solid; border-radius: 3px; }
.mark-fee::after { width: 14px; height: 1.5px; top: 16px; left: 11.5px; background: currentColor; box-shadow: 0 4px currentColor; }
.capability-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 18px; font-weight: 720; line-height: 1.45; }
.card-arrow { color: var(--green); }
.capability-description { margin-top: 9px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.workflow { background: #19392c; color: #f9faf2; }
.workflow-panel {
  display: grid;
  grid-template-columns: .7fr 1.8fr;
  align-items: start;
  gap: clamp(24px, 4.5vw, 65px);
  padding-block: clamp(32px, 5vw, 62px);
}
.workflow-intro p, .workflow-steps p { color: #c7d4c7; font-size: 14px; line-height: 1.75; }
.workflow-intro p { margin-top: 10px; }
.workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.workflow-steps li { padding: 12px 0 12px 17px; border-left: 1px solid #61806d; }
.workflow-steps a { display: flex; width: fit-content; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; }
.workflow-steps a:hover { text-decoration: underline; text-underline-offset: 5px; }
.workflow-steps a:focus-visible { outline-color: #d5edcc; }
.workflow-steps p { margin-top: 7px; }

.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 84px; }
.footer-brand { font-size: 18px; }
.footer-brand .brand-mark { transform: scale(.83); transform-origin: left center; margin-right: -4px; }
.footer-login { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; }

@media (max-width: 900px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-panel { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .header-row { grid-template-columns: 1fr auto; min-height: 66px; gap: 12px; }
  .header-links { display: none; }
  .brand { font-size: 19px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-top: 35px; }
  .hero-copy { padding-block: 0; }
  .hero-context { margin-bottom: 15px; }
  .hero h1 { font-size: clamp(34px, 7.8vw, 52px); }
  .hero-description { margin-top: 15px; font-size: 15px; }
  .hero-actions { margin-top: 19px; }
  .hero-visual { aspect-ratio: 1.46; }
  .workflow-steps { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 390px) {
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 134px; }
  .feature-mark { margin-bottom: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
