/* Termoland — страница возврата в приложение. Стиль сайта: Golos Text, #006E91 / #01AAC9. */

@font-face {
  font-family: 'Golos Text';
  src: url('golos-text_regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('golos-text_medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Golos Text';
  src: url('golos-text_bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #006e91;
  --primary-dark: #055674;
  --accent: #01aac9;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

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

body {
  font-family: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(160deg, #e8f2f5 0%, #ffffff 55%, #f3f4f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 57, 81, 0.08);
}

.logo {
  width: 168px;
  height: auto;
  margin: 0 auto 28px;
  display: block;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  border: 3px solid rgba(0, 110, 145, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 3s; }
}

h1 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--primary-dark);
}

.provider {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.fallback {
  display: none;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.fallback.is-visible { display: block; }

.fallback p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
}

.button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.button:hover,
.button:focus-visible { background: var(--primary-dark); }

.stores {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.stores a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
}

.stores a:hover,
.stores a:focus-visible { border-color: var(--accent); }

.noscript {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
