:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-muted: #edf0f2;
  --ink: #15191d;
  --text: #30363d;
  --muted: #66707a;
  --faint: #8b949e;
  --line: #d8dde2;
  --line-strong: #b9c1c9;
  --accent: #2f6f58;
  --accent-soft: #e0ebe6;
  --shadow: 0 26px 80px rgba(31, 35, 40, 0.14);
  --radius: 8px;
  --site-max: 1180px;
  --site-pad: 28px;
  --site-pad-mobile: 18px;
  --site-header-offset: 90px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--site-header-offset);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fbfcfc 0%, #f6f7f8 46%, #eef1f2 100%);
  color: var(--text);
  letter-spacing: 0;
}

body > main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px max(var(--site-pad), calc((100vw - var(--site-max)) / 2 + var(--site-pad)));
  background: rgba(246, 247, 248, 0.72);
  backdrop-filter: blur(20px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
}

.brand:not(.brand-logo) > span,
.nav-product-link > span:not(.nav-product-copy) {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-logo {
  min-height: 54px;
  padding: 0;
}

.brand-logo .brand-logo-icon {
  display: block;
  flex: 0 0 auto;
  width: 150px;
  height: auto;
  max-height: 54px;
  border-radius: 0;
  object-fit: contain;
}

.brand-logo-text {
  display: inline-block;
  color: var(--accent);
  font-size: 29px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
}

.nav {
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
}

.nav a,
.nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
}

