/*
 * RapidDraft — local craft pass, 2026-11-12.
 * Direction: precise drawings, calm chrome, a legible working document.
 * Guided by unslop by Damir Sokolovsky (@heydamir), CC BY 4.0.
 * https://heydamir.design/unslop
 */

/* 1. Spacing: one rhythm across the existing sections. */
:root {
  --rd-space-section: 96px;
  --rd-ease: cubic-bezier(.22, 1, .36, 1);
}
.site-header, .header-inner { height: 72px; min-height: 72px; }
.header-inner { --container: 1248px; gap: 32px; }
.site-nav { gap: 24px; }
.site-nav > a:not(.button) { padding-block: 24px; }
.button { padding: 12px 24px; gap: 8px; }
.button-small, .site-nav > .button-small { min-height: 40px; padding: 8px 16px; }
.rd-hero { padding: 120px 0 40px; }
.rd-hero-grid { gap: 48px; padding-bottom: 40px; }
.rd-hero .rd-eyebrow { margin: 24px 0 16px; }
.rd-lead { margin: 24px 0 28px; }
.rd-actions { gap: 24px; }
.rd-section { padding-block: var(--rd-space-section); }
.rd-section-head { margin-bottom: 48px; gap: 64px; }
.rd-feature { padding: 32px 32px 40px 0; }
.rd-feature:not(:nth-child(3n + 1)) { padding-left: 32px; }
.rd-feature-top { margin-bottom: 24px; }
.rd-feature h3 { margin-bottom: 12px; }
.rd-steps { gap: 32px; margin-bottom: 40px; }
.rd-steps li { padding-top: 24px; }
.rd-steps h3 { margin: 16px 0 8px; }
.rd-tool-layout, .rd-update-layout, .rd-faq-layout { gap: 96px; }
.rd-tool-list > div, .rd-update-list article { padding-block: 24px; }
.rd-years > div { padding: 24px; gap: 8px; }
.rd-install-note { margin-top: 24px; gap: 32px; }
.rd-final { padding-block: 80px; }
.rd-final h2 { margin-bottom: 32px; }
.rd-doc-layout { padding-block: 64px 96px; gap: 80px; }
.rd-doc-section { padding-bottom: 48px; margin-bottom: 48px; }
.rd-doc-summary { margin-bottom: 24px; }
.rd-doc-steps > li { padding: 0 0 24px 40px; }
.rd-requirements > div { padding: 24px; }
.rd-callout { padding: 20px 24px; }
.help-page .help-main { gap: 32px; }
.help-page .help-article { padding: 32px; }
.help-page .help-article > header { gap: 16px; margin-bottom: 24px; padding-bottom: 24px; }

