:root {
  color-scheme: light;
  --green: #06c160;
  --green-dark: #078845;
  --ink: #101418;
  --muted: #5a6470;
  --line: #dce3e8;
  --page: #f5f7f8;
  --panel: #ffffff;
  --soft: #e9f7ef;
  --blue: #2657d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 7vw;
  border-bottom: 1px solid rgba(16, 20, 24, 0.08);
  background: rgba(245, 247, 248, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.meta,
footer,
.nav {
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 72px;
  min-height: calc(100vh - 72px);
  padding: 70px 7vw 88px;
}

.hero-copy,
.phone-wrap,
.split > *,
.download-panel > * {
  min-width: 0;
}

.hero h1,
.section-head h2,
.split h2,
.download-panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.04;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #34404a;
  font-size: 20px;
  line-height: 1.72;
}

.eyebrow {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 14px;
}

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

.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 32px rgba(6, 193, 96, 0.22);
}

.primary:hover {
  background: var(--green-dark);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.meta {
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 340px);
  min-height: 630px;
  padding: 18px 18px 22px;
  border: 10px solid #1a1f25;
  border-radius: 34px;
  background: #edf1f4;
  box-shadow: 0 28px 70px rgba(28, 42, 56, 0.26);
}

.phone-status,
.phone-title,
.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-status {
  color: #1b232c;
  font-size: 12px;
  font-weight: 700;
}

.phone-title {
  min-height: 58px;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.chat-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 430px;
  padding-top: 18px;
}

.bubble {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  line-height: 1.5;
}

.bubble.outgoing {
  align-self: flex-end;
  background: #95ec69;
}

.bubble.file {
  border-left: 4px solid var(--blue);
}

.composer {
  gap: 10px;
  padding-top: 18px;
}

.composer span {
  display: block;
  flex: 1;
  height: 36px;
  border-radius: 5px;
  background: #fff;
}

.composer button {
  height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.band,
.split,
.download-panel {
  margin: 0 7vw 54px;
}

.band {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
}

.section-head h2,
.split h2,
.download-panel h2 {
  font-size: clamp(30px, 4vw, 48px);
}

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

.feature-grid article {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid h3 {
  margin: 0 0 12px;
}

.feature-grid p,
.split p,
.download-panel p {
  color: var(--muted);
  line-height: 1.72;
}

.split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: center;
  padding: 52px;
  border-radius: 8px;
  background: var(--soft);
}

.checks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.app-callout {
  margin-top: -12px;
}

.sms-hero {
  min-height: calc(100vh - 72px);
}

.sms-phone {
  background: #f2f5f2;
}

.sms-screen {
  display: grid;
  gap: 14px;
  padding-top: 22px;
}

.sheet-row,
.progress-card,
.sms-controls {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 42, 56, 0.08);
}

.sheet-row {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.sheet-row span,
.progress-card span,
.sms-controls span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.progress-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.progress-card strong {
  font-size: 30px;
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7e2;
}

.progress-bar i {
  display: block;
  width: 32%;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.sms-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.sms-controls button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.camera-phone {
  background: #f4f8f9;
}

.camera-screen {
  display: grid;
  gap: 14px;
  padding-top: 16px;
}

.count-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 42, 56, 0.08);
}

.count-result span {
  color: var(--muted);
  font-weight: 700;
}

.count-result strong {
  color: var(--green-dark);
  font-size: 42px;
  line-height: 1;
}

.camera-preview {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 20, 24, 0.035) 1px, transparent 1px),
    #e8eef1;
  background-size: 36px 36px;
}

.sample-dot,
.scan-ring {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.sample-dot {
  width: 42px;
  height: 42px;
  background: #d9a449;
  box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.42), 0 10px 20px rgba(28, 42, 56, 0.14);
}

.dot-a {
  left: 34px;
  top: 44px;
}

.dot-b {
  left: 108px;
  top: 76px;
}

.dot-c {
  right: 42px;
  top: 48px;
}

.dot-d {
  left: 62px;
  top: 158px;
}

.dot-e {
  right: 86px;
  top: 150px;
}

.dot-f {
  right: 32px;
  bottom: 70px;
}

.dot-g {
  left: 118px;
  bottom: 52px;
}

.dot-h {
  left: 36px;
  bottom: 86px;
}

.scan-ring {
  width: 64px;
  height: 64px;
  border: 4px solid #00c853;
  color: #fff;
  background: rgba(0, 200, 83, 0.12);
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(16, 20, 24, 0.55);
}

.ring-a {
  left: 23px;
  top: 33px;
}

.ring-b {
  left: 97px;
  top: 65px;
}

.ring-c {
  right: 75px;
  top: 139px;
}

.ring-d {
  left: 107px;
  bottom: 41px;
}

.camera-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
}

.camera-controls span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.camera-controls button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.hash {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 13px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 7vw 42px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px) {
  .topbar {
    padding: 0 20px;
  }

  .nav {
    display: none;
  }

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

  .hero {
    gap: 42px;
    min-height: auto;
    padding: 42px 20px 58px;
  }

  .phone {
    width: min(100%, 280px);
    min-height: 560px;
    padding: 14px 14px 18px;
    border-width: 9px;
  }

  .chat-list {
    min-height: 360px;
  }

  .camera-preview {
    min-height: 280px;
  }

  .sample-dot {
    width: 34px;
    height: 34px;
  }

  .scan-ring {
    width: 54px;
    height: 54px;
    border-width: 3px;
  }

  .band,
  .split,
  .download-panel {
    margin-inline: 20px;
  }

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

  .split,
  .download-panel {
    padding: 24px;
  }

  .download-panel {
    align-items: stretch;
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    padding-inline: 20px;
  }
}
