:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --paper: #ffffff;
  --ink: #17201b;
  --muted: #5e6d66;
  --line: #dce5df;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --coral: #df6b57;
  --mint: #e7f4ef;
  --sky: #eaf2f8;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body.product-page {
  background: #f7faf8;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

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

.site-header,
.site-footer,
.section,
.document {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent-strong);
  font-size: 18px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 32, 27, 0.15);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}

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

.home-hero {
  position: relative;
  min-height: 74svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  z-index: -2;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 17, 0.82), rgba(7, 20, 17, 0.52), rgba(7, 20, 17, 0.2)),
    linear-gradient(180deg, rgba(7, 20, 17, 0.18), rgba(7, 20, 17, 0.58));
  z-index: -1;
}

.hero-inner {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 92px 0 86px;
  color: #ffffff;
}

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

.home-hero .eyebrow {
  color: #cceee7;
}

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3.7rem;
}

h2 {
  margin: 0;
  font-size: 2.35rem;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: #ffffff;
  color: #12342e;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  color: #ffffff;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 46px;
}

.hero-point {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-point strong {
  display: block;
  margin-bottom: 6px;
}

.hero-point span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.section {
  padding: 74px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

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

.feature {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.feature b {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 0.9rem;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
}

.showcase {
  background: #edf5f1;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.phone-shot {
  margin: 0;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 415 / 900;
  object-fit: cover;
  border: 1px solid rgba(23, 32, 27, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 42px rgba(23, 32, 27, 0.16);
}

.phone-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.privacy-band {
  padding: 54px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.privacy-band .section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  padding: 0;
}

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

.privacy-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}

.cta-section {
  padding: 76px 0;
  text-align: center;
}

.cta-section p {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.legal-actions .button {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
}

.document {
  margin-bottom: 56px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.document-header {
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  font-size: 3rem;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
}

.document h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.document h3,
.document h4 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.document p {
  margin: 0 0 14px;
}

.document ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.document li {
  margin-bottom: 8px;
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

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

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

  .privacy-band .section,
  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }
}

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

  .home-hero {
    min-height: 78svh;
  }

  .hero-inner {
    padding: 62px 0 54px;
  }

  h1,
  .document-header h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 52px 0;
  }

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

  .phone-shot img {
    width: min(100%, 330px);
    margin: 0 auto;
  }

  .document {
    padding: 28px 20px;
  }
}
