:root {
  --bg: #000000;
  --bg-2: #121212;
  --text: #f2efe9;
  --muted: #9a968e;
  --accent: #ff6600;
  --accent-hover: #ff8533;
  --accent-soft: #3a2410;
  --accent-ink: #3d1800;
  --accent-light: #ffb380;
  --shadow: rgba(0, 0, 0, .55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
}

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 32px;
}

.screen.active {
  display: flex;
}

.brand-logo {
  height: 64px;
  width: auto;
  max-width: 80vw;
  margin-bottom: 48px;
}

/* ---------- Picker screen ---------- */

.picker-question {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 32px;
}

.picker-options {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.picker-option {
  display: block;
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(242, 239, 233, 0.15);
  border-radius: 14px;
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.picker-option:hover,
.picker-option:focus-visible {
  border-color: var(--accent);
  background: #181818;
  transform: translateY(-2px);
}

.picker-option:active {
  transform: translateY(0);
}

/* ---------- Location screens ---------- */

.location-screen {
  align-items: stretch;
  padding: 20px 20px 32px;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
}

.back-link:hover,
.back-link:active { color: var(--text); background: var(--bg-2); }

.back-link svg { width: 20px; height: 20px; }

/* Hero band: city name in big type with an orange accent underline —
   the "little bit of design" this screen was missing. */
.location-hero {
  width: 100%;
  max-width: 480px;
  margin: 8px auto 24px;
  padding-top: 4px;
}

.location-hero-pin {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.location-hero-pin svg { width: 24px; height: 24px; }

.location-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.location-hero-bar {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 12px;
}

.location-content {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.info-card {
  border: 1px solid rgba(242, 239, 233, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(242, 239, 233, 0.07);
  color: var(--text);
  text-decoration: none;
}

.info-row:last-child { border-bottom: none; }

a.info-row:active { background: #181818; }

.info-row-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-row-icon svg { width: 18px; height: 18px; }

.info-row-body { min-width: 0; flex: 1; }

.info-row-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 2px;
}

.info-row-value {
  font-size: 15px;
  word-break: break-word;
}

.info-row-chevron {
  flex-shrink: 0;
  color: var(--muted);
  opacity: .6;
}

.info-row-chevron svg { width: 16px; height: 16px; }

.save-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease;
}

.save-contact-btn svg { width: 18px; height: 18px; }

.save-contact-btn:hover { background: var(--accent-hover); }
.save-contact-btn:active { background: var(--accent-hover); }

.location-empty {
  text-align: center;
  padding: 24px;
  border: 1px dashed var(--accent-soft);
  border-radius: 14px;
  color: var(--muted);
}

footer.site-footer {
  margin-top: auto;
  padding-top: 40px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
