:root {
  --outer-card: #F7F2E8;
  --inner-card: #FFFCF7;
  --seam-shadow: #D9D0C3;
  --ink-brown: #2C241C;
  --foil-bronze: #8E6E47;
  --max: 1200px;
  --pill: 999px;
  --serif: "Songti SC", "SimSun", "Noto Serif SC", Georgia, serif;
  --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(--ink-brown);
  background-color: var(--outer-card);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255, 252, 247, 0.72) 0%, rgba(217, 208, 195, 0.25) 100%);
  line-height: 1.74;
  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(--ink-brown);
  color: var(--inner-card);
  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.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--seam-shadow);
  contain: layout paint style;
}

.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: 6px;
  overflow: hidden;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 900;
  color: var(--ink-brown);
  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: rgba(44, 36, 28, 0.76); font-weight: 500; }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink-brown);
  font-weight: 800;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-brown);
  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(--ink-brown);
  color: var(--inner-card);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.btn-solid:hover { background: #1D1712; }

.btn-solid.lg {
  min-height: 48px;
  padding: 0 32px;
  font-size: 16px;
}

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--seam-shadow);
  background: var(--inner-card);
  align-items: center;
  justify-content: center;
  color: var(--ink-brown);
  justify-self: end;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 2px;
  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(--inner-card);
  border-bottom: 1px solid var(--seam-shadow);
  padding: 12px 24px 20px;
  z-index: 49;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 208, 195, 0.5);
  color: var(--ink-brown);
  font-size: 15px;
  font-weight: 700;
}

/* Bifold Invitation Card Skeleton (Highest Priority):
   - Bifold card opened a crack, revealing half of the inner text.
   - Outer Card #F7F2E8, Inner Card #FFFCF7, Seam Shadow #D9D0C3, Text #2C241C.
   - Skeleton:
     1. Front cover hot-stamped ONLY with: WorkBuddy (H1)
     2. Inside the opened crack, Line 1: WorkBuddy官网
     3. Inside the opened crack, Line 2: WorkBuddy下载
     4. Unrevealed inner section hinted via an index/directory tab: WorkBuddy官网下载 & WorkBuddy网页版 */
.invitation-desk {
  position: relative;
  max-width: 980px;
  margin: 0 auto 38px;
  padding: 20px 12px 24px;
}

.bifold-assembly {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 6px;
  box-shadow:
    0 24px 48px rgba(44, 36, 28, 0.12),
    0 6px 14px rgba(44, 36, 28, 0.08);
}

/* Outer Card Cover (#F7F2E8) — ONLY hot-stamped with WorkBuddy */
.invitation-cover {
  position: relative;
  z-index: 3;
  background: var(--outer-card);
  border: 1px solid rgba(44, 36, 28, 0.22);
  padding: 64px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Slightly lifted right edge casting shadow into the crack (#D9D0C3) */
  transform: perspective(1100px) rotateY(-6deg);
  transform-origin: left center;
  box-shadow:
    18px 0 28px -4px var(--seam-shadow),
    6px 0 0 rgba(217, 208, 195, 0.85);
}

/* Blind-embossed double frame on the outer card cover (no extra text, only hot-stamped WorkBuddy) */
.invitation-cover::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(142, 110, 71, 0.34);
  pointer-events: none;
}
.invitation-cover::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(44, 36, 28, 0.1);
  pointer-events: none;
}

.hotstamp-mark {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 60px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-brown);
  /* Subtle warm metallic foil deboss */
  text-shadow:
    0 1px 0 #FFFFFF,
    0 -1px 0 rgba(142, 110, 71, 0.45);
}

