/* MD Factory shares the product typography, palette and navigation in nl.css. */
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 10px 18px; background: var(--text); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.md-mark { display: block; width: 28px; height: 28px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.md-nav .nav-back { min-height: 44px; }
.md-nav .nav-actions { gap: 24px; }
.md-nav .nav-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.md-nav .nav-link:hover { color: var(--text); }
.md-nav .nav-cta { display: inline-flex; align-items: center; min-height: 40px; }
.language-chevron { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; flex-shrink: 0; color: var(--muted); transition: transform .2s; }
.language-menu[open] .language-chevron { transform: rotate(180deg); }
html[dir="rtl"] .language-dropdown { right: auto; left: 0; }
html[dir="rtl"] .language-dropdown::before { right: auto; left: 18px; }
html[dir="rtl"] pre { direction: ltr; text-align: left; }
html[dir="rtl"] pre[data-i18n="text"] { direction: rtl; text-align: right; }
.md-inner { max-width: 1120px; margin-inline: auto; }
.md-hero { padding: 76px 48px 64px; overflow: hidden; }
.md-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.md-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 20px; }
.md-hero h1 { font-size: clamp(52px, 7vw, 84px); line-height: 1; letter-spacing: -4px; margin-bottom: 24px; }
.md-promise { font-size: clamp(25px, 3vw, 36px); line-height: 1.25; font-weight: 600; letter-spacing: -1px; margin-bottom: 22px; }
.md-promise em { color: var(--accent2); font-style: normal; }
.md-copy { font-size: 17px; color: var(--muted); line-height: 1.75; max-width: 550px; }
.md-hero .hero-actions { justify-content: flex-start; margin-top: 28px; }
.md-art { min-width: 0; }
.md-art img { display: block; width: 100%; height: auto; border-radius: 16px; }
.md-art figcaption { color: var(--muted2); font-size: 11px; margin-top: 12px; text-align: center; }
.md-section { padding: 88px 48px; }
.md-section.alt { background: var(--bg2); border-block: 1px solid var(--border); }
.md-section h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 20px; }
.md-section h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; margin-bottom: 12px; }
.md-section p { color: var(--muted); }
.md-intro { max-width: 650px; margin-bottom: 44px; }
.md-status { border-left: 2px solid var(--accent); padding-left: 20px; margin-bottom: 44px; max-width: 750px; }
.md-status p { font-size: 14px; }
.md-status strong { color: var(--text); }
.md-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: steps; }
.md-steps li { counter-increment: steps; border-top: 1px solid var(--border2); padding-top: 24px; }
.md-steps li::before { content: "0" counter(steps); display: block; color: var(--accent2); font: 500 14px/1 ui-monospace, monospace; margin-bottom: 24px; }
.md-steps p { font-size: 15px; }
.md-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.md-formats { display: flex; flex-wrap: wrap; list-style: none; column-gap: 24px; row-gap: 12px; margin-bottom: 30px; }
.md-formats li { color: var(--text); font: 600 19px/1.5 ui-monospace, monospace; }
.md-details { margin-top: 28px; border-top: 1px solid var(--border); }
.md-details > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.md-details dt { font-weight: 600; margin-bottom: 5px; }
.md-details dd { color: var(--muted); font-size: 14px; }
.md-format-feature { padding: 30px 0; border-bottom: 1px solid var(--border); }
.md-format-feature:first-child { padding-top: 0; }
.md-format-feature h3 { color: var(--accent2); font-size: 28px; letter-spacing: -.8px; }
.md-note { margin-top: 24px; font-size: 13px; color: var(--muted2); }
.md-privacy p + p { margin-top: 20px; }
.md-privacy .md-art { align-self: center; }
.md-faq { border-top: 1px solid var(--border); }
.md-faq details { border-bottom: 1px solid var(--border); }
.md-faq summary { cursor: pointer; list-style: none; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 16px; font-weight: 600; }
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::after { content: "+"; color: var(--accent2); font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.md-faq details[open] summary::after { transform: rotate(45deg); }
.md-faq p { font-size: 14px; padding-bottom: 22px; }
.md-section a:not(.btn-primary):not(.btn-ghost) { color: var(--accent2); text-underline-offset: 4px; }
.md-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.md-guide { text-decoration: none; color: var(--text) !important; display: block; }
.md-guide img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; display: block; border-radius: 12px; margin-bottom: 24px; transition: opacity .2s; }
.md-guide:hover img { opacity: .8; }
.md-guide h3 { font-size: 24px; }
.md-guide h2 { font-size: 24px; letter-spacing: -.5px; line-height: 1.3; margin-bottom: 12px; }
.md-blog-title { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; }
.md-guide p { font-size: 15px; }
.md-guide .md-guide-link { display: inline-block; margin-top: 16px; color: var(--accent2); font-size: 14px; }
.md-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.md-final h2 { margin-bottom: 16px; }
.md-final .md-note { margin-top: 12px; }
.store-icon { flex-shrink: 0; }
.md-footer .footer-brand { color: var(--text); font-weight: 600; font-size: 15px; }
.md-footer .footer-copy { width: 100%; }
.md-footer .footer-links a + a::before { content: none; }
.md-article-hero { margin: 28px 0; }
.md-article-hero img { width: 100%; height: auto; display: block; border-radius: 14px; }
.md-article-hero figcaption { color: var(--muted2); font-size: 12px; margin-top: 10px; }
.article-toc { padding: 24px 0; margin-bottom: 12px; border-block: 1px solid var(--border); }
.article-content .article-toc p { color: var(--text); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.article-content .article-toc ul { margin-bottom: 0; }
.article-content .article-toc li:last-child { margin-bottom: 0; }
.article-content .source-note { color: var(--muted2); font-size: 12px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; }
.article-content .table-wrap { overflow-x: auto; }
.article-content .settings-table { min-width: 520px; }
.page-header h1 { line-height: 1.15; }
.article-content h2, .article-content h3 { line-height: 1.25; }
.article-content pre { overflow-x: auto; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin: 8px 0 24px; color: var(--text); font-size: 13px; }
.article-content code { font-family: ui-monospace, monospace; color: var(--accent2); overflow-wrap: anywhere; }
.article-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.article-content th, .article-content td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--border2); }
.article-content th { color: var(--text); }
.article-content td { color: var(--muted); }
.article-content .md-status { margin-top: 28px; margin-bottom: 28px; }
.article-content .md-status p:last-child { margin-bottom: 0; }
.md-hero .md-label, .md-hero h1, .md-hero .md-promise { animation: md-enter .7s ease-out both; }
.md-hero h1 { animation-delay: .06s; }
.md-hero .md-promise { animation-delay: .12s; }
@keyframes md-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) {
  .md-nav .nav-actions { gap: 14px; }
  .md-nav .nav-link { display: none; }
  .md-hero-grid { gap: 30px; }
  .md-hero, .md-section { padding-inline: 28px; }
  .md-split { gap: 36px; }
}
@media (max-width: 700px) {
  .md-nav .nav-actions { gap: 8px; }
  .md-hero { padding: 48px 24px; }
  .md-hero-grid, .md-split, .md-guides, .md-final { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .md-hero h1 { font-size: clamp(48px, 12vw, 72px); letter-spacing: -2.5px; }
  .md-hero .md-art { max-width: 500px; }
  .md-hero .md-art figcaption { margin-top: 8px; }
  .md-section { padding: 64px 24px; }
  .md-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .md-steps li::before { margin-bottom: 16px; }
  .md-intro, .md-status { margin-bottom: 32px; }
  .md-formats { gap: 12px 22px; }
  .md-final .btn-primary { justify-self: start; }
  .md-guides { gap: 40px; }
  .md-article-hero { margin-inline: 0; }
  .article-content th, .article-content td { padding: 12px 8px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .md-hero .md-label, .md-hero h1, .md-hero .md-promise { animation: none; }
  .md-guide img, .md-faq summary::after, .md-nav .nav-cta, .btn-primary, .btn-ghost { transition: none; }
}
