﻿
th {
  background: var(--band);
  color: var(--ink);
}

.media {
  width: 100%;
  aspect-ratio: var(--ratio, 16 / 9);
  margin: 0;
}

.media__surface {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px dashed rgb(255 255 255 / 70%);
  border-radius: var(--radius);
  padding: 1rem;
  place-items: center;
  color: white;
  text-align: center;
}

.media--image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--band);
}

.media--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--blue .media__surface {
  background: linear-gradient(135deg, #0b4870, #186faf);
}

.media--green .media__surface {
  background: linear-gradient(135deg, #1f6f67, #2f8f83);
}

.media--slate .media__surface {
  background: linear-gradient(135deg, #102a43, #486581);
}

.media--cyan .media__surface {
  background: linear-gradient(135deg, #15616d, #2bb0b8);
}

.media__mark {
  position: absolute;
  display: block;
  border: 1px solid rgb(255 255 255 / 42%);
  background: rgb(255 255 255 / 18%);
}

.media__mark--one {
  inset: 18% 16% auto auto;
  width: 34%;
  aspect-ratio: 1;
}

.media__mark--two {
  inset: auto auto 18% 14%;
  width: 46%;
  aspect-ratio: 16 / 7;
}

.media__mark--three {
  inset: 22% auto auto 18%;
  width: 20%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.media__copy {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(92%, 520px);
  gap: 0.4rem;
  padding: 0.85rem;
  background: rgb(0 0 0 / 28%);
}

.media__id, .media__label, .media__meta {
  display: block;
}

.media__id {
  font-size: 0.72rem;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.media__label {
  font-size: 1.08rem;
  font-weight: 780;
}

.media__meta {
  font-size: 0.78rem;
  opacity: 0.9;
}

.site-footer {
  max-width: var(--width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--line);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, 0.38fr) minmax(150px, 0.38fr);
  gap: clamp(2rem, 7vw, 5rem);
  padding: 2.4rem 0 1.2rem;
}

.site-footer__brand {
  max-width: 620px;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  margin: 0 0 2rem;
  gap: 1rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 780;
  line-height: 1.2;
}

.footer-brand .brand-logo {
  width: 4.5rem;
  height: 4.5rem;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-brand .brand-logo img {
  width: 100%;
  height: 100%;
}

.footer-accent {
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 1.4rem;
  background: var(--green);
}

.footer-claim {
  color: var(--ink);
  font-weight: 780;
}

.footer-column h2 {
  margin-bottom: 1.1rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.footer-column a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.34rem 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-column a::before {
  content: ">";
  color: var(--green);
  font-weight: 780;
}

.footer-note {
  max-width: 760px;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0.9rem 0 0;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .page-home .hero {
    grid-template-columns: 1fr;
  }

  .nav__links {
    flex-wrap: wrap;
  }

  .hero, .card-grid, .step-list, .check-list {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .footer-copy {
    white-space: normal;
  }

}
