/* ============================================================================
   TRESSO marketing - shared design system + download page styles.
   Final color system. No per-page muddy navies, no black strips, no dim gray.
   ============================================================================ */
:root {
  /* Final TRESSO color system */
  --bg-header:      #00061E;
  --bg-page:        #0D1B38;
  --bg-hero:        #0D1B38;
  --bg-section:     #0D1B38;
  --bg-section-alt: #0D1B38;

  --bg-card:        #0C234A;
  --bg-card-soft:   #102B5C;
  --bg-panel:       rgba(5, 18, 42, 0.78);

  --border-soft:    rgba(96, 165, 250, 0.22);
  --border-strong:  rgba(96, 165, 250, 0.44);
  --shadow-card:    0 26px 80px rgba(0, 0, 0, 0.34);
  --shadow-glow:    0 24px 90px rgba(59, 130, 246, 0.18);

  --text-main:      #F8FAFC;
  --text-muted:     #CBD5E1;
  --text-soft:      #9FB0C8;

  --blue:           #0072ff;
  --blue-bright:    #60A5FA;
  --violet:         #00c6ff;
  --violet-bright:  #A78BFA;

  --gradient-main:  #0072ff;
  --gradient-text:  linear-gradient(to right, #0072ff, #00c6ff);

  /* Compatibility aliases so existing markup resolves to the new system. */
  --text-b:      var(--text-muted);
  --text-m:      var(--text-muted);
  --text-s:      var(--text-soft);
  --blue-h:      var(--blue-bright);
  --blue-border: var(--border-soft);
  --border:      var(--border-soft);
  --grad-cta:    var(--gradient-main);
  --r-btn:       999px;
  --r-md:        14px;
  --r-lg:        20px;
}

/* ── Page base ─────────────────────────────────────────────────────────── */
body { scrollbar-gutter: stable; font-family: 'Poppins', sans-serif; color: var(--text-muted); line-height: 1.6; overflow-x: hidden; background: var(--bg-page) !important; }
a { color: var(--blue-bright); text-decoration: none; transition: color 0.2s; }
a:hover:not(.btn-download) { color: var(--blue-bright); }
h1, h2, h3 { color: var(--mk-heading); line-height: 1.2; font-weight: 700; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.wrap-wide { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.page-hero { text-align: center; }
/* ── Requirements (same card style as download cards) ──────────────────── */
.req-section { padding: 64px 0; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(59,130,246,0.09); border: 1px solid var(--border-soft); color: var(--blue-bright); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 15px; border-radius: var(--r-btn); margin-bottom: 22px; }
.req-section h2 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: 0.015em; line-height: 1.25; margin-bottom: 20px; }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.req-card { background: linear-gradient(180deg, var(--bg-card-soft) 0%, var(--bg-card) 100%); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-card); }
.req-card-title { font-size: 10px; font-weight: 700; color: var(--text-soft); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.req-list { display: flex; flex-direction: column; gap: 5px; list-style: none; margin: 0; padding: 0; }
.req-item { font-size: 13px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.req-item::before { content: ''; width: 4px; height: 4px; background: var(--blue-bright); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }

/* ── Install steps ─────────────────────────────────────────────────────── */
.install-steps { margin-bottom: 8px; }
.install-steps h2 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 800; letter-spacing: 0.015em; line-height: 1.25; margin-bottom: 18px; }
.step-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 900px; }
.step-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--mk-line); align-items: flex-start; }
.step-item:last-child, .step-item:nth-last-child(2) { border-bottom: none; }
@media (max-width: 640px) {
  .step-list { grid-template-columns: 1fr; max-width: 560px; }
  .step-item:nth-last-child(2) { border-bottom: 1px solid var(--mk-line); }
  .step-item:last-child { border-bottom: none; padding-bottom: 0; }
}
.step-num { width: 26px; height: 26px; border-radius: 50%; background: rgba(59,130,246,0.10); border: 1px solid var(--border-soft); color: var(--blue-bright); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
/* Direct children only: the brand mark inside a title or body line stays inline. */
.step-body > strong { display: block; font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 3px; letter-spacing: 0.005em; }
.step-body > span { display: block; font-size: 13px; color: var(--text-muted); line-height: 1.45; max-width: 46ch; }

/* ── Setup notes ───────────────────────────────────────────────────────── */
.setup-notes { max-width: 560px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 8px; }
.setup-note { padding: 12px 16px; border-radius: var(--r-md); background: rgba(59,130,246,0.06); border: 1px solid var(--border-soft); text-align: left; }
.setup-note-title { display: block; font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; letter-spacing: 0.005em; }
.setup-note-body { font-size: 13px; color: var(--text-muted); line-height: 1.45; margin: 0; }
.setup-note-body a { color: var(--blue-bright); text-decoration: none; }
.setup-note-body a:hover { text-decoration: underline; }
.setup-note-list { margin: 4px 0 0; padding-left: 18px; font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.setup-note-list strong { color: var(--text-main); }

/* ── Support strip (section-alt, never black/gray) ─────────────────────── */
.support-strip { background: var(--bg-section-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); padding: 48px 0; margin-bottom: 0; text-align: center; }
.support-strip h2 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 800; letter-spacing: 0.015em; margin-bottom: 10px; }
.support-strip p { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; }

/* ── Footer (matches header / logo dark) ───────────────────────────────── */
.site-footer { border-top: 1px solid var(--border-soft); padding: 48px 0 36px; background: var(--bg-header); }
.site-footer .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 36px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; text-align: left; align-items: flex-start; }
.footer-links h4 { font-size: 10px; font-weight: 700; color: var(--mk-heading); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--text-soft); line-height: 1.7; }
.footer-trademark { font-size: 11px; color: var(--text-soft); margin-top: 3px; }
.footer-disclaimer { font-size: 11px; color: var(--text-soft); margin-top: 2px; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: var(--text-soft); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-muted); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
}
@media (max-width: 700px) {
  .req-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

/* ════════════════ Download page - trust strip, requirements, install steps ════════════════
   Appended last so these win over the base rules above. */

/* Slim trust strip (replaces the old three info-card grid). */
.download-trust-strip {
  margin-top: 34px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-section-alt);
  padding: 22px 0;
}
.download-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 26px; }
.download-trust-grid > div { display: flex; flex-direction: column; gap: 4px; padding-left: 15px; position: relative; }
.download-trust-grid > div::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 2px;
  border-radius: 2px; background: linear-gradient(180deg, #0072ff, #3B82F6);
}
.download-trust-grid strong { font-size: 13px; color: var(--text-main); font-weight: 700; }
.download-trust-grid span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* Lighter requirements. */
.req-section { padding: 48px 0; }
.req-card { padding: 16px 18px; }

