:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --subtle: #86868b;
  --page: #ffffff;
  --band: #f5f5f7;
  --panel: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --hairline: rgba(0, 0, 0, 0.08);
  --link: #0066cc;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.08);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img,
svg {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 64px;
  padding: 14px max(22px, calc((100vw - 1180px) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header.compact {
  background: rgba(255, 255, 255, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(29, 29, 31, 0.78);
  font-size: 13px;
  line-height: 1;
}

.nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

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

.hero {
  position: relative;
  display: block;
  min-height: auto;
  padding: clamp(76px, 8vw, 96px) max(28px, calc((100vw - 1180px) / 2)) clamp(58px, 7vw, 74px);
  overflow: hidden;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 0, 0, 0.035), transparent 32%),
    linear-gradient(#ffffff, #fbfbfd 74%, #f5f5f7);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(52px, 6.4vw, 88px);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 650;
  line-height: 1.18;
}

.hero-body {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 520;
  border: 1px solid var(--line);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: #000;
  border-color: #000;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  border-color: rgba(0, 0, 0, 0.34);
}

.fine-print {
  margin-top: 22px;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: 96px max(28px, calc((100vw - 1180px) / 2));
}

.product-section {
  background: var(--band);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.developer-copy h2,
.support-hero h1,
.legal-document h1 {
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p,
.developer-copy p,
.support-hero p,
.legal-document p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.product-showcase {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  max-width: 880px;
  margin: 0 auto 28px;
  padding: 36px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.product-icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-content h3 {
  color: var(--ink);
  font-size: 32px;
  font-weight: 680;
  line-height: 1.15;
}

.product-content p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}

.product-actions a,
.contact-panel a,
.support-card a,
.legal-document a {
  display: inline-flex;
  align-items: center;
  color: var(--link);
  font-size: 16px;
  font-weight: 520;
}

.product-actions a::after,
.contact-panel a::after,
.support-card a::after,
.legal-document a::after {
  content: ">";
  margin-left: 7px;
  font-size: 15px;
}

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

.feature-card,
.support-card,
.contact-panel {
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--panel);
}

.feature-card {
  min-height: 214px;
  padding: 28px;
}

.feature-icon {
  display: block;
  width: auto;
  height: auto;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: none;
  border: 0;
  border-radius: 0;
}

.feature-card h3,
.support-card h2,
.contact-panel h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.25;
}

.feature-card p,
.support-card p,
.contact-panel p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.product-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.developer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: center;
  background: #fff;
}

.developer-copy {
  max-width: 720px;
}

.contact-panel {
  padding: 34px;
  box-shadow: none;
}

.contact-panel a,
.support-card a,
.legal-document a {
  margin-top: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 34px 24px;
  color: var(--muted);
  background: var(--band);
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal-page,
.support-page {
  min-height: calc(100vh - 64px);
  padding: 84px max(28px, calc((100vw - 920px) / 2)) 104px;
  background: var(--band);
}

.legal-document,
.support-hero {
  padding: 56px;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.updated {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
}

.legal-document h2 {
  margin-top: 38px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 650;
}

.support-hero {
  text-align: center;
}

.support-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.support-hero h1 {
  margin-top: 24px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.support-card {
  padding: 32px;
}

.support-card h2 {
  margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 78px;
  }

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

  .developer-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .section,
  .legal-page,
  .support-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .hero-subtitle {
    font-size: clamp(24px, 7.4vw, 32px);
  }

  .hero-body {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .product-showcase {
    grid-template-columns: 1fr;
    padding: 28px;
    border-radius: 24px;
  }

  .product-icon {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

  .legal-document,
  .support-hero {
    padding: 30px;
    border-radius: 24px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 18px;
  }
}
