:root {
  color-scheme: light;
  --page: #f9fcf9;
  --ink: #152a21;
  --muted: #495e52;
  --green: #095747;
  --green-dark: #063f34;
  --line: #dbe6dc;
  --mint: #e3f1e6;
  --radius: 1.5rem;
  --measure: 72rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  background: var(--page);
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: var(--green); text-underline-offset: 0.23em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #2463a4; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -0.035em; }
p + p { margin-top: 1rem; }
[data-lang="zh-Hant"] { display: none; }
:root[data-site-lang="zh-Hant"] [data-lang="en"] { display: none; }
:root[data-site-lang="zh-Hant"] [data-lang="zh-Hant"] { display: revert; }
:root[data-site-lang="zh-Hant"] h1, :root[data-site-lang="zh-Hant"] h2,
:root[data-site-lang="zh-Hant"] h3 { letter-spacing: 0; line-height: 1.22; }

.shell { width: min(calc(100% - 3rem), var(--measure)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: 0; left: -100vw; padding: 0.7rem; color: var(--green-dark); background: white; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: #fcfefc; }
.site-header .shell { display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; align-items: center; min-height: 4.7rem; }
.wordmark { display: inline-flex; align-items: center; gap: 0.63rem; justify-self: start; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -0.035em; white-space: nowrap; font-size: 1.12rem; }
.wordmark img { flex: 0 0 auto; border-radius: 25%; }
.site-nav, .site-footer nav { display: flex; gap: clamp(0.6rem, 2.4vw, 1.8rem); align-items: center; flex-wrap: wrap; }
.site-nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-footer nav a:hover, .site-nav [aria-current="page"] { color: var(--green); text-decoration: underline; }
.lang-switch { display: flex; background: #f1f6f2; padding: 0.17rem; border-radius: 99rem; }
.lang-switch button { min-width: 2.65rem; min-height: 2.5rem; border: 0; border-radius: 99rem; color: var(--green-dark); background: transparent; font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.lang-switch [aria-pressed="true"] { color: white; background: var(--green); }

.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2.25rem, 6.5vw, 5.75rem) 3.1rem; }
.product-status { display: inline-flex; align-items: center; gap: 0.55rem; width: fit-content; border: 1px solid #bcd8c4; border-radius: 99rem; padding: 0.36rem 0.75rem; font-size: 0.92rem; font-weight: 720; color: var(--green-dark); background: #f1f8f0; }
.status-dot { width: 0.48rem; height: 0.48rem; border-radius: 100%; flex: 0 0 auto; background: #2c8358; }
.hero h1 { margin-block: 1.25rem; font-size: clamp(3rem, 5.2vw, 5.25rem); font-weight: 720; line-height: 1.04; letter-spacing: -0.048em; }
.hero .lead { margin-block: 0 1.75rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.32rem); max-width: 34rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: 0.56rem 1.17rem; border: 1px solid transparent; border-radius: 99rem; text-align: center; font-weight: 740; font-size: 0.96rem; text-decoration: none; }
.primary { color: white; background: var(--green); }
.primary:hover { color: white; background: var(--green-dark); }
.secondary { color: var(--green-dark); border-color: #b7d0be; background: #fbfefb; }
.secondary:hover { background: var(--mint); }
.platform-note { color: #52695d; margin-top: 1.05rem; font-size: 0.92rem; }

.demo { display: grid; justify-items: center; align-content: center; gap: 0.8rem; border-radius: 2.1rem; padding: 1.35rem 1rem 1.06rem; background: radial-gradient(ellipse at 56% 41%, #f1f8df 0%, #dfefdd 47%, #c9e5d4 100%); border: 1px solid #c8decb; }
.demo-controls { display: flex; gap: 0.15rem; padding: 0.24rem; border-radius: 99rem; background: #f4faf1; max-width: 100%; }
.demo-controls button { padding: 0.35rem clamp(0.52rem, 1.5vw, 0.92rem); min-height: 2.6rem; border: 0; border-radius: 99rem; color: var(--green-dark); background: transparent; font-size: 0.92rem; font-weight: 720; cursor: pointer; }
.demo-controls [aria-selected="true"] { background: var(--green-dark); color: white; }
.demo-screen { border-radius: 1.76rem; width: min(58%, 14.5rem); }
.phone { padding: 0.36rem; border-radius: 1.76rem; background: #182923; border: 1px solid #405f4c; box-shadow: 0 0.9rem 2.3rem #25483440; }
.phone img { width: 100%; height: auto; aspect-ratio: 506 / 1100; object-fit: cover; border-radius: 1.4rem; background: #f2f5f3; }
.demo-caption { color: #2e5240; font-size: 0.88rem; }

.features { padding-block: 3rem 1.6rem; scroll-margin-top: 1.2rem; }
.section-intro { margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 740; }
.section-intro p { color: var(--muted); font-size: 1.08rem; margin-top: 0.65rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.feature { min-width: 0; background: #fff; padding: clamp(1.02rem, 2vw, 1.55rem); border-radius: var(--radius); border: 1px solid var(--line); }
.primary-feature { color: var(--green-dark); background: #eaf5e9; border-color: #c8e0cd; }
.feature h3 { font-size: 1.27rem; font-weight: 740; margin-bottom: 0.64rem; }
.feature p { color: var(--muted); font-size: 1rem; }

.family-section { margin-block: 2.5rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; background: var(--green-dark); color: #f4fbf6; padding: clamp(1.3rem, 4.75vw, 3.6rem); border-radius: 2rem; }
.family-copy > p { color: #dbede1; margin-block: 0.9rem 1rem; font-size: 1.12rem; }
.family-copy .text-link { color: #c6facf; font-weight: 730; }
.family-steps { display: grid; gap: 0.1rem; }
.family-steps p { display: grid; gap: 0.18rem; margin: 0; padding: 0.75rem 0; border-bottom: 1px solid #72a39477; }
.family-steps p:last-child { border-bottom: 0; }
.family-steps strong { font-size: 1.08rem; }
.family-steps span { color: #d1e7da; }
.last-section { display: flex; gap: 1.6rem; justify-content: space-between; align-items: center; padding-block: 1.5rem 4.5rem; }
.last-section p { color: var(--muted); margin-top: 0.65rem; max-width: 45rem; }
.last-section .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.2rem; background: #f0f7f1; }
.site-footer .shell { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }

.subpage { padding-block: clamp(2.5rem, 6vw, 5rem) 4rem; min-height: 72vh; }
.subpage h1 { font-size: clamp(2.45rem, 5.2vw, 4.1rem); }
.subpage .lead { color: var(--muted); font-size: 1.17rem; margin-block: 0.9rem 1.8rem; }
.subpage .prose, .prose { max-width: 49rem; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: clamp(1.47rem, 3vw, 2rem); margin-block: 2rem 0.6rem; }
.prose h3 { font-size: 1.23rem; margin-block: 1.4rem 0.45rem; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose li + li { margin-top: 0.45rem; }
.prose details { padding: 0.78rem 0; border-bottom: 1px solid var(--line); }
.prose details p { margin-top: 0.65rem; }
.prose summary { color: var(--ink); font-weight: 720; cursor: pointer; }
.release-entry { padding: clamp(1.25rem, 3vw, 2rem); margin-top: 2rem; background: #ecf6ed; border: 1px solid #c8e0cd; border-radius: var(--radius); }
.release-entry .product-status { margin-bottom: 0.65rem; }
.release-entry h2 { margin: 0; }
.release-entry .button { margin-top: 1rem; }
.release-entry ul { margin-bottom: 0.25rem; }

@media (max-width: 59rem) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .wide-break { display: none; }
}
@media (max-width: 44rem) {
  .shell { width: min(calc(100% - 2rem), var(--measure)); }
  .site-header .shell { grid-template-columns: 1fr auto; row-gap: 0; padding-block: 0.55rem 0.2rem; }
  .site-nav { grid-row: 2; grid-column: 1 / -1; column-gap: 1.25rem; }
  .lang-switch { grid-row: 1; grid-column: 2; }
  .hero, .family-section { grid-template-columns: 1fr; }
  .hero { gap: 1.75rem; padding-bottom: 1.5rem; }
  .hero h1 { max-width: 29rem; }
  .features { padding-top: 2rem; }
  .last-section { align-items: flex-start; flex-direction: column; padding-bottom: 3rem; }
  .demo-screen { width: min(64%, 13.7rem); }
}
@media (max-width: 28rem) {
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.35rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .site-footer .shell { gap: 0.1rem 1rem; }
}
