:root {
  color-scheme: light;
  --green: #07c160;
  --green-dark: #06984d;
  --text: #111111;
  --muted: #666666;
  --subtle: #8a8a8a;
  --line: #e5e5e5;
  --page: #ededed;
  --card: #ffffff;
  --soft: #f7f7f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  background: rgba(247, 247, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  background: var(--green);
  border-radius: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--green);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 180px);
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-text,
.section-heading p,
.download-band p,
.download-hero p,
.download-card p,
.install-note li {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--text);
  background: var(--card);
  border-color: var(--line);
}

.button.disabled {
  color: var(--subtle);
  background: var(--soft);
  border-color: var(--line);
  cursor: not-allowed;
}

.phone-preview {
  width: 100%;
  max-width: 360px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.phone-bar {
  width: 88px;
  height: 5px;
  margin: 0 auto 34px;
  background: #d0d0d0;
  border-radius: 999px;
}

.chat-row {
  max-width: 82%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.chat-row.incoming {
  background: #ffffff;
}

.chat-row.outgoing {
  margin-left: auto;
  background: #95ec69;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.media-row span {
  display: grid;
  min-height: 84px;
  place-items: center;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  padding: 48px 0;
}

.section-heading {
  margin-bottom: 22px;
}

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

.feature-card,
.download-band,
.download-card,
.install-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  padding: 22px;
}

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

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  color: #ffffff;
  background: var(--green);
  border-radius: 7px;
  font-weight: 700;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0;
  padding: 28px;
}

.download-band p {
  margin-bottom: 0;
}

.download-main {
  max-width: 980px;
}

.download-hero {
  max-width: 720px;
  margin-bottom: 28px;
}

.download-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 16px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 300px;
  padding: 26px;
}

.download-card.available {
  border-color: rgba(7, 193, 96, 0.35);
}

.download-card.muted {
  color: var(--muted);
}

.platform {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.meta-list div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.meta-list dt {
  color: var(--subtle);
  font-size: 13px;
}

.meta-list dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.install-note {
  margin-top: 16px;
  padding: 26px;
}

.install-note ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.log-main {
  max-width: 960px;
}

.log-hero {
  max-width: 760px;
  margin-bottom: 32px;
}

.log-hero p {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.timeline-item time {
  padding-top: 24px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 700;
}

.timeline-card {
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: var(--green);
  background: rgba(7, 193, 96, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  padding: 28px 24px 36px;
  color: var(--subtle);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 18px;
  }

  main {
    padding-top: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
  }

  h1 {
    font-size: 34px;
  }

  .feature-grid,
  .download-cards,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item time {
    padding-top: 0;
  }

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

@media (max-width: 520px) {
  .site-header {
    align-items: center;
    height: 58px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav {
    position: static;
    max-width: 170px;
    overflow-x: auto;
    flex: 0 0 auto;
    gap: 14px;
    font-size: 14px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand {
    flex: 0 0 auto;
  }

  h1 {
    font-size: 28px;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  main {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    overflow: hidden;
  }

  .hero,
  .hero-copy,
  .section,
  .download-band,
  .feature-grid,
  .download-cards {
    width: 100%;
  }

  .hero-text {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .log-hero,
  .timeline,
  .timeline-item,
  .timeline-card,
  .timeline-card h2,
  .timeline-card p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .timeline-card {
    width: auto;
  }

  .log-hero p,
  .timeline-card p {
    word-break: break-all;
  }

  .timeline-card {
    padding: 20px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .phone-preview {
    display: none;
  }

  .download-card {
    min-height: 0;
  }
}
