@charset "UTF-8";
:root {
  --paper: #faf9f6;
  --ink: #282622;
  --muted: #77716a;
  --line: #e8e4de;
  --accent: #a87b51;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  text-wrap: balance;
}
img {
  display: block;
}
.wrap {
  width: min(1140px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 6;
  background: var(--ink);
  color: white;
  padding: 8px 16px;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: relative;
  z-index: 5;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1;
}
.site-header nav {
  display: flex;
  gap: 31px;
  font-size: 13px;
  color: #68635d;
}
.site-header nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 23px;
}
.mobile-docs {
  display: none;
}
.language-switch {
  position: relative;
  color: var(--ink);
}
.language-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  list-style: none;
  cursor: pointer;
}
.language-trigger::-webkit-details-marker {
  display: none;
}
.language-trigger:hover,
.language-switch[open] .language-trigger {
  background: #efede8;
}
.language-menu {
  position: absolute;
  z-index: 10;
  right: 0;
  top: calc(100% + 6px);
  width: 170px;
  padding: 6px;
  background: #fdfcfb;
  border: 1px solid #e7e3de;
  border-radius: 13px;
  box-shadow: 0 3px 5px #29251f12, 0 10px 24px #29251f08;
}
.language {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
}
.language:hover {
  background: #efede8;
}
.language-check {
  visibility: hidden;
}
.language[aria-current="page"] .language-check {
  visibility: visible;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  min-height: 46px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.button:hover {
  background: #49443c;
  border-color: #49443c;
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(0);
}
.button-small {
  padding: 10px 19px;
  min-height: 38px;
  font-size: 13px;
}
.button-outline {
  background: transparent;
  border-color: #e1dcd4;
  color: var(--ink);
  gap: 9px;
}
.button-outline:hover {
  background: #f0ece5;
  border-color: #d1c9bd;
}
.book-icon {
  font-size: 20px;
  line-height: 0;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 670px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(#c7b8a3 0.9px, transparent 0.9px);
  background-size: 20px 20px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at 50% 43%, black 8%, transparent 69%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 94px;
  padding-bottom: 86px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 5px 14px;
  font-size: 12px;
  box-shadow: 0 2px 3px #8e7b6210;
  background: #faf9f6dd;
}
.eyebrow > span:last-child {
  color: #9e9488;
  padding-left: 7px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 5.7vw, 77px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.065em;
  margin: 28px auto 27px;
  max-width: 960px;
}
.hero h1 > span {
  display: block;
}
.hero-second {
  color: #635544;
}
.hero-description {
  max-width: 580px;
  margin: auto;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 30px;
}
.hero-note {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: #8b8276;
  margin-top: 28px;
}
.hero-note > span:nth-child(even) {
  color: #bcb1a1;
}
.section {
  padding-block: 100px;
}
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-heading h2,
.faq h2,
.closing h2 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.section-heading > p:last-child,
.faq-heading > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin-top: 13px;
}
.features {
  max-width: 1030px;
  padding-top: 111px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 19px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 29px 31px 30px;
  background: #f8f6f1;
  overflow: hidden;
}
.feature-symbol {
  font-size: 24px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 19px;
}
.feature h3,
.steps h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature > p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 390px;
}
.feature-writing {
  background: #f5f1e9;
}
.markdown-sample {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 2.1;
  margin-top: 25px;
  border: 1px solid #e3dacc;
  background: #faf8f2;
  border-radius: 5px;
  padding: 14px 19px;
  color: #9e7750;
  transform: rotate(-1deg);
}
.sample-task {
  color: #948673;
}
.sample-link {
  color: #a49a8b;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 31px;
  max-width: 350px;
}
.tag-cloud span {
  padding: 5px 12px;
  border: 1px solid #e8dfd2;
  border-radius: 4px;
  background: #faf8f3;
  font-size: 12px;
  color: #a08867;
}
.tag-cloud span:nth-child(2) {
  transform: rotate(-4deg);
}
.tag-cloud span:nth-child(3) {
  transform: rotate(3deg);
}
.feature-control,
.feature-connect {
  background: transparent;
}
.ownership-mark {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  font-size: 12px;
  color: #92816b;
}
.connection-diagram {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
  font-size: 11px;
  color: #9d8f7c;
}
.connection-diagram > span:not(.diagram-line) {
  background: #f2eee6;
  border-radius: 4px;
  padding: 3px 8px;
}
.connection-diagram strong {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: #8c7455;
}
.diagram-line {
  width: 29px;
  height: 1px;
  background: #d9cbb6;
}
.workflow {
  background: #f3f0ea;
  border-block: 1px solid #eae4da;
  padding-block: 73px 82px;
}
.workflow .section-heading {
  margin-bottom: 40px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  max-width: 980px;
  margin: auto;
}
.step-number {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  color: #b09c7f;
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid #ded5c7;
  margin-bottom: 20px;
}
.steps p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 280px;
}
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 110px;
  max-width: 1030px;
  padding-block: 97px 85px;
}
.faq-list article {
  padding: 0 0 23px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.faq-list article:last-child {
  margin-bottom: 0;
}
.faq h3 {
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 9px;
}
.faq-list p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.closing {
  text-align: center;
  padding: 56px 20px 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-width: 1030px;
  background: radial-gradient(ellipse at 50% 30%, #eee6d6aa, transparent 65%), #f6f3ed;
}
.closing-flower {
  color: #b2956a;
  font-size: 35px;
  display: inline-block;
  line-height: 1;
  margin-bottom: 20px;
}
.closing > p {
  color: #8e8476;
  font-size: 14px;
  margin-top: 15px;
}
.closing > .button {
  margin-top: 26px;
}
.closing > .closing-note {
  font-size: 11px;
  margin-top: 15px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 62px 44px;
  max-width: 1030px;
}
.site-footer .brand {
  font-size: 26px;
}
.site-footer p {
  font-size: 11px;
  color: #a49a8c;
  margin-top: 10px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: #938879;
}
.footer-links > span {
  color: #b2a797;
}
.analytics-preferences {
  position: relative;
}
.analytics-preferences summary {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-preferences-content {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfcfb;
  box-shadow: 0 8px 26px #29251f12;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
.analytics-preferences-content p {
  margin: 0 0 10px;
  color: inherit;
  font-size: inherit;
}
.analytics-preferences .analytics-status {
  color: var(--ink);
}
.analytics-toggle {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.analytics-preferences[hidden],
.analytics-preferences [hidden] {
  display: none !important;
}
html[lang="en"] .hero h1 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 900px;
}
html[lang="en"] .hero-second {
  font-style: italic;
}
html[lang="en"] .hero-description {
  max-width: 620px;
  line-height: 1.7;
}
html[lang="en"] .section-heading h2,
html[lang="en"] .faq h2,
html[lang="en"] .closing h2 {
  letter-spacing: -0.035em;
}
@media (min-width: 1500px) {
  .hero-copy {
    padding-top: 110px;
    padding-bottom: 98px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    gap: 40px;
  }
  .faq {
    gap: 65px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy {
    padding-top: 70px;
  }
  .footer-links {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 74px;
    gap: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .site-header nav {
    display: none;
  }
  .site-header nav a {
    display: none;
  }
  .site-header nav a:first-child {
    display: block;
    font-size: 12px;
  }
  .header-actions {
    margin-left: auto;
    gap: 7px;
  }
  .mobile-docs {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 12px;
  }
  .button-small {
    padding: 8px 14px;
  }
  .hero-copy {
    padding-top: 49px;
    padding-bottom: 54px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: -0.07em;
    margin-block: 25px 20px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 370px;
    line-height: 1.95;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 9px;
  }
  .button {
    font-size: 12px;
    padding: 12px 15px;
    gap: 10px;
  }
  .hero-note {
    margin-top: 23px;
    gap: 11px;
    font-size: 10px;
  }
  .eyebrow {
    font-size: 10px;
    padding: 4px 11px;
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-heading h2,
  .faq h2,
  .closing h2 {
    font-size: 30px;
  }
  .section-heading > p:last-child,
  .faq-heading > p:last-child {
    font-size: 12px;
  }
  .kicker {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .features {
    padding-top: 65px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature {
    padding: 25px;
  }
  .feature h3,
  .steps h3 {
    font-size: 16px;
  }
  .feature > p {
    font-size: 12px;
    max-width: none;
  }
  .markdown-sample {
    margin-top: 20px;
  }
  .tag-cloud {
    margin-top: 24px;
    max-width: none;
  }
  .workflow {
    padding-block: 53px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .steps article {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
  }
  .step-number {
    grid-row: 1 / 3;
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 29px;
  }
  .steps h3 {
    margin-bottom: 5px;
  }
  .steps p {
    max-width: none;
    font-size: 12px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 29px;
    padding-block: 65px;
  }
  .faq h3 {
    font-size: 14px;
  }
  .faq-list p {
    font-size: 12px;
  }
  .closing {
    padding: 40px 19px 44px;
  }
  .closing h2 {
    font-size: 28px;
  }
  .closing > p {
    font-size: 12px;
  }
  .site-footer {
    padding-block: 42px 28px;
    align-items: flex-start;
    gap: 23px;
  }
  .footer-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-size: 10px;
  }
  .analytics-preferences-content {
    position: static;
    width: min(340px, calc(100vw - 48px));
    margin-top: 10px;
  }
  html[lang="en"] .hero h1 {
    font-size: 52px;
  }
}
@media (max-width: 400px) {
  .site-header nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 13px;
  }
  html[lang="en"] .hero h1 {
    font-size: 45px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  a,
  button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Canonical outlined brand artwork. Do not recreate the wordmark with a font. */
.brand-lockup { display: block; flex: none; }
.brand .brand-lockup img { width: 180px; height: auto; }
@media (max-width: 700px) {
  .brand .brand-lockup img { width: 132px; height: auto; }
  .site-header { gap: 8px; }
}

/* Keep the complete identity and all controls visible on narrow phones. */
@media (max-width: 380px) {
  .site-header.wrap { width: calc(100% - 24px); gap: 8px; }
  .site-header .header-actions { gap: 4px; }
  .site-header .language-trigger { width: 36px; }
  .site-header .button-small { padding-inline: 8px; }
}

/* Real product photography. Preserve the source viewport rather than stretching it. */
.site-header { height: 80px; gap: 48px; }
.site-header.wrap { width: min(1320px, calc(100% - 80px)); }
.brand .brand-lockup img { width: auto; height: 30px; }
.site-header .brand { flex: none; }
.hero-grid { width: min(1320px, calc(100% - 80px)); display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 56px; padding-block: 66px 78px; }
.hero-copy { padding: 0; text-align: left; min-width: 0; }
.hero h1, html[lang="en"] .hero h1 { font-size: clamp(48px, 4.8vw, 66px); line-height: 1.1; letter-spacing: -.045em; margin: 25px 0 24px; max-width: 520px; }
.hero h1 > span { display: block; }
.hero-description, html[lang="en"] .hero-description { margin: 0; max-width: 440px; font-size: 15px; line-height: 1.8; }
.hero-actions { justify-content: flex-start; gap: 10px; margin-top: 28px; }
.hero-actions .button { padding: 12px 17px; gap: 12px; font-size: 13px; }
.hero-note { justify-content: flex-start; flex-wrap: wrap; gap: 12px; font-size: 11px; margin-top: 23px; }
.product-preview { position: relative; z-index: 1; width: 100%; min-width: 0; margin: 0; }
.product-frame { border: 1px solid #dfddd7; border-radius: 12px; overflow: hidden; background: white; box-shadow: 0 24px 56px -26px #40372433, 0 2px 8px #4037240a; }
.product-bar { height: 34px; padding-inline: 13px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e7e5df; color: #77716a; background: #f4f2ed; font-size: 9px; letter-spacing: .01em; }
.product-status { width: 5px; height: 5px; border-radius: 50%; background: #a39985; }
.product-bar-label { margin-left: auto; color: #77716a; font-size: 9px; }
.product-preview picture { display: block; }
.product-preview img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.product-preview figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 13px 2px 0; font-size: 10px; line-height: 1.6; color: #77716a; }
.features { padding-top: 58px; }
@media (min-width: 1500px) { .hero-grid { padding-block: 78px 86px; } }
@media (max-width: 1100px) {
 .hero-grid { gap: 30px; width: calc(100% - 64px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
 .hero h1, html[lang="en"] .hero h1 { font-size: 52px; }
 .hero-actions { gap: 10px; }
 .hero-actions .button { font-size: 12px; padding-inline: 13px; }
 .product-bar-label { display: none; }
}
@media (max-width: 900px) {
 .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; gap: 40px; padding-block: 48px 38px; }
 .hero-copy { text-align: center; }
 .hero h1, html[lang="en"] .hero h1 { margin-inline: auto; max-width: 660px; font-size: 60px; }
 .hero-description, html[lang="en"] .hero-description { margin-inline: auto; max-width: 540px; }
 .hero-actions, .hero-note { justify-content: center; }
 .product-bar-label { display: block; }
 .site-header { gap: 24px; }
 .site-header nav { gap: 20px; }
}
@media (max-width: 700px) {
 .site-header { height: 70px; gap: 12px; }
 .site-header.wrap { width: calc(100% - 36px); }
 .brand .brand-lockup img { width: auto; height: 27px; }
 .hero-grid { width: calc(100% - 36px); gap: 34px; padding-block: 32px 28px; }
 .hero h1, html[lang="en"] .hero h1 { font-size: 48px; margin-block: 22px 20px; }
 .hero-description, html[lang="en"] .hero-description { font-size: 14px; max-width: 410px; }
 .hero-actions { margin-top: 23px; }
 .hero-actions .button { padding: 12px 13px; font-size: 12px; }
 .hero-note { font-size: 10px; gap: 10px; margin-top: 20px; }
 .product-preview { max-width: 620px; margin-inline: auto; }
 .features { padding-top: 48px; }
}
@media (max-width: 600px) {
 .product-preview { max-width: 390px; }
 .product-preview img { aspect-ratio: 13 / 24; }
 .product-frame { border-radius: 11px; }
 .product-preview figcaption { font-size: 9px; }
 .product-bar { height: 30px; }
 .product-bar-label { display: none; }
}
@media (max-width: 380px) {
 .brand .brand-lockup img { height: 24px; }
 .site-header.wrap { width: calc(100% - 24px); }
 .hero h1, html[lang="en"] .hero h1 { font-size: 43px; }
 .hero-grid { width: calc(100% - 28px); }
 .hero-actions { flex-direction: column; align-items: stretch; }
 .hero-actions .button { min-height: 44px; }
 .hero-note { gap: 8px; font-size: 9px; }
}

/* Lucide's arrow artwork avoids platform-dependent missing Unicode glyphs. */
.arrow-icon { width: 16px; height: 16px; flex: none; }
.eyebrow .arrow-icon { width: 12px; height: 12px; opacity: .65; }
.button .arrow-icon { filter: brightness(0) invert(1); }
@media (max-width: 380px) { html[lang="zh-CN"] .hero h1 { font-size: 38px; } }
