/* Product settings guide: MIDI settings and the plug-in's Settings › License screen. The guide reads as one document. */
.setup { padding-top: clamp(3rem, 7vw, 6.75rem); padding-bottom: min(9vw, 7rem); }
.setup-intro { max-width: 60rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.setup-product, .setup-kicker { margin: 0; font-size: .79rem; font-weight: 700; letter-spacing: .045em; }
.setup-product a { color: var(--mc-purple); text-decoration: none; }
.setup-product a:hover { text-decoration: underline; }
.setup-intro h1 { margin: .45rem 0 .8rem; font-family: var(--mc-display); font-size: clamp(3.5rem, 8vw, 6.75rem); font-weight: 650; line-height: 1.05; letter-spacing: -.055em; }
.setup-intro h1 span { color: var(--mc-purple); }
.setup-intro > p:last-child { max-width: 41rem; margin: 0; font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.6; }
.setup-layout { display: grid; grid-template-columns: minmax(12rem, .65fr) minmax(0, 2.35fr); column-gap: clamp(1.5rem, 6vw, 6rem); border-top: 1px solid #c8c5bd; }
.setup-nav { position: sticky; top: 6rem; align-self: start; margin-top: 2.5rem; }
.setup-nav a { display: block; width: max-content; max-width: 100%; padding: .45rem 0; color: #49474c; font-weight: 600; text-decoration: none; }
.setup-nav a[aria-current="location"], .setup-nav a:hover { color: var(--mc-purple); text-decoration: underline; text-underline-offset: .3rem; }
.setup-content { min-width: 0; max-width: 56rem; }
.setup-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; scroll-margin-top: .5rem; }
.setup-section + .setup-section { border-top: 1px solid #c8c5bd; }
.setup-kicker { color: var(--mc-purple); }
.setup-section h2 { margin: .35rem 0 .9rem; font-family: var(--mc-display); font-size: clamp(2.2rem, 4.1vw, 3.5rem); font-weight: 620; line-height: 1.12; letter-spacing: -.045em; }
.setup-section > p:not(.setup-kicker), .setup-facts dd, .license-delivery p, .license-steps { max-width: 47rem; font-size: 1rem; line-height: 1.62; }
.setup .setup-shot { margin: 1.6rem 0 2rem; }
.setup-shot img { display: block; width: 100%; height: auto; border: 1px solid #c9c5cf; border-radius: .75rem; background: #f1eef4; }
.setup-shot figcaption { margin: .65rem 0 0; color: #5c5860; font-size: .85rem; line-height: 1.5; }
.setup-facts { margin: 1.2rem 0 0; }
.setup-facts > div { display: grid; grid-template-columns: minmax(8.5rem, .68fr) minmax(0, 2fr); gap: 1rem; padding: .95rem 0; border-top: 1px solid #d8d4cc; }
.setup-facts dt { font-weight: 750; line-height: 1.6; }
.setup-facts dd { margin: 0; color: #454247; }
.license-steps { margin: 1.25rem 0 0; padding-left: 1.25rem; }
.license-steps li + li { margin-top: .5rem; }
.license-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.license-screens figure { margin: 0; }
.license-screens img { display: block; width: 100%; height: auto; border: 1px solid #d8d4cc; border-radius: 1rem; background: #fff; }
.license-screens figcaption { margin: .5rem 0 0; color: #5c5860; font-size: .85rem; }
.setup-links, .setup-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.license-delivery { padding: .7rem 0; border-bottom: 1px solid #d8d4cc; }
.license-delivery summary { width: fit-content; cursor: pointer; padding: .4rem 0; font-weight: 700; }
.setup-links { margin-top: 1.2rem; }
.setup-links a, .license-delivery a { color: var(--mc-purple); font-weight: 700; text-underline-offset: .25rem; }
.setup-footer { border-top: 1px solid #c8c5bd; padding-top: 1.1rem; padding-bottom: 2rem; }
.setup-footer a { color: var(--mc-ink); font-size: .88rem; text-underline-offset: .25rem; }
.setup :focus-visible, .setup-footer :focus-visible { outline: 2px solid var(--mc-purple); outline-offset: 4px; }
@media(max-width: 760px) {
  .setup-layout { display: block; }
  .setup-nav { position: static; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid #c8c5bd; font-size: .9rem; }
  .setup-nav a { padding: .45rem 0; }
  .setup-intro { margin-bottom: 1.75rem; }
}
@media(max-width: 480px) {
  .license-screens { grid-template-columns: 1fr; }
  .setup-facts > div { grid-template-columns: 1fr; gap: .12rem; }
  .setup-links { align-items: flex-start; flex-direction: column; gap: .8rem; }
}

/* ---- D7 guard: begin ---- */
/* Design D7: lese-reskin.css (shared) sets heading fonts and h1/h2 letter-spacing with !important and colours
   every `main a[href]` blue. These are !important copies of this file's own color / font-family / letter-spacing
   declarations, same selectors and order, so the MIDI Canvas body keeps its design. Regenerate after editing the
   rules above; tests/browser/midi-canvas-pages.browser.mjs compares computed styles with and without the shared CSS. */
.setup-product, .setup-kicker { letter-spacing: .045em !important; }
.setup-product a { color: var(--mc-purple) !important; }
.setup-intro h1 { font-family: var(--mc-display) !important; letter-spacing: -.055em !important; }
.setup-intro h1 span { color: var(--mc-purple) !important; }
.setup-nav a { color: #49474c !important; }
.setup-nav a[aria-current="location"], .setup-nav a:hover { color: var(--mc-purple) !important; }
.setup-kicker { color: var(--mc-purple) !important; }
.setup-section h2 { font-family: var(--mc-display) !important; letter-spacing: -.045em !important; }
.setup-shot figcaption { color: #5c5860 !important; }
.setup-facts dd { color: #454247 !important; }
.license-screens figcaption { color: #5c5860 !important; }
.setup-links a, .license-delivery a { color: var(--mc-purple) !important; }
.setup-footer a { color: var(--mc-ink) !important; }
/* ---- D7 guard: end ---- */
