/* Shared public-site layout. Existing graph/download/auth styles live in site-base.css. */
.marketing-page {
  --primary: #087443;
  --primary-hover: #065d36;
  --primary-strong: #087443;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  line-height: 1.65;
}
.marketing-page * {
  letter-spacing: 0;
}
.marketing-page [hidden] {
  display: none !important;
}
.marketing-page .container {
  max-width: 1248px;
  padding-inline: 32px;
}
.marketing-page h1,
.marketing-page h2,
.marketing-page h3 {
  text-wrap: balance;
  border: 0;
  text-decoration: none;
}
.marketing-page a,
.marketing-page button {
  -webkit-tap-highlight-color: transparent;
}
.marketing-page .btn {
  min-height: 44px;
  gap: 12px;
  font-weight: 600;
}
.marketing-page :focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.marketing-page section,
.scene-panel {
  scroll-margin-top: 88px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  padding: 12px 20px;
  z-index: 200;
  background: var(--bg);
}
.skip-link:focus {
  top: 12px;
}
.marketing-page .nav {
  background: var(--bg);
  backdrop-filter: none;
}
.marketing-page .nav-inner {
  gap: 20px;
  height: 72px;
}
.marketing-page .nav-left {
  gap: 40px;
}
.marketing-page .nav-links {
  gap: 24px;
}
.marketing-page .nav-links a {
  white-space: nowrap;
}
.marketing-page .brand {
  white-space: nowrap;
}
.menu-toggle {
  display: none;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 56px;
  padding-block: 64px 72px;
}
.hero-copy h1 {
  font-size: 48px;
  line-height: 1.22;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-explanation {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-copy .hero-actions {
  margin-top: 28px;
}
.product-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgb(23 32 25 / 8%);
}
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.product-shot-hero img {
  aspect-ratio: 1912 / 952;
}
.product-shot-polish img {
  aspect-ratio: 1021 / 535;
}
.product-shot-workflow {
  display: flex;
  flex-direction: column;
}
.product-shot-workflow .product-shot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-hover, #eef2ef);
  padding: 16px 20px;
}
.product-shot-workflow img {
  max-height: 440px;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgb(23 32 25 / 8%);
  aspect-ratio: auto;
  object-fit: contain;
}
.product-shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  color: var(--fg-muted);
  font-size: 12px;
}
.product-shot figcaption strong {
  color: var(--fg);
  font-size: 13px;
}