.nav a:hover,
.nav a:focus-visible,
.nav summary:hover,
.nav summary:focus-visible,
.nav-menu:hover summary,
.nav-menu[open] summary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu-icon {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-menu:hover .nav-menu-icon,
.nav-menu[open] .nav-menu-icon {
  transform: translateY(1px) rotate(225deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 318px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 7px;
  box-shadow: 0 18px 48px rgba(31, 35, 33, 0.14);
  backdrop-filter: blur(18px);
}

.nav-dropdown a {
  display: block;
  min-height: 0;
  border-radius: 6px;
  padding: 10px;
  color: var(--ink);
  white-space: normal;
}

.nav a.nav-product-link,
.nav-dropdown a.nav-product-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-dropdown a.nav-product-link {
  display: flex;
}

.nav-product-link.current-product > span:not(.nav-product-copy) {
  color: var(--accent);
}

.nav-product-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  line-height: 1.25;
}

.nav-product-title {
  font-weight: 740;
}

.nav-product-summary {
  max-width: 236px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.35;
}

.nav-product-icon {
  display: block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(145, 154, 163, 0.28);
  object-fit: cover;
}

.nav-dropdown .nav-product-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.nav a.nav-app-link {
  position: relative;
  white-space: nowrap;
}

.nav-app-name {
  line-height: 1;
}

.nav-app-summary {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 310px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(31, 35, 33, 0.14);
  color: var(--muted);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.4;
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: normal;
}

.nav-app-summary::before {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fff center / cover no-repeat;
  box-shadow: 0 0 0 1px rgba(145, 154, 163, 0.28);
  content: "";
}

.nav-app-link[href*="md-html-reader"] .nav-app-summary::before {
  background-image: url("/apps/md-html-reader/assets/app-icon.png");
}

.nav-app-link[href*="paste-switch"] .nav-app-summary::before {
  background-image: url("/apps/paste-switch/assets/app-icon.png");
}

.nav-app-link:hover .nav-app-summary,
.nav-app-link:focus-visible .nav-app-summary {
  opacity: 1;
  transform: translate(-50%, 0);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  color: var(--muted);
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  padding: 8px 10px 8px 12px;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-trigger[aria-expanded="true"] {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
}

.language-trigger-icon {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  flex: 0 0 auto;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-trigger[aria-expanded="true"] .language-trigger-icon {
  transform: translateY(1px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px;
  box-shadow: 0 18px 48px rgba(31, 35, 33, 0.14);
  backdrop-filter: blur(18px);
}

.language-menu[hidden] {
  display: none;
}

.language-menu button {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  white-space: nowrap;
}

.language-menu button::before {
  width: 9px;
  height: 5px;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  content: "";
  transform: translateY(-1px) rotate(-45deg);
}

.language-menu button[aria-selected="true"] {
  color: var(--ink);
}

.language-menu button[aria-selected="true"]::before {
  border-color: var(--ink);
}

.language-menu button:hover,
.language-menu button:focus-visible {
  background: rgba(245, 247, 248, 0.92);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: min(860px, 86vh);
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 38px var(--site-pad) 42px;
}

.product-shot {
  position: relative;
  order: 2;
  width: 100%;
  margin-top: 58px;
  overflow: visible;
}

.product-shot::after {
  display: none;
}

.demo-gallery {
  position: relative;
  isolation: isolate;
}

.demo-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 0;
  scroll-padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.demo-carousel::-webkit-scrollbar {
  display: none;
}

.demo-video-summary {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.demo-slide {
  position: relative;
  display: grid;
  flex: 0 0 min(860px, 84%);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 214, 221, 0.9);
  border-radius: 12px;
  background: #f7f9fb;
  box-shadow: 0 14px 34px rgba(31, 35, 40, 0.12);
  aspect-ratio: 16 / 9;
  scroll-snap-align: center;
}

.demo-nav {
  position: absolute;
  z-index: 20;
  top: 50%;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(31, 35, 40, 0.2);
  cursor: pointer;
  opacity: 1;
  transform: translateY(-50%);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.demo-nav:hover,
.demo-nav:focus-visible {
  outline: none;
  box-shadow: 0 18px 40px rgba(31, 35, 40, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.demo-nav.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
}

.demo-nav-prev {
  left: -32px;
}

.demo-nav-next {
  right: -32px;
}

.demo-nav span {
  display: block;
  width: 18px;
  height: 18px;
  border-bottom: 4px solid #344054;
  border-left: 4px solid #344054;
}

.demo-nav-prev span {
  transform: translateX(3px) rotate(45deg);
}

.demo-nav-next span {
  transform: translateX(-3px) rotate(225deg);
}

.demo-dots {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 22px;
}

.demo-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #cfd5dd;
  cursor: pointer;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease;
}

.demo-dots button[aria-current="true"] {
  background: #ff5a52;
  transform: scale(1.08);
}

.demo-dots button:hover,
.demo-dots button:focus-visible {
  outline: none;
  transform: scale(1.16);
}

.demo-slide img,
.demo-slide-media,
.demo-slide-media iframe {
  width: 100%;
  height: 100%;
}

.demo-slide img {
  display: block;
  object-fit: cover;
}

.demo-slide-media {
  aspect-ratio: 16 / 9;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.demo-slide-media iframe {
  position: relative;
  z-index: 0;
  display: block;
  min-width: 0;
  border: 0;
}

.app-preview {
  display: grid;
  grid-template-columns: 300px minmax(420px, 1fr) 220px;
  min-width: 1020px;
  height: calc(100% - 42px);
}

.preview-sidebar,
.preview-reader,
.preview-outline {
  min-width: 0;
  border-right: 1px solid #dce1e5;
}

.preview-sidebar {
  padding: 28px 18px;
  background: #e8ecef;
}

.preview-title strong,
.preview-title small {
  display: block;
}

.preview-title strong {
  color: var(--ink);
  font-size: 25px;
  line-height: 1.1;
}

.preview-title small {
  margin-top: 8px;
  color: var(--muted);
}

.preview-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 26px 0;
}

.preview-filters span {
  border: 1px solid #aeb7bf;
  border-radius: 8px;
  padding: 10px;
  color: #293039;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.preview-tree {
  display: grid;
  gap: 8px;
  color: #49515a;
  font-size: 13px;
}

.tree-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  border-radius: 8px;
  padding: 0 8px;
  white-space: nowrap;
}

.tree-row span {
  border: 1px solid #c2c9d0;
  border-radius: 5px;
  padding: 2px 4px;
  color: #6d7680;
  font-size: 10px;
  font-weight: 760;
}

.tree-row time {
  margin-left: auto;
  color: #8b949e;
}

.tree-row.project {
  color: #1f252b;
  font-weight: 740;
}

.tree-row.folder {
  color: #59636d;
  font-weight: 690;
}

.tree-row.active {
  background: #d9dee3;
  color: #1f252b;
}

.preview-reader {
  padding: 26px 34px;
  background: #ffffff;
}

.reader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #7b858f;
  font-size: 12px;
}

.preview-reader article {
  max-width: 670px;
  margin-top: 40px;
}

.doc-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.preview-reader h2 {
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.05;
}

.preview-reader p:not(.doc-label) {
  max-width: 540px;
  margin: 18px 0 0;
  color: #4b5560;
  font-size: 17px;
  line-height: 1.6;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 18px;
}

.doc-grid span {
  border: 1px solid #dbe0e5;
  border-radius: 8px;
  padding: 13px 12px;
  color: #293039;
  font-size: 13px;
  font-weight: 720;
}

.flow-diagram {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) 32px minmax(76px, 1fr) 32px minmax(76px, 1fr) 32px minmax(76px, 1fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  min-height: 86px;
  border: 1px solid #dbe0e5;
  border-radius: 8px;
  background: #f5f6f7;
  padding: 18px;
}

.flow-node {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #ffffff;
  color: #293039;
  font-size: 13px;
  font-weight: 760;
  box-shadow: 0 1px 0 rgba(31, 35, 40, 0.03);
}

.flow-arrow {
  position: relative;
  height: 2px;
  background: #aeb8c2;
}

.flow-arrow::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #aeb8c2;
  border-right: 2px solid #aeb8c2;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.preview-outline {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 22px;
  background: #fbfcfd;
  color: #7b858f;
}

.preview-outline span {
  color: #5e6872;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.preview-outline b,
.preview-outline small {
  display: block;
  font-size: 13px;
}

.preview-outline b {
  color: #1f252b;
}

.recent-demo-header,
.recents-tabs,
.recents-list div {
  display: flex;
  align-items: center;
}

.recent-demo-header {
  justify-content: space-between;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
}

.recent-demo-header small {
  color: var(--faint);
  font-size: 12px;
  font-weight: 680;
}

.recents-tabs {
  gap: 4px;
  margin-top: 12px;
  padding: 3px;
  border: 1px solid #dce1e5;
  border-radius: 999px;
  background: #f3f5f6;
}

.recents-tabs span {
  flex: 1;
  border-radius: 999px;
  padding: 6px 5px;
  color: #7b858f;
  text-align: center;
  font-size: 11px;
  font-weight: 740;
}

.recents-tabs .active {
  background: #ffffff;
  color: #252b31;
  box-shadow: 0 1px 4px rgba(31, 35, 40, 0.08);
}

.recents-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.recents-list div {
  min-width: 0;
  justify-content: space-between;
  gap: 14px;
  border-radius: 8px;
  background: #f7f8f9;
  padding: 13px 14px;
}

.recents-list strong,
.recents-list span {
  overflow: hidden;
  white-space: nowrap;
}

.recents-list strong {
  color: #30363d;
  font-size: 14px;
  font-weight: 720;
  text-overflow: ellipsis;
}

.recents-list span {
  flex: 0 0 auto;
  color: #8b949e;
  font-size: 12px;
  text-align: right;
}

.hero-copy {
  position: relative;
  order: 1;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 820px;
  padding: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(50px, 6.4vw, 78px);
  line-height: 1;
}

#hero-title {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.brand-word {
  display: inline-block;
  color: var(--accent);
}

html[lang="zh-CN"] .hero-copy {
  max-width: 920px;
}

html[lang="zh-CN"] #hero-title {
  max-width: 920px;
  font-size: clamp(52px, 6.2vw, 78px);
  line-height: 1.08;
  overflow-wrap: break-word;
  white-space: normal;
  word-break: normal;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #3a4149;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.product-hunt-badge {
  display: inline-flex;
  border-radius: 10px;
}

.product-hunt-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.product-hunt-badge img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 46px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 760;
}

.primary-link {
  border: 1px solid #15191d;
  background: #15191d;
  color: #ffffff;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: #30363d;
  outline: none;
}

.secondary-link {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.76);
  color: #2f3740;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  border-color: #8a949e;
  background: #ffffff;
  outline: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  max-width: calc(var(--site-max) - (2 * var(--site-pad)));
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  min-height: 116px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--ink);
  font-size: 18px;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.recent-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.pricing-showcase {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
  text-align: center;
}

.pricing-showcase .section-copy {
  max-width: 780px;
  margin: 0 auto;
}

.recent-demo {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 70px rgba(31, 35, 40, 0.08);
  padding: 26px;
}

.section,
.download-section,
.footer,
.legal-shell {
  max-width: var(--site-max);
  margin: 0 auto;
}

.section {
  padding: 110px var(--site-pad) 0;
}

.section-copy h2,
.comparison h2,
.download-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.section-copy p:not(.eyebrow),
.download-section p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.comparison-grid div,
.download-card,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.comparison-grid strong,
.comparison-grid p {
  display: block;
}

.comparison {
  display: grid;
  gap: 48px;
}

.comparison > div:first-child {
  display: grid;
  justify-items: center;
  text-align: center;
}

