:root {
  color-scheme: light dark;
  --background: #f7f7f5;
  --surface: #fff;
  --text: #30343a;
  --muted: #616771;
  --line: #dedfdc;
  --brand: #d8a36a;
  --focus: #8b622f;
  --button: #30343a;
  --button-text: #fff;
  --comfort-bg: #222629;
  --comfort-text: #f0ece4;
  --comfort-muted: #c5c7c8;
  --comfort-link: #e3b884;
  --comfort-line: #46494c;
  font:
    16px/1.7 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--background);
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:is(a, summary, .theme-toggle):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
  border-radius: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
.feature-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
h3 {
  font-size: 18px;
  line-height: 1.4;
}
p {
  max-width: 68ch;
}
.wrap {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 5;
  padding: 10px 18px;
  background: var(--surface);
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  min-height: 98px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.025em;
  text-decoration: none;
  flex-shrink: 0;
}
.brand span {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.site-header nav {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
  padding-block: 8px;
}
.site-header nav a:hover {
  text-decoration: underline;
}
.github-link svg {
  width: 22px;
  height: 22px;
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 54px;
  padding-block: 70px 78px;
}
.product-type {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
h1 {
  text-wrap: balance;
  max-width: 10em;
  font-size: clamp(3rem, 4.8vw, 4.2rem);
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  margin-top: 25px;
  margin-bottom: 28px;
  color: var(--muted);
}
.hero-actions,
.install-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.18s ease;
}
.primary {
  background: var(--button);
  color: var(--button-text);
}
.primary:hover {
  background: color-mix(in srgb, var(--button) 88%, var(--background));
}
.text-link,
.install-actions > a:not(.button) {
  font-size: 14px;
}
.install-note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 18px;
  max-width: 36em;
}
.project-meta {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
.project-meta a {
  text-decoration: none;
}
.project-meta a:hover {
  text-decoration: underline;
}
figure,
.feature-copy {
  min-width: 0;
}
.screenshot-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.screenshot-link:hover {
  border-color: var(--muted);
}
.screenshot-link img,
.screenshot-link picture {
  display: block;
  width: 100%;
  height: auto;
}
.hero-figure .screenshot-link {
  box-shadow: 0 16px 48px #2226290b;
}
figcaption {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-figure figcaption {
  text-align: center;
}
.features {
  padding-block: 58px 88px;
  border-top: 1px solid var(--line);
}
.section-intro {
  max-width: 720px;
}
.section-intro > p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}
.inline-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-top: 42px;
}
.inline-benefits p,
.tools-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 82px;
}
.question-row figure {
  max-width: 500px;
}
.feature-copy h3 {
  font-size: 34px;
  max-width: 15em;
  margin-bottom: 20px;
}
.feature-copy > p {
  margin-top: 15px;
  color: var(--muted);
}
.feature-copy .shortcut {
  margin-top: 24px;
  color: var(--text);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
kbd {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 0.9em;
  color: var(--text);
  white-space: nowrap;
}
.collection-row {
  grid-template-columns: 0.8fr 1.3fr;
  gap: 54px;
}
.comfort-section {
  padding-block: 64px;
  background: var(--comfort-bg);
  color: var(--comfort-text);
}
.comfort-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 64px;
}
.comfort-copy h2 {
  text-wrap: balance;
  max-width: 12em;
  margin-bottom: 24px;
}
.comfort-copy p {
  color: var(--comfort-muted);
  margin-top: 16px;
}
.comfort-copy .eye-icon {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin-right: 6px;
  vertical-align: -0.22em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comfort-copy a {
  color: var(--comfort-link);
}
.comfort-section .screenshot-link {
  border-color: var(--comfort-line);
  background: var(--comfort-bg);
}
.your-tools {
  padding-block: 78px;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  margin-top: 34px;
}
.model-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 100px;
  border-block: 1px solid var(--line);
  padding-block: 64px;
}
.model-section p {
  margin-top: 20px;
  color: var(--muted);
}
.protocols {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.protocols li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.protocols svg {
  width: 23px;
  height: 23px;
  flex: none;
  fill: currentColor;
}
.protocols li:last-child {
  border-bottom: none;
}
.data-copy {
  padding-top: 8px;
}
.data-copy h3 {
  font-size: 23px;
}
.data-copy .text-link {
  display: inline-block;
  margin-top: 24px;
}
.sync-section {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 100px;
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.sync-description {
  margin-top: 20px;
  color: var(--muted);
}
.sync-details {
  display: grid;
  align-content: start;
  gap: 28px;
}
.sync-detail {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
}
.sync-detail svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
}
.sync-detail p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding-block: 76px;
}
.faq-section h2 {
  max-width: 11em;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
.faq-list summary,
.manual-install > summary {
  padding: 18px 30px 18px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 550;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker,
.manual-install > summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after,
.manual-install > summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 16px;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}
.faq-list details[open] summary::after,
.manual-install[open] > summary::after {
  content: "−";
}
.faq-list p {
  padding: 0 24px 20px 0;
  font-size: 15px;
  color: var(--muted);
}
.install-section {
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 70px;
}
.install-heading p {
  color: var(--muted);
  margin-top: 16px;
}
.install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-left: 20px;
  margin-block: 34px;
}
.install-steps li {
  padding-left: 5px;
}
.install-steps li::marker {
  color: var(--muted);
  font-size: 15px;
}
.install-steps p {
  font-size: 14px;
  margin-top: 10px;
  color: var(--muted);
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.after-install {
  margin-top: 25px;
  font-size: 14px;
  color: var(--muted);
  max-width: 78ch;
}
.store-install {
  margin-top: 24px;
}
.manual-install {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.manual-install > summary {
  padding-bottom: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.manual-install .install-steps {
  margin-top: 24px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: center;
  padding-block: 26px 38px;
}
.site-footer .brand {
  font-size: 20px;
}
.site-footer p {
  font-size: 13px;
  color: var(--muted);
}
.site-footer nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13px;
}
.site-footer nav a {
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
:lang(zh) h1,
:lang(zh) h2,
:lang(zh) .feature-copy h3 {
  font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  line-height: 1.3;
  letter-spacing: 0;
}
:lang(zh) h1 {
  max-width: 7em;
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #1d1f21;
  --surface: #25282b;
  --text: #e3e4e5;
  --muted: #b0b4bb;
  --line: #3b3e42;
  --focus: #dfb47f;
  --button: #dfb47f;
  --button-text: #222629;
}
@media (max-width: 1050px) {
  .hero {
    gap: 32px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .feature-row,
  .comfort-layout,
  .model-section,
  .sync-section,
  .faq-section {
    gap: 40px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer nav {
    margin-left: 0;
  }
}
@media (max-width: 960px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    min-height: 82px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 42px 48px;
    gap: 36px;
  }
  h1 {
    font-size: clamp(2.9rem, 9vw, 3.8rem);
    max-width: 11em;
  }
  .hero-copy {
    max-width: 600px;
  }
  .hero-figure {
    width: min(100%, 640px);
    margin-inline: auto;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px 24px;
  }
  .lead {
    margin-top: 20px;
    font-size: 17px;
  }
  .inline-benefits,
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .feature-row,
  .comfort-layout,
  .model-section,
  .sync-section,
  .faq-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .feature-row {
    margin-top: 56px;
  }
  .question-row figure {
    order: 2;
    width: 100%;
    margin-inline: auto;
  }
  .feature-copy h3 {
    font-size: 30px;
  }
  .features,
  .your-tools,
  .model-section,
  .sync-section,
  .faq-section {
    padding-block: 48px;
  }
  .comfort-section {
    padding-block: 44px;
  }
  .comfort-copy h2,
  .faq-section h2 {
    max-width: none;
  }
  .install-section {
    padding: 28px;
    margin-bottom: 44px;
  }
  .install-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .site-footer {
    gap: 16px 24px;
    padding-bottom: 30px;
  }
  .site-footer nav {
    width: 100%;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    gap: 12px;
  }
  .brand {
    font-size: 21px;
    gap: 9px;
  }
  .brand small {
    display: none;
  }
  .brand > img {
    width: 32px;
  }
  .site-header nav {
    font-size: 13px;
  }
  .hero {
    padding-top: 34px;
  }
  .product-type {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .hero-actions {
    gap: 16px;
  }
  .button {
    padding-inline: 17px;
  }
  .install-section {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* Native dialog keeps focus and keyboard interaction within the image viewer. */
html:has(.image-dialog[open]) {
  overflow: hidden;
}
.image-dialog {
  width: fit-content;
  max-width: min(1200px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 80px #0005;
}
.image-dialog::backdrop {
  background: #11171cc4;
}
.image-dialog[open] {
  display: flex;
  flex-direction: column;
}
.image-dialog form {
  display: flex;
  justify-content: flex-end;
  padding: 10px 10px 0;
}
.image-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.18s ease;
}
.image-close:hover {
  background: var(--background);
  color: var(--text);
}
.image-close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.image-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}
.image-dialog figure {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 12px 24px 24px;
}
.image-dialog img {
  width: auto;
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  margin-inline: auto;
  border-radius: 8px;
}
.image-dialog figcaption {
  max-width: 70ch;
  margin-inline: auto;
  text-align: center;
}
@media (max-width: 600px) {
  .image-dialog {
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }
  .image-dialog figure {
    padding: 8px 12px 16px;
  }
}

.language-menu {
  position: relative;
  flex: none;
}
.language-menu summary,
.theme-toggle,
.site-header .github-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  line-height: 22px;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.18s ease;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.site-header .github-link:hover,
.theme-toggle:hover,
.language-menu summary:hover,
.language-menu[open] summary {
  background: color-mix(in srgb, var(--text) 12%, transparent);
}
.language-menu svg,
.theme-toggle svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-options {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(calc(-50% + var(--menu-shift, 0px)));
  z-index: 10;
  display: grid;
  gap: 4px;
  width: min(260px, calc(100vw - 36px));
  max-height: min(460px, calc(100dvh - 130px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 48px #0002;
}
.site-header .language-options a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}
.site-header .language-options a:hover,
.language-options a[aria-current="page"] {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  text-decoration: none;
}
.language-options a[aria-current="page"] {
  font-weight: 600;
}
:lang(th) :is(h1, h2, .feature-copy h3) {
  font-family: "Thonburi", "Noto Sans Thai", sans-serif;
  letter-spacing: 0;
  line-height: 1.4;
}

.theme-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.theme-toggle svg {
  display: none;
}
.theme-toggle[data-mode="system"] [data-theme-icon="system"],
.theme-toggle[data-mode="light"] [data-theme-icon="light"],
.theme-toggle[data-mode="dark"] [data-theme-icon="dark"] {
  display: block;
}
