:root {
  --bg: #fafaf9;
  --ink: #333333;
  --muted: #999999;
  --soft: #666666;
  --line: #e3e1dc;
  --dark: #080808;
  --white: #ffffff;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -56px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.shell {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  border-bottom: 1px solid rgba(219, 219, 219, 0.85);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(7px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 68px;
  padding: 0 90px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-self: start;
  color: #333333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand img {
  width: 28px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  min-height: 46px;
  padding: 8px 40px;
  color: #333333;
  font-size: 13px;
  line-height: 26px;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
}

.nav a.active {
  color: #0f0f0f;
  font-weight: 500;
}

.nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: #111111;
}

.nav-chevron {
  position: relative;
  width: 16px;
  height: 16px;
}

.nav-chevron::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(225deg);
}

.actions {
  display: flex;
  gap: 14px;
  justify-self: end;
  font-size: 13px;
}

.login,
.demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  border-radius: 4px;
}

.login {
  width: 74px;
  border: 1px solid #111111;
  color: #111111;
}

.demo {
  width: 88px;
  background: #111111;
  color: var(--white);
}

.product-hero {
  padding: 70px 0 80px;
}

.breadcrumb {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
}

.breadcrumb a,
.breadcrumb span {
  color: var(--muted);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(360px, 424px);
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 51px;
}

.hero-copy > *,
.capability-head > *,
.capability-body > *,
.api-layout > * {
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  color: #383737;
  font-size: clamp(42px, 2.8125vw, 54px);
  font-weight: 500;
  line-height: 74px;
  overflow-wrap: anywhere;
}

.hero-intro {
  align-self: start;
  padding-top: 24px;
}

.hero-intro p {
  margin: 0 0 24px;
  color: #181818;
  font-size: 18px;
  line-height: 28px;
  overflow-wrap: anywhere;
}

.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  background: #111111;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.solid-button:focus-visible,
.ghost-button:focus-visible,
.footer-contact:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
.login:focus-visible,
.demo:focus-visible {
  outline: 2px solid #2864ff;
  outline-offset: 4px;
}

.video-panel {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1320 / 770;
  min-height: 520px;
  overflow: hidden;
  border-radius: 12px;
  background: #d9d9d9;
  color: #111111;
  font-size: 40px;
  font-weight: 500;
  line-height: 74px;
}

.workbench-video-panel,
.matter-center-video-panel,
.results-library-video-panel,
.smart-collaboration-video-panel {
  position: relative;
  background: #111111;
}

.workbench-video-panel video,
.matter-center-video-panel video,
.results-library-video-panel video,
.smart-collaboration-video-panel video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-section {
  padding: 100px 0 124px;
  background: var(--bg);
}

.capability-section .shell {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.capability-head {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(360px, 536px);
  justify-content: space-between;
  gap: 72px;
  margin-bottom: 60px;
}

.capability-head h2 {
  margin: 0;
  color: #2a2a2a;
  font-size: 40px;
  font-weight: 500;
  line-height: 56px;
}

.capability-head p {
  margin: 0;
  color: #181818;
  font-size: 20px;
  line-height: 28px;
}

.capability-body {
  display: grid;
  grid-template-columns: minmax(0, 648px) minmax(360px, 537px);
  justify-content: space-between;
  gap: 88px;
  align-items: center;
}

.feature-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 520px;
  border-radius: 8px;
  background: #33312d;
}

.feature-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%),
    #33312d;
}

.feature-visual img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border-radius: 8px;
  box-shadow: 0 4px 23.6px 4px rgba(5, 65, 149, 0.17);
}

.feature-visual.is-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px 52px;
}