.comparison h2 {
  margin-inline: auto;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.comparison-grid div {
  padding: 24px;
}

.comparison-grid strong {
  color: var(--ink);
  font-size: 18px;
}

.comparison-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 64px;
  align-items: start;
  scroll-margin-top: 94px;
}

.faq-copy {
  position: sticky;
  top: 116px;
}

.faq-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.03;
}

.faq-copy p:not(.eyebrow) {
  max-width: 460px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.35;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  content: "";
  flex: 0 0 auto;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.faq-list details[open] summary::after {
  border-color: var(--accent);
  transform: translateY(2px) rotate(225deg);
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: var(--accent);
  outline: none;
}

.faq-list p {
  max-width: 720px;
  margin: 12px 34px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  padding: 112px var(--site-pad) 88px;
}

.download-card {
  display: grid;
  justify-items: center;
  padding: 32px;
  text-align: center;
}

.download-card img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.download-card strong {
  margin-top: 18px;
  color: var(--ink);
  font-size: 20px;
}

.support-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
}

.support-line a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.primary-link.full,
.secondary-link.full {
  width: 100%;
  margin-top: 24px;
}

.secondary-link.full {
  margin-top: 10px;
}

.footer {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(48px, 6vw, 96px);
  row-gap: 24px;
  width: min(100%, var(--site-max));
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 28px var(--site-pad);
  color: var(--muted);
  font-size: 14px;
}

