﻿/* Download page - conversion-focused layout */

.dl-page {
  overflow-x: hidden;
}

/* 鈹€鈹€ Hero 鈹€鈹€ */

.dl-hero-grid {
  align-items: center;
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.dl-kicker {
  align-items: center;
  background: #e6f7fc;
  border: 1px solid rgba(42, 156, 196, 0.18);
  border-radius: 999px;
  color: #2a9cc4;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 600;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
}

.dark .dl-kicker {
  background: rgba(42, 156, 196, 0.14);
  border-color: rgba(94, 200, 232, 0.22);
  color: #5ec8e8;
}

.dl-title {
  color: #020617;
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.dl-title-brand {
  color: #2a9cc4;
  margin-left: 0.12em;
}

.dark .dl-title {
  color: #f8fafc;
}

.dark .dl-title-brand {
  color: #5ec8e8;
}

.dl-subtitle {
  color: #475569;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  margin: 1rem 0 0;
  max-width: 34rem;
}

.dark .dl-subtitle {
  color: #94a3b8;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.85rem;
}

.dl-primary-btn {
  align-items: center;
  background: #2a9cc4;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(42, 156, 196, 0.28);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-weight: 700;
  gap: 0.15rem;
  justify-content: center;
  min-height: 3.5rem;
  min-width: min(100%, 17rem);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.dl-primary-btn:hover {
  background: #1f8fb8;
  box-shadow: 0 20px 42px rgba(42, 156, 196, 0.34);
  transform: translateY(-2px);
}

.dl-primary-btn-main {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  gap: 0.5rem;
}

.dl-primary-btn-sub {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.88;
}

.dl-secondary-btn {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ea;
  border-radius: 999px;
  color: #1e293b;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.dl-secondary-btn:hover {
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.dark .dl-secondary-btn {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.26);
  color: #e2e8f0;
}

.dl-badges {
  margin-top: 1.5rem;
}

/* 鈹€鈹€ Visual mock card 鈹€鈹€ */

.dl-mock-window {
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 0;
}

.dl-mock-titlebar {
  align-items: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
}

.dark .dl-mock-titlebar {
  background: rgba(15, 23, 42, 0.6);
  border-bottom-color: rgba(148, 163, 184, 0.16);
}

.dl-mock-brand {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.45rem;
}

.dark .dl-mock-brand {
  color: #e2e8f0;
}

.dl-mock-brand img {
  border-radius: 0.35rem;
}

.dl-mock-controls {
  display: inline-flex;
  gap: 0.35rem;
}

.dl-mock-controls span {
  background: #cbd5e1;
  border-radius: 999px;
  display: block;
  height: 0.55rem;
  width: 0.55rem;
}

.dark .dl-mock-controls span {
  background: #475569;
}

.dl-mock-body {
  padding: 1.15rem 1.15rem 0;
}

.dl-mock-success {
  align-items: flex-start;
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.dl-mock-success-icon {
  color: #2a9cc4;
  font-size: 1.65rem;
  line-height: 1;
}

.dl-mock-success strong {
  color: #0f172a;
  display: block;
  font-size: 0.98rem;
}

.dl-mock-success p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0.15rem 0 0;
}

.dark .dl-mock-success strong {
  color: #f1f5f9;
}

.dark .dl-mock-success p {
  color: #94a3b8;
}

.dl-mock-logo {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.dl-mock-logo img {
  border-radius: 0.85rem;
  box-shadow: 0 12px 28px rgba(42, 156, 196, 0.18);
}

.dl-trust-grid {
  display: grid;
  gap: 0.65rem 1rem;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}

.dl-trust-item {
  margin: 0;
}

.dl-trust-item dt {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}

.dl-trust-item dd {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0.12rem 0 0;
}

.dark .dl-trust-item dd {
  color: #f1f5f9;
}

.dl-compat-line {
  color: #64748b;
  font-size: 0.8rem;
  margin: 0.85rem 0 0;
  text-align: center;
}

.dark .dl-compat-line {
  color: #94a3b8;
}

.dl-meta-loading {
  color: #94a3b8;
  font-size: 0.75rem;
  margin: 0.5rem 0 0;
  text-align: center;
}

.dl-meta-loading[hidden] {
  display: none;
}

.dl-all-releases {
  margin: 0.35rem 0 0;
  text-align: center;
}

.dl-all-releases-link {
  color: #2a9cc4;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.dl-all-releases-link:hover {
  text-decoration: underline;
}

.dl-post-install {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  color: inherit;
  display: block;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease;
}

.dl-post-install:hover {
  background: #e2e8f0;
}

.dark .dl-post-install {
  background: rgba(15, 23, 42, 0.55);
  border-top-color: rgba(148, 163, 184, 0.14);
}

.dark .dl-post-install:hover {
  background: rgba(30, 41, 59, 0.75);
}

.dl-post-install-main {
  color: #0f172a;
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.dl-post-install-hint {
  color: #64748b;
  display: block;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.dark .dl-post-install-main {
  color: #f1f5f9;
}

.dark .dl-post-install-hint {
  color: #94a3b8;
}

/* 鈹€鈹€ SmartScreen 鈹€鈹€ */

.dl-smartscreen-card {
  align-items: center;
  background: #e6f7fc;
  border: 1px solid rgba(42, 156, 196, 0.16);
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
}

.dark .dl-smartscreen-card {
  background: rgba(42, 156, 196, 0.1);
  border-color: rgba(94, 200, 232, 0.18);
}

.dl-smartscreen-copy {
  align-items: flex-start;
  display: flex;
  flex: 1 1 16rem;
  gap: 0.75rem;
  min-width: 0;
}

.dl-smartscreen-icon {
  color: #2a9cc4;
  flex: 0 0 auto;
  font-size: 1.65rem;
  line-height: 1;
}

.dark .dl-smartscreen-icon {
  color: #5ec8e8;
}

.dl-smartscreen-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
}

.dl-smartscreen-note {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0.25rem 0 0;
}

.dark .dl-smartscreen-title {
  color: #f1f5f9;
}

.dark .dl-smartscreen-note {
  color: #94a3b8;
}

.dl-smartscreen-steps {
  display: flex;
  flex: 1 1 20rem;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-smartscreen-steps li {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(42, 156, 196, 0.14);
  border-radius: 999px;
  color: #334155;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 600;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.45rem;
  white-space: nowrap;
}

.dark .dl-smartscreen-steps li {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(94, 200, 232, 0.16);
  color: #e2e8f0;
}

.dl-step-num {
  align-items: center;
  background: #2a9cc4;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 1.25rem;
  justify-content: center;
  width: 1.25rem;
}

/* 鈹€鈹€ Path cards 鈹€鈹€ */

.dl-section-head {
  margin-bottom: 1.75rem;
  text-align: center;
}

.dl-section-head h2 {
  color: #0f172a;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.dl-section-head p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0.45rem 0 0;
}

.dark .dl-section-head h2 {
  color: #f8fafc;
}

.dark .dl-section-head p {
  color: #94a3b8;
}

.dl-path-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dl-path-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.1rem;
  position: relative;
}

.dark .dl-path-card {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}

.dl-path-num {
  align-items: center;
  background: #2a9cc4;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  height: 1.5rem;
  justify-content: center;
  left: 1.1rem;
  position: absolute;
  top: 1.1rem;
  width: 1.5rem;
}

.dl-path-icon {
  color: #2a9cc4;
  font-size: 1.75rem;
  margin: 0.35rem 0 0.65rem 2rem;
}

.dark .dl-path-icon {
  color: #5ec8e8;
}

.dl-path-card h3 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.dl-path-card p {
  color: #64748b;
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0.45rem 0 0.85rem;
}

.dark .dl-path-card h3 {
  color: #f1f5f9;
}

.dark .dl-path-card p {
  color: #94a3b8;
}

.dl-path-link {
  align-items: center;
  color: #2a9cc4;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 0.3rem;
  margin-top: auto;
  text-decoration: none;
}

.dl-path-link:hover {
  text-decoration: underline;
}

.dl-path-faq {
  margin: 1.25rem 0 0;
  text-align: center;
}

.dl-path-faq a {
  color: #64748b;
  font-size: 0.84rem;
  text-decoration: none;
}

.dl-path-faq a:hover {
  color: #2a9cc4;
  text-decoration: underline;
}

/* 鈹€鈹€ Scenarios 鈹€鈹€ */

.dl-scenarios-title {
  color: #0f172a;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  text-align: center;
}

.dark .dl-scenarios-title {
  color: #f8fafc;
}

.dl-scenarios-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dl-scenario-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 1rem 1rem 0.95rem;
}

.dark .dl-scenario-card {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.16);
}

.dl-scenario-icon {
  color: #2a9cc4;
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.dark .dl-scenario-icon {
  color: #5ec8e8;
}

.dl-scenario-card h3 {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
}

.dl-scenario-card p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.35rem 0 0;
}

.dark .dl-scenario-card h3 {
  color: #f1f5f9;
}

.dark .dl-scenario-card p {
  color: #94a3b8;
}

/* 鈹€鈹€ Final CTA 鈹€鈹€ */

.dl-final-cta {
  align-items: center;
  background: #f8fafc;
  border: 2px dashed rgba(42, 156, 196, 0.28);
  border-radius: 1.25rem;
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 14rem);
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
}

.dark .dl-final-cta {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(94, 200, 232, 0.22);
}

.dl-final-icon {
  align-items: center;
  background: #d4f0fa;
  border-radius: 999px;
  color: #2a9cc4;
  display: flex;
  font-size: 1.65rem;
  height: 3.5rem;
  justify-content: center;
  width: 3.5rem;
}

.dark .dl-final-icon {
  background: rgba(42, 156, 196, 0.2);
  color: #5ec8e8;
}

.dl-final-copy h2 {
  color: #0f172a;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.dl-final-copy p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0.4rem 0 0;
}

.dark .dl-final-copy h2 {
  color: #f8fafc;
}

.dark .dl-final-copy p {
  color: #94a3b8;
}

.dl-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.dl-final-btn {
  min-width: auto;
}

.dl-final-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-final-checks li {
  align-items: center;
  color: #475569;
  display: flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.dl-final-checks li:last-child {
  margin-bottom: 0;
}

.dl-final-checks i {
  color: #2a9cc4;
  flex: 0 0 auto;
  font-size: 1rem;
}

.dark .dl-final-checks li {
  color: #cbd5e1;
}

/* 鈹€鈹€ Responsive 鈹€鈹€ */

@media (max-width: 1024px) {
  .dl-hero-grid {
    grid-template-columns: 1fr;
  }

  .dl-hero-visual {
    max-width: 28rem;
  }

  .dl-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl-scenarios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dl-final-cta {
    grid-template-columns: auto 1fr;
  }

  .dl-final-checks {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.35rem 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dl-actions,
  .dl-final-actions {
    flex-direction: column;
    width: 100%;
  }

  .dl-primary-btn,
  .dl-secondary-btn {
    width: 100%;
  }

  .dl-hero-visual {
    max-width: none;
  }

  .dl-smartscreen-card {
    flex-direction: column;
    align-items: stretch;
  }

  .dl-smartscreen-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .dl-smartscreen-steps li {
    white-space: normal;
  }

  .dl-path-grid {
    grid-template-columns: 1fr;
  }

  .dl-scenarios-grid {
    grid-template-columns: 1fr;
  }

  .dl-final-cta {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    text-align: center;
  }

  .dl-final-icon {
    margin: 0 auto;
  }

  .dl-final-checks {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
