:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #5f6470;
  --line: #e6e8ec;
  --paper: #f7f8fa;
  --white: #ffffff;
  --red: #ff1744;
  --red-dark: #d90f35;
  --cyan: #00d4d8;
  --green: #2f8f7a;
  --shadow: 0 22px 60px rgba(23, 25, 31, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(230, 232, 236, .8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(820px, calc(100vh - 72px));
  background:
    linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.72) 48%, rgba(255,255,255,.25)),
    url("../img/screen-1.png") right center / auto 96% no-repeat,
    #eef2f3;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 86px);
  width: min(1180px, calc(100% - 40px));
  min-height: min(820px, calc(100vh - 72px));
  margin: 0 auto;
  padding: clamp(44px, 8vh, 88px) 0 clamp(52px, 10vh, 96px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(76px, 9vw, 128px);
  line-height: .92;
  letter-spacing: 0;
}

.hero h2 {
  margin: 18px 0 20px;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: #2f333b;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero p {
  margin: 10px 0;
}

.contact-line {
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 30px rgba(255, 23, 68, .26);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  border-color: rgba(23, 25, 31, .2);
}

.primary-button:hover,
.secondary-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(23, 25, 31, .14);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.phone-shot {
  position: relative;
  z-index: 2;
  width: min(360px, 82vw);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blueprint-panel {
  position: absolute;
  inset: 16% auto auto 2%;
  width: min(470px, 92%);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 216, .38);
  border-radius: 8px;
  background:
    linear-gradient(rgba(0, 212, 216, .1) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(0, 212, 216, .1) 1px, transparent 1px) 0 0 / 36px 36px,
    #11151b;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.blueprint-panel span {
  position: absolute;
  display: block;
  border: 2px solid var(--cyan);
}

.blueprint-panel span:nth-child(1) {
  left: 12%;
  top: 14%;
  width: 34%;
  height: 42%;
}

.blueprint-panel span:nth-child(2) {
  right: 13%;
  top: 20%;
  width: 28%;
  height: 52%;
  border-color: #ffb000;
}

.blueprint-panel span:nth-child(3) {
  left: 21%;
  bottom: 17%;
  width: 48%;
  height: 18%;
  border-color: #35d163;
}

.blueprint-panel span:nth-child(4) {
  right: 23%;
  top: 11%;
  width: 11%;
  height: 68%;
  border-color: var(--red);
}

.feature-band,
.screenshots,
.support {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.feature-band {
  padding: 82px 0 40px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.support h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 228px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(23, 25, 31, .06);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.feature-card:nth-child(1) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: var(--red);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--green);
}

.feature-card:nth-child(3) .feature-icon {
  background: #11151b;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.screenshots {
  padding: 70px 0 58px;
}

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

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 34px rgba(23, 25, 31, .08);
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.screenshot-grid figcaption {
  padding: 14px 18px 16px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
}

.support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
  padding: 36px;
  color: var(--white);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23,25,31,.96), rgba(23,25,31,.88)),
    url("../img/screen-2.png") right center / auto 120% no-repeat;
}

.support .eyebrow,
.support p {
  color: rgba(255,255,255,.78);
}

.support p {
  margin: 10px 0 0;
}

.site-footer {
  padding: 30px 20px 36px;
  color: rgba(255,255,255,.82);
  background: #11151b;
  text-align: center;
  font-size: 14px;
}

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

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .52);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0 42px 18px 0;
  font-size: 24px;
}

.modal-panel p {
  margin: 10px 0;
  color: #333842;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-panel .primary-button {
  margin-top: 16px;
  box-shadow: none;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.86) 56%, rgba(255,255,255,.7)),
      url("../img/screen-1.png") center bottom / 120% auto no-repeat,
      #eef2f3;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }

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

  .blueprint-panel {
    left: 50%;
    transform: translateX(-50%);
  }

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

  .support {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    gap: 14px;
    font-size: 14px;
  }

  .hero-inner,
  .feature-band,
  .screenshots,
  .support {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero h2 {
    margin: 12px 0 12px;
    font-size: 28px;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.55;
  }

  .hero .lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero p {
    margin: 6px 0;
  }

  .hero-inner {
    padding-top: 30px;
    padding-bottom: 34px;
    gap: 12px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  .primary-button,
  .secondary-button {
    min-height: 44px;
    width: 100%;
    padding-inline: 18px;
  }

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

  .phone-shot {
    width: min(190px, 62vw);
  }

  .blueprint-panel {
    width: min(260px, 76%);
  }

  .feature-band {
    padding-top: 54px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .screenshots {
    padding-top: 48px;
  }

  .support {
    padding: 28px 22px;
  }

  .modal-panel {
    padding: 28px 22px;
  }
}
