/* Visual polish overrides */
:root {
  --logo-orange: #e06548;
  --logo-orange-hover: #c95238;
}

.button-primary {
  background: var(--logo-orange) !important;
  border-color: var(--logo-orange) !important;
}
.button-primary:hover {
  background: var(--logo-orange-hover) !important;
  border-color: var(--logo-orange-hover) !important;
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--logo-orange) !important;
  box-shadow: 0 0 0 3px rgba(224, 101, 72, .14) !important;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-180%);
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.brand {
  gap: 12px;
  align-items: center;
}
.brand::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url('/favicon.svg') center / contain no-repeat;
}
.brand-company {
  font-size: 1rem;
}
.brand-product {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: .88rem;
}

h1 {
  font-size: clamp(2.7rem, 4.6vw, 4.7rem);
  line-height: 1.02;
}
h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.1;
}
.hero-lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-shot {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #eceee8;
}
.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-shot:not(.missing-shot) .shot-fallback {
  display: none !important;
}
.product-shot-large {
  min-height: 0;
  background: #fff;
}
.product-shot-large img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-grid {
  flex-wrap: wrap;
}
.footer-grid > div:first-child {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
}
.footer-grid > div:first-child::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  background: url('/favicon.svg') center / contain no-repeat;
}
.footer-grid > div:first-child strong {
  grid-column: 2;
  grid-row: 1;
}
.footer-grid > div:first-child span {
  grid-column: 2;
  grid-row: 2;
}
.footer-copyright {
  flex-basis: 100%;
  width: 100%;
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}
.legal-page h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin-top: 36px;
}
.legal-meta {
  color: var(--muted);
  margin-bottom: 32px;
}
.legal-page a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .brand {
    gap: 8px;
  }
  .brand::before {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }
  .brand-product {
    display: inline;
    padding-left: 8px;
    font-size: .78rem;
  }
  h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }
  h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }
  .hero-shot {
    aspect-ratio: 16 / 9;
    min-height: 210px;
  }
  .footer-grid > div:first-child {
    grid-template-columns: 34px auto;
  }
  .footer-grid > div:first-child::before {
    width: 34px;
    height: 34px;
  }
}
