/* downloads.css — page styles for /support/downloads/
   Builds on base.css tokens and style.css components. */

/* ============================================
   PAGE HERO + DOWNLOAD CARD
   ============================================ */
.dl-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.dl-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(var(--space-12), 5vw, var(--space-20)) var(--space-6);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
.dl-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--body-text);
  margin-bottom: var(--space-6);
}
.dl-breadcrumb a {
  color: var(--body-text);
}
.dl-breadcrumb a:hover {
  color: var(--royal-blue);
}
.dl-breadcrumb__sep {
  color: var(--border);
  user-select: none;
}
.dl-hero__title {
  font-size: var(--text-2xl);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: var(--space-5);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.dl-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--body-text);
  margin-bottom: var(--space-8);
  font-weight: 400;
  max-width: 540px;
  line-height: 1.6;
}
.dl-hero__points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.dl-hero__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--body-text);
  line-height: 1.6;
}
.dl-hero__point svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Download card */
.dl-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--royal-blue);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: 0 6px 28px rgba(7, 38, 53, 0.07);
}
.dl-card__platform {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.dl-card__platform-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(51, 102, 255, 0.08);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dl-card__platform-name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.dl-card__platform-sub {
  font-size: var(--text-xs);
  color: var(--body-text);
  margin-top: 2px;
}
.dl-card__btn {
  width: 100%;
}
.dl-card__help {
  font-size: var(--text-xs);
  color: var(--body-text);
  text-align: center;
  margin-top: var(--space-3);
}
.dl-card__help a {
  color: var(--royal-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dl-card__help a:hover {
  color: var(--navy);
}
.dl-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
.dl-card__meta-item dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--body-text);
  margin-bottom: 2px;
}
.dl-card__meta-item dd {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

/* ============================================
   WHAT YOU'LL SEE (visual walkthrough)
   ============================================ */
.dl-shots__title {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-top: var(--space-16);
  margin-bottom: var(--space-6);
}
.dl-shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.dl-shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dl-shot__frame {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 240px;
}
.dl-shot__frame svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.dl-shot__frame--app {
  padding: var(--space-4);
}

/* Windows 11 window chrome around the app screenshot */
.dl-win {
  width: 100%;
  background: var(--white);
  border: 1px solid #d5dde3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(7, 38, 53, 0.16);
}
.dl-win__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f5;
}
.dl-win__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-family: 'Segoe UI', var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
  color: #1b1b1b;
}
.dl-win__title-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dl-win__title img {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.dl-win__controls {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.dl-win > img {
  display: block;
  width: 100%;
  height: auto;
}
.dl-shot figcaption {
  padding: var(--space-5) var(--space-6);
}
.dl-shot figcaption strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.dl-shot figcaption p {
  font-size: var(--text-xs);
  color: var(--body-text);
  line-height: 1.6;
}

/* ============================================
   BEFORE YOU START (requirements)
   ============================================ */
.dl-requirements {
  background: var(--white);
  padding: clamp(var(--space-16), 6vw, var(--space-24)) 0;
}
.dl-requirements__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.dl-requirements__heading {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-12);
  max-width: 600px;
}
.dl-requirements__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

/* ============================================
   VERSION HISTORY
   ============================================ */
.dl-history {
  background: var(--light-bg);
  padding: clamp(var(--space-16), 6vw, var(--space-24)) 0;
}
.dl-history__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-inline: var(--space-6);
}
.dl-history__heading {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-8);
}
.dl-release {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  display: grid;
  grid-template-columns: 160px 160px 1fr;
  gap: var(--space-4);
  align-items: center;
}
.dl-release + .dl-release {
  margin-top: var(--space-3);
}
.dl-release__version {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.dl-release__version strong {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
}
.dl-release__badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green);
  background: rgba(0, 204, 153, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}
.dl-release__date {
  font-size: var(--text-sm);
  color: var(--body-text);
}
.dl-release__notes {
  font-size: var(--text-sm);
  color: var(--body-text);
}

/* ============================================
   BOTTOM CTA ACTIONS
   ============================================ */
.cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .dl-shots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .dl-hero__inner {
    grid-template-columns: 1fr;
  }
  .dl-card {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .dl-requirements__grid {
    grid-template-columns: 1fr;
  }
  .dl-shots {
    grid-template-columns: 1fr;
  }
  .dl-release {
    grid-template-columns: 1fr;
    gap: var(--space-1);
  }
}
