/* Desktop Publishing section (desktoppublishing.html and desktoppublishing-*.html) - 2026-11-05, Desktop Publishing 1.1.
   Built by scripts/site/build-desktoppublishing-section.py (same pattern as takeoffstudio.css). Loaded after site.css, app-page.css and guide.css;
   only adds what those don't have. */

/* Section nav under the hero: Overview, Features, Guides, Help, Downloads, Free vs Pro, What's new */
.dp-subnav { border-bottom: 1px solid var(--line); background: #ffffff; }
.dp-subnav .wrap { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dp-subnav .wrap::-webkit-scrollbar { display: none; }
.dp-subnav a {
  flex: none; padding: 14px 12px; font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.dp-subnav a:hover { color: var(--ink); }
.dp-subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--tape); }

/* Free / Pro badge beside a heading or card title */
.dp-badge {
  display: inline-block; vertidp-align: middle; margin-left: 8px; padding: 3px 8px; border-radius: 6px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; line-height: 1.4;
  background: var(--web-bg); color: var(--web-fg);
}
.dp-badge.pro { background: var(--ink); color: var(--tape); }
h1 .dp-badge { font-size: 14px; padding: 5px 10px; position: relative; top: -10px; letter-spacing: 0.06em; }

/* Feature page hero: copy above, the annotated screenshot full width below */
.dp-hero .lede { max-width: 760px; }
.dp-hero .shot-frame { margin-top: 36px; }
.dp-hero .shot-frame img, .dp-shot img { display: block; width: 100%; height: auto; }
.dp-shot { margin-top: 28px; }
.dp-shot figcaption { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

/* Feature cards on the hub and in "more features" rows */
.dp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.dp-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #ffffff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.dp-card:hover { border-color: #b9c4d3; transform: translateY(-2px); color: inherit; }
.dp-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); }
.dp-card .dp-card-body { padding: 16px 18px 20px; }
.dp-card h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.dp-card h3 .dp-badge { margin-left: 6px; position: relative; top: -2px; }
.dp-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--slate); }

/* Who it's for */
.dp-who { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 28px; }
.dp-who li { border-left: 3px solid var(--tape); padding: 4px 0 4px 14px; line-height: 1.6; color: var(--slate); }
.dp-who strong { color: var(--ink); }

/* Help: topic list beside the topic */
.dp-help { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.dp-help-nav { position: sticky; top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 10px; background: #ffffff; }
.dp-help-nav p { margin: 6px 8px 8px; }
.dp-help-nav a { display: block; padding: 8px 10px; border-radius: 9px; color: var(--slate); text-decoration: none; font-size: 15px; }
.dp-help-nav a:hover { background: var(--mist); color: var(--ink); }
.dp-help-nav a[aria-current="page"] { background: var(--ink); color: #ffffff; }
.dp-help-items { display: grid; gap: 0; }
.dp-help-item { padding: 22px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.dp-help-item:first-child { padding-top: 0; }
.dp-help-item h2 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.02em; }
.dp-help-item p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--slate); }
.dp-help-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.dp-note { border-radius: 12px; background: var(--tape-soft); border: 1px solid #f0d9a8; padding: 14px 18px; margin: 0 0 28px; font-size: 15px; line-height: 1.6; }
.dp-note p { margin: 0; }
kbd {
  display: inline-block; min-width: 1.6em; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-strong);
  border-bottom-width: 2px; background: #ffffff; font-family: var(--mono); font-size: 0.86em; font-weight: 600;
  color: var(--ink); text-align: center; line-height: 1.5; white-space: nowrap;
}
.dp-keys { min-width: 0; }
.dp-keys td:first-child { white-space: nowrap; width: 1%; padding-right: 22px; }
@media (max-width: 560px) { .dp-keys td:first-child { white-space: normal; padding-right: 12px; } .dp-keys td { overflow-wrap: anywhere; } }

/* Downloads */
.dp-downloads { display: grid; gap: 18px; }
.dp-download { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #ffffff; }
.dp-download .dp-ext { width: 64px; height: 64px; border-radius: 14px; background: var(--ink); color: var(--tape); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; }
.dp-download h3 { margin: 0 0 6px; font-size: 19px; }
.dp-download p { margin: 0 0 8px; color: var(--slate); line-height: 1.6; font-size: 15.5px; }
.dp-download .dp-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 0; }

/* Pricing */
.dp-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.dp-price { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #ffffff; }
.dp-price.pro { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.dp-price .mono { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--muted); }
.dp-price.pro .mono { color: var(--tape); }
.dp-price .amount { display: block; margin: 10px 0 4px; font-size: 40px; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
.dp-price.pro .amount { color: #ffffff; }
.dp-price p { margin: 0; color: var(--slate); line-height: 1.6; font-size: 15px; }
.dp-price.pro p { color: #c7d0dc; }

/* What's new */
.dp-release { border-top: 2px solid var(--ink); padding-top: 18px; margin-top: 44px; }
.dp-release:first-child { margin-top: 0; }
.dp-release h2 { margin: 0 0 4px; font-size: 30px; }
.dp-release .dp-date { margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.03em; }
.dp-release h3 { margin: 22px 0 8px; font-size: 18px; }
.dp-release ul { margin: 0; padding-left: 20px; line-height: 1.75; color: var(--slate); }

/* "Open it in Calendar" panel on related pages and written guides */
.dp-open { margin-top: 18px; max-width: 860px; }
.dp-open .related-grid { margin-top: 10px; }

@media (max-width: 900px) {
  .dp-help { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dp-help-nav { position: static; order: 2; }
}
@media (max-width: 560px) {
  .dp-download { grid-template-columns: 1fr; }
  .dp-download .dp-ext { width: 56px; height: 56px; font-size: 10.5px; }
  h1 .dp-badge { top: -6px; }
}

/* Steps: up to five in a row */
.dp-steps { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.dp-subnav a:first-child { padding-left: 0; }

/* Calendar additions */
a.dp-fcard { display: block; text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
a.dp-fcard:hover { border-color: #b9c4d3; transform: translateY(-2px); color: inherit; }
a.dp-fcard h3 { color: var(--ink); }
.dp-help-item ul { margin: 10px 0 0; padding-left: 20px; line-height: 1.7; color: var(--slate); font-size: 15.5px; }
.dp-help-item li + li { margin-top: 4px; }
.dp-files { margin: 0 0 10px; padding-left: 18px; line-height: 1.7; color: var(--slate); font-size: 15px; }
.dp-files code, .dp-download code { font-size: 0.9em; }
.dp-soon { display: inline-block; padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--line-strong); font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.related-card strong .dp-badge { display: inline-block; margin-left: 6px; position: relative; top: -1px; font-size: 10px; line-height: 1.4; padding: 2px 6px; color: var(--tape); }
.related-card strong .dp-badge:not(.pro) { color: var(--web-fg); }
.dp-pro .pro-compare { margin-top: 32px; }
.app-hero .shot-frame picture img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .dp-soon { white-space: normal; } }
