*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

[hidden],
.hidden {
  display: none !important;
}

.header {
  position: sticky;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(120deg, rgba(9, 79, 129, 0.96), rgba(24, 119, 183, 0.92)),
    rgba(9, 79, 129, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.logo {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #60a5fa 0%, #1457d6 100%);
  color: white;
  font-weight: 800;
}

.logo-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.logo-mark span {
  display: none;
}

.logo-mark.fallback img {
  display: none;
}

.logo-mark.fallback span {
  display: block;
}

.logo-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.logo-brand {
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-tagline {
  color: #bfdbfe;
  font-size: 0.8rem;
}

.footer {
  background: linear-gradient(180deg, #0a4f81, #0d5f94);
  color: #cbd5e1;
}

.footer-inner {
  padding: 24px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-platform {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-platform-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer-platform-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-platform-copy {
  min-width: 0;
}

.footer-brand-name {
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-brand-tagline,
.footer-brand-copy {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  color: #dbeafe;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.footer-link:hover {
  text-decoration: underline;
}

.footer-owner {
  color: white;
  font-weight: 700;
}

.footer-powered {
  width: min(var(--catalog-max-width, 1240px), calc(100% - 24px));
  margin: 0 auto;
  padding: 12px 0 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-credits,
.footer-meta {
  padding: 0 0 24px;
  color: #94a3b8;
  font-size: 0.92rem;
}
