* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
}

body {
  min-height: 100%;
  margin: 0;
  color: #17212b;
  background: #f5f7f9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17212b;
  font-weight: 750;
  text-decoration: none;
}

.site-logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: #17212b;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #334155;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e7edf2;
  outline: none;
}

main {
  min-height: calc(100vh - 132px);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(23, 33, 43, 0.1);
  color: #64748b;
  background: #ffffff;
  font-size: 0.9rem;
}

.iqc-noscript {
  max-width: 720px;
  margin: 48px auto;
  padding: 24px;
  border: 1px solid #d6dee6;
  border-radius: 8px;
  background: #ffffff;
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    text-align: center;
  }
}
