/* Shared visual language for the journal, articles, product guides and legal pages. */
:root {
  --primary-color: var(--accent);
  --primary-hover: var(--ink);
  --secondary-color: #b7a0c2;
  --accent-color: var(--accent);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --text-light: #8b808e;
  --background: var(--paper);
  --background-secondary: var(--lilac);
  --border-color: var(--line);
  --purple-gradient: linear-gradient(120deg, #4f3b59, #79618b);
  --font-brand: var(--serif);
  --font-system: var(--sans);
  --shadow: none;
  --shadow-lg: none;
}
.content-page .site-header, .journal-page .site-header { margin-bottom: 0; }
.nav-link[aria-current=page] { color: var(--ink); }
.content-page .footer, .journal-page .footer { border-top: 1px solid var(--line); }
.content-page main { min-height: 50vh; }
.content-page :is(.blog-post-content,.page-content,.faq-content,.privacy-content,.terms-content) {
  width: min(1100px, calc(100% - 96px));
  max-width: none;
  padding: 55px 0 85px;
  margin: 0 auto;
}
.content-page :is(.privacy-content,.terms-content) { width: min(820px, calc(100% - 96px)); }
.content-page .blog-post-content { width: min(840px, calc(100% - 96px)); }
.content-page :is(.back-link,.blog-back-link) { color: var(--accent); font-size: 13px; margin-bottom: 35px; }
.content-page :is(.back-link,.blog-back-link):hover { color: var(--ink); }
.content-page .blog-post-header { text-align: left; margin: 10px 0 38px; }
.content-page .blog-post-meta { justify-content: flex-start; flex-wrap: wrap; font-size: 12px; gap: 18px; margin-bottom: 23px; }
.content-page .blog-post-title, .content-page .hero-section h1,
.content-page .faq-content h1, .content-page .privacy-content h1, .content-page .terms-content h1 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(38px,4.6vw,62px); letter-spacing: -.035em; line-height: 1.15;
  text-align: left; margin-bottom: 25px;
}
.content-page .blog-post-excerpt { font-size: 19px; color: var(--muted); line-height: 1.8; }
.content-page .blog-hero-image { border-radius: 16px; box-shadow: none; max-height: 540px; object-fit: cover; }
.content-page .blog-post-body { font-size: 17px; line-height: 1.9; }
.content-page .blog-post-body :is(p,li) { color: #574e5b; }
.content-page .blog-post-body h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.3; color: var(--ink); margin-top: 50px; }
.content-page .blog-post-body h3 { font-family: var(--sans); font-size: 22px; font-weight: 500; line-height: 1.45; }
.content-page .blog-post-body a:not(.blog-cta-button) { color: #745385; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.content-page .blog-post-body :is(ul,ol) { padding-left: 25px; }
.content-page :is(.blog-post-cta,.cta-section) { background: var(--ink); color: var(--paper); border-radius: 16px; box-shadow: none; padding: 42px; }
.content-page :is(.blog-post-cta,.cta-section) :is(h2,h3) { font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--paper); line-height: 1.3; margin-top: 0; }
.content-page :is(.blog-post-cta,.cta-section) p { color: #e0d6e4; font-size: 16px; }
.content-page :is(.blog-cta-button,.cta-btn) { background: var(--paper); color: var(--ink); border-radius: 100px; box-shadow: none; font-size: 14px; font-weight: 500; padding: 14px 24px; max-width: 100%; }
.content-page :is(.blog-cta-button,.cta-btn):hover { box-shadow: none; background: #e9e0ed; }
.content-page :is(.blog-disclaimer,.last-updated,.important-notice) { background: var(--lilac); border: 0; border-left: 3px solid #aa90b4; border-radius: 8px; padding: 22px; }
.content-page :is(.blog-disclaimer,.important-notice) p { color: #64536d; }
.content-page .hero-section { background: transparent; padding: 15px 0 65px; margin: 0; gap: 75px; border-bottom: 1px solid var(--line); border-radius: 0; }
.content-page .hero-section .subtitle { color: var(--muted); font-size: 18px; line-height: 1.85; }
.content-page .hero-app-icon { display: none; }
.content-page .hero-screenshot { width: min(100%,340px); border-radius: 16px; box-shadow: none; }
.content-page :is(.product-showcase,.comparison-section,.question-section) { background: var(--lilac); box-shadow: none; border-radius: 16px; padding: 40px; margin-block: 65px; }
.content-page :is(.product-showcase,.comparison-section,.question-section,.how-it-works) h2 { color: var(--ink); font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.25; text-align: left; }
.content-page :is(.feature-grid,.benefit-grid,.comparison-grid,.question-grid,.steps-grid) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.content-page :is(.feature-card,.benefit-card,.comparison-card,.question-card,.step-card,.faq-item) { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 28px 0; }
.content-page :is(.feature-card,.benefit-card,.comparison-card,.question-card,.step-card,.faq-item):hover { transform: none; box-shadow: none; border-color: var(--line); }
.content-page :is(.feature-card,.benefit-card) .icon { background: var(--lilac); color: var(--accent); width: 44px; height: 44px; border-radius: 12px; font-size: 20px; }
.content-page :is(.feature-card,.benefit-card,.comparison-card,.step-card) h3 { color: var(--ink); font-size: 22px; font-weight: 500; }
.content-page :is(.feature-card,.benefit-card,.comparison-card,.question-card,.step-card,.faq-item) :is(p,li) { color: var(--muted); }
.content-page :is(.comparison-card h3 i,.comparison-card li:before,.question-icon,.faq-item h2 i) { color: var(--accent); }
.content-page .question-text { color: var(--ink); }
.content-page .screenshot-gallery { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.content-page .screenshot-item img { box-shadow: none; border-radius: 12px; }
.content-page .screenshot-item img:hover { box-shadow: none; transform: none; }
.content-page .step-card { text-align: left; }
.content-page .step-card .step-number { position: static; width: auto; height: auto; background: transparent; color: var(--accent); border-radius: 0; transform: none; font-family: var(--serif); font-size: 30px; margin-bottom: 20px; }
.content-page .faq-content { width: min(900px,calc(100% - 96px)); }
.content-page .faq-hero { display: none; }
.content-page .faq-subtitle { text-align: left; color: var(--muted); font-size: 18px; max-width: 700px; }
.content-page .faq-item h2 { font-family: var(--sans); font-size: 21px; font-weight: 500; color: var(--ink); letter-spacing: -.015em; line-height: 1.5; }
.content-page :is(.privacy-content,.terms-content) :is(h2,h3) { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.4; }
.content-page :is(.privacy-content,.terms-content) h2 { font-size: 28px; margin-top: 38px; }
.content-page :is(.privacy-content,.terms-content) :is(p,li) { color: #574e5b; overflow-wrap: anywhere; }
.content-page :is(.privacy-content,.terms-content) a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.content-page table { width: 100%; border-collapse: collapse; }
.content-page th, .content-page td { padding: 12px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.content-page th { background: var(--lilac); }
/* Journal index */
.journal-intro { padding: 80px 0 55px; }
.journal-intro h1 { font-size: clamp(44px,5.8vw,78px); margin-bottom: 25px; }
.journal-intro>p:last-child { max-width: 640px; font-size: 18px; line-height: 1.85; }
.featured-story { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--lilac); border-radius: 18px; overflow: hidden; }
.featured-image { display: block; min-height: 460px; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { padding: 48px; align-self: center; }
.featured-copy .eyebrow { margin-bottom: 22px; }
.featured-copy h2 { font-size: 38px; line-height: 1.16; white-space: normal; margin-bottom: 22px; }
.featured-copy>p { font-size: 15px; line-height: 1.85; }
.story-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; margin-top: 22px; }
.featured-copy .text-link { margin-top: 14px; }
.article-library { padding: 85px 0; }
.library-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.library-heading h2 { font-size: 40px; }
.library-heading>p { font-size: 12px; white-space: nowrap; }
.topic-filters { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 42px; }
.topic-filters button { background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px; font-size: 12px; }
.topic-filters button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 50px 30px; }
.story-card { display: flex; flex-direction: column; min-width: 0; }
.story-image { display: block; aspect-ratio: 1.5; overflow: hidden; border-radius: 12px; background: var(--lilac); margin-bottom: 25px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.story-image .stages-card-image { object-position: center 48%; }
.story-image:hover img { transform: scale(1.035); }
.story-card>.eyebrow { font-size: 10px; margin-bottom: 14px; }
.story-card h3 { font-family: var(--serif); font-size: 27px; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 15px; }
.story-card>p:not(.eyebrow) { font-size: 14px; line-height: 1.85; margin-bottom: 15px; }
.story-card .story-meta { margin-top: auto; }
.story-card .text-link { align-self: flex-start; font-size: 12px; margin-top: 10px; border-bottom: 0; }
.journal-download { padding: 75px 0; background: var(--ink); color: var(--paper); }
.journal-download .wrap { max-width: 850px; text-align: center; }
.journal-download .eyebrow, .journal-download p { color: #d9c8df; }
.journal-download h2 { font-size: 49px; }
.journal-download p { margin: 24px auto; max-width: 560px; }
.journal-download .button { background: var(--paper); color: var(--ink); margin-top: 8px; }
html[lang=zh] .featured-copy h2 { font-size: 34px; line-height: 1.4; }
html[lang=zh] .story-card h3 { font-size: 24px; line-height: 1.5; }
@media(max-width: 900px) {
  .content-page :is(.blog-post-content,.page-content,.faq-content,.privacy-content,.terms-content) { width: calc(100% - 64px); }
  .featured-copy { padding: 30px; }
  .featured-copy h2 { font-size: 31px; }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-page .hero-section { gap: 35px; }
  .content-page .hero-section h1 { font-size: 43px; }
  .content-page .screenshot-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width: 600px) {
  .content-page :is(.blog-post-content,.page-content,.faq-content,.privacy-content,.terms-content) { width: calc(100% - 40px); padding: 30px 0 60px; }
  .content-page :is(.blog-post-title,.hero-section h1,.faq-content h1,.privacy-content h1,.terms-content h1) { font-size: 36px; line-height: 1.25; }
  .content-page .blog-post-excerpt { font-size: 17px; }
  .content-page .blog-post-body { font-size: 16px; }
  .content-page .blog-post-body h2 { font-size: 28px; }
  .content-page .blog-post-body h3 { font-size: 21px; }
  .content-page .blog-hero-image { margin-block: 10px 30px; }
  .content-page :is(.blog-post-cta,.cta-section) { padding: 30px 22px; }
  .content-page :is(.blog-post-cta,.cta-section) :is(h2,h3) { font-size: 29px; }
  .content-page .hero-section { grid-template-columns: 1fr; gap: 25px; padding: 0 0 40px; }
  .content-page .hero-text { text-align: left; }
  .content-page .hero-section .subtitle { font-size: 16px; }
  .content-page .hero-screenshot { max-width: 280px; }
  .content-page :is(.product-showcase,.comparison-section,.question-section) { padding: 25px 20px; margin-block: 40px; }
  .content-page :is(.product-showcase,.comparison-section,.question-section,.how-it-works) h2 { font-size: 30px; }
  .content-page :is(.feature-grid,.benefit-grid,.comparison-grid,.question-grid,.steps-grid) { grid-template-columns: 1fr; gap: 10px; }
  .content-page .faq-item h2 { font-size: 19px; }
  .content-page .screenshot-gallery { gap: 14px; }
  .journal-intro { padding: 45px 0 35px; }
  .journal-intro h1 { font-size: 43px; }
  .journal-intro>p:last-child { font-size: 16px; }
  .featured-story { grid-template-columns: 1fr; border-radius: 14px; }
  .featured-image { min-height: 0; aspect-ratio: 1.4; }
  .featured-copy { padding: 28px 24px; }
  .featured-copy h2,html[lang=zh] .featured-copy h2 { font-size: 30px; }
  .article-library { padding-block: 55px; }
  .library-heading { align-items: flex-start; }
  .library-heading h2 { font-size: 32px; }
  .topic-filters { gap: 8px; margin-bottom: 32px; }
  .topic-filters button { padding: 9px 13px; font-size: 11px; }
  .article-grid { grid-template-columns: 1fr; gap: 38px; }
  .story-card h3 { font-size: 28px; }
  .story-card .story-meta { margin-top: 5px; }
  .journal-download { padding-block: 55px; }
  .journal-download h2 { font-size: 38px; }
}