/* Inner Card (#FFFCF7) glimpsed through the crack with Seam Shadow (#D9D0C3) on its spine */
.invitation-crack {
  position: relative;
  z-index: 2;
  background: var(--inner-card);
  border: 1px solid rgba(44, 36, 28, 0.18);
  border-left: 0;
  /* Deep crease shadow #D9D0C3 along the fold seam */
  box-shadow: inset 28px 0 32px -6px var(--seam-shadow);
  padding: 34px 32px 28px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.crack-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--foil-bronze);
  margin-bottom: 14px;
  display: block;
}

/* Opened Crack Lines: Line 1 WorkBuddy官网, Line 2 WorkBuddy下载 (half-glimpsed inner text feel) */
.crack-lines {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crack-line {
  position: relative;
  padding: 14px 16px;
  background: rgba(247, 242, 232, 0.55);
  border-left: 3px solid var(--ink-brown);
  border-bottom: 1px solid var(--seam-shadow);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.18s ease;
}
.crack-line:hover {
  background: var(--outer-card);
}
.crack-line small {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--foil-bronze);
  font-weight: 700;
}
.crack-line strong {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--ink-brown);
}
/* Half-revealed inner text mask effect on the right edge */
.crack-line span {
  font-size: 12px;
  color: rgba(44, 36, 28, 0.65);
  mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%);
}

/* Unrevealed Inner Page Index Hint (内页未露出的部分用目录暗示 WorkBuddy官网下载 与 WorkBuddy网页版) */
.unrevealed-index {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--seam-shadow);
}
.index-caption {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(44, 36, 28, 0.56);
  margin-bottom: 10px;
}

.index-tabs-hint {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.index-hint-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-brown);
  padding: 7px 12px;
  background: var(--outer-card);
  border: 1px solid var(--seam-shadow);
}
.index-hint-row em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--foil-bronze);
}
.index-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(44, 36, 28, 0.35);
  height: 1px;
}
.index-hint-row strong {
  font-weight: 900;
  color: var(--ink-brown);
}

/* hero */
.hero {
  padding: 140px 0 72px;
  text-align: center;
}

.hero-lead {
  margin: 0 auto 22px;
  max-width: 560px;
  color: rgba(44, 36, 28, 0.84);
  font-size: 16px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-link {
  color: var(--foil-bronze);
  font-size: 14px;
  font-weight: 900;
  border-bottom: 1px solid var(--foil-bronze);
}

.hero-shot-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 82%;
  height: 76%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(217, 208, 195, 0.65) 0%, rgba(142, 110, 71, 0.14) 48%, rgba(247, 242, 232, 0) 74%);
  filter: none;
  contain: paint;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 14px;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
  box-shadow: 0 20px 42px rgba(44, 36, 28, 0.1);
}
.hero-shot img { width: 100%; border-radius: 6px; }

/* sections */
.section {
  padding: 96px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.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(--inner-card);
  border: 1px solid var(--seam-shadow);
  color: var(--foil-bronze);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--ink-brown);
}

.section-sub {
  max-width: 400px;
  margin: 0;
  color: rgba(44, 36, 28, 0.72);
  font-size: 15px;
}

.center-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.center-copy p { color: rgba(44, 36, 28, 0.76); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--pill);
  background: var(--seam-shadow);
  width: fit-content;
  margin-bottom: 18px;
}

.tab {
  border-radius: var(--pill);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-brown);
}
.tab.is-on {
  background: #FFFFFF;
  color: var(--ink-brown);
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(44, 36, 28, 0.12);
}

.scenario-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 410px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
  box-shadow: 0 16px 34px rgba(44, 36, 28, 0.08);
}

.scenario-text {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--seam-shadow);
  background: var(--outer-card);
}
.scenario-text h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--ink-brown);
}
.scenario-text p {
  margin: 0;
  color: rgba(44, 36, 28, 0.8);
  font-size: 14px;
}

.scenario-visual {
  background: var(--inner-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.scenario-visual img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--seam-shadow);
}

.pane { display: none; }
.pane.is-on { display: contents; }

