/* TimyFit website. Colors and font match the app (src/theme/tokens.js). */
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('/fonts/Outfit-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --background: #fff6f1;
  --foreground: #2a1712;
  --muted: #7a5548;
  --accent: #b13a09;
  --outline: #e9cfc3;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family:
    'Outfit',
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

header,
main,
footer {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

main {
  flex: 1;
  padding-bottom: 48px;
}

footer {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--outline);
}

a {
  color: var(--accent);
}

.brand {
  font-weight: 800;
  font-size: 22px;
  color: var(--foreground);
  text-decoration: none;
}

h1,
h2 {
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: 36px;
  margin: 8px 0 4px;
}

h2 {
  font-size: 22px;
  margin: 32px 0 8px;
}

.index main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.timy {
  width: min(320px, 80vw);
  height: auto;
  margin-top: 16px;
}

.index h1 {
  font-size: 48px;
}

.tagline {
  font-size: 24px;
  margin: 0 0 8px;
}

.soon,
.updated {
  color: var(--muted);
}
