:root {
  --text: #1d1d1d;
  --muted: #888888;
  --blue: #5372e1;
  --footer: #1d1d1d;
  --panel: #f8f8f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Source Han Sans SC';
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

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

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  border-bottom: 1px solid #e7e7e7;
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  width: min(1180px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.company-name {
  color: #1b1b1b;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.main-nav a {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.main-nav a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
}

.home-hero {
  display: flex;
  height: 440px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(100deg, #f0f6f6 0%, #deedec 100%);
  text-align: center;
}

.home-hero-content {
  width: min(980px, calc(100% - 48px));
  transform: translateY(-2px);
}

.home-hero h1 {
  margin-bottom: 17px;
  font-size: 4.6rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.home-hero p {
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

.content-container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.article-container {
  width: min(960px, calc(100% - 64px));
  margin: 0 auto;
}

.team-section {
  padding: 67px 0 92px;
}

.center-title {
  margin-bottom: 51px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.team-item {
  text-align: center;
}

.team-item img {
  width: 64px;
  height: 64px;
  margin: 0 auto 35px;
  object-fit: contain;
}

.team-item h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.team-item p {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.home-copy-section h2 {
  margin-bottom: 24px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.home-copy-section p {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.engine-section {
  padding: 86px 0 0;
}

.wide-product-figure {
  margin: 100px 0 0;
  text-align: center;
}

.wide-product-figure img {
  width: 100%;
  max-height: 750px;
  object-fit: cover;
  object-position: top center;
}

.wide-product-figure figcaption {
  margin-top: 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}

.face-section {
  padding: 101px 0 98px;
}

.platform-section {
  padding: 0 0 67px;
}

.site-footer {
  min-height: 210px;
  background: var(--footer);
  color: var(--muted);
}

.footer-content {
  display: flex;
  min-height: 210px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px 24px;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
}

.footer-content > a {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
}

.footer-content a:hover {
  color: #bcbcbc;
}

.police-record {
  gap: 5px;
}

.police-record img {
  width: 20px;
  height: 20px;
}

.footer-content p {
  margin: 3px 0 0;
}

.products-main {
  background: #fff;
}

.product-container {
  width: min(1260px, calc(100% - 64px));
  margin: 0 auto;
}

.product-intro {
  min-height: 636px;
  padding: 83px 0 120px;
}

.product-intro-grid {
  display: grid;
  grid-template-columns: 550px minmax(0, 630px);
  gap: 75px;
  align-items: start;
  justify-content: center;
}

.product-intro-copy {
  padding-top: 50px;
}

.product-intro h1,
.product-features h2 {
  margin-bottom: 26px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
}

.product-intro-copy p {
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  white-space: nowrap;
}

.product-demo {
  margin-bottom: 0;
}

.product-demo img {
  width: 630px;
  height: 328px;
  object-fit: cover;
}

.product-demo figcaption {
  margin-top: 8px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}

.product-features {
  min-height: 750px;
  padding: 18px 0 90px;
}

.feature-copy {
  width: min(1160px, calc(100% - 64px));
}

.product-features h2 {
  margin-bottom: 38px;
}

.product-features ul {
  margin: 0;
  padding-left: 43px;
  list-style: none;
}

.product-features li {
  position: relative;
  margin-bottom: 18px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.product-features li::before {
  position: absolute;
  top: 9px;
  left: -27px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8e8e8e;
  content: '';
}

.product-features strong,
.product-features span {
  display: block;
}

.product-features strong {
  font-weight: 700;
}

.how-to-get {
  padding: 57px 0 124px;
}

.how-to-card {
  width: min(1140px, calc(100% - 64px));
  min-height: 214px;
  padding: 52px 53px;
  border-left: 3px solid #5c77e8;
  border-radius: 5px;
  background: #f6f6f6;
}

.how-to-card h3 {
  margin-bottom: 9px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
}

.how-to-card p {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

.contact-main {
  min-height: calc(100vh - 282px);
  background: #fff;
}

.contact-panel {
  width: min(1290px, calc(100% - 64px));
  margin: 0 auto;
  padding: 175px 0 150px;
}

.contact-panel > h1 {
  margin-bottom: 26px;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.contact-card {
  display: flex;
  min-height: 160px;
  align-items: center;
  gap: 24px;
  padding: 32px 65px;
  background: var(--panel);
}

.contact-card > img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.contact-card h2 {
  margin-bottom: 2px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .header-inner,
  .content-container,
  .article-container,
  .product-container,
  .feature-copy,
  .how-to-card,
  .contact-panel {
    width: calc(100% - 40px);
  }

  .wide-only {
    display: none;
  }

  .team-grid {
    gap: 28px;
  }

  .product-intro-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .product-intro-copy {
    padding-top: 0;
  }

  .product-intro-copy p {
    white-space: normal;
  }

  .product-demo img {
    width: 100%;
    height: auto;
  }

  .contact-card {
    padding: 30px;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .company-name {
    max-width: calc(100vw - 95px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-button {
    display: block;
    padding: 6px 10px;
    border: 1px solid #d7d7d7;
    border-radius: 2px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 15px 20px;
    border-bottom: 1px solid #e7e7e7;
    background: #fff;
    gap: 0;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    flex: 1;
    text-align: center;
  }

  .home-hero {
    height: 410px;
  }

  .team-section {
    padding: 62px 0 70px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .team-item img {
    margin-bottom: 20px;
  }

  .engine-section,
  .face-section {
    padding-top: 72px;
  }

  .wide-product-figure {
    margin-top: 60px;
  }

  .product-intro {
    min-height: 0;
    padding: 65px 0 95px;
  }

  .product-features {
    min-height: 0;
    padding-bottom: 60px;
  }

  .product-features ul {
    padding-left: 28px;
  }

  .how-to-get {
    padding: 40px 0 80px;
  }

  .how-to-card {
    padding: 34px 28px;
  }

  .contact-main {
    min-height: 0;
  }

  .contact-panel {
    padding: 90px 0 110px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card {
    min-height: 140px;
    padding: 28px;
  }

}

@media (max-width: 992px) {
  .home-hero h1 {
    font-size: 3.68rem;
  }
}

@media (max-width: 768px) {
  .home-hero h1 {
    font-size: clamp(2.26rem, calc(8.3571vw + 9.417px), 4.6rem);
    line-height: 1.1;
  }

  .center-title,
  .home-copy-section h2,
  .contact-panel > h1 {
    font-size: clamp(1.7rem, calc(4.6429vw + 12.343px), 3rem);
    line-height: 1.3;
  }

  .main-nav a,
  .wide-product-figure figcaption,
  .product-demo figcaption,
  .how-to-card p {
    font-size: clamp(1.035rem, calc(0.2321vw + 15.817px), 1.1rem);
    line-height: 1.4;
  }

  .product-intro h1,
  .product-features h2,
  .contact-card h2 {
    font-size: clamp(1.42rem, calc(2.7857vw + 13.806px), 2.2rem);
    line-height: 1.4;
  }

  .contact-card h2 {
    line-height: 1.2;
  }

  .company-name,
  .home-hero p,
  .team-item h3,
  .team-item p,
  .home-copy-section p,
  .footer-content,
  .product-intro-copy p,
  .product-features li,
  .how-to-card h3,
  .contact-card p {
    font-size: clamp(1.07rem, calc(0.4643vw + 15.634px), 1.2rem);
    line-height: 1.4;
  }
}