/* Install steps = two-column numbered grid, no row dividers. */
.step-list { grid-template-columns: 1fr 1fr; max-width: 900px; gap: 6px 44px; }
.step-item { padding: 15px 0; border-bottom: none; }
.step-item:nth-last-child(2) { border-bottom: none; }
.step-item:last-child { border-bottom: none; }
@media (max-width: 720px) { .step-list { grid-template-columns: 1fr; max-width: 560px; } }
.step-num {
  width: 30px; height: 30px; font-size: 12px; color: var(--mk-heading); border: none;
  background: var(--mk-primary);
  box-shadow: 0 5px 14px rgba(80,150,255,0.32);
}

/* Tighter support strip - not another hero. */
.support-strip { padding: 34px 0; }
.support-strip h2 { font-size: clamp(16px, 2vw, 20px); margin-bottom: 8px; }
.support-strip p { font-size: 14px; margin-bottom: 16px; }

@media (max-width: 860px) {
  .download-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
}
@media (max-width: 560px) {
  .download-trust-grid { grid-template-columns: 1fr; }
}
/* ════════════════ Download page - trial strip and What's included (2026-10-30) ════════════════ */
/* Trial, pricing and updates: two compact items; each block is as tall as its own text. */
.download-trust-strip .download-trust-grid { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: center; column-gap: 64px; align-items: start; }
@media (max-width: 560px) { .download-trust-strip .download-trust-grid { grid-template-columns: 1fr; justify-content: stretch; } }
/* The strip lines up with the two Performance / Desktop publishing notes above it (same container, same two columns) instead of two narrow items centered in empty space (owner rule: no empty space, 2026-10-30). Mobile is unchanged. */
@media (min-width: 561px) { .download-trust-strip .download-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; column-gap: 28px; } }

