/* Product pages (features, pricing, contact) and shared small additions.
   Reuses the brand tokens from site.css; adds no new fonts or colours of its own. */
.hero-note a { margin-left: 10px; text-decoration: underline; text-underline-offset: 4px; }
.price-text { font-size: clamp(28px, 3vw, 40px); line-height: 1.3; }
.price-text span { font-size: inherit; }

.page-main { background: var(--paper); color: var(--ink); color-scheme: light; padding: 160px 0 110px; min-height: 80vh; }
.page-main .wrap > header { max-width: 820px; }
.page-main h1 { font-size: clamp(38px, 4.2vw, 56px); }
.page-lede { margin-top: 20px; font-size: 20px; color: var(--ink-soft); max-width: 720px; }
.page-main h2 { font-size: 26px; font-weight: 600; letter-spacing: 0; margin-top: 56px; }
.page-main h2 + p { margin-top: 12px; color: var(--ink-soft); max-width: 760px; }
.page-main a:not(.btn) { color: #3b5d2a; text-decoration: underline; text-underline-offset: 4px; }
.page-main .btn { text-decoration: none; }
.notice { margin-top: 28px; padding: 18px 22px; border-left: 4px solid #a47e33; background: #f0e9d8; color: #5d4512; font-size: 16px; max-width: 820px; border-radius: 3px; }

.status-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-soft); }
.status-legend li { display: flex; align-items: center; gap: 8px; }

.cap-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; max-width: 900px; }
.cap { display: grid; grid-template-columns: 8.5em 1fr; gap: 6px 22px; padding: 18px 20px; background: #fbfaf5; border: 1px solid #dcd8cc; border-radius: 6px; }
.cap h3 { font-size: 18px; line-height: 1.5; }
.cap p { margin: 6px 0 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.tag { align-self: start; justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.tag:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tag-live { background: #dfeccf; color: #2f4d1f; }
.tag-wiring { background: #f0e4c9; color: #6e531a; }
.tag-planned { background: #e4e4dc; color: #4b524b; }

.facts { margin: 22px 0 0; max-width: 900px; border: 1px solid #dcd8cc; border-radius: 6px; background: #fbfaf5; }
.facts > div { display: grid; grid-template-columns: 11em 1fr; gap: 6px 22px; padding: 16px 20px; }
.facts > div + div { border-top: 1px solid #e6e2d6; }
.facts dt { font-weight: 600; font-size: 16px; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; max-width: 900px; }
.contact-card { padding: 22px; background: #fbfaf5; border: 1px solid #dcd8cc; border-radius: 6px; }
.contact-card h2 { margin-top: 0; font-size: 20px; }
.contact-card p { margin-top: 10px; font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.page-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Sub-page header on a phone: the link row sits under the brand instead of vanishing. */
@media (max-width: 760px) {
  .page-main { padding-top: 150px; padding-bottom: 70px; }
  .page-lede { font-size: 17px; }
  .page-main h2 { font-size: 22px; margin-top: 42px; }
  .cap, .facts > div { grid-template-columns: 1fr; }
  .nav.is-solid .wrap, .doc-page .nav .wrap { flex-wrap: wrap; height: auto; padding-block: 12px 4px; row-gap: 0; }
  .nav.is-solid .nav-links, .doc-page .nav .nav-links { display: flex; order: 3; width: 100%; gap: 6px 4px; overflow-x: auto; font-size: 15px; padding-bottom: 6px; }
  .nav.is-solid .nav-links a, .doc-page .nav .nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; white-space: nowrap; }
  .nav.is-solid .btn-quiet, .doc-page .nav .btn-quiet { display: inline-flex; }
  .page-main .wrap, .doc .wrap { padding-inline: 16px; }
}

/* Existing customers need the login link on a phone too (site.css hides it on the home header). */
@media (max-width: 760px) {
  .nav .btn-quiet { display: inline-flex; }
}

/* Fixed header: stays reachable while scrolling. Transparent over the home hero, solid once the page moves
   (class set by site.js). No motion is added; site.css already disables transitions for reduced motion. */
.nav { position: fixed; }
.nav .wrap { height: 72px; }
.nav.is-scrolled { background: rgba(9, 23, 20, .94); box-shadow: 0 1px 0 var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav.is-scrolled { background: rgba(9, 23, 20, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
html { scroll-padding-top: 92px; }
@media (min-width: 761px) { .story-visual { top: 96px; } }
@media (max-width: 760px) {
  .nav .wrap { height: 60px; }
  html { scroll-padding-top: 76px; }
  /* Two-row sub-page header is too tall to pin on a phone: let it scroll away. */
  .doc-page .nav { position: absolute; }
}

/* Older in-app WebViews: square orbit without aspect-ratio. */
@supports not (aspect-ratio: 1) { .scene-orbit { height: 0; padding-top: 91%; } }

.price-tag { display: inline-block; margin-left: 4px; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.5; vertical-align: middle; white-space: nowrap; }

/* Header "登录" entry: a small outlined pill in the brand colours, next to the solid 邀请码注册 button. */
.btn-login { color: var(--light); background: transparent; border-color: rgba(246, 247, 240, .38); padding-inline: 18px; gap: 0; }
.btn-login:hover { border-color: var(--lime); color: var(--lime); }
@media (max-width: 760px) { .nav .btn-login { display: inline-flex; padding-inline: 14px; } }

/* Language switcher (简 / 繁 / EN): plain links, work without script. Header copy on desktop, footer copy everywhere. */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(246, 247, 240, .22); border-radius: 999px; font-size: 13px; line-height: 1; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 30px; padding: 0 9px; border-radius: 999px; color: var(--muted); }
.lang-switch a:hover { color: var(--light); }
.lang-switch a[aria-current="true"] { background: rgba(212, 239, 168, .16); color: var(--lime); }
.nav-actions .lang-switch { margin-right: 4px; }
.lang-foot { display: flex; justify-content: flex-start; padding-block: 0 26px; }
@media (max-width: 1000px) { .nav-actions .lang-switch { display: none; } }
@media (max-width: 760px) { .lang-foot { padding-bottom: 30px; } .lang-switch a { min-height: 36px; min-width: 40px; } }
/* English runs longer than Chinese: let the header actions and long buttons wrap instead of overflowing. */
html[lang="en"] .nav-actions .btn { white-space: nowrap; }
html[lang="en"] .btn-lg, html[lang="en"] .btn { white-space: normal; text-align: center; }
html[lang="en"] .nav-links { gap: 22px; }

/* Latin wordmark ("Sentimo") is wider than the old two-character one: tighten the phone header so both
   buttons fit in every language (checked at 375px in zh-CN, zh-TW and en). */
@media (max-width: 760px) {
  .wm { font-size: 19px; letter-spacing: .07em; }
  .logo-mark { width: 28px; height: 28px; }
  .nav .wrap { gap: 10px; }
  .nav-actions { gap: 4px; }
  .nav .btn-sm { padding-inline: 12px; gap: 6px; min-height: 40px; }
  .nav .btn-sm > span[aria-hidden="true"] { display: none; }
  .nav .btn-login { padding-inline: 11px; }
}
