:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #1d1d1d;
  background: #f5f5f5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f5f5;
  font-size: 14px;
  line-height: 1.45;
}

a {
  color: #1d1d1d;
}

a:hover {
  text-decoration: none;
}

.container {
  width: min(1170px, calc(100% - 30px));
  margin: 0 auto;
}

.site-header {
  padding: 30px 0;
  background: #7b97a4;
  border-bottom: 2px solid #6e7e88;
}

.header-content {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 30px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(220px, 38vw);
  object-fit: contain;
}

.brand-logo[hidden] {
  display: none;
}

h1,
h2 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

h1 {
  color: #f5f5f5;
  font-size: 38px;
  line-height: 1.2;
}

.page-content {
  min-height: calc(100vh - 178px);
  padding-top: 60px;
  padding-bottom: 30px;
}

.loading-state {
  margin: 0 0 30px;
  color: #545e69;
}

.loading-state.is-error {
  color: #8b1e1e;
}

.component-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.component-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 30px;
}

.component-card {
  padding: 30px;
  overflow: hidden;
  border: 1px solid #d9e2e8;
  border-radius: 4px;
  background: #ebf1f5;
}

.component-card h2 {
  margin-bottom: 20px;
  color: #1d1d1d;
  font-size: 20px;
  line-height: 1.25;
}

.card-layout {
  display: grid;
  grid-template-columns: minmax(88px, 20%) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.card-icon {
  display: block;
  width: 100%;
  max-width: 142px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.card-copy {
  min-width: 0;
}

.card-copy > :first-child {
  margin-top: 0;
}

.card-copy > :last-child {
  margin-bottom: 0;
}

.card-copy p {
  margin: 0 0 10px;
}

.card-copy strong a,
.card-copy a strong {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.card-copy img {
  max-width: 100%;
  height: auto;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.store-links img {
  display: block;
  width: auto;
  height: 36px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 15px;
}

.card-action {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 15px 7px;
  border-radius: 3px;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

.card-action:hover,
.card-action:focus-visible {
  background: #303030;
  color: #fff;
}

.site-footer {
  padding: 10px 0;
  background: #6e7e88;
  color: #d9e2e8;
  text-align: center;
}

.site-footer a {
  color: #f5f5f5;
}

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1170px);
  }

  .site-header {
    padding: 22px 0;
  }

  .header-content {
    min-height: 58px;
    gap: 16px;
  }

  .brand-logo {
    max-width: 112px;
    max-height: 58px;
  }

  h1 {
    font-size: 28px;
  }

  .page-content {
    padding-top: 30px;
  }

  .component-card {
    padding: 22px;
  }

  .card-layout {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 430px) {
  .header-content {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 25px;
  }

  .component-card {
    padding: 18px;
  }

  .card-layout {
    grid-template-columns: 1fr;
  }

  .card-icon {
    max-width: 108px;
    margin: 0;
  }

  .card-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .card-action {
    width: 100%;
  }
}
