:root {
  --stage-black: #070707;
  --stage-elev: #111111;
  --digit-white: #F5F5F2;
  --keynote-gold: #E0B15A;
  --muted-silver: rgba(245, 245, 242, 0.62);
  --line-dim: rgba(245, 245, 242, 0.14);
  --max: 1200px;
  --pill: 999px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "Consolas", "Courier New", monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--digit-white);
  background-color: var(--stage-black);
  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(--keynote-gold);
  color: var(--stage-black);
  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 rgba(7, 7, 7, 0.14);
  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(--stage-black);
  border: 1px solid rgba(7, 7, 7, 0.2);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--stage-black);
  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(7, 7, 7, 0.72); font-weight: 600; }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--stage-black);
  font-weight: 900;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-ghost {
  font-size: 14px;
  font-weight: 700;
  color: var(--stage-black);
  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(--keynote-gold);
  color: var(--stage-black);
  font-size: 14px;
  font-weight: 900;
}
.btn-solid:hover { background: #ECC471; }

.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 rgba(7, 7, 7, 0.25);
  align-items: center;
  justify-content: center;
  color: var(--stage-black);
  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: #FFFFFF;
  border-bottom: 1px solid rgba(7, 7, 7, 0.14);
  padding: 12px 24px 20px;
  z-index: 49;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(7, 7, 7, 0.08);
  color: var(--stage-black);
  font-size: 15px;
  font-weight: 700;
}

/* Keynote Countdown Blackout Skeleton (Highest Priority):
   - Pitch black stage (#070707), giant countdown digits in #F5F5F2 at the center,
     only one line right below in #E0B15A, everything else pitch black.
   - Skeleton:
     1. Giant digits themselves contain NO words (00 : 00 : 01)
     2. The ONLY line below the digits (#E0B15A): WorkBuddy (H1)
     3. Bottom-left program booklet (左下角秩序册): WorkBuddy官网
     4. Bottom-right press seating (右下角媒体席): WorkBuddy下载
     5. Check-in desk (签到台): WorkBuddy官网下载
     6. Live broadcast badge (直播牌): WorkBuddy网页版 */
.keynote-blackout {
  position: relative;
  max-width: 1000px;
  min-height: 420px;
  margin: 0 auto 38px;
  padding: 28px 32px;
  background: var(--stage-black);
  border: 1px solid var(--line-dim);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.9);
}

/* Top stage floor stations: Check-in Desk (签到台) + Live Broadcast Sign (直播牌) */
.keynote-top-stations {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--stage-black);
  border: 1px solid var(--line-dim);
  border-radius: 4px;
  text-align: left;
  transition: border-color 0.2s ease;
}
.stage-badge:hover {
  border-color: var(--keynote-gold);
}
.stage-badge small {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--keynote-gold);
}
.stage-badge strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--digit-white);
}

.on-air-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--keynote-gold);
  box-shadow: 0 0 8px var(--keynote-gold);
}

/* Center Void: Giant Countdown Digits (#F5F5F2, no words) + The Single Gold Line (#E0B15A: WorkBuddy) */
.countdown-center {
  padding: 46px 16px 42px;
  text-align: center;
}

.giant-digits {
  font-family: var(--mono);
  font-size: clamp(54px, 10.5vw, 124px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--digit-white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

/* The ONLY line below the giant digits in #E0B15A: WorkBuddy */
.sole-keynote-line {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--keynote-gold);
  line-height: 1.15;
}

/* Bottom stage corners: Bottom-left Program Booklet (左下角秩序册) + Bottom-right Press Seating (右下角媒体席) */
.keynote-bottom-corners {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 245, 242, 0.08);
}

/* hero */
.hero {
  padding: 140px 0 72px;
  text-align: center;
}

.hero-lead {
  margin: 0 auto 22px;
  max-width: 560px;
  color: var(--muted-silver);
  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(--keynote-gold);
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid var(--keynote-gold);
}

.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(224, 177, 90, 0.22) 0%, rgba(245, 245, 242, 0.06) 46%, rgba(7, 7, 7, 0) 74%);
  filter: none;
  contain: paint;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 12px;
  background: var(--stage-elev);
  border: 1px solid var(--line-dim);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.8);
}
.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: rgba(224, 177, 90, 0.12);
  border: 1px solid rgba(224, 177, 90, 0.45);
  color: var(--keynote-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--digit-white);
}

.section-sub {
  max-width: 400px;
  margin: 0;
  color: var(--muted-silver);
  font-size: 15px;
}

