:root {
  --ink: #000;
  --paper: #fff;
  --muted: #5f5f5f;
  --line: #1f1f1f;
  --blue: #c9deed;
  --yellow: #f4b91f;
  --orange: #f25b17;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100vw - 40px), var(--max));
  height: 96px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.site-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  color: #111;
  font-size: 15px;
}

.site-nav a {
  transition: opacity 180ms ease;
}

.site-nav a:hover {
  opacity: 0.55;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.section-pad {
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding-top: 126px;
  padding-bottom: 56px;
}

.hero-mark {
  display: flex;
  justify-content: center;
  min-height: 390px;
}

.hero-mark img {
  width: min(412px, 72vw);
  height: auto;
  object-fit: contain;
}

.intro-copy {
  position: relative;
  margin-top: 34px;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.intro-copy p {
  max-width: 900px;
  margin: 0 0 42px;
}

.social-row {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
}

.social-row img {
  width: 22px;
  height: 22px;
}

.rule {
  width: min(calc(100vw - 40px), var(--max));
  height: 1px;
  margin: 0 auto;
  background: var(--line);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading h1 {
  margin: 0 0 18px;
  font-size: clamp(54px, 8vw, 72px);
  line-height: 1.05;
  font-weight: 900;
}

.section-heading p {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 30px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.products {
  padding-top: 110px;
  padding-bottom: 118px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.product-panel {
  position: relative;
  min-height: 348px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  min-width: 0;
}

.product-panel::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
}

.product-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  transition: opacity 260ms ease;
}

.product-ai::before {
  background: url("assets/product-ai.jpg") center / cover;
  filter: blur(9px) saturate(1.05);
  transform: scale(1.04);
}

.product-ai::after {
  background: rgba(229, 112, 25, 0.2);
}

.product-lab::before {
  background: var(--yellow);
}

.product-news {
  grid-column: 1;
}

.product-news::before {
  background: var(--orange);
}

.product-copy {
  position: relative;
  z-index: 1;
  width: min(86%, 430px);
  padding: 28px 28px 0;
}

.product-copy h2 {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.product-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.product-copy a {
  display: inline-flex;
  margin-top: 12px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
}

.product-identity {
  position: absolute;
  left: 50%;
  bottom: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
  transform: translateX(-50%);
  transition: transform 260ms ease;
}

.product-identity img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.product-identity strong {
  color: #fff;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 900;
  white-space: nowrap;
}

.product-panel:hover .product-identity {
  transform: translateX(-50%) translateY(-8px) scale(1.04);
}

.about {
  padding-top: 84px;
  padding-bottom: 88px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
  margin-top: 82px;
  margin-bottom: 110px;
}

blockquote {
  margin: 0;
  color: var(--orange);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.25;
  font-weight: 900;
  font-style: italic;
}

.about-copy {
  color: #555;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-copy .eyebrow {
  color: #111;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: right;
}

.logo-wall {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
  overflow: hidden;
}

.logo-wall h2 {
  margin: 0 0 30px;
  font-size: 26px;
  line-height: 1.2;
}

.logo-wall img {
  width: 100%;
  height: auto;
}

.logo-wall.offer {
  margin-top: 46px;
}

.partners {
  padding-top: 70px;
  padding-bottom: 120px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 70px;
  align-items: center;
  width: min(720px, 100%);
  margin: 86px auto 0;
}

.partner-grid img {
  width: 100%;
  max-height: 84px;
  object-fit: contain;
}

.partner-grid img:nth-child(4),
.partner-grid img:nth-child(5) {
  justify-self: center;
  width: 78%;
}

.footer {
  background: #000;
  color: #fff;
  padding: 104px 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  width: min(calc(100vw - 40px), var(--max));
  margin: 0 auto 96px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand > img {
  width: min(230px, 48vw);
  margin-bottom: 34px;
}

.qr-row {
  display: flex;
  gap: 34px;
}

.qr-row figure {
  margin: 0;
  text-align: center;
}

.qr-row img {
  width: 98px;
  height: 98px;
}

.qr-row figcaption {
  margin-top: 8px;
  color: #ddd;
  font-size: 13px;
}

.contact-form h2 {
  margin: 0 0 30px;
  font-size: 30px;
  line-height: 1.2;
}

.contact-form label {
  display: block;
  color: #f1f1f1;
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 8px 0 14px;
  padding: 6px 0;
  color: #fff;
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #fff;
  border-radius: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-width: 86px;
  height: 24px;
  padding: 0 18px;
  color: #111;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.form-status {
  min-height: 20px;
  margin: 16px 0 0;
  color: #fff;
  font-size: 13px;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  width: min(calc(100vw - 80px), 1260px);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid #777;
  color: #cfcfcf;
  font-size: 12px;
}

.chat-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.chat-button span {
  position: relative;
  width: 24px;
  height: 20px;
  border: 3px solid #111;
}

.chat-button span::before,
.chat-button span::after {
  position: absolute;
  left: 5px;
  width: 9px;
  height: 2px;
  background: #111;
  content: "";
}

.chat-button span::before {
  top: 5px;
}

.chat-button span::after {
  top: 10px;
}

.reveal {
  animation: reveal-up 700ms ease both;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .product-identity,
  .site-nav a {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  body {
    max-width: 100vw;
  }

  .site-header {
    width: min(calc(100vw - 28px), var(--max));
    height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px 0;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px 4px;
  }

  .section-pad,
  .rule {
    width: min(calc(100vw - 28px), var(--max));
  }

  .section-pad > *,
  .intro-copy,
  .intro-copy p,
  .section-heading,
  .section-heading h1,
  .section-heading p,
  .about-layout,
  .about-copy,
  .about-copy p,
  blockquote,
  .product-grid,
  .logo-wall {
    max-width: calc(100vw - 28px);
  }

  .intro-copy,
  .intro-copy p,
  .section-heading p,
  .about-copy,
  .about-copy p {
    word-break: break-all;
    line-break: anywhere;
  }

  .logo-wall img {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }


  .hero {
    padding-top: 70px;
  }

  .hero-mark {
    min-height: 250px;
  }

  .hero-mark img {
    width: min(310px, 82vw);
  }

  .intro-copy {
    font-size: 22px;
    line-height: 1.5;
  }

  .intro-copy p {
    margin-bottom: 30px;
  }

  .products,
  .about,
  .partners {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .section-heading h1 {
    font-size: 48px;
  }

  .section-heading p {
    font-size: 23px;
  }

  .product-grid,
  .about-layout,
  .footer-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-news {
    grid-column: auto;
  }

  .product-panel {
    min-height: 330px;
  }

  .about-layout {
    gap: 48px;
    margin-top: 52px;
    margin-bottom: 76px;
  }

  .about-copy .eyebrow {
    text-align: left;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 36px 34px;
    margin-top: 54px;
  }

  .partner-grid img {
    justify-self: start;
    max-width: 260px;
  }

  .footer {
    padding-top: 78px;
  }

  .footer-inner {
    gap: 64px;
    margin-bottom: 70px;
  }

  .footer-line {
    width: min(calc(100vw - 36px), var(--max));
  }
}

@media (max-width: 430px) {
  .brand {
    font-size: 22px;
  }

  .section-heading h1 {
    font-size: 42px;
  }

  .intro-copy {
    font-size: 20px;
  }

  .product-copy {
    width: 100%;
    padding: 24px;
  }

  .product-identity {
    gap: 18px;
  }

  .product-identity img {
    width: 78px;
    height: 78px;
  }

  .product-identity strong {
    font-size: 24px;
  }

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

  .qr-row {
    gap: 18px;
  }

  .chat-button {
    width: 54px;
    height: 54px;
  }
}