.feature-visual.is-contain img {
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.feature-visual.is-bottom img {
  object-position: left bottom;
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-item {
  min-height: 124px;
  padding: 28px 0 24px;
  border-top: 1px solid var(--line);
}

.feature-item:first-child {
  border-top: 1px solid var(--line);
}

.feature-item h3 {
  margin: 0 0 10px;
  color: #181818;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
}

.feature-item p {
  margin: 0;
  color: #666666;
  font-size: 18px;
  line-height: 28px;
}

.api-section {
  overflow: hidden;
  background: #080808;
  color: var(--white);
  padding: 170px 0 180px;
}

.api-layout {
  display: grid;
  grid-template-columns: minmax(360px, 650px) minmax(420px, 680px);
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.api-copy h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(44px, 3.333vw, 64px);
  font-weight: 500;
  line-height: 70px;
}

.api-copy strong {
  display: block;
  margin-bottom: 26px;
  color: #ffffff;
  font-size: clamp(36px, 3.02vw, 58px);
  font-weight: 500;
  line-height: 70px;
}

.api-copy p {
  margin: 0 0 36px;
  color: #919aa5;
  font-size: 20px;
  line-height: 32px;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 49px;
  border: 1px solid #d2d2d2;
  border-radius: 17px;
  background: #ffffff;
  color: #3a3a3a;
  font-size: 20px;
  font-weight: 500;
  line-height: 31px;
}

.api-visual {
  position: relative;
  min-height: 520px;
}

.api-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #000000;
  color: var(--white);
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 210px 210px;
  gap: 0;
  align-items: start;
  padding: 166px 0 172px;
}

.footer-lockup {
  display: inline-grid;
  grid-template-columns: 78px 1fr;
  gap: 36px;
  align-items: center;
}

.footer-lockup img {
  width: 78px;
  height: 90px;
}

.footer-title {
  display: grid;
  gap: 8px;
}

.footer-title strong {
  color: #f4f6f9;
  font-size: 60px;
  font-weight: 500;
  line-height: 64px;
}

.footer-title span {
  color: #f4f6f9;
  font-size: 30px;
  font-weight: 500;
  line-height: 32px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  min-height: 37px;
  margin-left: 114px;
  margin-top: 58px;
  border: 1px solid #abb7bf;
  border-radius: 20px;
  background: rgba(226, 226, 226, 0.15);
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
}

.footer-nav-group {
  display: grid;
  gap: 35px;
  padding-top: 28px;
  font-size: 14px;
  line-height: 20px;
}

.footer-nav-heading {
  color: #ffffff;
  font-weight: 500;
}

.footer-nav-group div {
  display: grid;
  gap: 15px;
}

.footer-nav-group a {
  color: rgba(255, 255, 255, 0.68);
}

.mobile-break {
  display: none;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 24px 18px;
  }

  .brand,
  .nav,
  .actions {
    justify-self: center;
  }

  .hero-copy,
  .capability-head,
  .capability-body,
  .api-layout {
    grid-template-columns: 1fr;
  }

  .hero-intro {
    padding-top: 0;
  }

  .video-panel {
    min-height: 480px;
  }

  .capability-body {
    gap: 48px;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
    max-width: var(--container);
  }

  .nav {
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
  }

  .actions {
    display: none;
  }

  .product-hero {
    padding-top: 56px;
  }

  .hero-copy {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.3;
    word-break: break-all;
  }

  .hero-intro p,
  .capability-head p,
  .feature-item p {
    font-size: 16px;
    line-height: 28px;
    word-break: break-all;
  }

  .mobile-break {
    display: block;
  }

  .video-panel {
    aspect-ratio: auto;
    width: 100%;
    height: 320px;
    min-height: 320px;
    border-radius: 10px;
    font-size: 30px;
    line-height: 44px;
  }

  .capability-section {
    padding: 76px 0 80px;
  }

  .capability-head {
    gap: 24px;
    margin-bottom: 40px;
  }

  .capability-head h2 {
    font-size: 32px;
    line-height: 1.3;
    word-break: break-all;
  }

  .capability-body {
    gap: 36px;
  }

  .feature-visual {
    height: 360px;
  }

  .feature-visual.is-contain {
    padding: 32px 24px;
  }

  .feature-item {
    min-height: auto;
    padding: 22px 0 20px;
  }

  .feature-item h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .api-section {
    padding: 96px 0 108px;
  }

  .api-copy h2,
  .api-copy strong {
    font-size: 34px;
    line-height: 1.25;
  }

  .api-copy p {
    font-size: 16px;
    line-height: 28px;
  }

  .api-visual {
    min-height: 300px;
  }

  .api-visual img {
    min-height: 300px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 92px 0;
  }

  .footer-lockup {
    grid-template-columns: 54px 1fr;
    gap: 22px;
  }

  .footer-lockup img {
    width: 54px;
    height: 62px;
  }

  .footer-title strong {
    font-size: 28px;
    line-height: 1.15;
  }

  .footer-title span {
    font-size: 18px;
    line-height: 1.35;
  }

  .footer-contact {
    margin-left: 76px;
  }
}

@media (max-width: 560px) {
  .shell {
    max-width: 358px;
    margin-left: 16px;
    margin-right: auto;
  }
}