/* What's included - every selector is scoped under .download-features. */
.download-features { padding: 64px 0 56px; background: var(--bg-section); border-top: 1px solid var(--border-soft); }
.download-features .dlf-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.download-features .dlf-intro h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--mk-heading); margin: 0 0 14px;
}
.download-features .dlf-lead { font-size: 1.0625rem; line-height: 1.65; color: var(--text-muted); margin: 0 auto; max-width: 660px; }
.download-features .dlf-platforms {
  list-style: none; margin: 30px auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px;
}
.download-features .dlf-platforms li {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--mk-heading); font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
}
.download-features .dlf-platforms svg { width: 24px; height: 24px; flex: 0 0 24px; display: block; }
.download-features .dlf-platform-note { text-align: center; font-size: 1rem; line-height: 1.6; color: var(--text-soft); margin: 14px auto 0; max-width: 680px; }
.download-features .dlf-grid {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch;
}
.download-features .dlf-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 12px; align-content: start; min-width: 0;
  padding: 24px; border-radius: var(--r-md);
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--bg-card-soft) 0%, var(--bg-card) 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}
.download-features .dlf-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--mk-link); background: rgba(96, 165, 250, 0.12); border: 1px solid var(--border-strong);
}
.download-features .dlf-icon svg { width: 22px; height: 22px; }
.download-features .dlf-card h3 { align-self: center; margin: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--mk-heading); letter-spacing: -0.005em; }
.download-features .dlf-card p { grid-column: 1 / -1; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--text-muted); }
.download-features .dlf-notes {
  margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-items: start;
}
.download-features .dlf-notes p {
  margin: 0; padding-left: 15px; position: relative;
  font-size: 1rem; line-height: 1.6; color: var(--text-muted);
}
.download-features .dlf-notes p::before {
  content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px;
  border-radius: 2px; background: linear-gradient(180deg, #0072ff, #00c6ff);
}
.download-features .dlf-notes strong:not(.grad) { color: var(--text-main); }
@media (max-width: 1024px) {
  .download-features .dlf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .download-features { padding: 44px 0 40px; }
  .download-features .dlf-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
  .download-features .dlf-card { padding: 20px; }
  .download-features .dlf-notes { grid-template-columns: 1fr; }
}

/* ════════════════ Download page - one compact flow (owner, 2026-10-30) ════════════════
   Choose your computer, enter your license key, get your download link. Every selector is scoped under
   .download-start. */
.download-start { padding: clamp(36px, 5vw, 72px) 0; }
.download-start .wrap-wide { max-width: 960px; }
.download-start__header { margin-bottom: 28px; }
.download-start__header h1 { margin: 0 0 12px; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.1; }
.download-start__header > p { margin: 0; color: var(--mk-body); font-size: 1.125rem; line-height: 1.6; }
.download-start__panel { overflow: hidden; border: 1px solid var(--mk-line); border-radius: 20px; background: var(--mk-card); }
.download-start #download-gate { padding: clamp(20px, 4vw, 36px); }
.download-start__platforms { min-width: 0; margin: 0; padding: 0; border: 0; }
.download-start__platforms legend, .download-start__license > label { display: block; margin-bottom: 14px; padding: 0; color: var(--mk-body); font-size: 1.05rem; font-weight: 700; }
.download-start__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.download-start__choice { display: flex; align-items: flex-start; gap: 10px; min-width: 0; padding: 18px 14px; border: 1px solid var(--mk-line); border-radius: 12px; cursor: pointer; }
.download-start__choice:has(input:checked) { border-color: var(--mk-line); background: rgba(0, 114, 255, 0.14); }
.download-start__choice:focus-within { outline: 2px solid var(--mk-focus); outline-offset: 3px; }
.download-start__choice input { flex: 0 0 auto; margin: 4px 0 0; accent-color: #38bdf8; }
.download-start__choice strong, .download-start__choice small { display: block; }
.download-start__choice strong { color: var(--mk-heading); font-size: 0.95rem; line-height: 1.5; }
.download-start__choice small { margin-top: 4px; color: var(--mk-body); font-size: 0.8rem; line-height: 1.5; }
.download-start__help, .download-start__update, .download-start__availability { color: var(--mk-body); font-size: 0.875rem; line-height: 1.65; }
.download-start__help { margin: 12px 0 0; }
.download-start__license { margin-top: 28px; }
.download-start__license > label { margin-bottom: 0; }
.download-start__entry { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.download-start__entry input { flex: 1 1 240px; min-width: 0; max-width: 100%; padding: 14px; border: 1px solid var(--mk-line); border-radius: 10px; background: var(--mk-recessed); color: var(--mk-heading); font: inherit; }
.download-start__entry input:focus-visible, .download-start a:focus-visible { outline: 2px solid var(--mk-focus); outline-offset: 3px; }
.download-start a { color: var(--mk-link); text-underline-offset: 3px; }
.download-start__status { margin-top: 12px; color: var(--mk-body); line-height: 1.6; overflow-wrap: anywhere; }
.download-start__trial { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding: 20px clamp(20px, 4vw, 36px); border-top: 1px solid var(--mk-line); background: rgba(0, 114, 255, 0.06); }
.download-start__trial p { margin: 0; color: var(--mk-body); }
.download-start__update { margin: 18px 0 0; }
.download-start__availability { margin: 10px 0 0; }
@media (max-width: 700px) { .download-start__choices { grid-template-columns: 1fr; } .download-start__entry button { width: 100%; } }

/* ── Help Center: the site's document type scale (same as the legal and policy pages) ── */
@media screen { html body .help-doc { --head: var(--mk-heading); --text: var(--mk-body); --text-2: var(--mk-support); } }
html body .help-doc { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html body .help-doc h1, html body .help-doc .help-qs-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; }
html body .help-doc .lede { font-size: 13.5px; line-height: 1.76; }
html body .help-doc .article h2 { margin: 32px 0 10px; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
html body .help-doc .article h2:first-of-type { margin-top: 4px; }
html body .help-doc .article h3 { margin: 20px 0 8px; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
html body .help-doc .article p, html body .help-doc .article li { font-size: 13.5px; font-weight: 400; line-height: 1.76; }
html body .help-doc .article p { margin: 0 0 12px; }
html body .help-doc .article ol, html body .help-doc .article ul { margin: 0 0 14px; padding-left: 20px; }
html body .help-doc .article li, html body .help-doc .article h2 + ul li { margin: 0 0 6px; }
html body .help-doc .help-qs .article .qs-step h2.qs-step-h { font-size: 15px; font-weight: 700; line-height: 1.3; }
html body .help-doc .help-qs .article p.qs-note { font-size: 13px; line-height: 1.6; }
html body .help-doc .help-qs .article .qs-callout p { font-size: 13.5px; line-height: 1.76; }
html body .help-doc .help-home .browse-h { line-height: 1.3; }
html body .help-doc .cat h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
@media (max-width: 620px) { html body .help-doc h1, html body .help-doc .help-qs-hero h1 { font-size: 34px; } }
