/* Manrope, self-hosted from apps/web/public/fonts (SIL OFL 1.1, see
   THIRD_PARTY_NOTICES.md) so the page makes no third-party request. Latin
   only: every character on the page is ASCII. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-latin.woff2') format('woff2');
}

/* Values copied from apps/web/src/styles/tailwind.css, not imported: this
   site deploys on its own. The brand gradient and spark stay the same in
   both schemes, as they do in the app. */
:root {
  color-scheme: light dark;
  --canvas: #f8f5f0;
  --ink: #1f1b17;
  --ink2: #4a433c;
  --line: #e8e2d9;
  --accent: #c94d17;
  --accent-text: #b8430f;
  --teal-soft: #ddf4f1;
  --teal-ink: #0f6e66;
  --brand-from: #f58a45;
  --brand-to: #c94f16;
  --spark: #2fbfae;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #16130f;
    --ink: #f3ede5;
    --ink2: #d9d0c5;
    --line: #332c24;
    --accent: #ffa164;
    --accent-text: #ffb27e;
    --teal-soft: rgba(47, 191, 174, 0.16);
    --teal-ink: #7fe0d4;
  }
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bar {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
}

.sign-in {
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.sign-in:hover {
  text-decoration: underline;
}

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

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px 72px;
  text-align: center;
}

/* The app's lockup (YattaLockup): the wordmark is 62.5% of the mark's
   height and the gap between them 30%. */
.lockup {
  --mark: clamp(56px, 16vw, 96px);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mark) * 0.3);
  margin: 0;
}

.mark {
  width: var(--mark);
  height: var(--mark);
  flex-shrink: 0;
}

.wordmark {
  font-size: calc(var(--mark) * 0.625);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tagline {
  margin: 0;
  color: var(--ink2);
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 600;
}

.soon {
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-size: 14px;
  font-weight: 700;
}
