:root {
  --sand: #E7D3B0;
  --sand-light: #F3E6CD;
  --wet-sand: #C4A882;
  --wet-deep: #A88B63;
  --coral: #E07A6A;
  --coral-deep: #C45D4D;
  --ink: #3E2F20;
  --mute: #6E5942;
  --footer: #261C13;
  --max: 1200px;
  --pill: 999px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  background-image:
    repeating-radial-gradient(ellipse at 50% -15%, transparent 0, transparent 28px, rgba(196, 168, 130, 0.28) 29px, transparent 31px),
    linear-gradient(180deg, #EDE0C4 0%, var(--sand) 42%, #DEC59C 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: #fff;
  color: var(--ink);
  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: 1px solid rgba(196, 168, 130, 0.42);
}

.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: 8px;
  overflow: hidden;
  background: var(--coral);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.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(--mute); }
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--coral-deep);
  font-weight: 600;
}

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

.btn-ghost {
  font-size: 14px;
  color: var(--ink);
  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(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.btn-solid:hover { background: var(--coral-deep); }

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

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--wet-sand);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  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(--sand-light);
  border-bottom: 2px solid var(--coral);
  padding: 12px 24px 20px;
  z-index: 49;
}
.drawer.is-open { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px dashed var(--wet-sand);
  color: var(--ink);
  font-size: 15px;
}

/* tidal flat skeleton:
   largest sand ripple = WorkBuddy,
   a small piece of coral = WorkBuddy官网,
   left seashell tag = WorkBuddy下载,
   right seashell tag = WorkBuddy官网下载,
   distant lifebuoy ring = WorkBuddy网页版 */
.tidal-flat {
  position: relative;
  max-width: 960px;
  margin: 0 auto 44px;
  padding: 46px 36px 50px;
  border-radius: 48% 52% 46% 54% / 22% 26% 20% 24%;
  background:
    repeating-linear-gradient(
      -5deg,
      rgba(196, 168, 130, 0.34) 0px,
      rgba(196, 168, 130, 0.34) 2px,
      rgba(243, 230, 205, 0.65) 2px,
      rgba(243, 230, 205, 0.65) 18px
    );
  border: 2px solid var(--wet-sand);
  box-shadow: inset 0 -14px 28px rgba(196, 168, 130, 0.42), 0 16px 36px rgba(98, 74, 46, 0.12);
}

.coral-stone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  margin-bottom: 16px;
  border-radius: 18px 24px 16px 22px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(224, 122, 106, 0.35);
}

.shell-tag {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 20px;
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(98, 74, 46, 0.14);
}
.shell-tag.left {
  left: -18px;
  border-radius: 28px 14px 26px 8px;
  transform: translateY(-50%) rotate(-5deg);
}
.shell-tag.right {
  right: -18px;
  border-radius: 14px 28px 8px 26px;
  background: var(--wet-sand);
  color: #fff;
  transform: translateY(-50%) rotate(4deg);
}

.lifebuoy-tag {
  position: absolute;
  top: -18px;
  right: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--pill);
  background: #fff;
  border: 4px solid var(--coral);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(98, 74, 46, 0.15);
}
.lifebuoy-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 3px solid var(--coral);
  display: inline-block;
}

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

.hero-title {
  margin: 0 auto 14px;
  font-size: clamp(38px, 5.8vw, 66px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.65);
}

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

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

.hero-link {
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(224, 122, 106, 0.55);
}

.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(224, 122, 106, 0.28), transparent 68%);
  filter: none;
  pointer-events: none;
}

.hero-shot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 12px;
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
  box-shadow: 0 22px 48px rgba(98, 74, 46, 0.18);
}
.hero-shot img { width: 100%; border-radius: 14px; }

/* 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: rgba(224, 122, 106, 0.16);
  border: 1px solid rgba(224, 122, 106, 0.45);
  color: var(--coral-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

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

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

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

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

.scenario-card {
  display: grid;
  grid-template-columns: 30% 70%;
  min-height: 410px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
}

.scenario-text {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-right: 1px dashed var(--wet-sand);
}
.scenario-text h3 {
  margin: 0;
  font-size: 24px;
  color: var(--ink);
}
.scenario-text p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

.scenario-visual {
  background: #EADBC0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.scenario-visual img {
  width: 100%;
  border-radius: 12px;
}

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

/* cooperation: light gray full band */
.eco {
  background: #EFECE6;
  border-top: 1px solid var(--wet-sand);
  border-bottom: 1px solid var(--wet-sand);
}

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

.logo-chip {
  min-width: 118px;
  padding: 15px 18px;
  border-radius: 22px 12px 22px 12px;
  background: var(--sand-light);
  border: 1.5px solid var(--wet-sand);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* trust: light rounded band + 3 white cards */
.trust-band {
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
  border-radius: 24px;
  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);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(196, 168, 130, 0.45);
}
.trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink);
}
.trust-card p {
  margin: 0;
  color: var(--mute);
  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(--mute);
  font-size: 13px;
  font-weight: 700;
  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: 18px 10px 18px 10px;
  background: var(--sand-light);
  border: 1.5px solid var(--wet-sand);
  position: relative;
}

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

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

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

/* subpages */
.page-hero {
  padding: 124px 0 48px;
  text-align: center;
}
.page-hero .hero-title {
  font-size: clamp(32px, 4.6vw, 50px);
}

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

.article {
  max-width: 760px;
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
  border-radius: 22px;
  padding: 36px;
}
.article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  color: var(--ink);
}
.article h2:first-child { margin-top: 0; }
.article p { color: var(--mute); margin: 0 0 12px; }
.article ul { color: var(--mute); padding-left: 1.2em; }
.article li { margin-bottom: 8px; }
.article a { color: var(--coral-deep); font-weight: 600; }

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

.help-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--sand-light);
  border: 1.5px solid var(--wet-sand);
}
.help-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.help-card p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
}

.entry-box {
  max-width: 620px;
  margin: 0 auto 36px;
  padding: 32px;
  border-radius: 24px;
  background: var(--sand-light);
  border: 2px solid var(--wet-sand);
  text-align: center;
}
.entry-box p { color: var(--mute); 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(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

/* footer */
.footer {
  background: var(--footer);
  color: rgba(231, 211, 176, 0.72);
  padding: 56px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(231, 211, 176, 0.12);
}

.footer-brand { max-width: 320px; }
.footer-brand .brand-name { color: var(--sand); }
.footer-brand p {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(231, 211, 176, 0.65);
  line-height: 1.7;
}

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

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--sand);
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(231, 211, 176, 0.65);
  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(231, 211, 176, 0.48);
}

.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(231, 211, 176, 0.06);
  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 { grid-template-columns: 1fr; }
  .scenario-text { border-right: 0; border-bottom: 1px dashed var(--wet-sand); }
  .trust-grid,
  .dl-groups,
  .help-grid { grid-template-columns: 1fr; }
  .footer-top,
  .footer-bottom { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 28px; }
  .container { width: min(100% - 32px, var(--max)); }
  .shell-tag,
  .lifebuoy-tag { display: none; }
  .tidal-flat { border-radius: 28px; padding: 28px 20px 32px; }
}

@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;
  }
}
