:root {
  --aluminum: #C5C8CE;
  --aluminum-light: #D7DADF;
  --aluminum-plate: #BCC0C7;
  --etch: #5C636A;
  --etch-deep: #2E3338;
  --screw: #8A8F96;
  --screw-dark: #4A4E54;
  --footer: #1B1E22;
  --max: 1200px;
  --pill: 999px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "Consolas", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--etch-deep);
  background-color: var(--aluminum);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0px,
      rgba(255, 255, 255, 0.08) 1px,
      rgba(92, 99, 106, 0.05) 1px,
      rgba(92, 99, 106, 0.05) 3px
    ),
    linear-gradient(180deg, #D1D4DA 0%, var(--aluminum) 45%, #B8BCC3 100%);
  line-height: 1.72;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: min(100% - 64px, var(--max));
  margin-inline: auto;
}

.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--etch-deep);
  color: #fff;
  padding: 8px 12px;
}

/* fixed 64px white semi-transparent top bar */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: 64px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--screw);
}

.nav {
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--aluminum);
  border: 1.5px solid var(--etch);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--etch-deep);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { font-size: 14px; color: var(--etch); }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--etch-deep);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost {
  font-size: 14px;
  color: var(--etch-deep);
  padding: 8px 12px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: var(--pill);
  background: var(--etch);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-solid:hover { background: var(--etch-deep); }

.btn-solid.lg {
  min-height: 48px;
  padding: 0 30px;
  font-size: 16px;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1.5px solid var(--etch);
  align-items: center;
  justify-content: center;
  color: var(--etch-deep);
  justify-self: end;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.drawer {
  display: none;
  position: fixed;
  inset: 64px 0 auto;
  background: var(--aluminum-light);
  border-bottom: 2px solid var(--etch);
  padding: 12px 24px 20px;
  z-index: 49;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--screw);
  color: var(--etch-deep);
  font-size: 15px;
}

/* Brushed aluminum nameplate skeleton:
   One single aluminum plate (#C5C8CE), etched text (#5C636A), 4 corner screws (#8A8F96), no extra inner container.
   Row 1: WorkBuddy
   Row 2: WorkBuddy官网
   Row 3: WorkBuddy下载
   Row 4: WorkBuddy官网下载
   Bottom edge steel stamp: WorkBuddy网页版 */
.nameplate {
  position: relative;
  max-width: 920px;
  margin: 0 auto 48px;
  padding: 44px 42px 32px;
  background-color: var(--aluminum);
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.16) 0px,
      rgba(255, 255, 255, 0.16) 1px,
      rgba(92, 99, 106, 0.06) 1px,
      rgba(92, 99, 106, 0.06) 2px
    ),
    linear-gradient(135deg, #D5D8DE 0%, var(--aluminum) 50%, #B4B8BF 100%);
  border: 2px solid var(--screw);
  border-radius: 8px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(74, 78, 84, 0.45),
    0 20px 44px rgba(46, 51, 56, 0.22);
}

/* 4 corner slotted screws (#8A8F96) */
.screw-head {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #BFC3C9, var(--screw) 62%, var(--screw-dark));
  border: 1.5px solid var(--screw-dark);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
}
.screw-head::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  background: var(--screw-dark);
  transform: translateY(-50%) rotate(-32deg);
}
.screw-head.tl { top: 14px; left: 14px; }
.screw-head.tr { top: 14px; right: 14px; }
.screw-head.bl { bottom: 14px; left: 14px; }
.screw-head.br { bottom: 14px; right: 14px; }

.etch-rows {
  border-top: 1px solid var(--etch);
  border-bottom: 1px solid var(--etch);
  margin-bottom: 24px;
}

.etch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(92, 99, 106, 0.35);
  color: var(--etch);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: var(--mono);
}
.etch-row:last-child { border-bottom: 0; }

.etch-key {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--etch);
}

.etch-val {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 800;
  color: var(--etch-deep);
  letter-spacing: 0.06em;
}
.etch-row.row-1 .etch-val {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: var(--etch);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 -1px 0 rgba(46, 51, 56, 0.5);
  margin: 0;
  line-height: 1.1;
}

/* Steel stamp on the bottom edge of the nameplate */
.steel-stamp-edge {
  margin-top: 22px;
  padding-top: 12px;
  border-top: 1px dashed var(--screw);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--etch);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}
.steel-stamp-edge a {
  padding: 3px 12px;
  border: 1.5px solid var(--etch);
  color: var(--etch-deep);
  font-weight: 800;
  box-shadow: inset 0 1px 2px rgba(46, 51, 56, 0.25);
}

/* hero */
.hero {
  padding: 140px 0 72px;
  text-align: center;
}

.hero-lead {
  margin: 0 auto 22px;
  max-width: 560px;
  color: var(--etch-deep);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-link {
  color: var(--etch-deep);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1.5px solid var(--etch);
}

.hero-shot-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 72%;
  height: 66%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 68%);
  filter: none;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  background: var(--aluminum-light);
  border: 2px solid var(--screw);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 22px 48px rgba(46, 51, 56, 0.22);
}
.hero-shot img { width: 100%; border-radius: 6px; }

