/* Shared Drop tokens with shadcn-style primary and outline controls. */
.download-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.download-page .site-header,
.download-page .site-footer { flex-shrink: 0; }
.download-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding-block: 80px 96px;
}
.download-hero {
  width: 100%;
  text-align: center;
}
.download-app-icon {
  display: block;
  width: 192px;
  height: 192px;
  margin: 0 auto 36px;
  filter: drop-shadow(0 12px 14px #173e2c1a) drop-shadow(0 2px 3px #173e2c0d);
}
.download-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.download-hero h1 span { color: var(--accent-ink); }
.download-description {
  margin: 16px 0 0;
  color: var(--secondary);
  font-size: 18px;
  line-height: 1.6;
}
.download-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.platform-download {
  min-height: 48px;
  padding: 12px 20px;
  gap: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  cursor: pointer;
}
.platform-download .platform-icon { width: 18px; height: 18px; }
.platform-download .download-arrow { width: 16px; height: 16px; margin-left: 8px; }
.platform-download--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px #1d1d1f08;
}
.platform-download--outline:hover { background: var(--surface); border-color: #d5dbd3; }
.platform-download:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.platform-download:disabled { cursor: not-allowed; opacity: .7; }
.platform-download:disabled:hover { box-shadow: none; }
.platform-download.button-primary:disabled:hover { background: var(--accent); border-color: #286e49; }
.platform-download--outline:disabled:hover { background: #fff; border-color: var(--line); }
.download-availability {
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.5;
}
@media (max-width: 650px) {
  .download-main { padding-block: 56px 64px; }
  .download-app-icon { width: 152px; height: 152px; margin-bottom: 28px; }
  .download-description { margin-top: 12px; font-size: 16px; }
  .download-actions { flex-direction: column; max-width: 300px; margin: 28px auto 0; }
  .platform-download { width: 100%; }
  .platform-download .download-arrow { margin-left: auto; }
  .download-availability { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .platform-download { transition: none; }
}

/* Match the main Download Drop button, including its inset arrow tile. */
.platform-download.button-download {
  padding: 9px 10px 9px 18px;
  font-weight: 600;
  opacity: 1;
  box-shadow: inset 0 0 0 1px #ffffff55, inset 0 -1px 0 #163d2930, 0 4px 12px #2c79512b;
}
.platform-download.button-download .download-icon { margin-left: 4px; }
.platform-download.button-download .download-arrow { margin: 0; }
.platform-download.button-download:disabled:hover {
  background: linear-gradient(120deg, #328057, var(--accent) 52%, #235f41);
  border-color: #286e49;
  box-shadow: inset 0 0 0 1px #ffffff55, inset 0 -1px 0 #163d2930, 0 4px 12px #2c79512b;
}
@media (max-width: 650px) {
  .platform-download.button-download { white-space: normal; }
  .platform-download.button-download .download-icon { margin-left: auto; }
}
