:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --page: #ffffff;
  --blue: #0071e3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

img {
  display: block;
}

.topbar {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: var(--page);
  backdrop-filter: saturate(180%) blur(20px);
  font-size: 15px;
}

.brand {
  font-weight: 700;
}

.topbar nav {
  display: flex;
  gap: 28px;
  color: #424245;
}

.topbar a:hover {
  color: #000;
}

.hero,
.feature,
.catalog,
.download {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: 900px;
  padding-top: 126px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #86868b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 72px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.42;
  font-weight: 600;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.actions.compact {
  margin-top: 32px;
}

.button {
  min-width: 132px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: transparent;
}

.button.disabled {
  color: #86868b;
  cursor: default;
  background: #f5f5f7;
}

.button:hover {
  transform: translateY(-1px);
}

.button.disabled:hover {
  transform: none;
}

.hero-device {
  width: min(1060px, 100%);
  aspect-ratio: 1060 / 596;
  height: auto;
  margin: 58px auto 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.12);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-device:hover {
  transform: translateY(-8px);
  box-shadow: 0 46px 110px rgba(0, 0, 0, 0.15);
}

.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 70px;
}

.feature-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
}

.feature-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.feature-points.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-points article {
  padding-top: 0;
}

.feature-points h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
}

.feature-points p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 600;
}

.single-artifact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 610px;
  transition: transform 260ms ease;
}

.single-artifact:hover {
  transform: translateY(-8px);
}

.single-artifact img {
  width: 94%;
  max-width: 720px;
  border-radius: 12px;
  filter: drop-shadow(0 34px 42px rgba(0, 0, 0, 0.14));
}

.feature-lab {
  grid-template-columns: 1.05fr 0.95fr;
}

.lab-object {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 610px;
  transition: transform 260ms ease;
}

.lab-object:hover {
  transform: translateY(-8px);
}

.lab-object img {
  width: 94%;
  max-width: 720px;
  border-radius: 12px;
  filter: drop-shadow(0 44px 42px rgba(0, 0, 0, 0.14));
}

.catalog {
  padding: 28px 0 66px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.catalog-heading h2 {
  font-size: 44px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 34px 18px;
  min-height: 218px;
}

.card-item,
.lab-item {
  position: relative;
}

.card-item {
  min-height: 196px;
  text-align: center;
}

.card-item img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.09));
  transition: transform 220ms ease, filter 220ms ease;
}

.card-item:hover img,
.lab-item:hover img {
  transform: translateY(-8px);
  filter: drop-shadow(0 26px 28px rgba(0, 0, 0, 0.13));
}

.card-item h3,
.lab-item h3 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.cards-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 34px;
}

.tab-button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tab-button:hover {
  transform: translateY(-1px);
  color: var(--ink);
}

.tab-button.is-active {
  background: var(--ink);
  color: #fff;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}

.lab-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.09));
  transition: transform 220ms ease, filter 220ms ease;
}

.lab-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
}

.download {
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
}

.download h2 {
  font-size: 56px;
}

@media (max-width: 900px) {
  .topbar {
    height: 48px;
    padding: 0 18px;
    font-size: 13px;
  }

  .topbar nav {
    gap: 16px;
  }

  .hero,
  .feature,
  .catalog,
  .download {
    width: calc(100% - 32px);
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 74px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.12;
  }

  h2,
  .catalog-heading h2,
  .download h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .lead {
    max-width: 360px;
    font-size: 16px;
  }

  .actions {
    gap: 8px;
    margin-top: 24px;
  }

  .button {
    min-width: 112px;
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .hero-device {
    margin-top: 38px;
    border-radius: 10px;
  }

  .feature,
  .feature-lab {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 54px 0;
  }

  .feature-lab .lab-object {
    order: 2;
  }

  .feature-lab .feature-copy {
    order: 1;
  }

  .feature-points.two-col {
    grid-template-columns: 1fr;
  }

  .feature-points p {
    font-size: 14px;
  }

  .single-artifact,
  .lab-object {
    height: auto;
  }

  .single-artifact img,
  .lab-object img {
    width: 100%;
    max-width: none;
  }

  .catalog {
    padding: 36px 0 54px;
  }

  .catalog-heading {
    display: block;
    margin-bottom: 22px;
  }

  .cards-tabs {
    gap: 6px;
    margin: 0 0 28px;
  }

  .tab-button {
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 12px;
    min-height: 0;
  }

  .card-item {
    min-height: 138px;
  }

  .card-item img {
    height: 104px;
  }

  .card-item h3,
  .lab-item h3 {
    font-size: 13px;
  }

  .lab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }

  .lab-item img {
    height: 150px;
  }

  .lab-item p {
    font-size: 13px;
  }

  .download {
    min-height: 420px;
  }
}

@media (max-width: 420px) {
  .topbar nav {
    gap: 12px;
  }

  .brand {
    max-width: 74px;
    white-space: nowrap;
  }

  h1 {
    font-size: 36px;
  }

  h2,
  .catalog-heading h2,
  .download h2 {
    font-size: 30px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }
}