.center-copy {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}
.center-copy p { color: var(--muted-silver); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: var(--pill);
  background: var(--stage-elev);
  border: 1px solid var(--line-dim);
  width: fit-content;
  margin-bottom: 18px;
}

.tab {
  border-radius: var(--pill);
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted-silver);
}
.tab.is-on {
  background: #FFFFFF;
  color: var(--stage-black);
  font-weight: 900;
}

.scenario-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 410px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--stage-elev);
  border: 1px solid var(--line-dim);
}

.scenario-text {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid var(--line-dim);
}
.scenario-text h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--keynote-gold);
}
.scenario-text p {
  margin: 0;
  color: var(--muted-silver);
  font-size: 14px;
}

.scenario-visual {
  background: var(--stage-black);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.scenario-visual img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-dim);
}

.pane { display: none; }
.pane.is-on { display: contents; }

/* cooperation: light gray full band */
.eco {
  background: #F0EFEA;
  color: var(--stage-black);
  border-top: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.eco .section-title { color: var(--stage-black); }
.eco .center-copy p { color: rgba(7, 7, 7, 0.72); }
.eco .pill {
  background: var(--stage-black);
  color: var(--keynote-gold);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.logo-chip {
  min-width: 118px;
  padding: 14px 18px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid rgba(7, 7, 7, 0.14);
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--stage-black);
}

/* trust: light rounded band + 3 white cards */
.trust-band {
  background: #EAE8E1;
  color: var(--stage-black);
  border-radius: 22px;
  padding: 46px 36px;
}
.trust-band .section-title { color: var(--stage-black); }
.trust-band .section-sub { color: rgba(7, 7, 7, 0.72); }
.trust-band .pill {
  background: var(--stage-black);
  color: var(--keynote-gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.trust-card {
  background: #FFFFFF;
  color: var(--stage-black);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid rgba(7, 7, 7, 0.1);
}
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--stage-black);
}
.trust-card p {
  margin: 0;
  color: rgba(7, 7, 7, 0.76);
  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(--keynote-gold);
  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(--stage-elev);
  border: 1px solid var(--line-dim);
  position: relative;
}

.dl-ico {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--keynote-gold);
  color: var(--stage-black);
  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(--digit-white);
}
.dl-tile span {
  font-size: 12px;
  color: var(--muted-silver);
}

.badge {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--pill);
  background: var(--keynote-gold);
  color: var(--stage-black);
  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(--stage-elev);
  border: 1px solid var(--line-dim);
  border-radius: 12px;
  padding: 36px;
}
.article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 900;
  color: var(--keynote-gold);
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--muted-silver); margin: 0 0 12px; }
.article ul { color: var(--muted-silver); padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article a { color: var(--keynote-gold); font-weight: 900; border-bottom: 1px solid var(--keynote-gold); }

.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.help-card {
  padding: 24px;
  border-radius: 10px;
  background: var(--stage-elev);
  border: 1px solid var(--line-dim);
}
.help-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--keynote-gold);
}
.help-card p {
  margin: 0;
  color: var(--muted-silver);
  font-size: 14px;
}

.entry-box {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 12px;
  background: var(--stage-elev);
  border: 1px solid var(--line-dim);
  text-align: center;
}
.entry-box p { color: var(--muted-silver); 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(--keynote-gold);
  color: var(--keynote-gold);
  font-size: 14px;
  font-weight: 800;
}

/* footer: dark */
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
  background: #040404;
  color: var(--digit-white);
  padding: 56px 0 0;
  border-top: 1px solid var(--line-dim);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dim);
}

.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--digit-white); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted-silver);
  line-height: 1.7;
}

.footer-cols {
  display: flex;
  gap: 72px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--keynote-gold);
  font-weight: 800;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--muted-silver);
  margin-bottom: 9px;
}
.footer-col a:hover { color: var(--digit-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(245, 245, 242, 0.45);
}

.footer-wordmark {
  text-align: center;
  padding: 20px 0 36px;
  font-size: clamp(44px, 9.5vw, 112px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(245, 245, 242, 0.06);
  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;
  }
  .keynote-top-stations,
  .keynote-bottom-corners {
    flex-direction: column;
    align-items: stretch;
  }
  .scenario-card,
  .trust-grid,
  .dl-groups,
  .help-grid { grid-template-columns: 1fr; }
  .scenario-text { border-right: 0; border-bottom: 1px solid var(--line-dim); }
  .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;
  }
}
