:root {
  color-scheme: light;
  --bg: #0d0f14;
  --panel: #171c24;
  --surface: #1f2631;
  --text: #e7ecf3;
  --muted: #a8b3c7;
  --accent: #f5b12f;
  --accent-strong: #ffcc4d;
  --border: #2f394a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  background-color: var(--bg);
  background-image: url("./hero-bg-ger.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  padding: 60px 0 40px;
}

.hero--download {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 0 100px;
  background: transparent;
  border-bottom: 0;
}

.hero__content {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  justify-items: end;
  width: 100%;
}

.hero__main {
  max-width: 520px;
  margin-left: auto;
  margin-right: 240px;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero__intro {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 15px;
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #1b1b1b;
  font-weight: 600;
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid #111111;
}

.button--primary {
  background: var(--accent-strong);
}

.button--large {
  padding: 12px 22px;
  font-size: 15px;
}

.qr-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.qr-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(4px);
}

.qr-modal__panel {
  position: relative;
  z-index: 1;
  padding: 28px 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  display: grid;
  gap: 14px;
  min-width: min(320px, 90vw);
}

.qr-modal__panel img {
  width: 220px;
  height: 220px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  margin: 0 auto;
}

.qr-modal__panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.qr-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}


.site-footer {
  padding: 24px 0 40px;
  border-top: 0;
  color: #ffffff;
  font-size: 13px;
  margin-top: -40px;
  text-shadow: 0 6px 6px rgba(0, 0, 0, 0.85);
}

.content--intro {
  padding: 40px 0 60px;
}

.content--intro h2 {
  margin: 0 0 12px;
}

.content--intro p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero__main {
    margin-right: 24px;
    text-align: left;
  }
}
