/* 颜色与字体取自 app/src/styles.css 的浅色主题；
   10px 圆角沿用其中的 .connection-card。所有资源均在本站提供。 */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f5f5f5;
  --border: #d0d0d0;
  --text: #1c1c1c;
  --text-dim: #4e4e4e;
  --accent: #3d3d3d;
  --accent-2: #111111;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

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

h1, h2, h3 {
  line-height: 1.3;
}

a {
  color: var(--accent);
  text-underline-offset: 4px;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  min-height: 80px;
  padding-block: 16px;
}

.studio-name {
  font-size: 18px;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

nav a:hover {
  text-decoration: underline;
}

section[id] {
  scroll-margin-top: 24px;
}

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

.product-intro {
  margin-bottom: 40px;
  text-align: center;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.product-description {
  margin-top: 20px;
  color: var(--text-dim);
  font-size: clamp(17px, 2vw, 20px);
}

.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

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

.feature-card {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.feature-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.feature-card p,
.purchase-steps p {
  color: var(--text-dim);
}

.section {
  padding-top: 72px;
}

.section > h2 {
  margin-bottom: 28px;
  font-size: 28px;
  text-align: center;
}

.price-card {
  width: min(100%, 400px);
  margin-inline: auto;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}

.price-card h3 {
  font-size: 20px;
}

.price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: var(--accent);
}

.price strong {
  font-size: 56px;
  line-height: 1.5;
  letter-spacing: -0.04em;
}

.price-note {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 14px;
}

.purchase-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 0;
  padding-left: 24px;
}

.purchase-steps li {
  padding-left: 8px;
}

.purchase-steps li::marker {
  color: var(--accent);
  font-weight: 700;
}

.contact-section {
  padding-bottom: 72px;
  text-align: center;
}

.contact-section > h2 {
  margin-bottom: 16px;
}

.site-footer {
  padding-block: 32px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  text-align: center;
}

.site-footer p + p {
  margin-top: 8px;
}

.business-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}

.business-details span {
  min-width: 0;
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    flex-direction: column;
    gap: 4px;
    padding-block: 16px 8px;
  }

  nav {
    justify-content: center;
    gap: 28px;
  }

  .product-section,
  .section {
    padding-top: 44px;
  }

  .product-intro {
    margin-bottom: 28px;
  }

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

  .feature-card {
    padding: 24px;
  }

  .contact-section {
    padding-bottom: 44px;
  }
}
