:root {
  --page-bg: #f5f5f7;
  --text-dark: #1d1d1f;
  --text-muted: #86868b;
  --brand-blue: #0066ff;
  --border: #e5e7eb;
  --header-height: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #ffffff;
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 0.5px currentColor;
}

.brand-wordmark-blue {
  color: var(--brand-blue);
}

.brand-wordmark-dark {
  color: var(--text-dark);
}

.site-main {
  flex: 1;
}

.hero-section {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page-bg);
  padding: calc(var(--header-height) + 48px) 0 48px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(0);
  animation: fade-up 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.qr-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.qr-card:hover {
  transform: scale(1.02);
}

.qr-image {
  width: 280px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.site-footer {
  background: var(--page-bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  text-align: center;
}

.footer-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-subtext {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  :root {
    --header-height: 80px;
  }

  .container {
    padding: 0 24px;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-wordmark {
    font-size: 24px;
  }

  .qr-card {
    padding: 32px;
  }

  .qr-image {
    width: 320px;
  }

  .site-footer {
    padding: 48px 0;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}
