:root {
  color-scheme: light;
  --page: #f5f6f7;
  --text: #4d4c4c;
  --heading: #2a1a58;
  --muted: #6d6d6d;
  --line: #d0d0d0;
  --line-strong: #146498;
  --panel: #ffffff;
  --blue: #146498;
  --blue-dark: #0d4366;
  --blue-soft: #d0dee6;
  --orange: #e87c23;
  --orange-soft: #f0964b;
  --shadow: 0 20px 44px rgba(20, 100, 152, 0.14);
  --soft-shadow: 0 16px 38px rgba(13, 67, 102, 0.08);
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
main,
.site-footer-inner {
  width: min(1080px, calc(100vw - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-grid;
  gap: 8px;
  align-items: center;
  color: var(--heading);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}

main {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  padding: 28px 0 18px;
  text-align: center;
}

.support-title {
  margin: 0 0 22px;
  color: var(--orange);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 4.7vw, 46px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 10px;
  color: var(--heading);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(28px, 4.1vw, 42px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.status {
  min-height: 24px;
  margin: 0 auto 22px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.security-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  width: min(100%, 780px);
  margin: 24px auto 0;
  padding: 20px 24px;
  background: linear-gradient(90deg, rgba(232, 124, 35, 0.12), rgba(208, 222, 230, 0.72));
  border: 1px solid rgba(20, 100, 152, 0.2);
  border-left: 5px solid var(--orange);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  box-shadow: var(--soft-shadow);
}

.notice-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
}

.notice-icon svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.notice-copy {
  display: grid;
  gap: 3px;
}

.notice-copy strong {
  color: var(--blue-dark);
  font-size: 16px;
  line-height: 1.2;
}

.notice-copy span {
  display: block;
  color: #3f3f3f;
  font-weight: 600;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.download-card {
  position: relative;
  min-height: 174px;
  padding: 28px 28px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  text-align: left;
  color: inherit;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.download-card::after {
  content: "Stáhnout aplikaci";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 13px 18px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  transition: background 160ms ease;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  outline: 0;
  transform: translateY(-2px);
}

.download-card:hover::after,
.download-card:focus-visible::after {
  background: var(--orange);
}

.download-card.is-detected {
  border-color: var(--blue);
  background: linear-gradient(0deg, rgba(208, 222, 230, 0.5), rgba(208, 222, 230, 0.5)), #fff;
  box-shadow: 0 0 0 3px rgba(20, 100, 152, 0.16);
}

.download-card.is-detected::after {
  background: var(--orange);
}

.copy {
  min-width: 0;
}

.label {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-family: "Open Sans Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 3.9vw, 40px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.retry {
  display: block;
  color: var(--text);
  font-size: 14px;
  line-height: 1.22;
  font-weight: 700;
}

.icon {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  opacity: 0.92;
}

.icon-windows {
  color: var(--blue);
}

.icon-apple {
  color: var(--heading);
}

.unsupported {
  margin: 28px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.is-hidden {
  display: none;
}

.site-footer {
  flex: 0 0 auto;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.site-footer-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 64px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 154px;
  }

  main {
    width: min(420px, calc(100vw - 28px));
    padding-top: 22px;
  }

  .downloads {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .download-card {
    min-height: 158px;
  }

  .site-footer-inner {
    min-height: 54px;
    display: grid;
    align-content: center;
  }

  .security-notice {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .notice-icon {
    margin: 0 auto;
  }
}

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

  .icon {
    position: absolute;
    top: 22px;
    right: 20px;
    width: 56px;
    height: 56px;
    opacity: 0.18;
  }
}