.footer-apps {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.footer-app-link {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.footer-app-icon {
  display: block;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(145, 154, 163, 0.28);
  object-fit: cover;
}

.footer-app-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.footer-app-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 780;
  line-height: 1.15;
}

.footer-app-copy span {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.footer-app-link:hover strong,
.footer-app-link:focus-visible strong {
  color: var(--accent);
}

.footer-brand {
  color: var(--ink);
  font-weight: 740;
}

.footer > span {
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  outline: none;
}

.launchstag-badge {
  display: inline-flex;
  grid-column: 1 / -1;
  justify-self: center;
  border-radius: 14px;
}

.launchstag-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.launchstag-badge img {
  display: block;
  width: 198px;
  max-width: 100%;
  height: auto;
}

.legal-shell {
  padding: 72px var(--site-pad) 88px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 34px;
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(44px, 7vw, 74px);
  line-height: 1;
}

html[lang="zh-CN"] .legal-hero {
  max-width: min(1180px, 100%);
}

html[lang="zh-CN"] .legal-hero h1 {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
  font-size: clamp(24px, 6.6vw, 72px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-card {
  padding: 36px;
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-section + .legal-section {
  margin-top: 32px;
}

.legal-section h2,
.legal-section h3 {
  margin: 0;
  color: var(--ink);
}

.legal-section h2 {
  font-size: 28px;
}

.legal-section h3 {
  font-size: 18px;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.72;
}

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

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.markdown-preview {
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 28px;
  color: #22272e;
  font-size: var(--reader-font-size, 15px);
  line-height: 1.65;
}

.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3 {
  color: var(--ink);
  line-height: 1.25;
}

.markdown-preview h1 {
  margin: 34px 0 14px;
  font-size: calc(var(--reader-font-size, 15px) * 1.87);
}

.markdown-preview > h1:first-of-type {
  margin-top: 0;
  margin-bottom: 24px;
  max-width: none;
  font-size: calc(var(--reader-font-size, 15px) * 2.27);
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}

.markdown-preview h2 {
  margin: 30px 0 12px;
  font-size: calc(var(--reader-font-size, 15px) * 1.53);
}

.markdown-preview h3 {
  margin: 24px 0 10px;
  font-size: calc(var(--reader-font-size, 15px) * 1.27);
}

.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
  margin: 20px 0 8px;
  color: var(--ink);
  line-height: 1.3;
}

.markdown-preview h4 {
  font-size: calc(var(--reader-font-size, 15px) * 1.07);
}

.markdown-preview h5,
.markdown-preview h6 {
  font-size: var(--reader-font-size, 15px);
}

.markdown-preview p,
.markdown-preview li {
  color: var(--muted);
}

.markdown-preview p,
.markdown-preview ul,
.markdown-preview ol,
.markdown-preview blockquote,
.markdown-preview table,
.markdown-preview pre {
  margin: 14px 0 0;
}

.markdown-preview ul,
.markdown-preview ol {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.markdown-preview a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.markdown-preview blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.markdown-preview blockquote > :first-child {
  margin-top: 0;
}

.markdown-preview pre {
  overflow: auto;
  border-radius: 7px;
  background: #f3f5f7;
  padding: 14px;
}

.markdown-preview .mermaid {
  overflow-x: auto;
  margin: 18px 0 0;
  border: 1px solid #d8dee4;
  border-radius: 7px;
  background: #ffffff;
  padding: 16px;
}

.markdown-preview .mermaid svg {
  display: block;
  max-width: none;
  height: auto;
}

.markdown-preview code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.markdown-preview :not(pre) > code {
  border-radius: 5px;
  background: #eef1f3;
  padding: 0.12em 0.32em;
}

.markdown-preview table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.markdown-preview th,
.markdown-preview td {
  border: 1px solid #d8dee4;
  padding: 8px 10px;
  vertical-align: top;
}

.markdown-preview th {
  color: var(--ink);
  font-weight: 760;
  text-align: left;
}

.markdown-preview td {
  color: var(--muted);
}

.markdown-preview input[type="checkbox"] {
  margin-right: 7px;
  transform: translateY(1px);
}

.guide-page {
  max-width: var(--site-max);
  padding: 58px var(--site-pad) 88px;
}

.guide-markdown {
  --reader-font-size: 16px;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.legal-note {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.price-table {
  display: grid;
  gap: 12px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.price-row strong,
.price-row span {
  display: block;
}

.price-row strong {
  color: var(--ink);
  font-size: 19px;
}

.price-row span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.price-row b {
  color: var(--ink);
  font-size: 24px;
  white-space: nowrap;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  align-items: center;
  gap: 56px;
  justify-items: stretch;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 58px var(--site-pad) 76px;
}

.home-hero-copy {
  display: grid;
  justify-items: start;
  max-width: 640px;
  text-align: left;
}

.home-hero-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(42px, 4.8vw, 58px);
  line-height: 1;
  text-wrap: balance;
}

.home-title-accent {
  color: var(--accent);
  font-weight: 820;
}

.home-hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 650px;
  min-width: 0;
  margin: 0;
}

.home-hero-visual picture {
  display: block;
}

.home-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-directory {
  display: grid;
  gap: 34px;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 58px var(--site-pad) 28px;
}

.home-directory-stats {
  order: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: -8px;
}

.home-directory-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 34px;
  border: 1px solid rgba(216, 221, 226, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 7px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.home-directory-stat:hover,
.home-directory-stat:focus-visible {
  border-color: rgba(47, 111, 88, 0.34);
  background: rgba(205, 239, 226, 0.72);
  color: var(--ink);
  outline: none;
}

.home-directory-stat strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
}

.content-group {
  display: grid;
  gap: 14px;
}

.content-group-apps {
  order: 1;
}

.content-group-blogs {
  order: 2;
}

.content-group-tools {
  order: 3;
}

.content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.content-heading .eyebrow {
  margin-bottom: 0;
  scroll-margin-top: 96px;
}

.content-heading a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.content-heading a:hover,
.content-heading a:focus-visible {
  color: var(--ink);
  outline: none;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.content-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-card-grid {
  grid-template-columns: minmax(0, 1fr);
}

.blog-category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.blog-category-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(47, 111, 88, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 6px 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.blog-category-strip-large {
  margin: 0 0 18px;
}

.directory-section {
  display: grid;
  gap: 32px;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tool-directory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-directory-grid {
  grid-template-columns: minmax(0, 1fr);
}

.directory-card {
  display: block;
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  padding: 24px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

a.directory-card:hover,
a.directory-card:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.directory-card.featured {
  border-color: rgba(47, 111, 88, 0.34);
  background: linear-gradient(180deg, #ffffff 0%, #f2f7f5 100%);
}

.directory-card > strong,
.directory-card > span {
  display: block;
}

.directory-card > strong {
  color: var(--ink);
  font-size: 19px;
}

.directory-card > span {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.directory-card > .card-kicker,
.app-card-title > .card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  border: 1px solid rgba(47, 111, 88, 0.18);
  border-radius: 999px;
  background: rgba(224, 235, 230, 0.72);
  padding: 5px 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
}

.tool-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  padding: 20px;
}

a.tool-card:hover,
a.tool-card:focus-visible {
  background: #ffffff;
}

.tool-card > strong {
  font-size: 18px;
  line-height: 1.25;
}

.tool-card > span:not(.card-kicker) {
  font-size: 14px;
  line-height: 1.52;
}

.tool-category-card {
  min-height: 136px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  background-image: none;
  padding: 18px 18px 16px;
  box-shadow: none;
}

.tool-category-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(216, 221, 226, 0.82);
  padding-bottom: 13px;
}

.tool-category-card-heading strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.tool-category-card-heading span {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.tool-category-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.tool-category-list li {
  min-width: 0;
}

.tool-category-list a {
  position: relative;
  display: block;
  overflow: hidden;
  padding-left: 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-category-list a::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.tool-category-list a:hover,
.tool-category-list a:focus-visible {
  color: var(--accent);
  outline: none;
}

.blog-card {
  min-height: 134px;
  border-color: rgba(216, 221, 226, 0.86);
  background: rgba(255, 255, 255, 0.7);
  padding: 18px;
}

.blog-card.featured {
  background: rgba(255, 255, 255, 0.82);
}

.blog-card > .card-kicker {
  margin-bottom: 10px;
  border-color: rgba(21, 25, 29, 0.08);
  background: #f3f5f4;
  color: #4f5f57;
}

.blog-card > strong {
  font-size: 16px;
  line-height: 1.28;
}

.blog-card > span:not(.card-kicker) {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.48;
}

.blog-card > time {
  display: block;
  margin-top: 14px;
}

.blog-card-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
}

.home-blog-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 28px;
  min-height: 248px;
}

.home-blog-featured {
  display: grid;
  align-content: start;
  min-width: 0;
  border-right: 1px solid rgba(216, 221, 226, 0.78);
  padding-right: 32px;
}

.home-blog-featured-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
}

.home-blog-featured-link {
  display: grid;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
}

.home-blog-featured-link:hover,
.home-blog-featured-link:focus-visible {
  outline: none;
}

.home-blog-featured strong {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  transition: color 160ms ease;
}

.home-blog-featured-link:hover strong,
.home-blog-featured-link:focus-visible strong {
  color: var(--accent);
}

.home-blog-featured-summary {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.home-blog-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(216, 221, 226, 0.86);
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.guide-byline,
.blog-card-author {
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.guide-byline {
  margin: 0 0 18px;
}

.markdown-preview > h1:first-of-type + .guide-byline {
  margin-top: -10px;
  margin-bottom: 24px;
}

.home-blog-list {
  display: grid;
  align-content: start;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  min-width: 0;
  min-height: 186px;
}

.home-blog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: start;
  gap: 18px;
  border-bottom: 1px solid rgba(216, 221, 226, 0.78);
  padding: 0 0 10px;
  transition:
    color 160ms ease;
}

.home-blog-row + .home-blog-row {
  padding-top: 10px;
}

.home-blog-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-blog-row-empty {
  pointer-events: none;
}

.home-blog-row:hover,
.home-blog-row:focus-visible {
  color: var(--accent);
  outline: none;
}

.home-blog-row-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.home-blog-category {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.1;
}

.home-blog-row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-blog-row:hover strong,
.home-blog-row:focus-visible strong {
  color: var(--accent);
}

.home-blog-row time {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.2;
  white-space: nowrap;
}

.app-card {
  position: relative;
  min-height: 198px;
  overflow: hidden;
  border-color: rgba(47, 111, 88, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 249, 0.96) 48%, rgba(236, 244, 240, 0.96) 100%);
  box-shadow: 0 18px 56px rgba(21, 25, 29, 0.09);
}

a.app-card:hover,
a.app-card:focus-visible {
  border-color: rgba(47, 111, 88, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 250, 0.98) 48%, rgba(238, 246, 242, 0.98) 100%);
  box-shadow: 0 22px 64px rgba(21, 25, 29, 0.12);
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, rgba(47, 111, 88, 0), rgba(47, 111, 88, 0.56), rgba(47, 111, 88, 0));
}

.app-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
}

.app-card-icon {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(21, 25, 29, 0.16);
}

.app-card-title {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.app-card-title > .card-kicker {
  margin: 0;
}

.app-card-title strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}

.app-card > span:not(.app-card-top):not(.app-meta-row):not(.app-card-copy):not(.app-card-preview) {
  margin-top: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.app-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.app-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(47, 111, 88, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  padding: 6px 10px;
  color: #44554d;
  font-size: 12px;
  font-weight: 730;
  line-height: 1;
}

.app-card-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 28px;
  align-items: center;
  min-height: 288px;
  padding: 24px;
}

.app-card-copy {
  display: block;
  margin-top: 0;
  min-width: 0;
}

.app-card-copy > span:not(.app-card-top):not(.app-meta-row) {
  display: block;
  margin-top: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.app-card-preview {
  display: block;
  margin-top: 0;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 88, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(21, 25, 29, 0.12);
}

.app-card-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center;
}

.home-app-list {
  display: grid;
  gap: 18px;
}

.home-app-detail {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 16px 22px 20px;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.home-app-detail:hover {
  border-color: var(--line-strong);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(21, 25, 29, 0.1);
  transform: translateY(-1px);
}

.home-app-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.home-app-card-link:focus-visible {
  outline: 2px solid rgba(47, 111, 88, 0.42);
  outline-offset: 4px;
}

.home-app-detail > :not(.home-app-card-link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.home-app-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.72fr);
  align-items: start;
  gap: 22px;
}

.home-app-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.home-app-header {
  display: block;
  min-width: 0;
}

.home-app-icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
}

.home-app-icon {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.home-app-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.home-app-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-app-title-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.home-app-title-lockup > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 58px;
}

.home-app-title-row .card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 5px 0 0;
  border: 1px solid rgba(47, 111, 88, 0.18);
  border-radius: 999px;
  background: rgba(224, 235, 230, 0.72);
  padding: 5px 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  line-height: 1;
}

.home-app-title-row h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.08;
  letter-spacing: 0;
}

.home-app-heading > p {
  margin: 0;
  color: #344154;
  font-size: 18px;
  line-height: 1.36;
}

.home-app-actions {
  display: flex;
  position: relative;
  z-index: 3;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: auto;
}

.home-app-actions a {
  pointer-events: auto;
}

.home-app-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  background: #15191d;
  padding: 0 14px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.home-app-download-button:hover,
.home-app-download-button:focus-visible {
  background: #30363d;
  outline: none;
}

.home-app-product-hunt-badge {
  display: inline-flex;
  max-width: 100%;
  border-radius: 14px;
}

.home-app-product-hunt-badge:focus-visible {
  outline: 2px solid #ff6154;
  outline-offset: 4px;
}

.home-app-product-hunt-badge img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 34px;
}

.home-app-description {
  max-width: 640px;
  margin: 0;
  color: #44515f;
  font-size: 15px;
  line-height: 1.56;
}

.home-app-preview {
  align-self: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 221, 226, 0.86);
  border-radius: 8px;
  background: #f8faf9;
  aspect-ratio: 16 / 9;
}

