/* start.parken.art — palette and type lifted from ParkenWeb/src/styles/map.css */

* {
  box-sizing: border-box;
}

html {
  background: #000;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 20px 56px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* Language row — mirrors .welcome-lang-btn */
.lang-row {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 36px;
}

.lang-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.3);
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

.lang-btn.active {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: #c0392b;
}

/* Title block — mirrors .welcome-title */
.hero {
  text-align: center;
  margin-bottom: 32px;
  animation: titleFade 1.4s ease-out;
}

.logo {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.title {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.3;
}

.tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'chaparral-pro', Georgia, serif;
  font-size: 20px;
  font-style: italic;
}

@keyframes titleFade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.aerial {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sections */
.section {
  margin-bottom: 36px;
}

.section p {
  margin: 0 0 12px;
}

.heading {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.how {
  margin: 0;
  padding: 0;
  list-style: none;
}

.how li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.how li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d42020;
}

/* Buttons — mirrors .welcome-enter-button / .install-step-continue */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  border: 2px solid #c0392b;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus-visible {
  background: rgba(192, 57, 43, 0.4);
  outline: none;
}

.btn:active {
  background: rgba(192, 57, 43, 0.6);
}

.cta {
  text-align: center;
  padding: 8px 0;
}

.btn-primary {
  width: 100%;
  max-width: 360px;
  font-size: 18px;
  padding: 16px 32px;
}

.play {
  font-size: 14px;
  color: #d42020;
}

.url {
  margin: 14px 0 0;
  font-family: 'chaparral-pro', Georgia, serif;
  font-size: 22px;
  letter-spacing: 1px;
}

.url a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.url a:hover {
  border-bottom: 1px solid #c0392b;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.share-row .btn {
  flex: 1 1 calc(50% - 5px);
  min-width: 140px;
}

/* sms: links only make sense on touch devices */
@media (pointer: fine) {
  .btn-sms {
    display: none;
  }
}

.btn-copy.done {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  text-align: center;
}

.footer p {
  margin: 0 0 6px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid #c0392b;
}

.footer a:hover {
  color: #fff;
}

@media (min-width: 600px) {
  .page {
    padding-top: 32px;
  }

  .title {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }

  .btn,
  .lang-btn {
    transition: none;
  }
}