.hero-statistics {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.sample-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.hero-statistics dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-statistics dl > div {
  display: flex;
  flex-direction: column-reverse;
}
.hero-statistics dd {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.hero-statistics dd span {
  font-size: 20px;
  margin-left: 2px;
}
.hero-statistics dt {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.book-preview {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 2px 8px rgb(23 32 25 / 5%);
}
.book-preview > figcaption,
.demo-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.book-preview > figcaption span,
.demo-heading > span {
  color: var(--fg-muted);
  font-size: 12px;
}
.book-preview-body {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
}
.chapter-index {
  background: var(--surface);
  padding: 24px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--fg-muted);
}
.chapter-index strong {
  margin: 0 10px 16px;
  color: var(--fg);
  font-size: 14px;
}
.chapter-index span {
  padding: 8px 10px;
}
.chapter-index .current-chapter {
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 8px;
  font-weight: 600;
}
.chapter-page {
  padding: 24px;
  font-size: 13px;
  line-height: 1.9;
}
.chapter-page h2 {
  font-size: 22px;
  margin-bottom: 16px;
}
.document-label {
  font-size: 11px;
  color: var(--fg-muted);
}
.chapter-page > p {
  margin-bottom: 12px;
}
.chapter-page mark {
  background: var(--primary-soft);
  color: var(--primary);
}
.memory-reminder {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
.memory-reminder strong {
  color: var(--primary);
}
.memory-reminder p {
  color: var(--fg-muted);
  margin-top: 4px;
}
.preview-process {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: var(--surface);
  font-size: 12px;
  color: var(--primary);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading h2,
.faq-layout h2,
.author-invitation h2 {
  font-size: 30px;
  line-height: 1.4;
  margin-bottom: 10px;
}
.section-heading p,
.faq-layout > div > p,
.author-invitation p {
  font-size: 15px;
  color: var(--fg-muted);
}
.text-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.text-link:hover {
  text-decoration: underline;
}
.scene-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  scroll-margin-top: 88px;
}
.scene-stage {
  display: grid;
}
.scene-stage > .scene-panel {
  grid-area: 1 / 1;
  min-width: 0;
}
.marketing-page .scene-stage > .scene-panel[hidden] {
  display: none !important;
}
.fallback-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 16px;
}
.scene-tabs button {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg-muted);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  padding: 10px 20px;
  min-height: 44px;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}
.scene-tabs button[aria-selected="true"] {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}
.scene-tabs button:hover {
  background: var(--surface);
}
.scene-tabs button,
.scene-tabs button:hover,
.scene-tabs button[aria-selected="true"] {
  box-shadow: none;
}
.scene-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: center;
  padding-block: 16px;
}
.scene-copy h3 {
  font-size: 30px;
  line-height: 1.45;
  margin-bottom: 16px;
}
.scene-copy > p {
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 360px;
}
.benefit-list {
  list-style: none;
  margin: 28px 0 24px;
  display: grid;
  gap: 16px;
}
.benefit-list li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}
.benefit-list strong {
  font-size: 15px;
}
.benefit-list span {
  color: var(--fg-muted);
  font-size: 13px;
}
.scene-visual {
  min-width: 0;
}
.scene-visual .archive-graph-preview {
  max-width: none;
  height: 420px;
}
.visual-caption {
  color: var(--fg-muted);
  font-size: 12px;
  line-height: 1.65;
  margin-top: 12px;
}
.rewrite-demo,
.script-demo {
  background: var(--surface);
  border-radius: 12px;
  padding: 0 24px 24px;
  min-height: 454px;
}
.rewrite-demo .demo-heading,
.script-demo .demo-heading {
  padding-inline: 0;
}
.rewrite-original,
.rewrite-result {
  padding-block: 20px;
  font-size: 15px;
  line-height: 1.9;
}
.rewrite-original > span,
.rewrite-result > span {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 8px;
}
.rewrite-original {
  color: var(--fg-muted);
}
.rewrite-result > span {
  color: var(--primary);
}
.rewrite-request {
  padding-block: 12px;
  border-block: 1px solid var(--border);
  color: var(--primary);
  font-size: 12px;
}
.script-scene {
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.script-scene > span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.script-scene p {
  margin-top: 8px;
}
.script-scene strong {
  display: block;
  margin-top: 12px;
}
.practical-notes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.practical-notes p {
  color: var(--fg-muted);
  font-size: 12px;
}
.practical-notes strong {
  display: block;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 4px;
}
.practical-notes p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.voices-section {
  background: var(--surface);
}
.author-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.author-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.author-quote h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.author-quote blockquote {
  font-size: 14px;
  line-height: 1.9;
  color: var(--fg-muted);
  flex: 1;
}
.author-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.author-quote figcaption strong {
  display: block;
  font-size: 13px;
}
.author-quote small {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.faq-layout .text-link {
  display: inline-block;
  margin-top: 24px;
}
.marketing-page .faq-list {
  gap: 0;
}
.marketing-page .faq-item {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 20px 0;
  background: none;
}
.marketing-page .faq-item:first-child {
  padding-top: 0;
}
.marketing-page .faq-item summary {
  font-size: 15px;
  min-height: 24px;
}
.marketing-page .dl-card {
  padding: 20px;
}
.marketing-page .footer {
  padding-block: 32px;
}
.marketing-page .footer-inner {
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
}
.marketing-page .footer-links {
  flex-wrap: wrap;
  gap: 12px 24px;
}
.authors-intro {
  padding-block: 64px 40px;
}
.authors-intro h1 {
  font-size: 44px;
  margin-bottom: 16px;
}
.sample-notice {
  font-size: 13px;
  padding: 12px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  margin-top: 24px;
}
.authors-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.authors-gallery .author-quote {
  padding: 28px;
  background: var(--surface);
  border-radius: 12px;
}
.authors-gallery .featured-quote {
  grid-column: span 2;
  background: var(--primary-soft);
}
.authors-gallery .author-quote:last-child {
  grid-column: span 2;
}
.featured-quote h3 {
  font-size: 28px;
}
.featured-quote blockquote {
  font-size: 18px;
}
.author-invitation {
  margin-block: 72px 48px;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.author-invitation h2 {
  margin-bottom: 8px;
}
.author-invitation .hero-actions {
  margin-top: 0;
  gap: 16px;
}
.author-invitation .btn {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 15px;
}

@media (max-width: 1100px) {
  .marketing-page .nav-left {
    gap: 24px;
  }
  .marketing-page .nav-links {
    gap: 16px;
  }
  .marketing-page #login-btn {
    display: none !important;
  }
  .home-hero {
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .product-shot figcaption {
    flex-direction: column;
    gap: 2px;
  }
  .book-preview-body {
    grid-template-columns: 116px minmax(0, 1fr);
  }
  .chapter-page {
    padding: 20px;
  }
  .scene-panel {
    gap: 32px;
  }
}
@media (max-width: 960px) {
  .marketing-page .nav-links {
    display: flex;
    gap: 12px;
  }
  .marketing-page .nav-links a {
    font-size: 13px;
  }
  .marketing-page .nav-left {
    gap: 16px;
  }
  .marketing-page .nav-inner {
    gap: 12px;
  }
  .marketing-page .nav-right {
    gap: 8px;
  }
  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-block: 48px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .product-shot figcaption {
    padding: 10px 12px;
  }
  .book-preview-body {
    grid-template-columns: 1fr;
  }
  .chapter-index {
    display: none;
  }
  .hero-statistics dd {
    font-size: 30px;
  }
  .scene-panel,
  .faq-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
  }
  .scene-copy h3 {
    font-size: 26px;
  }
  .scene-visual .archive-graph-preview {
    height: 440px;
  }
  .archive-graph-legend {
    display: none;
  }
  .author-preview {
    gap: 24px;
  }
  .marketing-page .dl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .authors-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .menu-toggle {
    display: inline-flex;
  }
  .marketing-page .nav-inner {
    position: relative;
  }
  .marketing-page .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    flex-direction: column;
    box-shadow: 0 2px 8px rgb(23 32 25 / 6%);
  }
  .marketing-page .nav-links.is-open {
    display: flex;
  }
  .marketing-page .nav-links a {
    padding: 10px 12px;
    font-size: 14px;
    min-height: 44px;
  }
  .practical-notes {
    flex-wrap: wrap;
  }
  .author-preview {
    grid-template-columns: 1fr;
  }
  .author-preview .author-quote {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .author-preview .author-quote:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  #downloads .section-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px;
  }
  .marketing-page .container {
    padding-inline: 16px;
  }
  .marketing-page .nav-inner {
    height: 64px;
  }
  .marketing-page .nav-right .btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .marketing-page #auth-area > .btn-primary {
    min-height: 44px;
  }
  .marketing-page .brand {
    font-size: 15px;
    gap: 6px;
  }
  .marketing-page .brand-logo {
    width: 24px;
    height: 24px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding-block: 36px 40px;
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: 38px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .desktop-break {
    display: none;
  }
  .hero-actions {
    flex-direction: row;
    gap: 8px;
  }
  .marketing-page .hero-actions .btn {
    width: auto;
    padding-inline: 14px;
  }
  .hero-statistics {
    margin-top: 24px;
  }
  .hero-statistics dd {
    font-size: 32px;
  }
  .hero-statistics dd span {
    font-size: 18px;
  }
  .hero-statistics dl {
    gap: 12px;
  }
  .chapter-page {
    padding: 24px;
  }
  .marketing-page .section {
    padding-block: 40px;
  }
  .section-heading h2,
  .faq-layout h2,
  .author-invitation h2 {
    font-size: 26px;
  }
  .scene-tabs {
    gap: 8px;
  }
  .scene-tabs button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .scene-panel,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .scene-copy > p {
    max-width: none;
  }
  .benefit-list {
    margin-block: 20px;
  }
  .scene-visual .archive-graph-preview {
    height: 320px;
  }
  .archive-graph-toolbar,
  .archive-graph-footer {
    gap: 8px;
  }
  .archive-graph-footer {
    font-size: 10px;
  }
  .rewrite-demo,
  .script-demo {
    padding-inline: 20px;
    min-height: 0;
  }
  .practical-notes {
    margin-top: 24px;
  }
  .marketing-page .faq-item summary {
    min-height: 44px;
    display: list-item;
  }
  .marketing-page .dl-grid {
    grid-template-columns: 1fr;
  }
  .authors-intro {
    padding-block: 40px 28px;
  }
  .authors-intro h1 {
    font-size: 36px;
  }
  .authors-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .authors-gallery .featured-quote {
    grid-column: auto;
  }
  .authors-gallery .author-quote {
    padding: 24px;
  }
  .featured-quote h3 {
    font-size: 23px;
  }
  .featured-quote blockquote {
    font-size: 15px;
  }
  .author-invitation {
    margin-block: 40px 24px;
    padding: 28px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marketing-page *,
  .marketing-page *::before,
  .marketing-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Shared header used by every public page. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg, #fff);
  border-bottom: 1px solid var(--border, #e1e7e2);
}
.site-header-inner {
  max-width: 1248px;
  height: 72px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg, #172019);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.site-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.site-nav a,
.site-login {
  color: var(--fg-muted, #667168);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
.site-nav a:hover,
.site-nav a.is-active,
.site-login:hover {
  color: var(--primary-strong, #087443);
}
.site-nav a.is-active {
  font-weight: 650;
}
.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.site-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--primary, #10b765);
  color: #fff !important;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.site-cta:hover {
  background: var(--primary-hover, #0a9b55);
}
.site-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border, #e1e7e2);
  border-radius: 8px;
  background: var(--bg, #fff);
  color: var(--fg, #172019);
  font: inherit;
  cursor: pointer;
}
.site-header + .fallback-navigation {
  display: none;
}
.site-header ~ main {
  scroll-margin-top: 88px;
}

/* Shared public footer: product identity first, legal links second. */
.site-footer {
  padding: 28px 0 32px;
}
.site-footer-inner {
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  color: var(--fg-muted, #667168);
  font-size: 12px;
}
.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg, #172019);
  font-size: 15px;
  font-weight: 700;
}
.site-footer-product img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.site-footer-company {
  color: var(--fg-muted, #667168);
}
.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-left: auto;
}
.site-footer-links a {
  color: var(--fg-muted, #667168);
}
.site-footer-links a:hover {
  color: var(--primary-strong, #087443);
}
.site-footer-copy {
  color: var(--fg-muted, #667168);
}
@media (max-width: 1080px) {
  .site-header-inner {
    gap: 20px;
  }
  .site-nav {
    gap: 13px;
  }
  .site-nav a {
    font-size: 13px;
  }
  .site-login {
    display: none;
  }
}
@media (max-width: 800px) {
  .site-header-inner {
    height: 64px;
    padding: 0 16px;
    gap: 12px;
  }
  .site-menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    padding: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg, #fff);
    border: 1px solid var(--border, #e1e7e2);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgb(23 32 25 / 6%);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }
  .site-actions {
    gap: 8px;
  }
  .site-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
  .site-footer-inner {
    align-items: flex-start;
    padding: 0 16px;
  }
  .site-footer-links {
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .site-brand {
    font-size: 15px;
  }
  .site-brand img {
    width: 24px;
    height: 24px;
  }
}
/* Keep separators quiet and theme-coloured; no decorative black rules. */
.marketing-page .section,
.marketing-page .hero-statistics,
.marketing-page .practical-notes,
.marketing-page .faq-item {
  border-color: color-mix(in srgb, var(--fg, #172019) 10%, transparent);
}
.marketing-page .section {
  border-top-width: 0;
}
.marketing-page .hero-statistics {
  border-top-color: color-mix(in srgb, var(--fg, #172019) 10%, transparent);
}

.site-footer-beian {
  color: var(--fg-muted, #667168);
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease;
}
.site-footer-beian:hover {
  color: var(--primary-strong, #087443);
  text-decoration: underline;
}
