/* ── ControlC Desktop product page (/desktop). Loaded by that page only, after style.css. ── */
.dt-page { max-width: 1160px; margin: 0 auto; }

/* Hero: pitch, calls to action and the capture editor. */
.dt-hero { padding: 40px 0 0; text-align: center; }
.dt-hero .sp-sub { max-width: 620px; margin: 0 auto; }
.dt-hero .sp-headline, .dt-hero .sp-sub, .dt-copy h2 { text-wrap: balance; }
.dt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.btn.dt-btn-lg { height: 42px; padding: 0 26px; font-size: 15px; }
.dt-meta { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.dt-hero-shot { margin: 44px auto 0; }
.dt-hero-shot img, .dt-stage img { display: block; width: 100%; height: auto; }
.dt-hero-shot img {
  border: 1px solid #243244; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 7, 22, 0.6), 0 0 0 6px rgba(66, 180, 255, 0.05);
}

/* Features: a screenshot beside its copy, alternating sides. */
.dt-features { display: flex; flex-direction: column; gap: 80px; margin: 96px 0 80px; scroll-margin-top: 24px; }
.dt-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.dt-feature:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.dt-feature:nth-child(even) .dt-stage { order: 2; }
.dt-stage {
  display: grid; place-items: center; min-height: 340px; margin: 0; padding: 40px 36px;
  border: 1px solid #1c2b37; border-radius: 16px;
  background:
    radial-gradient(90% 80% at 12% 8%, rgba(94, 92, 230, 0.22), transparent 62%),
    radial-gradient(80% 80% at 92% 100%, rgba(20, 184, 166, 0.16), transparent 60%),
    #0e1a24;
}
.dt-stage img {
  max-width: var(--w, 100%); border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 7, 22, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.dt-copy h2 { margin-bottom: 14px; font-size: 27px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
.dt-copy p { margin-bottom: 12px; font-size: 15px; line-height: 1.6; color: #a3b3c2; }
.dt-copy p:last-child { margin-bottom: 0; }
.dt-copy strong { color: var(--text-strong); }
.dt-copy .dt-note { font-size: 13px; color: var(--text-muted); }
.dt-copy .sp-kbd { padding: 2px 7px; font-size: 12px; }
.dt-combo { white-space: nowrap; }
.dt-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; list-style: none; }
.dt-tools .chip { padding: 3px 10px; font-weight: 600; }
.dt-keys { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 14px; list-style: none; font-size: 14px; color: #a3b3c2; }

/* Smaller extras between the features and the downloads. */
.dt-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.dt-extra { padding: 20px 22px; border: 1px solid #1c2b37; border-radius: 14px; background: #0e1a24; }
.dt-extra h3 { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: #ffffff; }
.dt-extra p { font-size: 14px; line-height: 1.55; color: #90a2b2; }

/* Downloads */
.dt-download { scroll-margin-top: 16px; margin-bottom: 40px; }
.dt-notice { padding-bottom: 4px; }
.dt-notice .flash { margin-bottom: 0; }
table.dt-table td { padding-top: 12px; padding-bottom: 12px; }
table.dt-table .dt-size { white-space: nowrap; }
table.dt-table .dt-sha { word-break: break-all; font-size: 12px; color: var(--text-secondary); }
table.dt-table .dt-get { text-align: right; }
/* Filled buttons, whose text the table's link colour would otherwise hide. */
table.dt-table td a.btn, table.dt-table td a.btn:hover { color: var(--action-onPrimary); }

/* Room for the whole checksum on one line where the page is wide enough. */
@media (min-width: 1200px) { table.dt-table .dt-sha { white-space: nowrap; } }
@media (max-width: 900px) {
  .dt-hero { padding-top: 24px; }
  .dt-features { gap: 56px; margin: 64px 0 56px; }
  .dt-feature, .dt-feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .dt-feature:nth-child(even) .dt-stage { order: 0; }
  .dt-stage { min-height: 0; padding: 28px 20px; }
  .dt-extras { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .dt-hero .sp-headline { font-size: 29px; }
  .dt-hero .sp-sub { font-size: 15px; }
  .dt-hero-shot { margin-top: 32px; }
  .dt-hero-shot img { border-radius: 10px; }
  .dt-stage { padding: 20px 14px; border-radius: 14px; }
  .dt-stage img { border-radius: 8px; }
  .dt-copy h2 { font-size: 23px; }
  /* The download table stacks: platform and button, then size and checksum. */
  table.dt-table thead { display: none; }
  table.dt-table, table.dt-table tbody { display: block; }
  table.dt-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; border-bottom: 1px solid var(--border-divider); }
  table.dt-table td { display: block; padding: 0; border: 0; }
  table.dt-table .dt-get { grid-column: 2; grid-row: 1; }
  table.dt-table .dt-size, table.dt-table .dt-sha, table.dt-table .dt-store { grid-column: 1 / -1; }
  table.dt-table [data-label]::before {
    content: attr(data-label) " "; font-family: 'Open Sans', 'Helvetica Neue', Roboto, Arial, sans-serif;
    font-weight: 700; color: var(--text-muted);
  }
}
