/* Tato Talk download page components. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.download-area {
  min-height: 55vh;
  padding: 46px 0 90px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.download-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .58));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
  text-align: center;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 22px;
  background: rgba(14, 165, 233, .14);
  color: #38bdf8;
}

.download-icon svg {
  width: 34px;
  height: 34px;
}

.download-platform {
  margin: 0;
  color: #7dd3fc;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.download-card h2 {
  margin: 7px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.download-card > p:not(.download-platform) {
  min-height: 54px;
  margin: 0;
  color: #94a3b8;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.download-button.secondary {
  background: linear-gradient(135deg, #34d399, #0ea5e9);
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(14, 165, 233, .25);
}

.download-note {
  max-width: 820px;
  margin: 28px auto 0;
  color: #94a3b8;
  text-align: center;
  font-size: .88rem;
}

:root[data-theme="light"] .download-card {
  border-color: rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
}

:root[data-theme="light"] .download-card h2 {
  color: #0f172a;
}

:root[data-theme="light"] .download-card > p:not(.download-platform),
:root[data-theme="light"] .download-note {
  color: #475569;
}

@media (max-width: 720px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .download-card > p:not(.download-platform) {
    min-height: 0;
  }
}

.not-found {
  display: grid;
  min-height: calc(100vh - 138px);
  place-items: center;
  padding: 70px 0;
}

.not-found-card {
  max-width: 680px;
  padding: clamp(36px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(15, 23, 42, .92), rgba(15, 23, 42, .58));
  text-align: center;
}

.not-found-code {
  margin: 0;
  color: #38bdf8;
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
}

.not-found h1 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.not-found-card > p:not(.not-found-code) {
  margin: 0;
  color: #94a3b8;
}

:root[data-theme="light"] .not-found-card {
  border-color: rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(15, 23, 42, .07);
}

:root[data-theme="light"] .not-found h1 {
  color: #0f172a;
}

:root[data-theme="light"] .not-found-card > p:not(.not-found-code) {
  color: #475569;
}