/* 2. Color: retain the existing ink / paper palette; one functional accent. */
body.help-page { background: var(--rd-paper); }
.site-header, .site-header.scrolled { background: var(--rd-dark); box-shadow: none; backdrop-filter: none; }
.home .button-primary, .site-nav > .button-primary { color: #172b3c; background: #e6edf3; border-color: #e6edf3; }
.home .button-primary:hover, .site-nav > .button-primary:hover { color: #172b3c; background: #fff; border-color: #fff; }
.rd-final .button-primary, .docs-page .button-primary { background: var(--rd-accent); color: #fff; border-color: var(--rd-accent); }
.rd-final .button-primary:hover, .docs-page .button-primary:hover { background: #16477e; color: #fff; border-color: #16477e; }
.site-header .site-nav > .button-primary { color: #172b3c; background: #e6edf3; border-color: #e6edf3; }
.site-header .site-nav > .button-primary:hover { color: #172b3c; background: #fff; border-color: #fff; }
.rd-hero h1 em { color: #eef3f6; }
.rd-release { color: #b5c5d0; border: 0; padding: 0; border-radius: 0; }
.rd-release:hover { color: #fff; }
.rd-release .status-dot { display: none; }
.rd-release > span:last-child { padding-left: 8px; }
.rd-feature-top, .rd-feature-top svg, .rd-steps span { color: var(--rd-muted); }
.rd-years span, .rd-screen-caption, .rd-product-bar { color: #aebfc9; }
.help-page .help-grid-bg { display: none; }
.help-page .help-end { background: var(--rd-dark); }
.help-page .help-search { background: #17232e; border-color: #435360; backdrop-filter: none; }
.help-page .help-search:focus-within { border-color: #a3caff; box-shadow: none; }
.help-page .sidebar-card, .help-page .help-article { border-color: var(--rd-line); box-shadow: none; }
.help-page .doc-index, .help-page .topic-icon, .help-page .annotation-list b { background: #eef1f3; color: #526675; }
.help-page .requirement-grid svg, .help-page .topic-icon svg, .help-page .sidebar-note svg { stroke: #526675; }
.help-page .callout.info { background: #edf1f4; color: #314d64; }
.help-page .doc-steps li > span { background: #edf1f4; color: #314d64; border: 1px solid var(--rd-line); }
.help-page .sidebar-card a.active { color: var(--rd-accent); background: #edf1f4; }
.help-page .sidebar-note { color: var(--rd-muted); background: #edf1f4; border-color: var(--rd-line); }

/* 3. Icons: the existing vector family, one stroke and one small footprint. */
.site-nav svg, .button svg, .rd-text-link svg, .rd-feature-top svg { width: 18px; height: 18px; stroke-width: 1.5; }
.rd-feature-top { min-height: 24px; }
.menu-toggle svg { width: 20px; height: 20px; stroke-width: 1.5; }

/* 4–5. Copy and type: body text first; size provides the hierarchy. */
body.home, body.help-page, body.docs-page { font-family: "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif; letter-spacing: 0; }
.brand { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand-version { font-size: 12px; letter-spacing: 0; margin-top: 8px; }
.site-nav > a { font-size: 14px; font-weight: 400; }
.button, .rd-text-link { font-weight: 500; }
.rd-release { font-size: 12px; line-height: 20px; }
.rd-eyebrow { font-size: 12px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
.rd-hero h1 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.3; font-weight: 400; letter-spacing: -.025em; }
.rd-lead { font-size: 17px; line-height: 1.8; }
.rd-hero-meta { font-size: 12px; line-height: 20px; margin-top: 20px; }
.rd-hero-visual figcaption, .rd-hero-visual figcaption span:last-child { font-size: 12px; line-height: 20px; }
.rd-product-bar { font-size: 12px; letter-spacing: 0; }
.rd-theme-switch button { font-size: 12px; }
.rd-screen-caption { font-size: 12px; line-height: 20px; letter-spacing: 0; }
.rd-interop p { font-size: 13px; }
.rd-interop strong { font-weight: 500; }
.rd-section h2, .rd-final h2 { font-size: clamp(32px, 3vw, 40px); line-height: 1.4; font-weight: 400; letter-spacing: -.02em; }
.rd-section-head > p, .rd-tool-layout > div > p:not(.rd-eyebrow), .rd-update-layout > div > p:not(.rd-eyebrow) { font-size: 15px; line-height: 1.85; }
.rd-feature-top { font-size: 12px; }
.rd-feature h3 { font-size: 20px; font-weight: 500; letter-spacing: 0; }
.rd-feature p { font-size: 14px; line-height: 1.85; }
.rd-steps span { font-size: 12px; }
.rd-steps h3 { font-size: 18px; font-weight: 500; }
.rd-steps p { font-size: 14px; line-height: 1.85; }
.rd-tool-list dt { font-size: 16px; font-weight: 500; }
.rd-tool-list dd, .rd-update-list p { font-size: 14px; line-height: 1.85; }
.rd-edit-preview figcaption { font-size: 12px; letter-spacing: 0; }
.rd-edit-preview figcaption span:first-child { font-size: 14px; }
.rd-years small, .rd-years span { font-size: 12px; }
.rd-years strong { letter-spacing: -.02em; }
.rd-install-note > p { font-size: 13px; }
.rd-update-list article > span { font-size: 12px; }
.rd-update-list h3 { font-size: 20px; font-weight: 500; margin: 8px 0 12px; }
.home .accordion summary, .docs-page .accordion summary { font-size: 16px; font-weight: 500; padding-block: 24px; }
.home .accordion details > p, .docs-page .accordion details > p { font-size: 14px; line-height: 1.85; }
.rd-final .container > p:last-child { font-size: 12px; }
.footer-main nav { font-size: 13px; gap: 24px; }
.footer-bottom { font-size: 12px; }
.rd-doc-hero h1, .help-page .help-hero h1 { font-weight: 400; letter-spacing: -.02em; }
.rd-doc-hero .container > p:not(.rd-eyebrow), .help-page .help-hero p { font-size: 15px; line-height: 1.85; }
.rd-doc-meta, .rd-breadcrumb, .rd-doc-sidebar > p { font-size: 12px; }
.rd-doc-sidebar nav a { min-height: 44px; font-size: 14px; }
.rd-doc-sidebar nav a > span { font-size: 12px; }
.rd-doc-section h2 { font-size: 28px; font-weight: 500; letter-spacing: 0; }
.rd-doc-section p, .rd-doc-steps p { font-size: 15px; line-height: 1.9; }
.rd-doc-steps h3 { font-size: 16px; font-weight: 500; }
.rd-doc-section .rd-small, .rd-callout p { font-size: 13px !important; }
.rd-requirements small, .rd-requirements span { font-size: 13px; }
.rd-callout > strong { font-size: 14px; font-weight: 500; }
.help-page .help-article h2 { font-size: 28px; font-weight: 500; letter-spacing: -.01em; }
.help-page .help-article p, .help-page .help-article li { font-size: 15px; line-height: 1.85; }
.help-page .help-article h3 { font-weight: 500; }
.help-page .doc-category, .help-page .sidebar-card > p { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.help-page .sidebar-card nav a { font-size: 14px; font-weight: 400; min-height: 44px; }
.help-page .sidebar-card nav a span, .help-page .search-status { font-size: 12px !important; }
.help-page .doc-index, .help-page .doc-steps li > span { font-size: 12px; font-weight: 400; }
.help-page .annotation-list small, .help-page .callout p, .help-page .sidebar-note p { font-size: 13px; }
.help-page .annotation-list kbd { font-size: 12px; }
.help-page .option-row span, .help-page .option-row strong { font-size: 14px; }
.help-page .troubleshooting-list summary { font-size: 16px; font-weight: 500; }
.help-page .update-grid span { font-weight: 500; }
.rd-feature-top, .rd-steps span, .rd-years strong, .brand-version, [data-current-version], .doc-index { font-variant-numeric: tabular-nums; }

/* 6. Layout: the existing split, with the real workbench entering the first view. */
.rd-hero-grid { grid-template-columns: 1.1fr 1fr; }
.rd-blueprint { max-height: 352px; }
.rd-product-bar { margin-bottom: 8px; }
.rd-tool-list dd { max-width: 64ch; }
.rd-doc-content { max-width: 880px; }
.help-page .help-layout { grid-template-columns: 224px minmax(0, 1fr); gap: 48px; }
.help-page .help-article .article-lead { font-size: 16px; }
.help-page .help-hero :is(.eyebrow, .kicker) { font-size: 12px; font-weight: 400; letter-spacing: 0; color: #b5c5d0; }
.help-page .help-search-wrap > label { font-weight: 500; }
.help-page .install-entry h2 { font-size: 22px; font-weight: 500; }
.help-page .install-entry p { font-size: 15px; line-height: 1.85; }

/* 7. Details: stable corners, focus and neutral separators. */
.button, .menu-toggle, .rd-screen-frame, .rd-edit-preview { border-radius: 8px; }
.rd-screen-frame { border-color: #41515d; box-shadow: none; }
.rd-theme-switch { padding: 4px; gap: 4px; border-radius: 8px; }
.rd-theme-switch button { border-radius: 4px; min-width: 56px; }
.rd-years { border-radius: 8px; }
.rd-doc-sidebar nav a { gap: 12px; }
.rd-callout { border-left-width: 2px; }
.rd-doc-steps > li::before { width: 28px; height: 28px; }
.rd-requirements, .help-page .sidebar-card { border-radius: 8px; }
.help-page .help-article { border-radius: 12px; }
.help-page .topic-grid section, .help-page .requirement-grid > div, .help-page .callout, .help-page .option-table, .help-page .annotation-list { border-radius: 8px; }
.help-page .help-end { border-radius: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid #8db8e8; outline-offset: 4px; }
.home :is(.rd-section, .rd-final) a:focus-visible, .docs-page main :focus-visible, .help-page .help-layout :focus-visible { outline-color: var(--rd-accent); }

/* 8. Visuals: preserve the product drawing; remove its decorative backdrop. */
.rd-blueprint > rect { display: none; }
.rd-blueprint text { font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif; font-size: 14px; }
.rd-hero-visual figcaption { border-color: #33424e; padding-top: 12px; }

/* 9. Motion: only short feedback, no ornamental loops. */
.button, .rd-text-link, .site-nav > a, .rd-theme-switch button, .sidebar-card a {
  transition: color 160ms var(--rd-ease), background-color 160ms var(--rd-ease), border-color 160ms var(--rd-ease);
}
.rd-text-link svg { transition: transform 160ms var(--rd-ease); }
.rd-text-link:hover svg { transform: translateX(2px); }

@media (min-width: 1600px) {
  .rd-hero { padding-top: 128px; }
  .rd-hero-grid { gap: 80px; }
}
@media (max-width: 1100px) {
  .rd-hero-grid { gap: 32px; }
  .rd-tool-layout, .rd-update-layout, .rd-faq-layout { gap: 48px; }
  .rd-years > div { padding: 24px 16px; }
}
@media (max-width: 960px) {
  .help-page .help-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .site-header, .header-inner { height: 64px; min-height: 64px; }
  .site-nav { top: 64px; padding: 16px 20px; gap: 4px; }
  .site-nav > a:not(.button) { padding: 12px; }
  .rd-hero { padding-top: 104px; }
  .rd-hero-grid { gap: 24px; }
  .rd-hero h1 { font-size: 40px; }
  .rd-lead { font-size: 15px; }
  .rd-section { --rd-space-section: 64px; }
  .rd-section-head { gap: 32px; margin-bottom: 32px; }
  .rd-feature { padding-block: 32px; }
  .rd-feature p { font-size: 14px; }
  .rd-tool-layout, .rd-update-layout, .rd-faq-layout { gap: 32px; }
  .rd-doc-layout { gap: 32px; padding-block: 48px 64px; }
  .rd-doc-sidebar nav a { font-size: 13px; gap: 8px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 16px; }
  .brand { font-size: 20px; }
  .brand-version { font-size: 11px; }
  .rd-hero { padding: 96px 0 32px; }
  .rd-hero-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 32px; }
  .rd-hero .rd-eyebrow { margin: 24px 0 12px; font-size: 12px; }
  .rd-hero h1 { font-size: clamp(32px, 8.5vw, 44px); line-height: 1.35; }
  .rd-lead { font-size: 15px; margin: 24px 0; }
  .rd-actions { gap: 16px; }
  .rd-text-link { font-size: 14px; gap: 8px; }
  .rd-hero-meta { font-size: 12px; line-height: 1.8; margin-top: 16px; }
  .rd-hero-visual { width: 100%; }
  .rd-blueprint { max-height: 280px; }
  .rd-blueprint text { font-size: 22px; }
  .rd-product-bar > span { font-size: 12px; letter-spacing: 0; }
  .rd-product-bar > a { font-size: 12px; }
  .rd-theme-switch { margin-top: 4px; }
  .rd-theme-switch button { min-height: 36px; }
  .rd-screen-caption { font-size: 12px; line-height: 1.7; margin-top: 12px; }
  .rd-interop .container > div { font-size: 14px; gap: 16px; }
  .rd-interop p { font-size: 13px; }
  .rd-section { --rd-space-section: 56px; }
  .rd-section h2 { font-size: 30px; }
  .rd-section-head { gap: 24px; margin-bottom: 32px; }
  .rd-section-head > p { font-size: 15px; }
  .rd-feature-grid { grid-template-columns: 1fr; }
  .rd-feature, .rd-feature:nth-child(even) { border-left: 0 !important; padding: 24px 0 32px !important; }
  .rd-feature-top { margin-bottom: 16px; }
  .rd-feature h3 { font-size: 20px; }
  .rd-feature p { max-width: none; font-size: 15px; }
  .rd-steps { gap: 32px 24px; }
  .rd-steps h3 { font-size: 16px; }
  .rd-steps p { font-size: 14px; }
  .rd-tool-list dt { font-size: 16px; }
  .rd-tool-list dd { font-size: 14px; }
  .rd-edit-preview figcaption { font-size: 12px; padding: 12px 16px; gap: 8px; }
  .rd-edit-preview figcaption span:first-child { font-size: 14px; }
  .rd-years > div { padding: 24px 16px; }
  .rd-install-note > p { font-size: 13px; }
  .rd-update-layout > div > p:not(.rd-eyebrow), .rd-update-list p { font-size: 14px; }
  .rd-update-list h3 { font-size: 20px; }
  .rd-final { padding-block: 56px; }
  .rd-final h2 { font-size: 36px; }
  .rd-final .container > p:last-child, .footer-bottom { font-size: 12px; }
  .footer-main nav { font-size: 13px; gap: 8px 24px; }
  .rd-doc-hero { padding: 96px 0 40px; }
  .rd-doc-hero .container > p:not(.rd-eyebrow) { font-size: 15px; }
  .rd-doc-layout { gap: 40px; padding-block: 32px 56px; }
  .rd-doc-sidebar nav { border-radius: 8px; padding: 8px; }
  .rd-doc-sidebar nav a { min-height: 44px; font-size: 12px; }
  .rd-doc-section { margin-bottom: 40px; padding-bottom: 40px; }
  .rd-doc-section h2 { font-size: 26px; }
  .rd-doc-section p, .rd-doc-steps p { font-size: 15px; }
  .rd-doc-steps h3 { font-size: 16px; }
  .rd-callout { padding: 16px; }
  .help-page .help-hero { padding: 104px 0 40px; }
  .help-page .help-hero h1 { font-size: 34px; }
  .help-page .help-hero p { font-size: 15px; }
  .help-page .help-article { padding: 24px 20px; border-radius: 12px; }
  .help-page .help-article h2 { font-size: 25px; }
  .help-page .help-layout { width: calc(100% - 32px); padding-block: 32px 56px; }
  .help-page .sidebar-card nav a { font-size: 13px; }
  .help-page .topic-grid, .help-page .requirement-grid { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