/* cooperation: light gray full band */
.eco {
  background: #EDE7DC;
  border-top: 1px solid var(--seam-shadow);
  border-bottom: 1px solid var(--seam-shadow);
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.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(--inner-card);
  border: 1px solid var(--seam-shadow);
  text-align: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-brown);
}

/* trust: light rounded band + 3 white cards */
.trust-band {
  background: #EDE6DA;
  border: 1px solid var(--seam-shadow);
  border-radius: 20px;
  padding: 46px 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.trust-card {
  background: #FFFFFF;
  color: var(--ink-brown);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--seam-shadow);
}
.trust-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-brown);
}
.trust-card p {
  margin: 0;
  color: rgba(44, 36, 28, 0.8);
  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(--foil-bronze);
  font-size: 13px;
  font-weight: 900;
  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(--inner-card);
  border: 1px solid var(--seam-shadow);
  position: relative;
}

.dl-ico {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--ink-brown);
  color: var(--inner-card);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.dl-tile strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink-brown);
}
.dl-tile span {
  font-size: 12px;
  color: rgba(44, 36, 28, 0.72);
}

.badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--ink-brown);
  color: var(--inner-card);
  font-weight: 800;
}

/* subpages */
.page-hero {
  padding: 124px 0 48px;
  text-align: center;
}

.page-body {
  padding: 48px 0 88px;
  content-visibility: auto;
  contain-intrinsic-size: auto 680px;
}

.article {
  max-width: 760px;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
  border-radius: 12px;
  padding: 36px;
  box-shadow: inset 18px 0 24px -10px var(--seam-shadow);
}
.article h2 {
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
  color: var(--ink-brown);
}
.article h2:first-child { margin-top: 0; }
.article p { color: rgba(44, 36, 28, 0.86); margin: 0 0 12px; }
.article ul { color: rgba(44, 36, 28, 0.86); padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article a { color: var(--foil-bronze); font-weight: 900; border-bottom: 1px solid var(--foil-bronze); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.help-card {
  padding: 24px;
  border-radius: 10px;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
}
.help-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  color: var(--ink-brown);
}
.help-card p {
  margin: 0;
  color: rgba(44, 36, 28, 0.8);
  font-size: 14px;
}

.entry-box {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 12px;
  background: var(--inner-card);
  border: 1px solid var(--seam-shadow);
  text-align: center;
}
.entry-box p { color: rgba(44, 36, 28, 0.84); 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: 1px solid var(--ink-brown);
  background: var(--outer-card);
  color: var(--ink-brown);
  font-size: 14px;
  font-weight: 800;
}

/* footer: dark */
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
  background: var(--ink-brown);
  color: var(--outer-card);
  padding: 56px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.14);
}

.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--outer-card); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(247, 242, 232, 0.68);
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--inner-card);
  font-weight: 800;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(247, 242, 232, 0.68);
  margin-bottom: 9px;
}
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(247, 242, 232, 0.54);
}

.footer-wordmark {
  text-align: center;
  padding: 20px 0 36px;
  font-family: var(--serif);
  font-size: clamp(44px, 9.5vw, 112px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(247, 242, 232, 0.08);
  line-height: 1;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@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;
  }
  .bifold-assembly,
  .scenario-card,
  .trust-grid,
  .dl-groups,
  .help-grid { grid-template-columns: 1fr; }
  .invitation-cover {
    transform: none;
    box-shadow: 0 14px 24px -4px var(--seam-shadow);
    padding: 44px 28px;
  }
  .invitation-crack {
    border-left: 1px solid rgba(44, 36, 28, 0.18);
    box-shadow: inset 0 22px 26px -6px var(--seam-shadow);
    padding: 28px 24px;
  }
  .scenario-text { border-right: 0; border-bottom: 1px solid var(--seam-shadow); }
  .footer-top,
  .footer-bottom { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 28px; }
  .container { width: min(100% - 32px, var(--max)); }
}

@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; }
  .header,
  .drawer {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
