/** @format */

:root {
  --brand: #ff6762;
  --ink: #111114;
  --text: #35353b;
  --muted: #73737a;
  --line: #ececf0;
  --panel: #f6f6f7;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1080px;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 84px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(236, 236, 240, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.site-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: var(--text);
  font-size: 17px;
  font-weight: 720;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover {
  color: var(--brand);
}

.language {
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  gap: 64px;
  align-items: center;
  min-height: 720px;
  padding: 96px 10vw 88px;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(255, 103, 98, 0.12),
      transparent 360px
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(94, 160, 255, 0.14),
      transparent 360px
    ),
    linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 64px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.75;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.hero-visual {
  border-radius: 26px;
  overflow: hidden;
  max-height: 480px;
  background: #fff;
}

.hero-product-img {
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  margin: -3px;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  box-shadow: none;
  display: block;
}

.section {
  padding: 112px 10vw 0;
}

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

.section-heading h2,
.about-card h2 {
  font-size: 46px;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.feature-grid,
.case-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

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

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

.feature-grid article,
.case-grid article,
.contact-grid article {
  min-height: 240px;
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.feature-grid article {
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(255, 103, 98, 0.14),
      transparent 100px
    ),
    var(--panel);
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--brand);
  font-weight: 850;
}

.feature-grid h3,
.case-grid h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.feature-grid p,
.case-grid p,
.contact-grid p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.use-cases {
  padding-top: 128px;
}

.case-grid article {
  min-height: 220px;
  background: #fff;
  box-shadow: 0 18px 58px rgba(24, 24, 28, 0.07);
}

.about-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px;
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(255, 103, 98, 0.13),
      transparent 260px
    ),
    #f7f7f8;
  border: 1px solid var(--line);
  border-radius: 36px;
}

.about-card > p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.85;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}

.contact {
  padding-bottom: 104px;
}

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

.contact-grid article {
  min-height: 150px;
  background: #fff;
}

.contact-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact-grid a,
.contact-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 54px 10vw 24px;
  color: var(--muted);
  background: #111114;
}

.site-footer .brand {
  color: #fff;
}

.site-footer p {
  margin: 14px 0 0;
}

.site-footer nav {
  display: flex;
  align-items: start;
  gap: 24px;
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 22px;
  color: #666;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .copyright {
  margin: 0;
  color: #777;
  font-size: 13px;
}

.icp-link {
  color: #666;
  font-size: 14px;
  text-decoration: none;
}

.icp-link:hover {
  color: #aaa;
}

@media (max-width: 760px) {
  body {
    min-width: auto;
  }

  .site-header {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px;
    gap: 16px;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 18px;
    overflow: auto;
    font-size: 15px;
  }

  .language {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 64px 20px;
  }

  .hero h1,
  .section-heading h2,
  .about-card h2 {
    font-size: 38px;
  }

  .hero-copy > p:last-child {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .signal-card {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .section {
    padding: 76px 20px 0;
  }

  .feature-grid,
  .case-grid,
  .contact-grid,
  .about-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .about-card {
    gap: 28px;
    padding: 34px;
  }

  .contact {
    padding-bottom: 76px;
  }
}