.home-app-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 22% 50%;
}

.home-paste-switch-preview {
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(21, 25, 29, 0.08);
}

.home-paste-switch-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(160px, 0.96fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 16px;
}

.home-paste-switch-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.home-paste-switch-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 820;
  line-height: 1.25;
}

.home-paste-switch-copy strong {
  display: block;
  color: var(--ink);
  font-size: clamp(23px, 1.95vw, 26px);
  font-weight: 860;
  line-height: 1.04;
  letter-spacing: 0;
}

html[lang="zh-CN"] .home-paste-switch-copy strong {
  font-size: clamp(24px, 1.95vw, 27px);
  line-height: 1.06;
}

.home-paste-switch-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: #3f4b57;
  font-size: 11px;
  font-weight: 720;
  line-height: 1.4;
}

.home-paste-switch-keys {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.home-paste-switch-keys kbd,
.home-paste-switch-demo-keys kbd {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(21, 25, 29, 0.15);
  border-bottom-color: rgba(21, 25, 29, 0.28);
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(21, 25, 29, 0.08);
  color: #15191d;
  font-family: inherit;
  font-weight: 820;
  line-height: 1;
}

.home-paste-switch-keys kbd {
  min-width: 20px;
  height: 20px;
  border-radius: 6px;
  font-size: 10px;
}

.home-paste-switch-demo {
  display: grid;
  align-content: center;
  justify-self: end;
  gap: 8px;
  width: min(100%, 188px);
  min-width: 0;
  border: 1px solid rgba(216, 221, 226, 0.95);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(21, 25, 29, 0.08);
}

.home-paste-switch-demo-label {
  color: #687380;
  font-size: 9px;
  font-weight: 780;
  line-height: 1;
}

.home-paste-switch-input {
  display: flex;
  align-items: center;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid #dce1e5;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 830;
  line-height: 1.2;
  white-space: nowrap;
}

.home-paste-switch-input i {
  display: inline-block;
  width: 2px;
  height: 18px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.home-paste-switch-demo-keys {
  display: flex;
  align-items: center;
  gap: 7px;
}

.home-paste-switch-demo-keys kbd {
  min-width: 34px;
  height: 30px;
  border-radius: 7px;
  background: #f8faf9;
  font-size: 10px;
}

.home-paste-switch-demo-keys kbd:nth-child(-n + 2) {
  border-color: rgba(126, 220, 194, 0.6);
  background: #e5f6f0;
  color: #0f6b57;
}

.home-paste-switch-demo-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.home-paste-switch-demo-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  border: 1px solid rgba(21, 25, 29, 0.14);
  border-radius: 999px;
  background: #ffffff;
  padding: 0 9px;
  color: #15191d;
  font-size: 9px;
  font-weight: 780;
  line-height: 1;
  text-align: center;
}

html[data-locale="en"] .home-paste-switch-demo-chips span[data-lang="en"],
html[data-locale="zh"] .home-paste-switch-demo-chips span[data-lang="zh"] {
  display: inline-flex !important;
}

.apps-product-list {
  display: grid;
  gap: 34px;
  margin-top: 30px;
}

.apps-product-detail {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.apps-product-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.apps-product-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(21, 25, 29, 0.08);
}

.apps-product-icon-link:hover,
.apps-product-icon-link:focus-visible {
  border-color: var(--line-strong);
  background: #ffffff;
  outline: none;
}

.apps-product-icon {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.apps-product-heading {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.apps-product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.apps-product-title-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 5.2vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.apps-product-heading p {
  margin: 0;
  color: #344154;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.28;
}

.apps-product-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.apps-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 999px;
  background: #15191d;
  padding: 0 32px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 16px 36px rgba(21, 25, 29, 0.16);
}

.apps-download-button:hover,
.apps-download-button:focus-visible {
  background: #30363d;
  outline: none;
}

.apps-product-hunt-badge {
  display: inline-flex;
  max-width: 100%;
  border-radius: 18px;
}

.apps-product-hunt-badge:focus-visible {
  outline: 2px solid #ff6154;
  outline-offset: 4px;
}

.apps-product-hunt-badge img {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
}

.apps-product-description {
  max-width: 1120px;
  margin: 0;
  color: #364254;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.62;
}

.directory-page .directory-grid {
  margin-top: 28px;
}

.tool-shell {
  display: grid;
  gap: 28px;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 54px var(--site-pad) 88px;
}

.tool-hero {
  display: grid;
  gap: 16px;
  max-width: 820px;
}

.tool-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 70px);
  line-height: 0.98;
  text-wrap: balance;
}

