:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --surface-soft: #eef3f1;
  --text: #151918;
  --muted: #52615d;
  --line: #dbe5e1;
  --green: #0f766e;
  --green-dark: #064e49;
  --ink: #111827;
  --amber: #d97706;
  --amber-soft: #fff7e8;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 248, 247, 0.94);
  backdrop-filter: blur(10px);
}

.header-inner,
.section,
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.brand-name,
.brand-domain {
  display: block;
}

.brand-name {
  font-size: 15px;
  line-height: 1.35;
}

.brand-domain {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

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

.hero {
  padding: 84px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-copy {
  min-width: 0;
}

.hero-download-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 62px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.hero-download-qr img {
  width: 37px;
  height: 37px;
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.download-button {
  min-height: 44px;
  padding: 0 20px;
  line-height: 1.2;
}

.button:hover {
  border-color: var(--green);
}

.product-showcase {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 360px);
  min-height: 520px;
  padding: 22px;
  border: 1px solid #cfd9d5;
  border-radius: 28px;
  background: #101817;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.18);
}

.phone-top {
  width: 78px;
  height: 5px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #40514d;
}

.app-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #f8fbfa;
}

.app-card + .app-card {
  margin-top: 14px;
}

.app-card.active {
  background: var(--amber-soft);
}

.app-card-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.app-card-text {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  margin-bottom: 40px;
}

.section-heading p,
.feature-item p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-item {
  min-height: 220px;
  padding: 28px;
  background: var(--surface);
}

.feature-icon {
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.info-block {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.info-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-value {
  font-size: 17px;
}

.site-footer {
  background: #111716;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 13px;
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .header-inner,
  .section,
  .footer-inner {
    width: min(var(--max), calc(100% - 32px));
  }

  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .nav {
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 15px;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-grid,
  .section-heading,
  .info-row {
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
  }

  .hero-copy p,
  .section-heading p {
    max-width: 100%;
    word-break: break-all;
  }

  .phone-frame {
    width: min(100%, 330px);
    min-height: 460px;
  }

  .hero-download-qr {
    width: 58px;
    padding: 8px;
  }

  .hero-download-qr img {
    width: 34px;
    height: 34px;
  }

  .product-showcase {
    justify-content: flex-start;
    overflow: hidden;
  }

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

  .section {
    padding: 54px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
