/* Stempla – app.stempla.at host pages.
   Brand tokens mirror the Flutter app (lib/config/theme/app_colors.dart). */
:root {
  --bg: #F5EFE4;
  --surface: #FDFAF3;
  --surface2: #EFE8D9;
  --ink: #1F1A0F;
  --ink3: #6B6150;
  --primary: #1B2C40;
  --primary-light: #2E4A66;
  --accent: #008F91;
  --accent-deep: #005E60;
  --gold: #F4B544;
  --radius: 20px;
  --shadow: 0 18px 40px -18px rgba(31, 26, 15, 0.35);
}

* { box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #FFFDF7 0%, var(--bg) 55%);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
}

.logo {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 4px;
}
.logo .dot { color: var(--accent); }

.icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 8px auto 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: var(--surface);
  font-size: 30px;
}

h1 {
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--ink);
}

p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink3);
  margin: 0 0 22px;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.06s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--surface2);
  margin-top: 10px;
}

.stores {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.stores a {
  flex: 1 1 140px;
  padding: 12px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.stores a:hover { background: var(--primary-light); }

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--surface2);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 4px auto 20px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.foot {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink3);
}
.foot a { color: var(--accent-deep); }

[hidden] { display: none !important; }