.tool-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.tool-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.tool-panel,
.tool-result {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  padding: 22px;
}

.tool-panel {
  display: grid;
  gap: 18px;
}

.tool-result {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  container-type: inline-size;
}

.tool-form {
  display: grid;
  gap: 16px;
}

.tool-field,
.tool-fieldset {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.tool-field label,
.tool-fieldset legend,
.tool-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.tool-field input,
.tool-field textarea,
.tool-field select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.tool-field textarea {
  min-height: 116px;
  resize: vertical;
}

.tool-field input:focus,
.tool-field textarea:focus,
.tool-field select:focus {
  border-color: rgba(47, 111, 88, 0.62);
  outline: 3px solid rgba(47, 111, 88, 0.13);
}

.tool-help,
.tool-meter {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tool-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 8px 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.tool-check input {
  flex: 0 0 auto;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(47, 111, 88, 0.26);
  border-radius: 8px;
  background: var(--accent);
  padding: 10px 14px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
}

.tool-button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.tool-button:hover,
.tool-button:focus-visible {
  filter: brightness(0.96);
  outline: none;
}

.tool-output {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
  padding: 14px;
  overflow: auto;
  color: var(--ink);
  font:
    13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.tool-output.compact {
  min-height: 52px;
}

.tool-status {
  min-height: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.tool-empty-state {
  min-height: 120px;
  border: 1px dashed rgba(168, 178, 184, 0.7);
  border-radius: 10px;
  background: rgba(248, 250, 249, 0.72);
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.tool-result-stack {
  display: grid;
  gap: 16px;
}

.tool-url-line {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(248, 250, 249, 0.82);
  padding: 12px;
}

.tool-url-line span,
.tool-section-title,
.tool-tag-list span,
.tool-check-row span,
.tool-social-copy span,
.tool-serp-preview span,
.tool-score-card span,
.tool-metric-card span,
.tool-insight-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.tool-url-line strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.tool-score-grid,
.tool-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tool-score-card,
.tool-metric-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.tool-score-card strong,
.tool-metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.tool-metric-card strong {
  font-size: 16px;
  line-height: 1.25;
}

.tool-score-card.good,
.tool-metric-card.good,
.tool-check-row.pass {
  border-color: rgba(47, 111, 88, 0.22);
  background: rgba(230, 247, 239, 0.72);
}

.tool-score-card.warn,
.tool-metric-card.warn,
.tool-check-row.warn {
  border-color: rgba(191, 132, 37, 0.25);
  background: rgba(255, 246, 224, 0.78);
}

.tool-score-card.bad,
.tool-metric-card.bad,
.tool-check-row.fail {
  border-color: rgba(179, 71, 71, 0.24);
  background: rgba(255, 238, 236, 0.78);
}

.tool-score-card.unknown,
.tool-metric-card.unknown {
  background: rgba(248, 250, 249, 0.82);
}

.tool-section-title {
  margin-top: 2px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tool-insight-list,
.tool-tag-list,
.tool-check-list {
  display: grid;
  gap: 8px;
}

.tool-insight-row,
.tool-tag-list div,
.tool-check-row {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.82);
  padding: 10px 12px;
}

.tool-insight-row {
  display: grid;
  gap: 5px;
}

.tool-insight-row strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.tool-tag-list div,
.tool-check-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.38fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.tool-tag-list strong,
.tool-check-row strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
}

.tool-serp-preview {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.tool-serp-preview strong {
  color: #1f5f4a;
  font-size: 18px;
  line-height: 1.25;
}

.tool-serp-preview p,
.tool-social-copy p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tool-social-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.tool-social-image {
  display: grid;
  place-items: center;
  aspect-ratio: 1.91 / 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: rgba(238, 243, 241, 0.9);
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.tool-social-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-social-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
}

.tool-social-copy strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

@container (max-width: 520px) {
  .tool-social-preview {
    grid-template-columns: 1fr;
  }

  .tool-social-copy {
    padding: 14px;
  }
}

.tool-error {
  border: 1px solid rgba(179, 71, 71, 0.24);
  border-radius: 10px;
  background: rgba(255, 238, 236, 0.78);
  padding: 14px;
  color: #8b3535;
  font-size: 14px;
  line-height: 1.5;
}

.tool-preview-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.checklist-output {
  display: grid;
  gap: 12px;
}

.checklist-group {
  display: grid;
  gap: 8px;
}

.checklist-group strong {
  color: var(--ink);
}

.checklist-item {
  display: flex;
  gap: 8px;
  color: var(--text);
  line-height: 1.45;
}

.time-planner-workspace {
  grid-template-columns: minmax(300px, 0.58fr) minmax(520px, 1fr);
}

.time-planner-dashboard {
  display: grid;
  gap: 18px;
}

.time-planner-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  padding: 22px;
}

.time-planner-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: start;
}

.time-planner-section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.08;
}

.time-planner-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.time-planner-section-heading {
  margin-bottom: 14px;
}

.time-planner-advanced,
.time-planner-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 0;
}

.time-planner-advanced summary,
.time-planner-details summary {
  cursor: pointer;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.time-planner-advanced > :not(summary),
.time-planner-details > :not(summary) {
  margin: 0 14px 14px;
}

.time-planner-region-list {
  display: grid;
  gap: 10px;
}

.time-planner-region {
  display: grid;
  grid-template-columns: minmax(126px, 0.8fr) minmax(120px, 1fr) 48px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px 12px;
}

.time-planner-region span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.time-planner-region strong {
  color: var(--ink);
  font-size: 14px;
}

.time-planner-region small,
.time-planner-region output {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.time-planner-region input[type="range"] {
  accent-color: var(--accent);
}

.time-planner-result {
  gap: 14px;
}

.time-planner-best {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(47, 111, 88, 0.22);
  border-radius: 8px;
  background: rgba(224, 235, 230, 0.48);
  padding: 16px;
}

.time-planner-best span,
.time-planner-best small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
}

.time-planner-best strong {
  color: var(--ink);
  font-size: clamp(36px, 5.2vw, 54px);
  line-height: 1.05;
}

.time-planner-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.time-planner-channel-grid,
.time-planner-audience-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.time-planner-option,
.time-planner-channel-card,
.time-planner-audience-card {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  text-align: left;
}

.time-planner-option span,
.time-planner-option small,
.time-planner-channel-card span,
.time-planner-channel-card small,
.time-planner-audience-card span,
.time-planner-audience-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.time-planner-option strong,
.time-planner-channel-card strong,
.time-planner-audience-card strong {
  font-size: 18px;
}

.time-planner-option.selected {
  border-color: rgba(47, 111, 88, 0.34);
  background: rgba(205, 239, 226, 0.72);
}

.time-planner-clock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.time-planner-clock {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
}

.time-planner-clock span,
.time-planner-clock small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.time-planner-clock strong {
  color: var(--ink);
  font-size: 15px;
}

.time-planner-heatmap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  margin-top: 8px;
}

.time-planner-hour {
  display: grid;
  gap: 2px;
  min-height: 42px;
  border: 1px solid rgba(47, 111, 88, calc(0.14 + var(--score-level) * 0.24));
  border-radius: 8px;
  background: rgba(47, 111, 88, calc(0.05 + var(--score-level) * 0.2));
  padding: 6px;
  color: var(--ink);
  text-align: left;
}

.time-planner-hour span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}

