:root {
  --teal: #0f766e;
  --teal-deep: #115e59;
  --ink: #1d2b27;
  --muted: #66736e;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: #dce7e1;
  --soft: #eaf3ef;
  --coral: #e66a4a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.container { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 72px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 11px; background: var(--teal); color: #fff; font-weight: 700; }
.brand-name { font-size: 16px; font-weight: 700; color: var(--teal-deep); white-space: nowrap; }
.nav-phone { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--teal-deep); font-weight: 700; white-space: nowrap; }

.home-hero { padding: 68px 0; background: linear-gradient(90deg, rgba(15,40,34,.93), rgba(15,40,34,.68)), url("https://workbuddy-space-static.codebuddy.work/image/RQKzuH2So9FOsdKaa9ZMUW.jpg?imageMogr2/thumbnail/1920x/quality/85/format/webp/interlace/1/ignore-error/1"); background-size: cover; background-position: center; color: #fff; }
.eyebrow { margin: 0 0 10px; color: #d9f3eb; font-size: 14px; font-weight: 700; }
.home-hero h1 { margin: 0; max-width: 720px; font-size: 38px; line-height: 1.3; }
.home-hero p { margin: 16px 0 0; max-width: 640px; color: rgba(255,255,255,.82); font-size: 16px; }

.article-section { padding: 48px 0 70px; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 24px; }
.section-heading p { margin: 8px 0 0; color: var(--muted); }

.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.article-card { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); min-height: 168px; }
.article-card:hover { border-color: var(--teal); }
.card-meta { display: block; margin-bottom: 9px; color: var(--muted); font-size: 13px; }
.article-card h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.45; }
.article-card p { margin: 0; color: var(--muted); font-size: 14px; }

.article-page { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 36px 36px 44px; }
.article-hero { max-width: 760px; }
.meta { display: block; margin-bottom: 10px; color: var(--muted); font-size: 13px; }
.article-hero h1 { margin: 0; font-size: 31px; line-height: 1.38; }
.article-hero p { margin: 18px 0 0; color: #44544e; font-size: 16px; }
.article-media { margin: 30px 0; overflow: hidden; border-radius: 10px; background: var(--soft); }
.article-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; }
.article-media figcaption { padding: 10px 14px; color: var(--muted); font-size: 13px; }
.article-content h2 { margin: 32px 0 12px; font-size: 21px; line-height: 1.5; }
.article-content h3 { margin: 24px 0 8px; font-size: 17px; }
.article-content p { margin: 0 0 15px; color: #34433e; }
.article-content ul { margin: 0 0 18px; padding-left: 22px; color: #34433e; }
.article-content li { margin: 7px 0; }
.article-content .note { padding: 14px 16px; border-left: 4px solid var(--coral); background: var(--paper); color: #44544e; }
.nap-block { margin-top: 34px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.nap-block h2 { margin: 0 0 12px; font-size: 19px; }
.nap-block p { margin: 6px 0; color: #34433e; }

.site-footer { padding: 28px 0; background: #13211d; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.footer-brand { color: #fff; font-weight: 700; }

@media (max-width: 760px) {
  .brand-name, .nav-phone { display: none; }
  .home-hero { padding: 52px 0; }
  .home-hero h1 { font-size: 30px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-page { padding: 26px 20px 34px; }
  .article-hero h1 { font-size: 26px; }
  .footer-grid { flex-direction: column; }
}