/* ==========================================================================
   Launch polish (Oct 2026): calm provider cards + clean download section.
   Loaded after styles.css / responsive.css. Phone + tablet tweaks for these
   components live in responsive.css (below 961px).
   ========================================================================== */

/* ---------------------------- Providers ---------------------------------- */
.prov-head {
  margin-bottom: clamp(16px, 2.4vh, 26px);
}
.prov-head .s-title { margin-bottom: 10px; }
.prov-head .s-sub { max-width: 600px; margin-inline: auto; }

.prov-cards-grid { gap: 20px; }

/* Card: one surface, one accent, no stickers. Overrides the old spotlight look. */
.prov-card.pc2 {
  min-height: 0;
  padding: 26px 26px 24px;
  border-radius: 22px;
  gap: 0;
  transform: none;
  opacity: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
html[data-theme="light"] .prov-card.pc2 {
  background: #fbf7ef;
  border-color: rgba(90, 62, 32, 0.14);
  box-shadow: 0 6px 18px rgba(90, 62, 32, 0.05);
  opacity: 1;
}
.prov-card.pc2:not(.is-active):hover {
  transform: none;
  opacity: 1;
  border-color: rgba(169, 64, 19, 0.30);
  box-shadow: 0 10px 26px rgba(90, 62, 32, 0.08);
}
html[data-theme="dark"] .prov-card.pc2:not(.is-active):hover {
  border-color: rgba(239, 170, 115, 0.32);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.30);
}
.prov-card.pc2.is-active,
.prov-card.pc2.is-active:hover {
  transform: translateY(-3px);
  background: var(--paper);
  border-color: rgba(239, 170, 115, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}
html[data-theme="light"] .prov-card.pc2.is-active,
html[data-theme="light"] .prov-card.pc2.is-active:hover {
  background: #ffffff;
  border-color: rgba(169, 64, 19, 0.38);
  box-shadow: 0 18px 40px rgba(90, 62, 32, 0.11);
}

.pc2__identity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.pc2__identity .prov-card__flow-icon { width: 18px; height: 18px; color: var(--accent); }
.pc2__badge {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
html[data-theme="light"] .pc2__badge { color: #8f3510; }
html[data-theme="dark"] .pc2__badge { color: #efaa73; }

.pc2__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
}

.pc2__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.pc2__label--muted { color: var(--muted); font-weight: 700; }

.pc2__free {
  flex: 1 1 auto;               /* equal-height free boxes across the 3 cards */
  padding: 16px 16px 6px;
  border-radius: 14px;
  background: var(--well);
  border: 1px solid transparent;
}
html[data-theme="light"] .pc2__free { background: #f3eadb; }
html[data-theme="dark"] .pc2__free { background: rgba(255, 255, 255, 0.045); }

.pc2__list { list-style: none; margin: 0; padding: 0; }
.pc2__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 10px;
}
.pc2__list b { color: var(--ink); font-weight: 700; }
.pc2__check {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent);
}

.pc2__extras {
  padding-top: 18px;
}
.pc2__names {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.pc2__more {
  display: inline;
  padding: 0;
  margin-left: 2px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
html[data-theme="light"] .pc2__more { color: #8f3510; }
.pc2__more:hover { color: var(--accent-strong); }
html[data-theme="dark"] .pc2__more:hover { color: #f6c79f; }
.pc2__more:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

/* Compact laptop heights: keep the pinned section inside the viewport */
@media (min-width: 961px) and (max-height: 820px) {
  .prov-head { margin-bottom: 12px; }
  .prov-head .s-title { font-size: 32px; margin-bottom: 6px; }
  .prov-head .s-sub { font-size: 15px; }
  .prov-card.pc2 { padding: 22px 22px 20px; }
  .pc2__title { font-size: 23px; margin-bottom: 14px; }
  .pc2__list li { font-size: 14px; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .prov-head .s-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .prov-card.pc2, .prov-card.pc2.is-active { transform: none !important; }
}

/* ----------------------------- Download ---------------------------------- */
.dl-grid--v2 {
  align-items: stretch;
  margin-bottom: 18px;
}
.dl-col {
  flex: 1 1 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.dl-platform-card.dl-card2 {
  flex: 0 0 auto;
  max-width: none;
  width: 100%;
  padding: 26px 24px 22px;
  gap: 0;
}
.dl-card2 .dl-platform-icon { margin-bottom: 10px; }
.dl-card2 .dl-platform-title { font-size: 22px; margin-bottom: 4px; }
.dl-card2 .dl-platform-compat {
  display: block;
  margin-bottom: 18px;
  line-height: 1.5;
}
.dl-card2 .dl-cta-btn { height: 56px; font-size: 16px; }
.dl-card2 .dl-file-type { margin-top: 12px; font-size: 12.5px; opacity: 1; }
.dl-card2 .dl-other-format-link {
  font-size: inherit !important;
  color: inherit !important;
}

.dl-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 0 6px;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.dl-note p { margin: 0; }
.dl-note b { color: var(--ink); font-weight: 650; }
.dl-note__icon { flex: none; margin-top: 3px; color: var(--accent); }
.dl-note--plain { padding-left: 30px; }
.dl-note__how {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  white-space: nowrap;
}
html[data-theme="light"] .dl-note__how { color: #8f3510; }
.dl-note__how:hover { color: var(--accent-strong); }
html[data-theme="dark"] .dl-note__how:hover { color: #f6c79f; }
.dl-note__how:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 4px; }

.dl-why {
  max-width: 560px;
  margin: 6px auto 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
#dlRequirements.dl-requirements { margin-bottom: 18px; }
.dl-section .dl-wrap { max-width: 840px; }
