:root {
  color-scheme: light;
  --ink: #18212f;
  --muted: #667084;
  --line: #dde4ef;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --green: #167a64;
  --green-dark: #0d5447;
  --amber: #d18b2d;
  --blue: #2f6fb0;
  --shadow: 0 18px 50px rgba(24, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 228, 239, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(22, 122, 100, 0.18);
}

.brand__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 15px;
  color: #3e4a5d;
  white-space: nowrap;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

.hero {
  min-height: clamp(620px, calc(100vh - 150px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(42px, 6vw, 84px) clamp(18px, 5vw, 76px) 56px;
  background:
    linear-gradient(120deg, rgba(245, 247, 251, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at 18% 18%, rgba(47, 111, 176, 0.12), transparent 36%),
    radial-gradient(circle at 92% 10%, rgba(209, 139, 45, 0.12), transparent 32%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.hero__lead,
.section__header p,
.preview__text p,
.contact p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.button--primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(22, 122, 100, 0.22);
}

.button--secondary {
  color: var(--green-dark);
  background: #e8f3ef;
  border: 1px solid #c9e5dc;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 0;
}

.hero__facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero__facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero__facts dd {
  margin: 0;
  font-weight: 800;
}

.hero__visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(290px, 42vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 10px solid #172033;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--front {
  position: relative;
  transform: translateX(-44px);
}

.phone--rear {
  position: absolute;
  transform: translate(98px, 18px) rotate(5deg);
  opacity: 0.9;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 76px);
}

.section__header {
  max-width: 860px;
  margin-bottom: 30px;
}

.section--products {
  background: #ffffff;
}

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

.product-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 158px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(24, 33, 47, 0.06);
}

.product-card--featured {
  border-color: #b8ddd3;
  background: #f4fbf8;
}

.product-card img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
  background: var(--soft);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: #344154;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.preview__screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  align-items: end;
}

.preview__screens img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 8px solid #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(24, 33, 47, 0.13);
}

.preview__screens img:nth-child(2) {
  transform: translateY(-24px);
}

.company {
  background: #ffffff;
}

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

.info-item {
  min-height: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.info-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
}

.info-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.55;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #12372f;
  color: #ffffff;
}

.contact .eyebrow {
  color: #90dac8;
}

.contact p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact__phone {
  flex: 0 0 auto;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.site-footer {
  padding: 22px clamp(18px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.78);
  background: #101723;
  text-align: center;
  font-size: 14px;
}

.site-footer a {
  display: inline;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .preview {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 500px;
  }

  .product-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero {
    gap: 18px;
    padding: 36px 20px 28px;
  }

  .brand__name {
    white-space: normal;
  }

  h1 {
    font-size: 34px;
  }

  .hero__lead,
  .section__header p,
  .preview__text p,
  .contact p {
    font-size: 17px;
  }

  .hero__facts {
    display: none;
  }

  .hero__visual {
    min-height: 250px;
  }

  .phone {
    width: min(156px, 42vw);
    border-width: 6px;
    border-radius: 22px;
  }

  .phone--front {
    transform: translateX(-24px);
  }

  .phone--rear {
    transform: translate(42px, 10px) rotate(5deg);
  }

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

  .preview__screens img:nth-child(2) {
    transform: none;
  }

  .preview__screens img:nth-child(3) {
    grid-column: 1 / -1;
    width: min(52vw, 220px);
    justify-self: center;
  }

  .product-card {
    flex-direction: column;
  }
}
