/* Trainabot teaser. Colours match apps/web/tailwind.config.ts (sampled from the logo):
   navy-900 #0B1B3F, navy-600 #1B305E, navy-400 #4F679F, brand-600 #0058DB, brand-700 #0046AD. */

:root {
  color-scheme: light;
  --navy-900: #0b1b3f;
  --navy-600: #1b305e;
  --navy-500: #2c4479;
  --navy-100: #d9e1f2;
  --brand-600: #0058db;
  --brand-700: #0046ad;
  --bg: #ffffff;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--navy-900);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  max-width: 44rem;
  width: 100%;
  margin: 0 auto;
}

.logo {
  margin: 0 0 2.5rem;
  font-size: 1rem; /* the heading's text is the logo image */
  line-height: 0;
}

.logo img {
  display: block;
  width: min(26rem, 82vw);
  height: auto;
}

.headline {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  text-wrap: balance;
}

.lede {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: var(--navy-600);
  text-wrap: balance;
}

.launch {
  margin: 0 0 1.5rem;
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
}

.launch time {
  white-space: nowrap;
}

.follow {
  margin: 0;
  font-size: 1rem;
}

.follow a {
  color: var(--brand-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.follow a:hover {
  color: var(--brand-700);
  text-decoration-thickness: 2px;
}

.follow a:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--navy-500);
}

footer p {
  margin: 0;
}
