:root {
  --bg: #f7f4ed;
  --card: #fff;
  --ink: #171717;
  --muted: #716d67;
  --accent: #d79525;
  --primary: #171717;
  --soft: #f4eee2;
  --line: rgba(23, 23, 23, 0.08);
  --radius: 24px;
  --shadow: 0 8px 28px rgba(23, 23, 23, 0.025);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
    "Noto Sans SC", sans-serif;
  line-height: 1.75;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: #805411;
}
a:focus-visible,
select:focus-visible {
  outline: 3px solid #946016;
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 1em;
}
h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  margin: 18px 0;
}
h2 {
  font-size: 26px;
}
h3 {
  font-size: 20px;
}
.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.nav-link {
  padding: 10px 13px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 12px;
}
.nav-link:hover,
.nav-link.active {
  background: var(--soft);
  color: var(--ink);
}
.lang-select {
  font: inherit;
  font-size: 13px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.hero {
  padding: 70px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
}
.detail {
  font-size: 16px;
}
.kicker,
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: #805411;
}
.kicker {
  display: inline-block;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hero-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  min-width: 0;
}
.hero-card a,
.card a,
.support-panel a {
  overflow-wrap: anywhere;
}
.card h2 {
  margin-top: 0;
}
.card h3 {
  margin-top: 28px;
}
.card p {
  color: var(--muted);
}
.section {
  padding: 32px 0;
}
.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 10px 0 22px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.info-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 16px 0;
}
.info-list li {
  padding: 14px 16px;
  background: #faf8f3;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cta-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta-row {
  margin-top: 28px;
}
.badge {
  font-size: 11px;
  letter-spacing: 0.03em;
  background: var(--soft);
  color: #61513a;
  padding: 4px 9px;
  border-radius: 6px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 650;
  min-height: 48px;
}
.button:hover {
  background: #34302a;
  color: #fff;
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #d5d0c6;
}
.support-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 35px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p {
  margin: 0;
}
.home-hero {
  padding: 78px 0 90px;
}
.home-hero h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  margin-bottom: 4px;
}
.brand-subtitle {
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
html[data-lang="en"] .brand-subtitle {
  display: none;
}
.tagline {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.5;
  margin-top: 30px;
}
.brand-art {
  text-align: center;
  position: relative;
}
.hero-logo {
  width: 430px;
  display: block;
  margin: auto;
}
.brand-art p {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 12px;
}
.showcase {
  border-top: 1px solid var(--line);
  padding: 60px 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 14px;
}
.section-heading > p {
  font-size: 14px;
  color: var(--muted);
}
.app-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 5;
  gap: 16px;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.app-card:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.app-card h3 {
  margin: 4px 0 0;
  font-size: 23px;
}
.app-card p {
  margin: 0;
  font-size: 15px;
}
.app-card .app-tagline {
  color: var(--ink);
  font-weight: 650;
}
.app-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: end;
  font-weight: 650;
}
@supports not (grid-template-rows: subgrid) {
  .app-card {
    display: flex;
    flex-direction: column;
  }
  .app-action {
    margin-top: auto;
    align-self: stretch;
  }
}
.privacy-page .container {
  max-width: 900px;
  overflow-wrap: anywhere;
}
.policy-toc ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.policy-section h3 {
  margin-top: 32px;
}
.policy-section p:last-child {
  margin-bottom: 0;
}
.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.app-placeholder {
  width: 50px;
  height: 50px;
  border: 1px solid #ded9ce;
  border-radius: 14px;
  background: #f7f4ed;
  display: grid;
  place-items: center;
  font:
    14px ui-monospace,
    monospace;
  color: #716d67;
  flex-shrink: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 64px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
}
.story {
  font-size: 18px;
  color: var(--muted);
}
.story-end {
  color: var(--ink);
  font-weight: 600;
}
.support-panel {
  padding: 40px;
  background: #eee8dc;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.support-panel p {
  max-width: 620px;
  color: #625d55;
}
.support-panel .button {
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--ink);
  color: #fff;
  padding: 12px;
  z-index: 30;
}
.skip-link:focus {
  top: 12px;
}
.lang {
  display: none;
}
html[data-lang="zh-TW"] .lang-zh-TW,
html[data-lang="zh-CN"] .lang-zh-CN,
html[data-lang="en"] .lang-en {
  display: revert;
}
@media (max-width: 1000px) {
  .cards-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    gap: 8px;
  }
  .nav-link {
    padding: 10px;
  }
  .support-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 170px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
    gap: 0;
  }
  .logo {
    width: 48px;
    height: 48px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }
  .nav-link {
    padding: 9px 6px;
    font-size: 13px;
  }
  .lang-select {
    max-width: 110px;
    padding: 8px 4px;
  }
  .hero-grid,
  .cards-grid,
  .cards-grid.three,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 24px;
  }
  .hero,
  .home-hero {
    padding: 38px 0;
  }
  .brand-art {
    max-width: 340px;
    margin: auto;
  }
  .hero-logo {
    width: 300px;
  }
  .hero-card,
  .card {
    padding: 24px;
  }
  .section-heading {
    display: block;
  }
  .showcase {
    padding: 35px 0;
  }
  .about-grid {
    gap: 18px;
    padding-top: 35px;
    padding-bottom: 20px;
  }
  .support-panel {
    padding: 26px;
    gap: 12px;
  }
  .support-panel .button {
    max-width: 100%;
    font-size: 13px;
  }
  .footer {
    margin-top: 35px;
  }
  .story {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.app-artwork {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.support-artwork {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 18px;
}

/* Shared by every product introduction page. */
.product-page {
  overflow-wrap: anywhere;
}
.product-site .container {
  max-width: 960px;
}
.product-hero {
  padding: 36px 0 12px;
}
.product-back {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 20;
}
.product-back .button {
  gap: 8px;
  min-height: 44px;
  padding: 9px 14px;
  background: var(--bg);
  box-shadow: 0 4px 16px rgb(0 0 0 / 8%);
}
.product-back .button:hover {
  background: var(--soft);
}
.product-site .footer {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
.product-icon {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin-bottom: 16px;
}
.product-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 14px 0;
}
.product-tagline {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 650;
  line-height: 1.5;
  margin-bottom: 12px;
}
.product-hero .lead {
  max-width: 900px;
  margin-bottom: 0;
  font-size: 17px;
}
.product-download {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #d5d0c6;
  border-radius: 16px;
}
.product-download h2 {
  margin: 0 0 16px;
  font-size: 24px;
}
.product-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-download ol {
  padding-left: 24px;
  margin: 20px 0 12px;
}
.product-download li + li {
  margin-top: 8px;
}
.product-download p {
  margin-bottom: 0;
  color: var(--muted);
}
.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: start;
  gap: 20px;
}
.product-feature h3 {
  margin: 0 0 12px;
}
.product-feature p {
  margin-bottom: 0;
}
.product-language-feature {
  grid-column: 1 / -1;
}
.product-language-feature .product-language-count {
  color: var(--ink);
  font-weight: 650;
  margin-bottom: 8px;
}
.product-language-details {
  margin-top: 16px;
}
.product-language-details summary {
  width: fit-content;
  max-width: 100%;
  padding: 8px 0;
  min-height: 44px;
  cursor: pointer;
  font-size: 14px;
}
.product-language-details summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}
.product-language-details .language-collapse,
.product-language-details[open] .language-expand {
  display: none;
}
.product-language-details[open] .language-collapse {
  display: inline;
}
.product-language-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  list-style: none;
  padding: 16px 0 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.product-language-list li {
  min-width: 0;
}
.app-top .badge-row {
  min-width: 0;
  justify-content: flex-end;
}
.app-pricing-badge {
  text-align: right;
}
.product-pricing .badge-row {
  margin-bottom: 16px;
}
.product-pricing .badge {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
}
.product-pricing-description {
  max-width: 780px;
  color: var(--muted);
}
.product-pricing-description p {
  margin-bottom: 8px;
}
.product-pricing-description p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .product-hero {
    padding: 24px 0 8px;
  }
  .product-features {
    grid-template-columns: 1fr;
  }
  .product-language-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}
@media (max-width: 360px) {
  .product-language-list {
    grid-template-columns: 1fr;
  }
}
