: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(var(--columns, 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;
}

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

.card-action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #365a6d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.card-action-primary {
  background: #416779;
  color: #fff;
}

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

.card-actions-guides {
  gap: 4px 12px;
  margin-top: 12px;
}

.card-action-guide {
  justify-content: flex-start;
  padding: 6px 2px;
}

.card-action-guide:hover,
.card-action-guide:focus-visible {
  color: #1d4359;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.action-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-action:focus-visible {
  outline: 2px solid #365f78;
  outline-offset: 3px;
}

.card-action-store,
.card-action-store:hover,
.card-action-store:focus-visible {
  width: fit-content;
  max-width: 100%;
  padding: 2px 0;
  border: 0;
  background: transparent;
  min-height: 44px;
}

.card-action-store img {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.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) {
  .card-action {
    min-height: 44px;
  }

  .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;
  }

}