/* sections */
.section { padding: 96px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--aluminum-light);
  border: 1.5px solid var(--etch);
  color: var(--etch-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--etch-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.section-sub {
  max-width: 400px;
  margin: 0;
  color: var(--etch);
  font-size: 15px;
}

.center-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.center-copy p { color: var(--etch); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border-radius: var(--pill);
  background: var(--aluminum-plate);
  border: 1.5px solid var(--screw);
  width: fit-content;
  margin-bottom: 18px;
}

.tab {
  border-radius: var(--pill);
  padding: 9px 18px;
  font-size: 14px;
  color: var(--etch-deep);
}
.tab.is-on {
  background: #FFFFFF;
  color: var(--etch-deep);
  font-weight: 800;
}

.scenario-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 410px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--aluminum-light);
  border: 2px solid var(--screw);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.scenario-text {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-right: 1.5px solid var(--screw);
}
.scenario-text h3 {
  margin: 0;
  font-size: 24px;
  color: var(--etch-deep);
}
.scenario-text p {
  margin: 0;
  color: var(--etch);
  font-size: 14px;
}

.scenario-visual {
  background: var(--aluminum);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.scenario-visual img {
  width: 100%;
  border-radius: 8px;
}

.pane { display: none; }
.pane.is-on { display: contents; }

/* cooperation: light gray full band */
.eco {
  background: #E2E4E8;
  border-top: 1.5px solid var(--screw);
  border-bottom: 1.5px solid var(--screw);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.logo-chip {
  min-width: 118px;
  padding: 14px 18px;
  border-radius: 6px;
  background: var(--aluminum);
  border: 1.5px solid var(--etch);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--etch-deep);
}

/* trust: light rounded band + 3 white cards */
.trust-band {
  background: var(--aluminum-light);
  border: 2px solid var(--screw);
  border-radius: 18px;
  padding: 46px 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.trust-card {
  background: #FFFFFF;
  color: var(--etch-deep);
  border-radius: 12px;
  padding: 28px;
  border: 1.5px solid var(--screw);
}
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--etch-deep);
}
.trust-card p {
  margin: 0;
  color: var(--etch);
  font-size: 14px;
}

/* download */
.dl-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 32px;
}

.dl-group-label {
  display: block;
  margin-bottom: 14px;
  color: var(--etch-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dl-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dl-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border-radius: 8px;
  background: var(--aluminum-light);
  border: 1.5px solid var(--screw);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  position: relative;
}

.dl-ico {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  background: var(--etch);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.dl-tile strong {
  display: block;
  font-size: 14px;
  color: var(--etch-deep);
}
.dl-tile span {
  font-size: 12px;
  color: var(--etch);
}

.badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--etch);
  color: #fff;
  font-weight: 700;
}

/* subpages */
.page-hero {
  padding: 124px 0 48px;
  text-align: center;
}

.page-body { padding: 48px 0 88px; }

.article {
  max-width: 760px;
  background: var(--aluminum-light);
  border: 2px solid var(--screw);
  border-radius: 12px;
  padding: 36px;
}
.article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  color: var(--etch-deep);
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--etch); margin: 0 0 12px; }
.article ul { color: var(--etch); padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article a { color: var(--etch-deep); font-weight: 700; border-bottom: 1px solid var(--etch); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.help-card {
  padding: 24px;
  border-radius: 10px;
  background: var(--aluminum-light);
  border: 1.5px solid var(--screw);
}
.help-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--etch-deep);
}
.help-card p {
  margin: 0;
  color: var(--etch);
  font-size: 14px;
}

.entry-box {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 12px;
  background: var(--aluminum-light);
  border: 2px solid var(--screw);
  text-align: center;
}
.entry-box p { color: var(--etch); margin: 0 0 18px; }
.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--pill);
  border: 1.5px solid var(--etch);
  color: var(--etch-deep);
  font-size: 14px;
  font-weight: 700;
}

/* footer */
.footer {
  background: var(--footer);
  color: rgba(197, 200, 206, 0.78);
  padding: 56px 0 0;
  border-top: 2px solid var(--screw);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(197, 200, 206, 0.16);
}

.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--aluminum); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(197, 200, 206, 0.68);
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(197, 200, 206, 0.68);
  margin-bottom: 9px;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(197, 200, 206, 0.5);
}

.footer-wordmark {
  text-align: center;
  padding: 20px 0 36px;
  font-size: clamp(44px, 9.5vw, 112px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(197, 200, 206, 0.08);
  line-height: 1;
  user-select: none;
}

@media (max-width: 968px) {
  .nav-links,
  .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { grid-template-columns: 1fr auto; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .scenario-card,
  .trust-grid,
  .dl-groups,
  .help-grid { grid-template-columns: 1fr; }
  .scenario-text { border-right: 0; border-bottom: 1.5px solid var(--screw); }
  .footer-top,
  .footer-bottom { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 28px; }
  .container { width: min(100% - 32px, var(--max)); }
  .nameplate { padding: 36px 20px 26px; }
  .etch-row { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 16px, var(--max)); }
  .dl-tiles { grid-template-columns: 1fr; }
  .hero { padding-top: 112px; }
  .section { padding: 72px 0; }
  .trust-band { padding: 28px 18px; }
  .article { padding: 24px 18px; }
}

/* runtime paint budget — keep the look, drop expensive filters */
.hero-glow {
  filter: none;
  contain: paint;
  pointer-events: none;
}
.header {
  -webkit-backdrop-filter: blur(8px);
  contain: layout style;
}
.section,
.eco,
.page-body {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (max-width: 640px) {
  .header,
  .drawer,
  .hero-shot,
  .jelly-cube,
  .refraction-seam {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
