:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #172033;
  --muted: #647083;
  --line: #dde3ea;
  --brand: #167a76;
  --brand-dark: #0f5f5b;
  --accent: #f36a35;
  --warm: #fffaf0;
  --panel: #f8fafc;
  --ink-soft: #2e3a4c;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
}

body.home-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(22, 122, 118, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7f9 56%, #f2f5f7 100%);
}

body.product-page {
  background:
    linear-gradient(90deg, rgba(22, 122, 118, 0.105) 1px, transparent 1px),
    linear-gradient(0deg, rgba(22, 122, 118, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 84% 8%, rgba(243, 106, 53, 0.16), transparent 26rem),
    #fbfaf6;
  background-size: 22px 22px, 22px 22px, auto, auto;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.page {
  display: flex;
  flex-direction: column;
  width: min(100%, 980px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 30px 22px 48px;
}

.page main {
  flex: 1;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.mark {
  display: grid;
  grid-template-columns: repeat(3, 8px);
  grid-template-rows: repeat(3, 8px);
  gap: 3px;
  width: 42px;
  height: 42px;
  padding: 6px;
  border: 1px solid rgba(23, 32, 51, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
}

.mark span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #738195;
}

.mark span:nth-child(4),
.mark span:nth-child(5),
.mark span:nth-child(8) {
  background: var(--brand);
}

.app-icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(80, 52, 33, 0.16);
}

.brand-title {
  display: block;
  font-size: 17px;
  font-weight: 780;
  letter-spacing: 0;
}

.brand-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.product-page .brand-subtitle {
  color: #766050;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.nav a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.hero {
  padding: 82px 0 38px;
}

.home-page .hero {
  max-width: 780px;
  padding-top: 92px;
}

.product-page .hero {
  max-width: 780px;
}

.legal-page .hero {
  padding-bottom: 28px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 760;
}

.product-page .eyebrow {
  padding: 5px 9px;
  border: 1px solid rgba(22, 122, 118, 0.22);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.86);
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 8vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-page h1 {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-weight: 800;
}

.legal-page h1 {
  font-family: inherit;
  font-size: clamp(34px, 6vw, 56px);
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.product-page .lead {
  color: #6b584c;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 32px 0 8px;
  border: 1px solid #e4d4bf;
  border-radius: 12px;
  background: #e4d4bf;
  box-shadow: 8px 8px 0 rgba(22, 122, 118, 0.12);
}

.meta-item {
  min-height: 104px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.94);
}

.meta-label {
  display: block;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 760;
}

.meta-value {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  font-weight: 780;
}

.content {
  display: grid;
  gap: 24px;
  padding: 28px 0;
}

.section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.home-page .section {
  max-width: 720px;
  border-color: rgba(23, 32, 51, 0.1);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.07);
}

.product-page .section {
  border-color: #e5d4c0;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 8px 8px 0 rgba(22, 122, 118, 0.1);
}

.legal-page .section {
  box-shadow: none;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: 0;
}

.product-page .section h2 {
  color: #241a16;
}

.section p,
.section li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.82;
}

.product-page .section p,
.product-page .section li {
  color: #4d3f37;
}

.section p {
  margin: 12px 0 0;
}

.section ul,
.section ol {
  margin: 12px 0 0;
  padding-left: 1.3em;
}

.section li + li {
  margin-top: 8px;
}

.note {
  border-color: rgba(22, 122, 118, 0.26);
  background: rgba(239, 249, 246, 0.88);
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  border: 1px solid #e5d4c0;
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.92);
}

summary {
  cursor: pointer;
  padding: 17px 18px;
  font-size: 16px;
  font-weight: 760;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
}

.site-footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.product-page .site-footer {
  border-top-color: #e5d4c0;
  color: #75645b;
}

.icp-link {
  color: inherit;
}

.icp-link:hover {
  color: var(--brand-dark);
}

@media (max-width: 720px) {
  .page {
    padding: 22px 16px 38px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .home-page .hero {
    padding-top: 54px;
  }

  .meta-strip {
    grid-template-columns: 1fr;
    box-shadow: 5px 5px 0 rgba(22, 122, 118, 0.1);
  }

  .section {
    padding: 24px 20px;
  }

  .product-page .section {
    box-shadow: 5px 5px 0 rgba(22, 122, 118, 0.09);
  }
}
