/* Inter, Latin-1 subset of assets/fonts/inter/InterVariable.woff2 (SIL OFL 1.1,
   license in fonts/OFL.txt). Characters outside the subset fall back to the
   system face. */
@font-face {
  font-family: 'Tempo Inter';
  src: url('fonts/InterVariable-latin1.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2027, U+2032-2033;
}

/* Colors, sizes and the hero layout follow the documentation's home page
   (website/src/styles/custom.css, .hero and .btn). gui.webp is a screenshot of
   Tempo's GUI. */
:root {
  color-scheme: dark;
  --font-ui: 'Tempo Inter', Inter, system-ui, sans-serif;
  --bg: #0d0d0d;
  --panel: #161616;
  --panel-2: #1d1d1d;
  --panel-3: #222222;
  --line: #2a2a2a;
  --line-hi: #3a3a3a;
  --ink: #d4d4d4;
  --accent: #ffc544;
  --accent-hi: #ffd97a;
  --on-accent: #1a1205;
  --tempo-icon-background: #161616;
  --tempo-icon-accent: #ffc544;
}

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

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

/* --page-scale is set by the script in index.html. The page fills the window
   through percentages: a viewport unit inside a zoomed element is zoomed too. */
html { height: 100%; zoom: var(--page-scale, 1); }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.65 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px 72px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 48px 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  min-width: 0;
  text-align: center;
}

.hero-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  line-height: 1;
}
.hero-mark svg { display: block; flex: none; }
.hero-name {
  color: var(--accent);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.hero-summary {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}
.btn:hover { border-color: var(--line-hi); background: var(--panel-3); }
.btn-primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.btn-primary:hover { border-color: transparent; background: var(--accent-hi); }

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  border: 1px solid var(--line-hi);
  border-radius: 8px;
}

@media (max-width: 720px) {
  .hero { padding: 32px 20px; }
  .hero-name { font-size: 48px; }
  .hero-mark svg { width: 58px; height: 58px; }
}
