:root {
  --brand: #1677ff;
  --brand-strong: #075de6;
  --ink: #172033;
  --muted: #667085;
  --line: #dfe5ee;
  --surface: #ffffff;
  --canvas: #f4f7fb;
  --accent: #ff8a00;
  --success: #078f68;
  --radius: 8px;
  --shadow: 0 14px 32px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

.shell {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--surface);
  background: var(--brand);
  border-radius: 7px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.site-navigation a {
  color: #344054;
  font-size: 14px;
  text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  color: var(--brand-strong);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-button__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  min-height: min(760px, 86vh);
  display: grid;
  align-items: center;
  background: linear-gradient(90deg, rgba(12, 24, 45, 0.90), rgba(12, 24, 45, 0.28)),
    url('./assets/taskbao-product-overview.webp') center / cover no-repeat;
}

.hero-content {
  max-width: 660px;
  padding: 88px 0;
  color: var(--surface);
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.hero .section-kicker {
  color: #a9ceff;
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
}

.hero-copy {
  max-width: 550px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: var(--surface);
  background: var(--brand);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--brand-strong);
}

.button-secondary {
  color: var(--surface);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.20);
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-heading h2,
.security-intro h2,
.about h2 {
  font-size: 36px;
  font-weight: 780;
}

.section-heading > p:last-child,
.security-intro > p:last-child,
.about-copy {
  margin-top: 18px;
  color: var(--muted);
}

.capabilities {
  background: var(--canvas);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.capability-item {
  min-height: 242px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.capability-index {
  display: block;
  margin-bottom: 42px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.capability-item h3,
.product-card h3,
.workflow-list h3 {
  font-size: 20px;
}

.capability-item p,
.product-card p,
.workflow-list p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.workflow-layout,
.about-layout,
.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 96px;
  align-items: start;
}

.workflow .section-heading {
  margin-bottom: 0;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.workflow-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.step-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--brand-strong);
  background: #eaf3ff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  gap: 48px;
  max-width: none;
  align-items: end;
}

.section-heading--split > p:last-child {
  margin: 0;
}

.product {
  background: var(--canvas);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-card--wide {
  grid-column: 1 / -1;
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #e8edf5;
}

.product-card--wide img {
  height: 420px;
}

.product-card__body {
  padding: 22px 24px 24px;
}

.security {
  background: #13233f;
  color: var(--surface);
}

.security .section-kicker {
  color: #8fc0ff;
}

.security-intro > p:last-child {
  color: #c3cfdf;
}

.security-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.security-list li {
  display: grid;
  grid-template-columns: minmax(128px, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.security-list strong {
  color: #dceaff;
}

.security-list span {
  color: #c3cfdf;
}

.about {
  background: var(--surface);
}

.about-copy p + p {
  margin-top: 16px;
}

.contact {
  padding-top: 88px;
  background: var(--canvas);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-item {
  display: flex;
  min-height: 182px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.contact-label {
  color: var(--muted);
  font-size: 14px;
}

.contact-item strong {
  margin-top: 18px;
  color: var(--brand-strong);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.contact-item > span:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.contact-item--wecom {
  justify-content: center;
  color: var(--brand-strong);
  font-size: 18px;
  font-weight: 700;
}

.contact-item--wecom::before {
  margin-bottom: 12px;
  color: var(--muted);
  content: "企业微信客服";
  font-size: 14px;
  font-weight: 400;
}

.site-footer {
  padding: 28px 0;
  color: #d7dfeb;
  background: #0d1729;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--surface);
  text-decoration: underline;
}

.footer-copyright {
  color: #aab8cc;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-layout,
  .about-layout,
  .security-layout {
    gap: 56px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 36px, 560px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0;
  }

  .menu-button {
    display: block;
  }

  .site-navigation {
    flex-basis: 100%;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 14px;
    border-top: 1px solid var(--line);
  }

  .site-navigation a {
    flex: 1 1 auto;
    padding: 10px 0;
  }

  .site-navigation[hidden] {
    display: none;
  }

  .hero {
    min-height: 690px;
    background-position: 62% center;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .security-intro h2,
  .about h2 {
    font-size: 30px;
  }

  .capability-grid,
  .product-grid,
  .contact-grid,
  .workflow-layout,
  .about-layout,
  .security-layout,
  .section-heading--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-layout,
  .about-layout,
  .security-layout,
  .section-heading--split {
    gap: 34px;
  }

  .capability-item {
    min-height: 0;
  }

  .capability-index {
    margin-bottom: 28px;
  }

  .product-card--wide {
    grid-column: auto;
  }

  .product-card img,
  .product-card--wide img {
    height: 224px;
  }

  .security-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .contact {
    padding-top: 72px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .shell {
    width: min(100% - 28px, 560px);
  }

  .site-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .section-heading h2,
  .security-intro h2,
  .about h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .menu-button {
    display: none;
  }

  .section {
    padding: 28px 0;
  }
}