.time-planner-hour strong {
  font-size: 12px;
  line-height: 1;
}

.time-planner-hour.selected {
  border-color: var(--accent);
  background: rgba(205, 239, 226, 0.86);
}

.time-planner-table {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.time-planner-table-head,
.time-planner-table-row {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.72fr 1fr;
  gap: 8px;
  align-items: center;
}

.time-planner-table-head {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.time-planner-table-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  color: var(--text);
  font-size: 13px;
}

.time-planner-table-row span {
  min-width: 0;
}

.time-planner-table-row span:first-child,
.time-planner-table-row span:last-child {
  display: grid;
  gap: 2px;
}

.time-planner-table-row strong {
  color: var(--ink);
}

.time-planner-table-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
}

.tool-seo-section {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
}

.tool-seo-section h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.tool-seo-section p:not(.eyebrow) {
  max-width: 860px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.tool-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tool-seo-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.tool-seo-grid strong {
  color: var(--ink);
}

.tool-seo-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.lang-panel[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    padding: 14px var(--site-pad-mobile);
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    min-height: auto;
    padding: 34px var(--site-pad-mobile) 36px;
  }

  .product-shot {
    position: relative;
    order: 2;
    inset: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 36px;
    border-radius: 8px;
  }

  .product-shot::after {
    display: none;
  }

  .demo-carousel {
    gap: 14px;
  }

  .demo-slide {
    flex-basis: min(760px, 86%);
  }

  .demo-nav {
    width: 60px;
    height: 60px;
  }

  .demo-nav-prev {
    left: -18px;
  }

  .demo-nav-next {
    right: -18px;
  }

  .app-preview {
    grid-template-columns: 230px 500px 190px;
    min-width: 920px;
    transform: translateX(0);
  }

  .hero-copy {
    order: 1;
    align-self: center;
    width: min(680px, calc(100vw - 36px));
    min-width: 0;
    max-width: min(680px, calc(100vw - 36px));
    padding: 0;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(42px, 10vw, 64px);
    line-height: 1;
  }

  html[lang="zh-CN"] .hero-copy {
    width: min(680px, calc(100vw - 36px));
    max-width: min(680px, calc(100vw - 36px));
  }

  html[lang="zh-CN"] #hero-title {
    max-width: 100%;
    font-size: clamp(42px, 10vw, 64px);
    white-space: normal;
  }

  .hero-lede {
    width: min(560px, 100%);
    max-width: min(560px, 100%);
    font-size: 17px;
  }

  .hero-actions {
    width: auto;
    max-width: 100%;
  }

  .proof-strip,
  .recent-showcase,
  .comparison,
  .comparison-grid,
  .faq-section,
  .download-section,
  .tool-workspace,
  .time-planner-workspace,
  .directory-grid,
  .directory-grid.compact {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin: 0 var(--site-pad-mobile);
  }

  .section {
    padding: 78px var(--site-pad-mobile) 0;
  }

  .recent-showcase,
  .comparison,
  .faq-section,
  .download-section {
    gap: 28px;
  }

  .faq-copy {
    position: static;
  }

  .download-section {
    padding: 82px var(--site-pad-mobile) 64px;
  }

  .tool-shell {
    padding: 46px var(--site-pad-mobile) 64px;
  }

  .tool-result {
    position: static;
  }

  .tool-social-preview,
  .tool-score-grid,
  .tool-metric-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px var(--site-pad-mobile);
  }

  .footer-apps {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 18px;
  }

  .footer > span {
    text-align: left;
  }

  .launchstag-badge {
    align-self: center;
  }

  .legal-shell {
    padding: 52px var(--site-pad-mobile) 64px;
  }

  .guide-page {
    padding: 46px var(--site-pad-mobile) 64px;
  }

  .guide-markdown {
    padding: 0;
  }

  .legal-card {
    padding: 24px;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px var(--site-pad-mobile) 52px;
  }

  .home-hero-copy,
  .home-hero-visual {
    width: min(720px, calc(100vw - 36px));
    max-width: min(720px, calc(100vw - 36px));
  }

  .home-hero-copy h1 {
    font-size: 43px;
    line-height: 1.08;
    white-space: normal;
  }

  .home-directory {
    gap: 28px;
    padding: 44px var(--site-pad-mobile) 24px;
  }

  .home-directory-stats {
    margin-bottom: -2px;
  }

  .tool-grid,
  .tool-check-grid,
  .time-planner-clock-grid {
    grid-template-columns: 1fr;
  }

  .tool-seo-grid {
    grid-template-columns: 1fr;
  }

  .time-planner-heatmap {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .time-planner-options {
    grid-template-columns: 1fr;
  }

  .time-planner-hero-card,
  .time-planner-channel-grid,
  .time-planner-audience-grid {
    grid-template-columns: 1fr;
  }

  .time-planner-table-head {
    display: none;
  }

  .time-planner-table-row {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid,
  .content-grid.compact {
    grid-template-columns: 1fr;
  }

  .blog-card-grid,
  .blog-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-blog-grid,
  .home-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-category-card {
    min-height: 118px;
    padding: 16px;
  }

  .tool-category-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 11px;
  }

  .tool-category-list {
    margin-top: 12px;
  }

  .home-blog-showcase {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
    min-height: 0;
  }

  .home-blog-list {
    grid-template-rows: none;
    min-height: 0;
  }

  .home-blog-row-empty {
    display: none;
  }

  .home-blog-featured {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 221, 226, 0.78);
    padding-right: 0;
    padding-bottom: 22px;
  }

  .home-blog-featured-meta {
    margin-top: 20px;
    padding-top: 16px;
  }

  .app-card-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .app-card-preview img {
    min-height: 180px;
  }

  .home-app-body {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.6fr);
    gap: 18px;
  }

  .home-app-preview {
    min-height: 0;
  }

  .home-app-preview img {
    min-height: 0;
  }

  .home-paste-switch-preview {
    width: 100%;
  }

  .home-paste-switch-visual {
    grid-template-columns: minmax(0, 1.04fr) minmax(160px, 0.96fr);
    padding: 15px;
  }

  .home-app-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .apps-product-header {
    grid-template-columns: 1fr;
  }

  .apps-product-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .apps-product-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .content-heading {
    align-items: flex-start;
  }

  .content-heading a {
    padding-top: 1px;
  }

  .directory-page .directory-grid {
    margin-top: 22px;
  }

  .price-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root {
    --site-header-offset: 118px;
  }

  .brand:not(.brand-logo) > span {
    display: none;
  }

  .brand-logo-text {
    display: inline-block;
    font-size: 23px;
  }

  .site-header {
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand-logo {
    min-height: 46px;
  }

  .brand-logo .brand-logo-icon {
    width: 124px;
    max-height: 46px;
  }

  .nav {
    width: 100%;
    column-gap: 0;
    row-gap: 5px;
    font-size: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav a,
  .nav summary {
    min-height: 30px;
    padding: 6px 5px;
  }

  .blog-card-grid,
  .blog-directory-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-grid,
  .home-tool-grid {
    grid-template-columns: 1fr;
  }

  .home-directory-stat {
    min-height: 32px;
    padding: 7px 10px;
  }

  .tool-category-grid {
    grid-template-columns: 1fr;
  }

  .tool-category-card {
    min-height: 0;
  }

  .tool-category-card-heading {
    flex-direction: row;
    align-items: baseline;
  }

  .tool-tag-list div,
  .tool-check-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .home-blog-showcase {
    padding: 18px;
  }

  .home-blog-featured strong {
    font-size: 18px;
  }

  .home-blog-featured-summary {
    font-size: 14px;
  }

  .home-blog-featured-meta {
    gap: 18px;
    font-size: 13px;
  }

  .home-blog-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-blog-row strong {
    font-size: 15px;
    white-space: normal;
  }

  .home-blog-row time {
    justify-self: start;
    order: 2;
  }

  .home-blog-row time,
  .home-blog-category {
    font-size: 12px;
  }

  .tool-card,
  .blog-card,
  .app-card {
    min-height: 0;
    padding: 18px;
  }

  .time-planner-region {
    grid-template-columns: 1fr;
  }

  .app-card-top {
    align-items: flex-start;
    gap: 12px;
  }

  .app-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .app-card-title strong {
    font-size: 20px;
  }

  .app-card-preview img {
    min-height: 156px;
  }

  .home-app-detail {
    gap: 16px;
    padding: 18px;
  }

  .home-app-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-app-header {
    display: block;
  }

  .home-app-icon-frame {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .home-app-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .home-app-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-app-title-row h3 {
    font-size: 22px;
  }

  .home-app-title-lockup > div {
    height: 54px;
  }

  .home-app-heading > p {
    font-size: 16px;
  }

  .home-app-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .home-app-preview {
    width: min(100%, 300px);
    min-height: 0;
  }

  .home-app-preview img {
    min-height: 0;
  }

  .home-paste-switch-preview {
    width: 100%;
  }

  .home-paste-switch-visual {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 18px;
  }

  .home-paste-switch-copy strong {
    font-size: 25px;
  }

  html[lang="zh-CN"] .home-paste-switch-copy strong {
    font-size: 26px;
  }

  .home-paste-switch-line {
    font-size: 11px;
  }

  .home-paste-switch-demo {
    justify-self: stretch;
    width: 100%;
    padding: 12px;
  }

  .home-paste-switch-input {
    min-height: 36px;
    font-size: 12px;
  }

  .home-paste-switch-demo-keys kbd {
    min-width: 34px;
    height: 30px;
  }

  .home-app-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-app-download-button,
  .home-app-product-hunt-badge {
    width: 100%;
  }

  .home-app-product-hunt-badge img {
    width: auto;
    height: 42px;
  }

  .apps-product-list {
    margin-top: 24px;
  }

  .apps-product-detail {
    gap: 26px;
  }

  .apps-product-header {
    gap: 16px;
  }

  .apps-product-icon-link {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  .apps-product-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .apps-product-title-row h2 {
    font-size: 40px;
  }

  .apps-product-heading p {
    font-size: 22px;
  }

  .apps-product-description {
    font-size: 17px;
    line-height: 1.58;
  }

  .apps-product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .apps-download-button,
  .apps-product-hunt-badge {
    width: 100%;
  }

  .apps-product-hunt-badge img {
    width: 100%;
  }

  .nav-dropdown {
    right: auto;
    left: 0;
    min-width: min(318px, calc(100vw - 36px));
  }

  .language-switch {
    flex: 0 0 auto;
    width: max-content;
    margin-left: 0;
  }

  .language-trigger {
    min-height: 30px;
    padding: 6px 8px 6px 10px;
  }

  .language-menu {
    right: auto;
    left: 0;
  }

  .hero {
    min-height: auto;
  }

  .product-shot {
    align-self: flex-start;
    width: min(100%, 372px);
  }

  .demo-carousel {
    gap: 12px;
    padding-right: 58px;
    scroll-padding-right: 58px;
  }

  .demo-slide {
    flex-basis: calc(100% - 58px);
    border-radius: 8px;
  }

  .demo-nav {
    width: 46px;
    height: 46px;
  }

  .demo-nav-prev {
    left: 2px;
  }

  .demo-nav-next {
    right: 2px;
  }

  .demo-nav span {
    width: 13px;
    height: 13px;
    border-width: 3px;
  }

  .demo-dots {
    gap: 20px;
    margin-top: 18px;
  }

  .hero-copy,
  h1,
  .hero-lede,
  .hero-actions {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
  }

  .hero-copy {
    align-self: flex-start;
    justify-items: start;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(38px, 11vw, 44px);
  }

  html[lang="zh-CN"] #hero-title {
    font-size: clamp(38px, 11vw, 44px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero-copy {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
    justify-items: start;
    text-align: left;
  }

  .home-hero-copy h1 {
    max-width: 340px;
    font-size: 42px;
    line-height: 1.02;
  }

  .home-hero-visual {
    width: min(340px, calc(100vw - 36px));
    max-width: min(340px, calc(100vw - 36px));
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .proof-strip {
    border-radius: 8px;
  }

  .proof-strip div {
    min-height: 102px;
    padding: 20px;
  }

  .preview-sidebar {
    padding: 20px 14px;
  }

  .preview-title strong {
    font-size: 22px;
  }

  .preview-reader {
    padding: 22px;
  }

  .reader-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-reader article {
    margin-top: 30px;
  }

  .tool-hero h1 {
    font-size: clamp(38px, 11vw, 44px);
  }

  .tool-panel,
  .tool-result {
    padding: 18px;
  }
}
