/* TDAQ holding page (app/views/home/switcher.html.erb) */

:root {
  --bg: #2b2f32;
  --bg-glow: #3a3f43;
  --text: #ffffff;
  --muted: #a9aeb2;
  --brand: #4cb5a6;
  --brand-hover: #5fc7b8;
  --line: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 40%, var(--bg-glow) 0%, var(--bg) 70%) fixed, var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header: login at top right */
.site-header {
  display: flex;
  justify-content: flex-end;
  padding: 20px 24px;
}

.login-button {
  display: inline-block;
  padding: 9px 22px;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.login-button:hover,
.login-button:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--bg);
}

.login-button:focus-visible {
  outline: 2px solid var(--brand-hover);
  outline-offset: 3px;
}

/* Centre: logo + coming soon */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 48px;
  text-align: center;
}

.logo { margin: 0; }

.logo img {
  display: block;
  width: min(440px, 78vw);
  height: auto;
}

.coming-soon {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  /* Balance the trailing letter-spacing so the text stays optically centred */
  padding-left: 0.32em;
}

.coming-soon::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 28px;
  background: var(--brand);
}

/* Footer: company details */
.site-footer {
  padding: 20px 16px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .login-button { transition: none; }
}
